datasafe

package
v65.45.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GetAlertLifecycleStateEnumStringValues ¶

func GetAlertLifecycleStateEnumStringValues() []string

GetAlertLifecycleStateEnumStringValues Enumerates the set of values in String for AlertLifecycleStateEnum

func GetAlertOperationStatusEnumStringValues ¶

func GetAlertOperationStatusEnumStringValues() []string

GetAlertOperationStatusEnumStringValues Enumerates the set of values in String for AlertOperationStatusEnum

func GetAlertPolicyLifecycleStateEnumStringValues ¶

func GetAlertPolicyLifecycleStateEnumStringValues() []string

GetAlertPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for AlertPolicyLifecycleStateEnum

func GetAlertPolicyTypeEnumStringValues ¶

func GetAlertPolicyTypeEnumStringValues() []string

GetAlertPolicyTypeEnumStringValues Enumerates the set of values in String for AlertPolicyTypeEnum

func GetAlertSeverityEnumStringValues ¶

func GetAlertSeverityEnumStringValues() []string

GetAlertSeverityEnumStringValues Enumerates the set of values in String for AlertSeverityEnum

func GetAlertStatusEnumStringValues ¶

func GetAlertStatusEnumStringValues() []string

GetAlertStatusEnumStringValues Enumerates the set of values in String for AlertStatusEnum

func GetAlertSummaryOperationStatusEnumStringValues ¶

func GetAlertSummaryOperationStatusEnumStringValues() []string

GetAlertSummaryOperationStatusEnumStringValues Enumerates the set of values in String for AlertSummaryOperationStatusEnum

func GetAlertTypeEnumStringValues ¶

func GetAlertTypeEnumStringValues() []string

GetAlertTypeEnumStringValues Enumerates the set of values in String for AlertTypeEnum

func GetAlertsUpdateAccessLevelEnumStringValues ¶ added in v65.27.0

func GetAlertsUpdateAccessLevelEnumStringValues() []string

GetAlertsUpdateAccessLevelEnumStringValues Enumerates the set of values in String for AlertsUpdateAccessLevelEnum

func GetAuditArchiveRetrievalLifecycleStateEnumStringValues ¶

func GetAuditArchiveRetrievalLifecycleStateEnumStringValues() []string

GetAuditArchiveRetrievalLifecycleStateEnumStringValues Enumerates the set of values in String for AuditArchiveRetrievalLifecycleStateEnum

func GetAuditEventAggregationDimensionsAuditTypeEnumStringValues ¶

func GetAuditEventAggregationDimensionsAuditTypeEnumStringValues() []string

GetAuditEventAggregationDimensionsAuditTypeEnumStringValues Enumerates the set of values in String for AuditEventAggregationDimensionsAuditTypeEnum

func GetAuditEventAggregationDimensionsTargetClassEnumStringValues ¶

func GetAuditEventAggregationDimensionsTargetClassEnumStringValues() []string

GetAuditEventAggregationDimensionsTargetClassEnumStringValues Enumerates the set of values in String for AuditEventAggregationDimensionsTargetClassEnum

func GetAuditEventSummaryAuditLocationEnumStringValues ¶

func GetAuditEventSummaryAuditLocationEnumStringValues() []string

GetAuditEventSummaryAuditLocationEnumStringValues Enumerates the set of values in String for AuditEventSummaryAuditLocationEnum

func GetAuditEventSummaryAuditTypeEnumStringValues ¶

func GetAuditEventSummaryAuditTypeEnumStringValues() []string

GetAuditEventSummaryAuditTypeEnumStringValues Enumerates the set of values in String for AuditEventSummaryAuditTypeEnum

func GetAuditEventSummaryDatabaseTypeEnumStringValues ¶

func GetAuditEventSummaryDatabaseTypeEnumStringValues() []string

GetAuditEventSummaryDatabaseTypeEnumStringValues Enumerates the set of values in String for AuditEventSummaryDatabaseTypeEnum

func GetAuditEventSummaryOperationStatusEnumStringValues ¶

func GetAuditEventSummaryOperationStatusEnumStringValues() []string

GetAuditEventSummaryOperationStatusEnumStringValues Enumerates the set of values in String for AuditEventSummaryOperationStatusEnum

func GetAuditEventSummaryTargetClassEnumStringValues ¶

func GetAuditEventSummaryTargetClassEnumStringValues() []string

GetAuditEventSummaryTargetClassEnumStringValues Enumerates the set of values in String for AuditEventSummaryTargetClassEnum

func GetAuditPolicyCategoryEnumStringValues ¶

func GetAuditPolicyCategoryEnumStringValues() []string

GetAuditPolicyCategoryEnumStringValues Enumerates the set of values in String for AuditPolicyCategoryEnum

func GetAuditPolicyLifecycleStateEnumStringValues ¶

func GetAuditPolicyLifecycleStateEnumStringValues() []string

GetAuditPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for AuditPolicyLifecycleStateEnum

func GetAuditProfileLifecycleStateEnumStringValues ¶

func GetAuditProfileLifecycleStateEnumStringValues() []string

GetAuditProfileLifecycleStateEnumStringValues Enumerates the set of values in String for AuditProfileLifecycleStateEnum

func GetAuditSpecificationEnableStatusEnumStringValues ¶

func GetAuditSpecificationEnableStatusEnumStringValues() []string

GetAuditSpecificationEnableStatusEnumStringValues Enumerates the set of values in String for AuditSpecificationEnableStatusEnum

func GetAuditSpecificationEnabledEntitiesEnumStringValues ¶

func GetAuditSpecificationEnabledEntitiesEnumStringValues() []string

GetAuditSpecificationEnabledEntitiesEnumStringValues Enumerates the set of values in String for AuditSpecificationEnabledEntitiesEnum

func GetAuditTrailLifecycleStateEnumStringValues ¶

func GetAuditTrailLifecycleStateEnumStringValues() []string

GetAuditTrailLifecycleStateEnumStringValues Enumerates the set of values in String for AuditTrailLifecycleStateEnum

func GetAuditTrailStatusEnumStringValues ¶

func GetAuditTrailStatusEnumStringValues() []string

GetAuditTrailStatusEnumStringValues Enumerates the set of values in String for AuditTrailStatusEnum

func GetColumnFilterOperatorEnumStringValues ¶

func GetColumnFilterOperatorEnumStringValues() []string

GetColumnFilterOperatorEnumStringValues Enumerates the set of values in String for ColumnFilterOperatorEnum

func GetColumnSourceDetailsColumnSourceEnumStringValues ¶

func GetColumnSourceDetailsColumnSourceEnumStringValues() []string

GetColumnSourceDetailsColumnSourceEnumStringValues Enumerates the set of values in String for ColumnSourceDetailsColumnSourceEnum

func GetConnectionOptionConnectionTypeEnumStringValues ¶

func GetConnectionOptionConnectionTypeEnumStringValues() []string

GetConnectionOptionConnectionTypeEnumStringValues Enumerates the set of values in String for ConnectionOptionConnectionTypeEnum

func GetCreateColumnSourceDetailsColumnSourceEnumStringValues ¶

func GetCreateColumnSourceDetailsColumnSourceEnumStringValues() []string

GetCreateColumnSourceDetailsColumnSourceEnumStringValues Enumerates the set of values in String for CreateColumnSourceDetailsColumnSourceEnum

func GetCreateSensitiveColumnDetailsObjectTypeEnumStringValues ¶

func GetCreateSensitiveColumnDetailsObjectTypeEnumStringValues() []string

GetCreateSensitiveColumnDetailsObjectTypeEnumStringValues Enumerates the set of values in String for CreateSensitiveColumnDetailsObjectTypeEnum

func GetCreateSensitiveColumnDetailsRelationTypeEnumStringValues ¶

func GetCreateSensitiveColumnDetailsRelationTypeEnumStringValues() []string

GetCreateSensitiveColumnDetailsRelationTypeEnumStringValues Enumerates the set of values in String for CreateSensitiveColumnDetailsRelationTypeEnum

func GetCreateSensitiveColumnDetailsStatusEnumStringValues ¶

func GetCreateSensitiveColumnDetailsStatusEnumStringValues() []string

GetCreateSensitiveColumnDetailsStatusEnumStringValues Enumerates the set of values in String for CreateSensitiveColumnDetailsStatusEnum

func GetDataModelFormatEnumStringValues ¶

func GetDataModelFormatEnumStringValues() []string

GetDataModelFormatEnumStringValues Enumerates the set of values in String for DataModelFormatEnum

func GetDatabaseTypeEnumStringValues ¶

func GetDatabaseTypeEnumStringValues() []string

GetDatabaseTypeEnumStringValues Enumerates the set of values in String for DatabaseTypeEnum

func GetDifferenceColumnDifferenceTypeEnumStringValues ¶ added in v65.35.0

func GetDifferenceColumnDifferenceTypeEnumStringValues() []string

GetDifferenceColumnDifferenceTypeEnumStringValues Enumerates the set of values in String for DifferenceColumnDifferenceTypeEnum

func GetDifferenceColumnPlannedActionEnumStringValues ¶ added in v65.35.0

func GetDifferenceColumnPlannedActionEnumStringValues() []string

GetDifferenceColumnPlannedActionEnumStringValues Enumerates the set of values in String for DifferenceColumnPlannedActionEnum

func GetDifferenceColumnSyncStatusEnumStringValues ¶ added in v65.35.0

func GetDifferenceColumnSyncStatusEnumStringValues() []string

GetDifferenceColumnSyncStatusEnumStringValues Enumerates the set of values in String for DifferenceColumnSyncStatusEnum

func GetDiffsSeverityEnumStringValues ¶

func GetDiffsSeverityEnumStringValues() []string

GetDiffsSeverityEnumStringValues Enumerates the set of values in String for DiffsSeverityEnum

func GetDiscoveryAnalyticsSummaryMetricNameEnumStringValues ¶

func GetDiscoveryAnalyticsSummaryMetricNameEnumStringValues() []string

GetDiscoveryAnalyticsSummaryMetricNameEnumStringValues Enumerates the set of values in String for DiscoveryAnalyticsSummaryMetricNameEnum

func GetDiscoveryJobDiscoveryTypeEnumStringValues ¶

func GetDiscoveryJobDiscoveryTypeEnumStringValues() []string

GetDiscoveryJobDiscoveryTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobDiscoveryTypeEnum

func GetDiscoveryJobResultDiscoveryTypeEnumStringValues ¶

func GetDiscoveryJobResultDiscoveryTypeEnumStringValues() []string

GetDiscoveryJobResultDiscoveryTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobResultDiscoveryTypeEnum

func GetDiscoveryJobResultObjectTypeEnumStringValues ¶

func GetDiscoveryJobResultObjectTypeEnumStringValues() []string

GetDiscoveryJobResultObjectTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobResultObjectTypeEnum

func GetDiscoveryJobResultPlannedActionEnumStringValues ¶

func GetDiscoveryJobResultPlannedActionEnumStringValues() []string

GetDiscoveryJobResultPlannedActionEnumStringValues Enumerates the set of values in String for DiscoveryJobResultPlannedActionEnum

func GetDiscoveryJobResultRelationTypeEnumStringValues ¶

func GetDiscoveryJobResultRelationTypeEnumStringValues() []string

GetDiscoveryJobResultRelationTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobResultRelationTypeEnum

func GetDiscoveryJobResultSummaryObjectTypeEnumStringValues ¶

func GetDiscoveryJobResultSummaryObjectTypeEnumStringValues() []string

GetDiscoveryJobResultSummaryObjectTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobResultSummaryObjectTypeEnum

func GetDiscoveryJobResultSummaryRelationTypeEnumStringValues ¶

func GetDiscoveryJobResultSummaryRelationTypeEnumStringValues() []string

GetDiscoveryJobResultSummaryRelationTypeEnumStringValues Enumerates the set of values in String for DiscoveryJobResultSummaryRelationTypeEnum

func GetDiscoveryLifecycleStateEnumStringValues ¶

func GetDiscoveryLifecycleStateEnumStringValues() []string

GetDiscoveryLifecycleStateEnumStringValues Enumerates the set of values in String for DiscoveryLifecycleStateEnum

func GetDownloadDiscoveryReportDetailsReportFormatEnumStringValues ¶

func GetDownloadDiscoveryReportDetailsReportFormatEnumStringValues() []string

GetDownloadDiscoveryReportDetailsReportFormatEnumStringValues Enumerates the set of values in String for DownloadDiscoveryReportDetailsReportFormatEnum

func GetDownloadMaskingReportDetailsReportFormatEnumStringValues ¶

func GetDownloadMaskingReportDetailsReportFormatEnumStringValues() []string

GetDownloadMaskingReportDetailsReportFormatEnumStringValues Enumerates the set of values in String for DownloadMaskingReportDetailsReportFormatEnum

func GetDownloadSecurityAssessmentReportDetailsFormatEnumStringValues ¶

func GetDownloadSecurityAssessmentReportDetailsFormatEnumStringValues() []string

GetDownloadSecurityAssessmentReportDetailsFormatEnumStringValues Enumerates the set of values in String for DownloadSecurityAssessmentReportDetailsFormatEnum

func GetDownloadUserAssessmentReportDetailsFormatEnumStringValues ¶

func GetDownloadUserAssessmentReportDetailsFormatEnumStringValues() []string

GetDownloadUserAssessmentReportDetailsFormatEnumStringValues Enumerates the set of values in String for DownloadUserAssessmentReportDetailsFormatEnum

func GetEnableConditionsEntitySelectionEnumStringValues ¶

func GetEnableConditionsEntitySelectionEnumStringValues() []string

GetEnableConditionsEntitySelectionEnumStringValues Enumerates the set of values in String for EnableConditionsEntitySelectionEnum

func GetEnableConditionsEntityTypeEnumStringValues ¶

func GetEnableConditionsEntityTypeEnumStringValues() []string

GetEnableConditionsEntityTypeEnumStringValues Enumerates the set of values in String for EnableConditionsEntityTypeEnum

func GetEnableConditionsOperationStatusEnumStringValues ¶

func GetEnableConditionsOperationStatusEnumStringValues() []string

GetEnableConditionsOperationStatusEnumStringValues Enumerates the set of values in String for EnableConditionsOperationStatusEnum

func GetFindingSeverityEnumStringValues ¶

func GetFindingSeverityEnumStringValues() []string

GetFindingSeverityEnumStringValues Enumerates the set of values in String for FindingSeverityEnum

func GetFindingSummarySeverityEnumStringValues ¶

func GetFindingSummarySeverityEnumStringValues() []string

GetFindingSummarySeverityEnumStringValues Enumerates the set of values in String for FindingSummarySeverityEnum

func GetFormatEntryTypeEnumStringValues ¶

func GetFormatEntryTypeEnumStringValues() []string

GetFormatEntryTypeEnumStringValues Enumerates the set of values in String for FormatEntryTypeEnum

func GetGenerateDiscoveryReportForDownloadDetailsReportFormatEnumStringValues ¶

func GetGenerateDiscoveryReportForDownloadDetailsReportFormatEnumStringValues() []string

GetGenerateDiscoveryReportForDownloadDetailsReportFormatEnumStringValues Enumerates the set of values in String for GenerateDiscoveryReportForDownloadDetailsReportFormatEnum

func GetGenerateMaskingReportForDownloadDetailsReportFormatEnumStringValues ¶

func GetGenerateMaskingReportForDownloadDetailsReportFormatEnumStringValues() []string

GetGenerateMaskingReportForDownloadDetailsReportFormatEnumStringValues Enumerates the set of values in String for GenerateMaskingReportForDownloadDetailsReportFormatEnum

func GetGenerateReportDetailsMimeTypeEnumStringValues ¶

func GetGenerateReportDetailsMimeTypeEnumStringValues() []string

GetGenerateReportDetailsMimeTypeEnumStringValues Enumerates the set of values in String for GenerateReportDetailsMimeTypeEnum

func GetGenerateSecurityAssessmentReportDetailsFormatEnumStringValues ¶

func GetGenerateSecurityAssessmentReportDetailsFormatEnumStringValues() []string

GetGenerateSecurityAssessmentReportDetailsFormatEnumStringValues Enumerates the set of values in String for GenerateSecurityAssessmentReportDetailsFormatEnum

func GetGenerateUserAssessmentReportDetailsFormatEnumStringValues ¶

func GetGenerateUserAssessmentReportDetailsFormatEnumStringValues() []string

GetGenerateUserAssessmentReportDetailsFormatEnumStringValues Enumerates the set of values in String for GenerateUserAssessmentReportDetailsFormatEnum

func GetGetCompatibleFormatsForSensitiveTypesAccessLevelEnumStringValues ¶

func GetGetCompatibleFormatsForSensitiveTypesAccessLevelEnumStringValues() []string

GetGetCompatibleFormatsForSensitiveTypesAccessLevelEnumStringValues Enumerates the set of values in String for GetCompatibleFormatsForSensitiveTypesAccessLevelEnum

func GetGrantSummaryPrivilegeCategoryEnumStringValues ¶

func GetGrantSummaryPrivilegeCategoryEnumStringValues() []string

GetGrantSummaryPrivilegeCategoryEnumStringValues Enumerates the set of values in String for GrantSummaryPrivilegeCategoryEnum

func GetGrantSummaryPrivilegeTypeEnumStringValues ¶

func GetGrantSummaryPrivilegeTypeEnumStringValues() []string

GetGrantSummaryPrivilegeTypeEnumStringValues Enumerates the set of values in String for GrantSummaryPrivilegeTypeEnum

func GetInfrastructureTypeEnumStringValues ¶

func GetInfrastructureTypeEnumStringValues() []string

GetInfrastructureTypeEnumStringValues Enumerates the set of values in String for InfrastructureTypeEnum

func GetLibraryMaskingFormatSourceEnumStringValues ¶

func GetLibraryMaskingFormatSourceEnumStringValues() []string

GetLibraryMaskingFormatSourceEnumStringValues Enumerates the set of values in String for LibraryMaskingFormatSourceEnum

func GetLifecycleStateEnumStringValues ¶

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListAlertAnalyticsAccessLevelEnumStringValues ¶

func GetListAlertAnalyticsAccessLevelEnumStringValues() []string

GetListAlertAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListAlertAnalyticsAccessLevelEnum

func GetListAlertAnalyticsGroupByEnumStringValues ¶

func GetListAlertAnalyticsGroupByEnumStringValues() []string

GetListAlertAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListAlertAnalyticsGroupByEnum

func GetListAlertAnalyticsSortByEnumStringValues ¶

func GetListAlertAnalyticsSortByEnumStringValues() []string

GetListAlertAnalyticsSortByEnumStringValues Enumerates the set of values in String for ListAlertAnalyticsSortByEnum

func GetListAlertAnalyticsSortOrderEnumStringValues ¶

func GetListAlertAnalyticsSortOrderEnumStringValues() []string

GetListAlertAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for ListAlertAnalyticsSortOrderEnum

func GetListAlertAnalyticsSummaryFieldEnumStringValues ¶

func GetListAlertAnalyticsSummaryFieldEnumStringValues() []string

GetListAlertAnalyticsSummaryFieldEnumStringValues Enumerates the set of values in String for ListAlertAnalyticsSummaryFieldEnum

func GetListAlertPoliciesAccessLevelEnumStringValues ¶

func GetListAlertPoliciesAccessLevelEnumStringValues() []string

GetListAlertPoliciesAccessLevelEnumStringValues Enumerates the set of values in String for ListAlertPoliciesAccessLevelEnum

func GetListAlertPoliciesLifecycleStateEnumStringValues ¶

func GetListAlertPoliciesLifecycleStateEnumStringValues() []string

GetListAlertPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListAlertPoliciesLifecycleStateEnum

func GetListAlertPoliciesSortByEnumStringValues ¶

func GetListAlertPoliciesSortByEnumStringValues() []string

GetListAlertPoliciesSortByEnumStringValues Enumerates the set of values in String for ListAlertPoliciesSortByEnum

func GetListAlertPoliciesSortOrderEnumStringValues ¶

func GetListAlertPoliciesSortOrderEnumStringValues() []string

GetListAlertPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListAlertPoliciesSortOrderEnum

func GetListAlertPoliciesTypeEnumStringValues ¶

func GetListAlertPoliciesTypeEnumStringValues() []string

GetListAlertPoliciesTypeEnumStringValues Enumerates the set of values in String for ListAlertPoliciesTypeEnum

func GetListAlertsAccessLevelEnumStringValues ¶

func GetListAlertsAccessLevelEnumStringValues() []string

GetListAlertsAccessLevelEnumStringValues Enumerates the set of values in String for ListAlertsAccessLevelEnum

func GetListAlertsFieldEnumStringValues ¶

func GetListAlertsFieldEnumStringValues() []string

GetListAlertsFieldEnumStringValues Enumerates the set of values in String for ListAlertsFieldEnum

func GetListAlertsSortByEnumStringValues ¶

func GetListAlertsSortByEnumStringValues() []string

GetListAlertsSortByEnumStringValues Enumerates the set of values in String for ListAlertsSortByEnum

func GetListAlertsSortOrderEnumStringValues ¶

func GetListAlertsSortOrderEnumStringValues() []string

GetListAlertsSortOrderEnumStringValues Enumerates the set of values in String for ListAlertsSortOrderEnum

func GetListAuditArchiveRetrievalsAccessLevelEnumStringValues ¶

func GetListAuditArchiveRetrievalsAccessLevelEnumStringValues() []string

GetListAuditArchiveRetrievalsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditArchiveRetrievalsAccessLevelEnum

func GetListAuditArchiveRetrievalsLifecycleStateEnumStringValues ¶

func GetListAuditArchiveRetrievalsLifecycleStateEnumStringValues() []string

GetListAuditArchiveRetrievalsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAuditArchiveRetrievalsLifecycleStateEnum

func GetListAuditArchiveRetrievalsSortByEnumStringValues ¶

func GetListAuditArchiveRetrievalsSortByEnumStringValues() []string

GetListAuditArchiveRetrievalsSortByEnumStringValues Enumerates the set of values in String for ListAuditArchiveRetrievalsSortByEnum

func GetListAuditArchiveRetrievalsSortOrderEnumStringValues ¶

func GetListAuditArchiveRetrievalsSortOrderEnumStringValues() []string

GetListAuditArchiveRetrievalsSortOrderEnumStringValues Enumerates the set of values in String for ListAuditArchiveRetrievalsSortOrderEnum

func GetListAuditEventAnalyticsAccessLevelEnumStringValues ¶

func GetListAuditEventAnalyticsAccessLevelEnumStringValues() []string

GetListAuditEventAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditEventAnalyticsAccessLevelEnum

func GetListAuditEventAnalyticsGroupByEnumStringValues ¶

func GetListAuditEventAnalyticsGroupByEnumStringValues() []string

GetListAuditEventAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListAuditEventAnalyticsGroupByEnum

func GetListAuditEventAnalyticsSortByEnumStringValues ¶

func GetListAuditEventAnalyticsSortByEnumStringValues() []string

GetListAuditEventAnalyticsSortByEnumStringValues Enumerates the set of values in String for ListAuditEventAnalyticsSortByEnum

func GetListAuditEventAnalyticsSortOrderEnumStringValues ¶

func GetListAuditEventAnalyticsSortOrderEnumStringValues() []string

GetListAuditEventAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for ListAuditEventAnalyticsSortOrderEnum

func GetListAuditEventAnalyticsSummaryFieldEnumStringValues ¶

func GetListAuditEventAnalyticsSummaryFieldEnumStringValues() []string

GetListAuditEventAnalyticsSummaryFieldEnumStringValues Enumerates the set of values in String for ListAuditEventAnalyticsSummaryFieldEnum

func GetListAuditEventsAccessLevelEnumStringValues ¶

func GetListAuditEventsAccessLevelEnumStringValues() []string

GetListAuditEventsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditEventsAccessLevelEnum

func GetListAuditEventsSortByEnumStringValues ¶

func GetListAuditEventsSortByEnumStringValues() []string

GetListAuditEventsSortByEnumStringValues Enumerates the set of values in String for ListAuditEventsSortByEnum

func GetListAuditEventsSortOrderEnumStringValues ¶

func GetListAuditEventsSortOrderEnumStringValues() []string

GetListAuditEventsSortOrderEnumStringValues Enumerates the set of values in String for ListAuditEventsSortOrderEnum

func GetListAuditPoliciesAccessLevelEnumStringValues ¶

func GetListAuditPoliciesAccessLevelEnumStringValues() []string

GetListAuditPoliciesAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditPoliciesAccessLevelEnum

func GetListAuditPoliciesLifecycleStateEnumStringValues ¶

func GetListAuditPoliciesLifecycleStateEnumStringValues() []string

GetListAuditPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListAuditPoliciesLifecycleStateEnum

func GetListAuditPoliciesSortByEnumStringValues ¶

func GetListAuditPoliciesSortByEnumStringValues() []string

GetListAuditPoliciesSortByEnumStringValues Enumerates the set of values in String for ListAuditPoliciesSortByEnum

func GetListAuditPoliciesSortOrderEnumStringValues ¶

func GetListAuditPoliciesSortOrderEnumStringValues() []string

GetListAuditPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListAuditPoliciesSortOrderEnum

func GetListAuditPolicyAnalyticsAccessLevelEnumStringValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsAccessLevelEnumStringValues() []string

GetListAuditPolicyAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditPolicyAnalyticsAccessLevelEnum

func GetListAuditPolicyAnalyticsAuditPolicyCategoryEnumStringValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsAuditPolicyCategoryEnumStringValues() []string

GetListAuditPolicyAnalyticsAuditPolicyCategoryEnumStringValues Enumerates the set of values in String for ListAuditPolicyAnalyticsAuditPolicyCategoryEnum

func GetListAuditPolicyAnalyticsGroupByEnumStringValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsGroupByEnumStringValues() []string

GetListAuditPolicyAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListAuditPolicyAnalyticsGroupByEnum

func GetListAuditPolicyAnalyticsLifecycleStateEnumStringValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsLifecycleStateEnumStringValues() []string

GetListAuditPolicyAnalyticsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAuditPolicyAnalyticsLifecycleStateEnum

func GetListAuditProfileAnalyticsAccessLevelEnumStringValues ¶

func GetListAuditProfileAnalyticsAccessLevelEnumStringValues() []string

GetListAuditProfileAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditProfileAnalyticsAccessLevelEnum

func GetListAuditProfileAnalyticsGroupByEnumStringValues ¶

func GetListAuditProfileAnalyticsGroupByEnumStringValues() []string

GetListAuditProfileAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListAuditProfileAnalyticsGroupByEnum

func GetListAuditProfilesAccessLevelEnumStringValues ¶

func GetListAuditProfilesAccessLevelEnumStringValues() []string

GetListAuditProfilesAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditProfilesAccessLevelEnum

func GetListAuditProfilesLifecycleStateEnumStringValues ¶

func GetListAuditProfilesLifecycleStateEnumStringValues() []string

GetListAuditProfilesLifecycleStateEnumStringValues Enumerates the set of values in String for ListAuditProfilesLifecycleStateEnum

func GetListAuditProfilesSortByEnumStringValues ¶

func GetListAuditProfilesSortByEnumStringValues() []string

GetListAuditProfilesSortByEnumStringValues Enumerates the set of values in String for ListAuditProfilesSortByEnum

func GetListAuditProfilesSortOrderEnumStringValues ¶

func GetListAuditProfilesSortOrderEnumStringValues() []string

GetListAuditProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListAuditProfilesSortOrderEnum

func GetListAuditTrailAnalyticsAccessLevelEnumStringValues ¶

func GetListAuditTrailAnalyticsAccessLevelEnumStringValues() []string

GetListAuditTrailAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditTrailAnalyticsAccessLevelEnum

func GetListAuditTrailAnalyticsGroupByEnumStringValues ¶

func GetListAuditTrailAnalyticsGroupByEnumStringValues() []string

GetListAuditTrailAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListAuditTrailAnalyticsGroupByEnum

func GetListAuditTrailsAccessLevelEnumStringValues ¶

func GetListAuditTrailsAccessLevelEnumStringValues() []string

GetListAuditTrailsAccessLevelEnumStringValues Enumerates the set of values in String for ListAuditTrailsAccessLevelEnum

func GetListAuditTrailsLifecycleStateEnumStringValues ¶

func GetListAuditTrailsLifecycleStateEnumStringValues() []string

GetListAuditTrailsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAuditTrailsLifecycleStateEnum

func GetListAuditTrailsSortByEnumStringValues ¶

func GetListAuditTrailsSortByEnumStringValues() []string

GetListAuditTrailsSortByEnumStringValues Enumerates the set of values in String for ListAuditTrailsSortByEnum

func GetListAuditTrailsSortOrderEnumStringValues ¶

func GetListAuditTrailsSortOrderEnumStringValues() []string

GetListAuditTrailsSortOrderEnumStringValues Enumerates the set of values in String for ListAuditTrailsSortOrderEnum

func GetListAuditTrailsStatusEnumStringValues ¶

func GetListAuditTrailsStatusEnumStringValues() []string

GetListAuditTrailsStatusEnumStringValues Enumerates the set of values in String for ListAuditTrailsStatusEnum

func GetListAvailableAuditVolumesSortByEnumStringValues ¶

func GetListAvailableAuditVolumesSortByEnumStringValues() []string

GetListAvailableAuditVolumesSortByEnumStringValues Enumerates the set of values in String for ListAvailableAuditVolumesSortByEnum

func GetListAvailableAuditVolumesSortOrderEnumStringValues ¶

func GetListAvailableAuditVolumesSortOrderEnumStringValues() []string

GetListAvailableAuditVolumesSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableAuditVolumesSortOrderEnum

func GetListCollectedAuditVolumesSortByEnumStringValues ¶

func GetListCollectedAuditVolumesSortByEnumStringValues() []string

GetListCollectedAuditVolumesSortByEnumStringValues Enumerates the set of values in String for ListCollectedAuditVolumesSortByEnum

func GetListCollectedAuditVolumesSortOrderEnumStringValues ¶

func GetListCollectedAuditVolumesSortOrderEnumStringValues() []string

GetListCollectedAuditVolumesSortOrderEnumStringValues Enumerates the set of values in String for ListCollectedAuditVolumesSortOrderEnum

func GetListColumnsSortByEnumStringValues ¶

func GetListColumnsSortByEnumStringValues() []string

GetListColumnsSortByEnumStringValues Enumerates the set of values in String for ListColumnsSortByEnum

func GetListColumnsSortOrderEnumStringValues ¶

func GetListColumnsSortOrderEnumStringValues() []string

GetListColumnsSortOrderEnumStringValues Enumerates the set of values in String for ListColumnsSortOrderEnum

func GetListDataSafePrivateEndpointsAccessLevelEnumStringValues ¶

func GetListDataSafePrivateEndpointsAccessLevelEnumStringValues() []string

GetListDataSafePrivateEndpointsAccessLevelEnumStringValues Enumerates the set of values in String for ListDataSafePrivateEndpointsAccessLevelEnum

func GetListDataSafePrivateEndpointsLifecycleStateEnumStringValues ¶

func GetListDataSafePrivateEndpointsLifecycleStateEnumStringValues() []string

GetListDataSafePrivateEndpointsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataSafePrivateEndpointsLifecycleStateEnum

func GetListDataSafePrivateEndpointsSortByEnumStringValues ¶

func GetListDataSafePrivateEndpointsSortByEnumStringValues() []string

GetListDataSafePrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListDataSafePrivateEndpointsSortByEnum

func GetListDataSafePrivateEndpointsSortOrderEnumStringValues ¶

func GetListDataSafePrivateEndpointsSortOrderEnumStringValues() []string

GetListDataSafePrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListDataSafePrivateEndpointsSortOrderEnum

func GetListDifferenceColumnsSortByEnumStringValues ¶ added in v65.35.0

func GetListDifferenceColumnsSortByEnumStringValues() []string

GetListDifferenceColumnsSortByEnumStringValues Enumerates the set of values in String for ListDifferenceColumnsSortByEnum

func GetListDifferenceColumnsSortOrderEnumStringValues ¶ added in v65.35.0

func GetListDifferenceColumnsSortOrderEnumStringValues() []string

GetListDifferenceColumnsSortOrderEnumStringValues Enumerates the set of values in String for ListDifferenceColumnsSortOrderEnum

func GetListDiscoveryAnalyticsGroupByEnumStringValues ¶

func GetListDiscoveryAnalyticsGroupByEnumStringValues() []string

GetListDiscoveryAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListDiscoveryAnalyticsGroupByEnum

func GetListDiscoveryJobResultsSortByEnumStringValues ¶

func GetListDiscoveryJobResultsSortByEnumStringValues() []string

GetListDiscoveryJobResultsSortByEnumStringValues Enumerates the set of values in String for ListDiscoveryJobResultsSortByEnum

func GetListDiscoveryJobResultsSortOrderEnumStringValues ¶

func GetListDiscoveryJobResultsSortOrderEnumStringValues() []string

GetListDiscoveryJobResultsSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoveryJobResultsSortOrderEnum

func GetListDiscoveryJobsAccessLevelEnumStringValues ¶

func GetListDiscoveryJobsAccessLevelEnumStringValues() []string

GetListDiscoveryJobsAccessLevelEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsAccessLevelEnum

func GetListDiscoveryJobsLifecycleStateEnumStringValues ¶

func GetListDiscoveryJobsLifecycleStateEnumStringValues() []string

GetListDiscoveryJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsLifecycleStateEnum

func GetListDiscoveryJobsSortByEnumStringValues ¶

func GetListDiscoveryJobsSortByEnumStringValues() []string

GetListDiscoveryJobsSortByEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsSortByEnum

func GetListDiscoveryJobsSortOrderEnumStringValues ¶

func GetListDiscoveryJobsSortOrderEnumStringValues() []string

GetListDiscoveryJobsSortOrderEnumStringValues Enumerates the set of values in String for ListDiscoveryJobsSortOrderEnum

func GetListFindingsAccessLevelEnumStringValues ¶

func GetListFindingsAccessLevelEnumStringValues() []string

GetListFindingsAccessLevelEnumStringValues Enumerates the set of values in String for ListFindingsAccessLevelEnum

func GetListFindingsReferencesEnumStringValues ¶ added in v65.35.0

func GetListFindingsReferencesEnumStringValues() []string

GetListFindingsReferencesEnumStringValues Enumerates the set of values in String for ListFindingsReferencesEnum

func GetListFindingsSeverityEnumStringValues ¶

func GetListFindingsSeverityEnumStringValues() []string

GetListFindingsSeverityEnumStringValues Enumerates the set of values in String for ListFindingsSeverityEnum

func GetListGrantsSortByEnumStringValues ¶

func GetListGrantsSortByEnumStringValues() []string

GetListGrantsSortByEnumStringValues Enumerates the set of values in String for ListGrantsSortByEnum

func GetListGrantsSortOrderEnumStringValues ¶

func GetListGrantsSortOrderEnumStringValues() []string

GetListGrantsSortOrderEnumStringValues Enumerates the set of values in String for ListGrantsSortOrderEnum

func GetListLibraryMaskingFormatsAccessLevelEnumStringValues ¶

func GetListLibraryMaskingFormatsAccessLevelEnumStringValues() []string

GetListLibraryMaskingFormatsAccessLevelEnumStringValues Enumerates the set of values in String for ListLibraryMaskingFormatsAccessLevelEnum

func GetListLibraryMaskingFormatsLibraryMaskingFormatSourceEnumStringValues ¶

func GetListLibraryMaskingFormatsLibraryMaskingFormatSourceEnumStringValues() []string

GetListLibraryMaskingFormatsLibraryMaskingFormatSourceEnumStringValues Enumerates the set of values in String for ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum

func GetListLibraryMaskingFormatsLifecycleStateEnumStringValues ¶

func GetListLibraryMaskingFormatsLifecycleStateEnumStringValues() []string

GetListLibraryMaskingFormatsLifecycleStateEnumStringValues Enumerates the set of values in String for ListLibraryMaskingFormatsLifecycleStateEnum

func GetListLibraryMaskingFormatsSortByEnumStringValues ¶

func GetListLibraryMaskingFormatsSortByEnumStringValues() []string

GetListLibraryMaskingFormatsSortByEnumStringValues Enumerates the set of values in String for ListLibraryMaskingFormatsSortByEnum

func GetListLibraryMaskingFormatsSortOrderEnumStringValues ¶

func GetListLibraryMaskingFormatsSortOrderEnumStringValues() []string

GetListLibraryMaskingFormatsSortOrderEnumStringValues Enumerates the set of values in String for ListLibraryMaskingFormatsSortOrderEnum

func GetListMaskedColumnsObjectTypeEnumStringValues ¶

func GetListMaskedColumnsObjectTypeEnumStringValues() []string

GetListMaskedColumnsObjectTypeEnumStringValues Enumerates the set of values in String for ListMaskedColumnsObjectTypeEnum

func GetListMaskedColumnsSortByEnumStringValues ¶

func GetListMaskedColumnsSortByEnumStringValues() []string

GetListMaskedColumnsSortByEnumStringValues Enumerates the set of values in String for ListMaskedColumnsSortByEnum

func GetListMaskedColumnsSortOrderEnumStringValues ¶

func GetListMaskedColumnsSortOrderEnumStringValues() []string

GetListMaskedColumnsSortOrderEnumStringValues Enumerates the set of values in String for ListMaskedColumnsSortOrderEnum

func GetListMaskingAnalyticsGroupByEnumStringValues ¶

func GetListMaskingAnalyticsGroupByEnumStringValues() []string

GetListMaskingAnalyticsGroupByEnumStringValues Enumerates the set of values in String for ListMaskingAnalyticsGroupByEnum

func GetListMaskingColumnsDataTypeEnumStringValues ¶

func GetListMaskingColumnsDataTypeEnumStringValues() []string

GetListMaskingColumnsDataTypeEnumStringValues Enumerates the set of values in String for ListMaskingColumnsDataTypeEnum

func GetListMaskingColumnsMaskingColumnLifecycleStateEnumStringValues ¶

func GetListMaskingColumnsMaskingColumnLifecycleStateEnumStringValues() []string

GetListMaskingColumnsMaskingColumnLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaskingColumnsMaskingColumnLifecycleStateEnum

func GetListMaskingColumnsObjectTypeEnumStringValues ¶

func GetListMaskingColumnsObjectTypeEnumStringValues() []string

GetListMaskingColumnsObjectTypeEnumStringValues Enumerates the set of values in String for ListMaskingColumnsObjectTypeEnum

func GetListMaskingColumnsSortByEnumStringValues ¶

func GetListMaskingColumnsSortByEnumStringValues() []string

GetListMaskingColumnsSortByEnumStringValues Enumerates the set of values in String for ListMaskingColumnsSortByEnum

func GetListMaskingColumnsSortOrderEnumStringValues ¶

func GetListMaskingColumnsSortOrderEnumStringValues() []string

GetListMaskingColumnsSortOrderEnumStringValues Enumerates the set of values in String for ListMaskingColumnsSortOrderEnum

func GetListMaskingObjectsObjectTypeEnumStringValues ¶ added in v65.35.0

func GetListMaskingObjectsObjectTypeEnumStringValues() []string

GetListMaskingObjectsObjectTypeEnumStringValues Enumerates the set of values in String for ListMaskingObjectsObjectTypeEnum

func GetListMaskingObjectsSortByEnumStringValues ¶ added in v65.35.0

func GetListMaskingObjectsSortByEnumStringValues() []string

GetListMaskingObjectsSortByEnumStringValues Enumerates the set of values in String for ListMaskingObjectsSortByEnum

func GetListMaskingObjectsSortOrderEnumStringValues ¶ added in v65.35.0

func GetListMaskingObjectsSortOrderEnumStringValues() []string

GetListMaskingObjectsSortOrderEnumStringValues Enumerates the set of values in String for ListMaskingObjectsSortOrderEnum

func GetListMaskingPoliciesAccessLevelEnumStringValues ¶

func GetListMaskingPoliciesAccessLevelEnumStringValues() []string

GetListMaskingPoliciesAccessLevelEnumStringValues Enumerates the set of values in String for ListMaskingPoliciesAccessLevelEnum

func GetListMaskingPoliciesLifecycleStateEnumStringValues ¶

func GetListMaskingPoliciesLifecycleStateEnumStringValues() []string

GetListMaskingPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaskingPoliciesLifecycleStateEnum

func GetListMaskingPoliciesSortByEnumStringValues ¶

func GetListMaskingPoliciesSortByEnumStringValues() []string

GetListMaskingPoliciesSortByEnumStringValues Enumerates the set of values in String for ListMaskingPoliciesSortByEnum

func GetListMaskingPoliciesSortOrderEnumStringValues ¶

func GetListMaskingPoliciesSortOrderEnumStringValues() []string

GetListMaskingPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListMaskingPoliciesSortOrderEnum

func GetListMaskingReportsAccessLevelEnumStringValues ¶

func GetListMaskingReportsAccessLevelEnumStringValues() []string

GetListMaskingReportsAccessLevelEnumStringValues Enumerates the set of values in String for ListMaskingReportsAccessLevelEnum

func GetListMaskingReportsSortByEnumStringValues ¶

func GetListMaskingReportsSortByEnumStringValues() []string

GetListMaskingReportsSortByEnumStringValues Enumerates the set of values in String for ListMaskingReportsSortByEnum

func GetListMaskingReportsSortOrderEnumStringValues ¶

func GetListMaskingReportsSortOrderEnumStringValues() []string

GetListMaskingReportsSortOrderEnumStringValues Enumerates the set of values in String for ListMaskingReportsSortOrderEnum

func GetListMaskingSchemasSortByEnumStringValues ¶ added in v65.35.0

func GetListMaskingSchemasSortByEnumStringValues() []string

GetListMaskingSchemasSortByEnumStringValues Enumerates the set of values in String for ListMaskingSchemasSortByEnum

func GetListMaskingSchemasSortOrderEnumStringValues ¶ added in v65.35.0

func GetListMaskingSchemasSortOrderEnumStringValues() []string

GetListMaskingSchemasSortOrderEnumStringValues Enumerates the set of values in String for ListMaskingSchemasSortOrderEnum

func GetListOnPremConnectorsAccessLevelEnumStringValues ¶

func GetListOnPremConnectorsAccessLevelEnumStringValues() []string

GetListOnPremConnectorsAccessLevelEnumStringValues Enumerates the set of values in String for ListOnPremConnectorsAccessLevelEnum

func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumStringValues ¶

func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumStringValues() []string

GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumStringValues Enumerates the set of values in String for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

func GetListOnPremConnectorsSortByEnumStringValues ¶

func GetListOnPremConnectorsSortByEnumStringValues() []string

GetListOnPremConnectorsSortByEnumStringValues Enumerates the set of values in String for ListOnPremConnectorsSortByEnum

func GetListOnPremConnectorsSortOrderEnumStringValues ¶

func GetListOnPremConnectorsSortOrderEnumStringValues() []string

GetListOnPremConnectorsSortOrderEnumStringValues Enumerates the set of values in String for ListOnPremConnectorsSortOrderEnum

func GetListProfileAnalyticsAccessLevelEnumStringValues ¶ added in v65.35.0

func GetListProfileAnalyticsAccessLevelEnumStringValues() []string

GetListProfileAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListProfileAnalyticsAccessLevelEnum

func GetListProfileAnalyticsSortByEnumStringValues ¶ added in v65.35.0

func GetListProfileAnalyticsSortByEnumStringValues() []string

GetListProfileAnalyticsSortByEnumStringValues Enumerates the set of values in String for ListProfileAnalyticsSortByEnum

func GetListProfileAnalyticsSortOrderEnumStringValues ¶ added in v65.35.0

func GetListProfileAnalyticsSortOrderEnumStringValues() []string

GetListProfileAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for ListProfileAnalyticsSortOrderEnum

func GetListProfileSummariesAccessLevelEnumStringValues ¶ added in v65.35.0

func GetListProfileSummariesAccessLevelEnumStringValues() []string

GetListProfileSummariesAccessLevelEnumStringValues Enumerates the set of values in String for ListProfileSummariesAccessLevelEnum

func GetListProfileSummariesSortByEnumStringValues ¶ added in v65.35.0

func GetListProfileSummariesSortByEnumStringValues() []string

GetListProfileSummariesSortByEnumStringValues Enumerates the set of values in String for ListProfileSummariesSortByEnum

func GetListProfileSummariesSortOrderEnumStringValues ¶ added in v65.35.0

func GetListProfileSummariesSortOrderEnumStringValues() []string

GetListProfileSummariesSortOrderEnumStringValues Enumerates the set of values in String for ListProfileSummariesSortOrderEnum

func GetListReportDefinitionsAccessLevelEnumStringValues ¶

func GetListReportDefinitionsAccessLevelEnumStringValues() []string

GetListReportDefinitionsAccessLevelEnumStringValues Enumerates the set of values in String for ListReportDefinitionsAccessLevelEnum

func GetListReportDefinitionsCategoryEnumStringValues ¶

func GetListReportDefinitionsCategoryEnumStringValues() []string

GetListReportDefinitionsCategoryEnumStringValues Enumerates the set of values in String for ListReportDefinitionsCategoryEnum

func GetListReportDefinitionsDataSourceEnumStringValues ¶

func GetListReportDefinitionsDataSourceEnumStringValues() []string

GetListReportDefinitionsDataSourceEnumStringValues Enumerates the set of values in String for ListReportDefinitionsDataSourceEnum

func GetListReportDefinitionsLifecycleStateEnumStringValues ¶

func GetListReportDefinitionsLifecycleStateEnumStringValues() []string

GetListReportDefinitionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListReportDefinitionsLifecycleStateEnum

func GetListReportDefinitionsSortByEnumStringValues ¶

func GetListReportDefinitionsSortByEnumStringValues() []string

GetListReportDefinitionsSortByEnumStringValues Enumerates the set of values in String for ListReportDefinitionsSortByEnum

func GetListReportDefinitionsSortOrderEnumStringValues ¶

func GetListReportDefinitionsSortOrderEnumStringValues() []string

GetListReportDefinitionsSortOrderEnumStringValues Enumerates the set of values in String for ListReportDefinitionsSortOrderEnum

func GetListReportsAccessLevelEnumStringValues ¶

func GetListReportsAccessLevelEnumStringValues() []string

GetListReportsAccessLevelEnumStringValues Enumerates the set of values in String for ListReportsAccessLevelEnum

func GetListReportsLifecycleStateEnumStringValues ¶

func GetListReportsLifecycleStateEnumStringValues() []string

GetListReportsLifecycleStateEnumStringValues Enumerates the set of values in String for ListReportsLifecycleStateEnum

func GetListReportsSortByEnumStringValues ¶

func GetListReportsSortByEnumStringValues() []string

GetListReportsSortByEnumStringValues Enumerates the set of values in String for ListReportsSortByEnum

func GetListReportsSortOrderEnumStringValues ¶

func GetListReportsSortOrderEnumStringValues() []string

GetListReportsSortOrderEnumStringValues Enumerates the set of values in String for ListReportsSortOrderEnum

func GetListReportsTypeEnumStringValues ¶ added in v65.27.0

func GetListReportsTypeEnumStringValues() []string

GetListReportsTypeEnumStringValues Enumerates the set of values in String for ListReportsTypeEnum

func GetListRolesSortByEnumStringValues ¶

func GetListRolesSortByEnumStringValues() []string

GetListRolesSortByEnumStringValues Enumerates the set of values in String for ListRolesSortByEnum

func GetListRolesSortOrderEnumStringValues ¶

func GetListRolesSortOrderEnumStringValues() []string

GetListRolesSortOrderEnumStringValues Enumerates the set of values in String for ListRolesSortOrderEnum

func GetListSchemasSortByEnumStringValues ¶

func GetListSchemasSortByEnumStringValues() []string

GetListSchemasSortByEnumStringValues Enumerates the set of values in String for ListSchemasSortByEnum

func GetListSchemasSortOrderEnumStringValues ¶

func GetListSchemasSortOrderEnumStringValues() []string

GetListSchemasSortOrderEnumStringValues Enumerates the set of values in String for ListSchemasSortOrderEnum

func GetListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnumStringValues ¶ added in v65.35.0

func GetListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnumStringValues() []string

GetListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnumStringValues Enumerates the set of values in String for ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum

func GetListSdmMaskingPolicyDifferencesSortByEnumStringValues ¶ added in v65.35.0

func GetListSdmMaskingPolicyDifferencesSortByEnumStringValues() []string

GetListSdmMaskingPolicyDifferencesSortByEnumStringValues Enumerates the set of values in String for ListSdmMaskingPolicyDifferencesSortByEnum

func GetListSdmMaskingPolicyDifferencesSortOrderEnumStringValues ¶ added in v65.35.0

func GetListSdmMaskingPolicyDifferencesSortOrderEnumStringValues() []string

GetListSdmMaskingPolicyDifferencesSortOrderEnumStringValues Enumerates the set of values in String for ListSdmMaskingPolicyDifferencesSortOrderEnum

func GetListSecurityAssessmentsAccessLevelEnumStringValues ¶

func GetListSecurityAssessmentsAccessLevelEnumStringValues() []string

GetListSecurityAssessmentsAccessLevelEnumStringValues Enumerates the set of values in String for ListSecurityAssessmentsAccessLevelEnum

func GetListSecurityAssessmentsLifecycleStateEnumStringValues ¶

func GetListSecurityAssessmentsLifecycleStateEnumStringValues() []string

GetListSecurityAssessmentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityAssessmentsLifecycleStateEnum

func GetListSecurityAssessmentsSortByEnumStringValues ¶

func GetListSecurityAssessmentsSortByEnumStringValues() []string

GetListSecurityAssessmentsSortByEnumStringValues Enumerates the set of values in String for ListSecurityAssessmentsSortByEnum

func GetListSecurityAssessmentsSortOrderEnumStringValues ¶

func GetListSecurityAssessmentsSortOrderEnumStringValues() []string

GetListSecurityAssessmentsSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityAssessmentsSortOrderEnum

func GetListSecurityAssessmentsTriggeredByEnumStringValues ¶

func GetListSecurityAssessmentsTriggeredByEnumStringValues() []string

GetListSecurityAssessmentsTriggeredByEnumStringValues Enumerates the set of values in String for ListSecurityAssessmentsTriggeredByEnum

func GetListSecurityAssessmentsTypeEnumStringValues ¶

func GetListSecurityAssessmentsTypeEnumStringValues() []string

GetListSecurityAssessmentsTypeEnumStringValues Enumerates the set of values in String for ListSecurityAssessmentsTypeEnum

func GetListSensitiveColumnsObjectTypeEnumStringValues ¶

func GetListSensitiveColumnsObjectTypeEnumStringValues() []string

GetListSensitiveColumnsObjectTypeEnumStringValues Enumerates the set of values in String for ListSensitiveColumnsObjectTypeEnum

func GetListSensitiveColumnsRelationTypeEnumStringValues ¶

func GetListSensitiveColumnsRelationTypeEnumStringValues() []string

GetListSensitiveColumnsRelationTypeEnumStringValues Enumerates the set of values in String for ListSensitiveColumnsRelationTypeEnum

func GetListSensitiveColumnsSensitiveColumnLifecycleStateEnumStringValues ¶

func GetListSensitiveColumnsSensitiveColumnLifecycleStateEnumStringValues() []string

GetListSensitiveColumnsSensitiveColumnLifecycleStateEnumStringValues Enumerates the set of values in String for ListSensitiveColumnsSensitiveColumnLifecycleStateEnum

func GetListSensitiveColumnsSortByEnumStringValues ¶

func GetListSensitiveColumnsSortByEnumStringValues() []string

GetListSensitiveColumnsSortByEnumStringValues Enumerates the set of values in String for ListSensitiveColumnsSortByEnum

func GetListSensitiveColumnsSortOrderEnumStringValues ¶

func GetListSensitiveColumnsSortOrderEnumStringValues() []string

GetListSensitiveColumnsSortOrderEnumStringValues Enumerates the set of values in String for ListSensitiveColumnsSortOrderEnum

func GetListSensitiveColumnsStatusEnumStringValues ¶

func GetListSensitiveColumnsStatusEnumStringValues() []string

GetListSensitiveColumnsStatusEnumStringValues Enumerates the set of values in String for ListSensitiveColumnsStatusEnum

func GetListSensitiveDataModelsAccessLevelEnumStringValues ¶

func GetListSensitiveDataModelsAccessLevelEnumStringValues() []string

GetListSensitiveDataModelsAccessLevelEnumStringValues Enumerates the set of values in String for ListSensitiveDataModelsAccessLevelEnum

func GetListSensitiveDataModelsLifecycleStateEnumStringValues ¶

func GetListSensitiveDataModelsLifecycleStateEnumStringValues() []string

GetListSensitiveDataModelsLifecycleStateEnumStringValues Enumerates the set of values in String for ListSensitiveDataModelsLifecycleStateEnum

func GetListSensitiveDataModelsSortByEnumStringValues ¶

func GetListSensitiveDataModelsSortByEnumStringValues() []string

GetListSensitiveDataModelsSortByEnumStringValues Enumerates the set of values in String for ListSensitiveDataModelsSortByEnum

func GetListSensitiveDataModelsSortOrderEnumStringValues ¶

func GetListSensitiveDataModelsSortOrderEnumStringValues() []string

GetListSensitiveDataModelsSortOrderEnumStringValues Enumerates the set of values in String for ListSensitiveDataModelsSortOrderEnum

func GetListSensitiveObjectsObjectTypeEnumStringValues ¶ added in v65.35.0

func GetListSensitiveObjectsObjectTypeEnumStringValues() []string

GetListSensitiveObjectsObjectTypeEnumStringValues Enumerates the set of values in String for ListSensitiveObjectsObjectTypeEnum

func GetListSensitiveObjectsSortByEnumStringValues ¶ added in v65.35.0

func GetListSensitiveObjectsSortByEnumStringValues() []string

GetListSensitiveObjectsSortByEnumStringValues Enumerates the set of values in String for ListSensitiveObjectsSortByEnum

func GetListSensitiveObjectsSortOrderEnumStringValues ¶ added in v65.35.0

func GetListSensitiveObjectsSortOrderEnumStringValues() []string

GetListSensitiveObjectsSortOrderEnumStringValues Enumerates the set of values in String for ListSensitiveObjectsSortOrderEnum

func GetListSensitiveSchemasSortByEnumStringValues ¶ added in v65.35.0

func GetListSensitiveSchemasSortByEnumStringValues() []string

GetListSensitiveSchemasSortByEnumStringValues Enumerates the set of values in String for ListSensitiveSchemasSortByEnum

func GetListSensitiveSchemasSortOrderEnumStringValues ¶ added in v65.35.0

func GetListSensitiveSchemasSortOrderEnumStringValues() []string

GetListSensitiveSchemasSortOrderEnumStringValues Enumerates the set of values in String for ListSensitiveSchemasSortOrderEnum

func GetListSensitiveTypesAccessLevelEnumStringValues ¶

func GetListSensitiveTypesAccessLevelEnumStringValues() []string

GetListSensitiveTypesAccessLevelEnumStringValues Enumerates the set of values in String for ListSensitiveTypesAccessLevelEnum

func GetListSensitiveTypesEntityTypeEnumStringValues ¶

func GetListSensitiveTypesEntityTypeEnumStringValues() []string

GetListSensitiveTypesEntityTypeEnumStringValues Enumerates the set of values in String for ListSensitiveTypesEntityTypeEnum

func GetListSensitiveTypesLifecycleStateEnumStringValues ¶

func GetListSensitiveTypesLifecycleStateEnumStringValues() []string

GetListSensitiveTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSensitiveTypesLifecycleStateEnum

func GetListSensitiveTypesSensitiveTypeSourceEnumStringValues ¶

func GetListSensitiveTypesSensitiveTypeSourceEnumStringValues() []string

GetListSensitiveTypesSensitiveTypeSourceEnumStringValues Enumerates the set of values in String for ListSensitiveTypesSensitiveTypeSourceEnum

func GetListSensitiveTypesSortByEnumStringValues ¶

func GetListSensitiveTypesSortByEnumStringValues() []string

GetListSensitiveTypesSortByEnumStringValues Enumerates the set of values in String for ListSensitiveTypesSortByEnum

func GetListSensitiveTypesSortOrderEnumStringValues ¶

func GetListSensitiveTypesSortOrderEnumStringValues() []string

GetListSensitiveTypesSortOrderEnumStringValues Enumerates the set of values in String for ListSensitiveTypesSortOrderEnum

func GetListTablesSortByEnumStringValues ¶

func GetListTablesSortByEnumStringValues() []string

GetListTablesSortByEnumStringValues Enumerates the set of values in String for ListTablesSortByEnum

func GetListTablesSortOrderEnumStringValues ¶

func GetListTablesSortOrderEnumStringValues() []string

GetListTablesSortOrderEnumStringValues Enumerates the set of values in String for ListTablesSortOrderEnum

func GetListTargetAlertPolicyAssociationsAccessLevelEnumStringValues ¶

func GetListTargetAlertPolicyAssociationsAccessLevelEnumStringValues() []string

GetListTargetAlertPolicyAssociationsAccessLevelEnumStringValues Enumerates the set of values in String for ListTargetAlertPolicyAssociationsAccessLevelEnum

func GetListTargetAlertPolicyAssociationsLifecycleStateEnumStringValues ¶

func GetListTargetAlertPolicyAssociationsLifecycleStateEnumStringValues() []string

GetListTargetAlertPolicyAssociationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetAlertPolicyAssociationsLifecycleStateEnum

func GetListTargetAlertPolicyAssociationsSortByEnumStringValues ¶

func GetListTargetAlertPolicyAssociationsSortByEnumStringValues() []string

GetListTargetAlertPolicyAssociationsSortByEnumStringValues Enumerates the set of values in String for ListTargetAlertPolicyAssociationsSortByEnum

func GetListTargetAlertPolicyAssociationsSortOrderEnumStringValues ¶

func GetListTargetAlertPolicyAssociationsSortOrderEnumStringValues() []string

GetListTargetAlertPolicyAssociationsSortOrderEnumStringValues Enumerates the set of values in String for ListTargetAlertPolicyAssociationsSortOrderEnum

func GetListTargetDatabasesAccessLevelEnumStringValues ¶

func GetListTargetDatabasesAccessLevelEnumStringValues() []string

GetListTargetDatabasesAccessLevelEnumStringValues Enumerates the set of values in String for ListTargetDatabasesAccessLevelEnum

func GetListTargetDatabasesDatabaseTypeEnumStringValues ¶

func GetListTargetDatabasesDatabaseTypeEnumStringValues() []string

GetListTargetDatabasesDatabaseTypeEnumStringValues Enumerates the set of values in String for ListTargetDatabasesDatabaseTypeEnum

func GetListTargetDatabasesInfrastructureTypeEnumStringValues ¶

func GetListTargetDatabasesInfrastructureTypeEnumStringValues() []string

GetListTargetDatabasesInfrastructureTypeEnumStringValues Enumerates the set of values in String for ListTargetDatabasesInfrastructureTypeEnum

func GetListTargetDatabasesLifecycleStateEnumStringValues ¶

func GetListTargetDatabasesLifecycleStateEnumStringValues() []string

GetListTargetDatabasesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDatabasesLifecycleStateEnum

func GetListTargetDatabasesSortByEnumStringValues ¶

func GetListTargetDatabasesSortByEnumStringValues() []string

GetListTargetDatabasesSortByEnumStringValues Enumerates the set of values in String for ListTargetDatabasesSortByEnum

func GetListTargetDatabasesSortOrderEnumStringValues ¶

func GetListTargetDatabasesSortOrderEnumStringValues() []string

GetListTargetDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDatabasesSortOrderEnum

func GetListUserAnalyticsAccessLevelEnumStringValues ¶

func GetListUserAnalyticsAccessLevelEnumStringValues() []string

GetListUserAnalyticsAccessLevelEnumStringValues Enumerates the set of values in String for ListUserAnalyticsAccessLevelEnum

func GetListUserAnalyticsSortByEnumStringValues ¶

func GetListUserAnalyticsSortByEnumStringValues() []string

GetListUserAnalyticsSortByEnumStringValues Enumerates the set of values in String for ListUserAnalyticsSortByEnum

func GetListUserAnalyticsSortOrderEnumStringValues ¶

func GetListUserAnalyticsSortOrderEnumStringValues() []string

GetListUserAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for ListUserAnalyticsSortOrderEnum

func GetListUserAssessmentsAccessLevelEnumStringValues ¶

func GetListUserAssessmentsAccessLevelEnumStringValues() []string

GetListUserAssessmentsAccessLevelEnumStringValues Enumerates the set of values in String for ListUserAssessmentsAccessLevelEnum

func GetListUserAssessmentsLifecycleStateEnumStringValues ¶

func GetListUserAssessmentsLifecycleStateEnumStringValues() []string

GetListUserAssessmentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListUserAssessmentsLifecycleStateEnum

func GetListUserAssessmentsSortByEnumStringValues ¶

func GetListUserAssessmentsSortByEnumStringValues() []string

GetListUserAssessmentsSortByEnumStringValues Enumerates the set of values in String for ListUserAssessmentsSortByEnum

func GetListUserAssessmentsSortOrderEnumStringValues ¶

func GetListUserAssessmentsSortOrderEnumStringValues() []string

GetListUserAssessmentsSortOrderEnumStringValues Enumerates the set of values in String for ListUserAssessmentsSortOrderEnum

func GetListUserAssessmentsTriggeredByEnumStringValues ¶

func GetListUserAssessmentsTriggeredByEnumStringValues() []string

GetListUserAssessmentsTriggeredByEnumStringValues Enumerates the set of values in String for ListUserAssessmentsTriggeredByEnum

func GetListUserAssessmentsTypeEnumStringValues ¶

func GetListUserAssessmentsTypeEnumStringValues() []string

GetListUserAssessmentsTypeEnumStringValues Enumerates the set of values in String for ListUserAssessmentsTypeEnum

func GetListUsersAccessLevelEnumStringValues ¶

func GetListUsersAccessLevelEnumStringValues() []string

GetListUsersAccessLevelEnumStringValues Enumerates the set of values in String for ListUsersAccessLevelEnum

func GetListUsersSortByEnumStringValues ¶

func GetListUsersSortByEnumStringValues() []string

GetListUsersSortByEnumStringValues Enumerates the set of values in String for ListUsersSortByEnum

func GetListUsersSortOrderEnumStringValues ¶

func GetListUsersSortOrderEnumStringValues() []string

GetListUsersSortOrderEnumStringValues Enumerates the set of values in String for ListUsersSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues ¶

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues ¶

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetMaskingAnalyticsSummaryMetricNameEnumStringValues ¶

func GetMaskingAnalyticsSummaryMetricNameEnumStringValues() []string

GetMaskingAnalyticsSummaryMetricNameEnumStringValues Enumerates the set of values in String for MaskingAnalyticsSummaryMetricNameEnum

func GetMaskingColumnLifecycleStateEnumStringValues ¶

func GetMaskingColumnLifecycleStateEnumStringValues() []string

GetMaskingColumnLifecycleStateEnumStringValues Enumerates the set of values in String for MaskingColumnLifecycleStateEnum

func GetMaskingLifecycleStateEnumStringValues ¶

func GetMaskingLifecycleStateEnumStringValues() []string

GetMaskingLifecycleStateEnumStringValues Enumerates the set of values in String for MaskingLifecycleStateEnum

func GetMaskingPolicyRecompileEnumStringValues ¶

func GetMaskingPolicyRecompileEnumStringValues() []string

GetMaskingPolicyRecompileEnumStringValues Enumerates the set of values in String for MaskingPolicyRecompileEnum

func GetObjectTypeEnumStringValues ¶

func GetObjectTypeEnumStringValues() []string

GetObjectTypeEnumStringValues Enumerates the set of values in String for ObjectTypeEnum

func GetOnPremConnectorLifecycleStateEnumStringValues ¶

func GetOnPremConnectorLifecycleStateEnumStringValues() []string

GetOnPremConnectorLifecycleStateEnumStringValues Enumerates the set of values in String for OnPremConnectorLifecycleStateEnum

func GetPatchAlertsAccessLevelEnumStringValues ¶ added in v65.27.0

func GetPatchAlertsAccessLevelEnumStringValues() []string

GetPatchAlertsAccessLevelEnumStringValues Enumerates the set of values in String for PatchAlertsAccessLevelEnum

func GetPatchInstructionOperationEnumStringValues ¶

func GetPatchInstructionOperationEnumStringValues() []string

GetPatchInstructionOperationEnumStringValues Enumerates the set of values in String for PatchInstructionOperationEnum

func GetPolicyFormatEnumStringValues ¶

func GetPolicyFormatEnumStringValues() []string

GetPolicyFormatEnumStringValues Enumerates the set of values in String for PolicyFormatEnum

func GetReportDefinitionCategoryEnumStringValues ¶

func GetReportDefinitionCategoryEnumStringValues() []string

GetReportDefinitionCategoryEnumStringValues Enumerates the set of values in String for ReportDefinitionCategoryEnum

func GetReportDefinitionDataSourceEnumStringValues ¶

func GetReportDefinitionDataSourceEnumStringValues() []string

GetReportDefinitionDataSourceEnumStringValues Enumerates the set of values in String for ReportDefinitionDataSourceEnum

func GetReportDefinitionLifecycleStateEnumStringValues ¶

func GetReportDefinitionLifecycleStateEnumStringValues() []string

GetReportDefinitionLifecycleStateEnumStringValues Enumerates the set of values in String for ReportDefinitionLifecycleStateEnum

func GetReportDefinitionScheduledReportMimeTypeEnumStringValues ¶ added in v65.27.0

func GetReportDefinitionScheduledReportMimeTypeEnumStringValues() []string

GetReportDefinitionScheduledReportMimeTypeEnumStringValues Enumerates the set of values in String for ReportDefinitionScheduledReportMimeTypeEnum

func GetReportDefinitionSummaryCategoryEnumStringValues ¶

func GetReportDefinitionSummaryCategoryEnumStringValues() []string

GetReportDefinitionSummaryCategoryEnumStringValues Enumerates the set of values in String for ReportDefinitionSummaryCategoryEnum

func GetReportDetailsReportTypeEnumStringValues ¶ added in v65.27.0

func GetReportDetailsReportTypeEnumStringValues() []string

GetReportDetailsReportTypeEnumStringValues Enumerates the set of values in String for ReportDetailsReportTypeEnum

func GetReportLifecycleStateEnumStringValues ¶

func GetReportLifecycleStateEnumStringValues() []string

GetReportLifecycleStateEnumStringValues Enumerates the set of values in String for ReportLifecycleStateEnum

func GetReportMimeTypeEnumStringValues ¶

func GetReportMimeTypeEnumStringValues() []string

GetReportMimeTypeEnumStringValues Enumerates the set of values in String for ReportMimeTypeEnum

func GetReportSummaryMimeTypeEnumStringValues ¶

func GetReportSummaryMimeTypeEnumStringValues() []string

GetReportSummaryMimeTypeEnumStringValues Enumerates the set of values in String for ReportSummaryMimeTypeEnum

func GetReportTypeEnumStringValues ¶ added in v65.27.0

func GetReportTypeEnumStringValues() []string

GetReportTypeEnumStringValues Enumerates the set of values in String for ReportTypeEnum

func GetScheduleReportDetailsMimeTypeEnumStringValues ¶ added in v65.27.0

func GetScheduleReportDetailsMimeTypeEnumStringValues() []string

GetScheduleReportDetailsMimeTypeEnumStringValues Enumerates the set of values in String for ScheduleReportDetailsMimeTypeEnum

func GetSdmMaskingPolicyDifferenceDifferenceTypeEnumStringValues ¶ added in v65.35.0

func GetSdmMaskingPolicyDifferenceDifferenceTypeEnumStringValues() []string

GetSdmMaskingPolicyDifferenceDifferenceTypeEnumStringValues Enumerates the set of values in String for SdmMaskingPolicyDifferenceDifferenceTypeEnum

func GetSdmMaskingPolicyDifferenceLifecycleStateEnumStringValues ¶ added in v65.35.0

func GetSdmMaskingPolicyDifferenceLifecycleStateEnumStringValues() []string

GetSdmMaskingPolicyDifferenceLifecycleStateEnumStringValues Enumerates the set of values in String for SdmMaskingPolicyDifferenceLifecycleStateEnum

func GetSecurityAssessmentComparisonLifecycleStateEnumStringValues ¶

func GetSecurityAssessmentComparisonLifecycleStateEnumStringValues() []string

GetSecurityAssessmentComparisonLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityAssessmentComparisonLifecycleStateEnum

func GetSecurityAssessmentLifecycleStateEnumStringValues ¶

func GetSecurityAssessmentLifecycleStateEnumStringValues() []string

GetSecurityAssessmentLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityAssessmentLifecycleStateEnum

func GetSecurityAssessmentReferencesEnumStringValues ¶ added in v65.35.0

func GetSecurityAssessmentReferencesEnumStringValues() []string

GetSecurityAssessmentReferencesEnumStringValues Enumerates the set of values in String for SecurityAssessmentReferencesEnum

func GetSecurityAssessmentSummaryTriggeredByEnumStringValues ¶

func GetSecurityAssessmentSummaryTriggeredByEnumStringValues() []string

GetSecurityAssessmentSummaryTriggeredByEnumStringValues Enumerates the set of values in String for SecurityAssessmentSummaryTriggeredByEnum

func GetSecurityAssessmentSummaryTypeEnumStringValues ¶

func GetSecurityAssessmentSummaryTypeEnumStringValues() []string

GetSecurityAssessmentSummaryTypeEnumStringValues Enumerates the set of values in String for SecurityAssessmentSummaryTypeEnum

func GetSecurityAssessmentTriggeredByEnumStringValues ¶

func GetSecurityAssessmentTriggeredByEnumStringValues() []string

GetSecurityAssessmentTriggeredByEnumStringValues Enumerates the set of values in String for SecurityAssessmentTriggeredByEnum

func GetSecurityAssessmentTypeEnumStringValues ¶

func GetSecurityAssessmentTypeEnumStringValues() []string

GetSecurityAssessmentTypeEnumStringValues Enumerates the set of values in String for SecurityAssessmentTypeEnum

func GetSensitiveColumnLifecycleStateEnumStringValues ¶

func GetSensitiveColumnLifecycleStateEnumStringValues() []string

GetSensitiveColumnLifecycleStateEnumStringValues Enumerates the set of values in String for SensitiveColumnLifecycleStateEnum

func GetSensitiveColumnObjectTypeEnumStringValues ¶

func GetSensitiveColumnObjectTypeEnumStringValues() []string

GetSensitiveColumnObjectTypeEnumStringValues Enumerates the set of values in String for SensitiveColumnObjectTypeEnum

func GetSensitiveColumnRelationTypeEnumStringValues ¶

func GetSensitiveColumnRelationTypeEnumStringValues() []string

GetSensitiveColumnRelationTypeEnumStringValues Enumerates the set of values in String for SensitiveColumnRelationTypeEnum

func GetSensitiveColumnSourceEnumStringValues ¶

func GetSensitiveColumnSourceEnumStringValues() []string

GetSensitiveColumnSourceEnumStringValues Enumerates the set of values in String for SensitiveColumnSourceEnum

func GetSensitiveColumnStatusEnumStringValues ¶

func GetSensitiveColumnStatusEnumStringValues() []string

GetSensitiveColumnStatusEnumStringValues Enumerates the set of values in String for SensitiveColumnStatusEnum

func GetSensitiveColumnSummaryObjectTypeEnumStringValues ¶

func GetSensitiveColumnSummaryObjectTypeEnumStringValues() []string

GetSensitiveColumnSummaryObjectTypeEnumStringValues Enumerates the set of values in String for SensitiveColumnSummaryObjectTypeEnum

func GetSensitiveColumnSummaryRelationTypeEnumStringValues ¶

func GetSensitiveColumnSummaryRelationTypeEnumStringValues() []string

GetSensitiveColumnSummaryRelationTypeEnumStringValues Enumerates the set of values in String for SensitiveColumnSummaryRelationTypeEnum

func GetSensitiveColumnSummarySourceEnumStringValues ¶

func GetSensitiveColumnSummarySourceEnumStringValues() []string

GetSensitiveColumnSummarySourceEnumStringValues Enumerates the set of values in String for SensitiveColumnSummarySourceEnum

func GetSensitiveColumnSummaryStatusEnumStringValues ¶

func GetSensitiveColumnSummaryStatusEnumStringValues() []string

GetSensitiveColumnSummaryStatusEnumStringValues Enumerates the set of values in String for SensitiveColumnSummaryStatusEnum

func GetSensitiveTypeEntityEnumStringValues ¶

func GetSensitiveTypeEntityEnumStringValues() []string

GetSensitiveTypeEntityEnumStringValues Enumerates the set of values in String for SensitiveTypeEntityEnum

func GetSensitiveTypePatternSearchTypeEnumStringValues ¶

func GetSensitiveTypePatternSearchTypeEnumStringValues() []string

GetSensitiveTypePatternSearchTypeEnumStringValues Enumerates the set of values in String for SensitiveTypePatternSearchTypeEnum

func GetSensitiveTypeSourceEnumStringValues ¶

func GetSensitiveTypeSourceEnumStringValues() []string

GetSensitiveTypeSourceEnumStringValues Enumerates the set of values in String for SensitiveTypeSourceEnum

func GetServiceListEnumStringValues ¶

func GetServiceListEnumStringValues() []string

GetServiceListEnumStringValues Enumerates the set of values in String for ServiceListEnum

func GetSortOrdersEnumStringValues ¶

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

func GetTargetDatabaseLifecycleStateEnumStringValues ¶

func GetTargetDatabaseLifecycleStateEnumStringValues() []string

GetTargetDatabaseLifecycleStateEnumStringValues Enumerates the set of values in String for TargetDatabaseLifecycleStateEnum

func GetTlsConfigCertificateStoreTypeEnumStringValues ¶

func GetTlsConfigCertificateStoreTypeEnumStringValues() []string

GetTlsConfigCertificateStoreTypeEnumStringValues Enumerates the set of values in String for TlsConfigCertificateStoreTypeEnum

func GetTlsConfigStatusEnumStringValues ¶

func GetTlsConfigStatusEnumStringValues() []string

GetTlsConfigStatusEnumStringValues Enumerates the set of values in String for TlsConfigStatusEnum

func GetUpdateColumnSourceDetailsColumnSourceEnumStringValues ¶

func GetUpdateColumnSourceDetailsColumnSourceEnumStringValues() []string

GetUpdateColumnSourceDetailsColumnSourceEnumStringValues Enumerates the set of values in String for UpdateColumnSourceDetailsColumnSourceEnum

func GetUpdateSensitiveColumnDetailsRelationTypeEnumStringValues ¶

func GetUpdateSensitiveColumnDetailsRelationTypeEnumStringValues() []string

GetUpdateSensitiveColumnDetailsRelationTypeEnumStringValues Enumerates the set of values in String for UpdateSensitiveColumnDetailsRelationTypeEnum

func GetUpdateSensitiveColumnDetailsStatusEnumStringValues ¶

func GetUpdateSensitiveColumnDetailsStatusEnumStringValues() []string

GetUpdateSensitiveColumnDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateSensitiveColumnDetailsStatusEnum

func GetUserAssessmentComparisonLifecycleStateEnumStringValues ¶

func GetUserAssessmentComparisonLifecycleStateEnumStringValues() []string

GetUserAssessmentComparisonLifecycleStateEnumStringValues Enumerates the set of values in String for UserAssessmentComparisonLifecycleStateEnum

func GetUserAssessmentLifecycleStateEnumStringValues ¶

func GetUserAssessmentLifecycleStateEnumStringValues() []string

GetUserAssessmentLifecycleStateEnumStringValues Enumerates the set of values in String for UserAssessmentLifecycleStateEnum

func GetUserAssessmentSummaryTriggeredByEnumStringValues ¶

func GetUserAssessmentSummaryTriggeredByEnumStringValues() []string

GetUserAssessmentSummaryTriggeredByEnumStringValues Enumerates the set of values in String for UserAssessmentSummaryTriggeredByEnum

func GetUserAssessmentSummaryTypeEnumStringValues ¶

func GetUserAssessmentSummaryTypeEnumStringValues() []string

GetUserAssessmentSummaryTypeEnumStringValues Enumerates the set of values in String for UserAssessmentSummaryTypeEnum

func GetUserAssessmentTriggeredByEnumStringValues ¶

func GetUserAssessmentTriggeredByEnumStringValues() []string

GetUserAssessmentTriggeredByEnumStringValues Enumerates the set of values in String for UserAssessmentTriggeredByEnum

func GetUserAssessmentTypeEnumStringValues ¶

func GetUserAssessmentTypeEnumStringValues() []string

GetUserAssessmentTypeEnumStringValues Enumerates the set of values in String for UserAssessmentTypeEnum

func GetUserDetailsAuthenticationTypeEnumStringValues ¶

func GetUserDetailsAuthenticationTypeEnumStringValues() []string

GetUserDetailsAuthenticationTypeEnumStringValues Enumerates the set of values in String for UserDetailsAuthenticationTypeEnum

func GetUserSummaryAccountStatusEnumStringValues ¶

func GetUserSummaryAccountStatusEnumStringValues() []string

GetUserSummaryAccountStatusEnumStringValues Enumerates the set of values in String for UserSummaryAccountStatusEnum

func GetUserSummaryAdminRolesEnumStringValues ¶

func GetUserSummaryAdminRolesEnumStringValues() []string

GetUserSummaryAdminRolesEnumStringValues Enumerates the set of values in String for UserSummaryAdminRolesEnum

func GetUserSummaryAuthenticationTypeEnumStringValues ¶

func GetUserSummaryAuthenticationTypeEnumStringValues() []string

GetUserSummaryAuthenticationTypeEnumStringValues Enumerates the set of values in String for UserSummaryAuthenticationTypeEnum

func GetUserSummaryUserCategoryEnumStringValues ¶

func GetUserSummaryUserCategoryEnumStringValues() []string

GetUserSummaryUserCategoryEnumStringValues Enumerates the set of values in String for UserSummaryUserCategoryEnum

func GetUserSummaryUserTypesEnumStringValues ¶

func GetUserSummaryUserTypesEnumStringValues() []string

GetUserSummaryUserTypesEnumStringValues Enumerates the set of values in String for UserSummaryUserTypesEnum

func GetWorkRequestOperationTypeEnumStringValues ¶

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceActionTypeEnumStringValues ¶

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestStatusEnumStringValues ¶

func GetWorkRequestStatusEnumStringValues() []string

GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum

func GetWorkRequestSummaryOperationTypeEnumStringValues ¶

func GetWorkRequestSummaryOperationTypeEnumStringValues() []string

GetWorkRequestSummaryOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestSummaryOperationTypeEnum

func GetWorkRequestSummaryStatusEnumStringValues ¶

func GetWorkRequestSummaryStatusEnumStringValues() []string

GetWorkRequestSummaryStatusEnumStringValues Enumerates the set of values in String for WorkRequestSummaryStatusEnum

Types ¶

type ActivateTargetDatabaseDetails ¶

type ActivateTargetDatabaseDetails struct {
	Credentials *Credentials `mandatory:"true" json:"credentials"`
}

ActivateTargetDatabaseDetails The details required to reactivate a previously deactived target database in Data Safe.

func (ActivateTargetDatabaseDetails) String ¶

func (ActivateTargetDatabaseDetails) ValidateEnumValue ¶

func (m ActivateTargetDatabaseDetails) 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 ActivateTargetDatabaseRequest ¶

type ActivateTargetDatabaseRequest struct {

	// The details used to reactivate a target database in Data Safe.
	ActivateTargetDatabaseDetails `contributesTo:"body"`

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ActivateTargetDatabaseRequest wrapper for the ActivateTargetDatabase operation

See also ¶

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

func (ActivateTargetDatabaseRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ActivateTargetDatabaseRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ActivateTargetDatabaseRequest) RetryPolicy ¶

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

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

func (ActivateTargetDatabaseRequest) String ¶

func (request ActivateTargetDatabaseRequest) String() string

func (ActivateTargetDatabaseRequest) ValidateEnumValue ¶

func (request ActivateTargetDatabaseRequest) 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 ActivateTargetDatabaseResponse ¶

type ActivateTargetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ActivateTargetDatabaseResponse wrapper for the ActivateTargetDatabase operation

func (ActivateTargetDatabaseResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ActivateTargetDatabaseResponse) String ¶

func (response ActivateTargetDatabaseResponse) String() string

type AddMaskingColumnsFromSdmRequest ¶

type AddMaskingColumnsFromSdmRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

AddMaskingColumnsFromSdmRequest wrapper for the AddMaskingColumnsFromSdm operation

See also ¶

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

func (AddMaskingColumnsFromSdmRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AddMaskingColumnsFromSdmRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddMaskingColumnsFromSdmRequest) RetryPolicy ¶

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

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

func (AddMaskingColumnsFromSdmRequest) String ¶

func (request AddMaskingColumnsFromSdmRequest) String() string

func (AddMaskingColumnsFromSdmRequest) ValidateEnumValue ¶

func (request AddMaskingColumnsFromSdmRequest) 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 AddMaskingColumnsFromSdmResponse ¶

type AddMaskingColumnsFromSdmResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

AddMaskingColumnsFromSdmResponse wrapper for the AddMaskingColumnsFromSdm operation

func (AddMaskingColumnsFromSdmResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddMaskingColumnsFromSdmResponse) String ¶

func (response AddMaskingColumnsFromSdmResponse) String() string

type Alert ¶

type Alert struct {

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

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

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

	// The current state of the alert.
	LifecycleState AlertLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Creation date and time of the alert, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Last date and time the alert was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The status of the alert.
	Status AlertStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Severity level of the alert.
	Severity AlertSeverityEnum `mandatory:"false" json:"severity,omitempty"`

	// The description of the alert.
	Description *string `mandatory:"false" json:"description"`

	// Creation date and time of the operation that triggered alert, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	OperationTime *common.SDKTime `mandatory:"false" json:"operationTime"`

	// The operation (event) that triggered alert.
	Operation *string `mandatory:"false" json:"operation"`

	// The result of the operation (event) that triggered alert.
	OperationStatus AlertOperationStatusEnum `mandatory:"false" json:"operationStatus,omitempty"`

	// Array of OCIDs of the target database which are associated with the alert.
	TargetIds []string `mandatory:"false" json:"targetIds"`

	// Array of names of the target database.
	TargetNames []string `mandatory:"false" json:"targetNames"`

	// The OCID of the policy that triggered alert.
	PolicyId *string `mandatory:"false" json:"policyId"`

	// Type of the alert. Indicates the Data Safe feature triggering the alert.
	AlertType AlertTypeEnum `mandatory:"false" json:"alertType,omitempty"`

	// The resource endpoint that triggered the alert.
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Map that contains maps of values.
	//  Example: `{"Operations": {"CostCenter": "42"}}`
	FeatureDetails map[string]map[string]interface{} `mandatory:"false" json:"featureDetails"`

	// A comment for the alert. Entered by the user.
	Comment *string `mandatory:"false" json:"comment"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Alert The details of a Data Safe Alert, that shows alerts generated by a Data Safe feature.

func (Alert) String ¶

func (m Alert) String() string

func (Alert) ValidateEnumValue ¶

func (m Alert) 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 AlertAggregationItems ¶

type AlertAggregationItems struct {

	// The name of the aggregation.
	MetricName *string `mandatory:"true" json:"metricName"`

	// The time at which the aggregation started.
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The time at which the aggregation ended.
	TimeEnded *common.SDKTime `mandatory:"true" json:"timeEnded"`

	// Total count of aggregated values.
	Count *int64 `mandatory:"true" json:"count"`

	Dimensions *AlertsAggregationDimension `mandatory:"false" json:"dimensions"`
}

AlertAggregationItems Details of alerts aggregation items.

func (AlertAggregationItems) String ¶

func (m AlertAggregationItems) String() string

func (AlertAggregationItems) ValidateEnumValue ¶

func (m AlertAggregationItems) 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 AlertAnalyticsCollection ¶

type AlertAnalyticsCollection struct {

	// The aggregated data point items.
	Items []AlertAggregationItems `mandatory:"true" json:"items"`
}

AlertAnalyticsCollection The summarized detail of alerts aggregation.

func (AlertAnalyticsCollection) String ¶

func (m AlertAnalyticsCollection) String() string

func (AlertAnalyticsCollection) ValidateEnumValue ¶

func (m AlertAnalyticsCollection) 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 AlertCollection ¶

type AlertCollection struct {

	// Array of alert summary
	Items []AlertSummary `mandatory:"true" json:"items"`
}

AlertCollection Collection of alert summary.

func (AlertCollection) String ¶

func (m AlertCollection) String() string

func (AlertCollection) ValidateEnumValue ¶

func (m AlertCollection) 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 AlertLifecycleStateEnum ¶

type AlertLifecycleStateEnum string

AlertLifecycleStateEnum Enum with underlying type: string

const (
	AlertLifecycleStateUpdating  AlertLifecycleStateEnum = "UPDATING"
	AlertLifecycleStateSucceeded AlertLifecycleStateEnum = "SUCCEEDED"
	AlertLifecycleStateFailed    AlertLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AlertLifecycleStateEnum

func GetAlertLifecycleStateEnumValues ¶

func GetAlertLifecycleStateEnumValues() []AlertLifecycleStateEnum

GetAlertLifecycleStateEnumValues Enumerates the set of values for AlertLifecycleStateEnum

func GetMappingAlertLifecycleStateEnum ¶

func GetMappingAlertLifecycleStateEnum(val string) (AlertLifecycleStateEnum, bool)

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

type AlertOperationStatusEnum ¶

type AlertOperationStatusEnum string

AlertOperationStatusEnum Enum with underlying type: string

const (
	AlertOperationStatusSucceeded AlertOperationStatusEnum = "SUCCEEDED"
	AlertOperationStatusFailed    AlertOperationStatusEnum = "FAILED"
)

Set of constants representing the allowable values for AlertOperationStatusEnum

func GetAlertOperationStatusEnumValues ¶

func GetAlertOperationStatusEnumValues() []AlertOperationStatusEnum

GetAlertOperationStatusEnumValues Enumerates the set of values for AlertOperationStatusEnum

func GetMappingAlertOperationStatusEnum ¶

func GetMappingAlertOperationStatusEnum(val string) (AlertOperationStatusEnum, bool)

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

type AlertPolicy ¶

type AlertPolicy struct {

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

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

	// The OCID of the compartment that contains the alert policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Creation date and time of the alert policy, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Last date and time the alert policy was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the alert.
	LifecycleState AlertPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of the alert policy.
	Description *string `mandatory:"false" json:"description"`

	// Indicates the Data Safe feature to which the alert policy belongs.
	AlertPolicyType AlertPolicyTypeEnum `mandatory:"false" json:"alertPolicyType,omitempty"`

	// Indicates if the alert policy is user-defined (true) or pre-defined (false).
	IsUserDefined *bool `mandatory:"false" json:"isUserDefined"`

	// Severity level of the alert raised by this policy.
	Severity AlertSeverityEnum `mandatory:"false" json:"severity,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AlertPolicy An Alert Policy is a set of alerting rules evaluated against a target. The alert policy is said to be satisfied when all rules in the policy evaulate to true. If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True.

func (AlertPolicy) String ¶

func (m AlertPolicy) String() string

func (AlertPolicy) ValidateEnumValue ¶

func (m AlertPolicy) 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 AlertPolicyCollection ¶

type AlertPolicyCollection struct {

	// Array of alert policy summary
	Items []AlertPolicySummary `mandatory:"true" json:"items"`
}

AlertPolicyCollection Collection of alert policy summary.

func (AlertPolicyCollection) String ¶

func (m AlertPolicyCollection) String() string

func (AlertPolicyCollection) ValidateEnumValue ¶

func (m AlertPolicyCollection) 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 AlertPolicyLifecycleStateEnum ¶

type AlertPolicyLifecycleStateEnum string

AlertPolicyLifecycleStateEnum Enum with underlying type: string

const (
	AlertPolicyLifecycleStateCreating AlertPolicyLifecycleStateEnum = "CREATING"
	AlertPolicyLifecycleStateUpdating AlertPolicyLifecycleStateEnum = "UPDATING"
	AlertPolicyLifecycleStateActive   AlertPolicyLifecycleStateEnum = "ACTIVE"
	AlertPolicyLifecycleStateDeleting AlertPolicyLifecycleStateEnum = "DELETING"
	AlertPolicyLifecycleStateDeleted  AlertPolicyLifecycleStateEnum = "DELETED"
	AlertPolicyLifecycleStateFailed   AlertPolicyLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AlertPolicyLifecycleStateEnum

func GetAlertPolicyLifecycleStateEnumValues ¶

func GetAlertPolicyLifecycleStateEnumValues() []AlertPolicyLifecycleStateEnum

GetAlertPolicyLifecycleStateEnumValues Enumerates the set of values for AlertPolicyLifecycleStateEnum

func GetMappingAlertPolicyLifecycleStateEnum ¶

func GetMappingAlertPolicyLifecycleStateEnum(val string) (AlertPolicyLifecycleStateEnum, bool)

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

type AlertPolicyRule ¶

type AlertPolicyRule struct {

	// The unique key of the alert policy rule.
	Key *string `mandatory:"true" json:"key"`

	// The conditional expression of the alert policy rule which evaluates to boolean value.
	Expression *string `mandatory:"true" json:"expression"`

	// Describes the alert policy rule.
	Description *string `mandatory:"false" json:"description"`
}

AlertPolicyRule A rule associated with a alert policy.

func (AlertPolicyRule) String ¶

func (m AlertPolicyRule) String() string

func (AlertPolicyRule) ValidateEnumValue ¶

func (m AlertPolicyRule) 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 AlertPolicyRuleCollection ¶

type AlertPolicyRuleCollection struct {

	// Array of alert policy rules summary
	Items []AlertPolicyRuleSummary `mandatory:"true" json:"items"`
}

AlertPolicyRuleCollection Collection of alert policy rules summary.

func (AlertPolicyRuleCollection) String ¶

func (m AlertPolicyRuleCollection) String() string

func (AlertPolicyRuleCollection) ValidateEnumValue ¶

func (m AlertPolicyRuleCollection) 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 AlertPolicyRuleSummary ¶

type AlertPolicyRuleSummary struct {

	// The unique key of the alert policy rule.
	Key *string `mandatory:"true" json:"key"`

	// The conditional expression of the alert policy rule which evaluates to boolean value.
	Expression *string `mandatory:"true" json:"expression"`

	// Describes the alert policy rule.
	Description *string `mandatory:"false" json:"description"`
}

AlertPolicyRuleSummary A rule associated with an alert policy.

func (AlertPolicyRuleSummary) String ¶

func (m AlertPolicyRuleSummary) String() string

func (AlertPolicyRuleSummary) ValidateEnumValue ¶

func (m AlertPolicyRuleSummary) 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 AlertPolicySummary ¶

type AlertPolicySummary struct {

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

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

	// Indicates the Data Safe feature that the alert policy belongs to.
	AlertPolicyType AlertPolicyTypeEnum `mandatory:"true" json:"alertPolicyType"`

	// The OCID of the compartment that contains the alert policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Creation date and time of the alert policy, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Last date and time the alert policy was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the alert policy.
	LifecycleState AlertPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The details of the alert policy.
	Description *string `mandatory:"false" json:"description"`

	// Indicates if the alert policy is user-defined (true) or pre-defined (false).
	IsUserDefined *bool `mandatory:"false" json:"isUserDefined"`

	// Severity level of the alert raised by this policy.
	Severity AlertSeverityEnum `mandatory:"false" json:"severity,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AlertPolicySummary Summary of a Data Safe alert policy.

func (AlertPolicySummary) String ¶

func (m AlertPolicySummary) String() string

func (AlertPolicySummary) ValidateEnumValue ¶

func (m AlertPolicySummary) 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 AlertPolicyTypeEnum ¶

type AlertPolicyTypeEnum string

AlertPolicyTypeEnum Enum with underlying type: string

const (
	AlertPolicyTypeAuditing           AlertPolicyTypeEnum = "AUDITING"
	AlertPolicyTypeSecurityAssessment AlertPolicyTypeEnum = "SECURITY_ASSESSMENT"
	AlertPolicyTypeUserAssessment     AlertPolicyTypeEnum = "USER_ASSESSMENT"
)

Set of constants representing the allowable values for AlertPolicyTypeEnum

func GetAlertPolicyTypeEnumValues ¶

func GetAlertPolicyTypeEnumValues() []AlertPolicyTypeEnum

GetAlertPolicyTypeEnumValues Enumerates the set of values for AlertPolicyTypeEnum

func GetMappingAlertPolicyTypeEnum ¶

func GetMappingAlertPolicyTypeEnum(val string) (AlertPolicyTypeEnum, bool)

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

type AlertSeverityEnum ¶

type AlertSeverityEnum string

AlertSeverityEnum Enum with underlying type: string

const (
	AlertSeverityCritical AlertSeverityEnum = "CRITICAL"
	AlertSeverityHigh     AlertSeverityEnum = "HIGH"
	AlertSeverityMedium   AlertSeverityEnum = "MEDIUM"
	AlertSeverityLow      AlertSeverityEnum = "LOW"
	AlertSeverityEvaluate AlertSeverityEnum = "EVALUATE"
)

Set of constants representing the allowable values for AlertSeverityEnum

func GetAlertSeverityEnumValues ¶

func GetAlertSeverityEnumValues() []AlertSeverityEnum

GetAlertSeverityEnumValues Enumerates the set of values for AlertSeverityEnum

func GetMappingAlertSeverityEnum ¶

func GetMappingAlertSeverityEnum(val string) (AlertSeverityEnum, bool)

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

type AlertStatusEnum ¶

type AlertStatusEnum string

AlertStatusEnum Enum with underlying type: string

const (
	AlertStatusOpen   AlertStatusEnum = "OPEN"
	AlertStatusClosed AlertStatusEnum = "CLOSED"
)

Set of constants representing the allowable values for AlertStatusEnum

func GetAlertStatusEnumValues ¶

func GetAlertStatusEnumValues() []AlertStatusEnum

GetAlertStatusEnumValues Enumerates the set of values for AlertStatusEnum

func GetMappingAlertStatusEnum ¶

func GetMappingAlertStatusEnum(val string) (AlertStatusEnum, bool)

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

type AlertSummary ¶

type AlertSummary struct {

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

	// The status of the alert.
	Status AlertStatusEnum `mandatory:"true" json:"status"`

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

	// Severity level of the alert.
	Severity AlertSeverityEnum `mandatory:"true" json:"severity"`

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

	// Creation date and time of the alert, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Last date and time the alert was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the alert.
	LifecycleState AlertLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The details of the alert.
	Description *string `mandatory:"false" json:"description"`

	// Creation date and time of the operation that triggered alert, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	OperationTime *common.SDKTime `mandatory:"false" json:"operationTime"`

	// The operation that triggered alert.
	Operation *string `mandatory:"false" json:"operation"`

	// The result of the operation (event) that triggered alert.
	OperationStatus AlertSummaryOperationStatusEnum `mandatory:"false" json:"operationStatus,omitempty"`

	// Array of OCIDs of the target database.
	TargetIds []string `mandatory:"false" json:"targetIds"`

	// Array of names of the target database.
	TargetNames []string `mandatory:"false" json:"targetNames"`

	// The OCID of the policy that triggered alert.
	PolicyId *string `mandatory:"false" json:"policyId"`

	// Type of the alert. Indicates the Data Safe feature triggering the alert.
	AlertType AlertTypeEnum `mandatory:"false" json:"alertType,omitempty"`

	// Map that contains maps of values.
	//  Example: `{"Operations": {"CostCenter": "42"}}`
	FeatureDetails map[string]map[string]interface{} `mandatory:"false" json:"featureDetails"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AlertSummary Summary of a Data Safe Alert.

func (AlertSummary) String ¶

func (m AlertSummary) String() string

func (AlertSummary) ValidateEnumValue ¶

func (m AlertSummary) 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 AlertSummaryOperationStatusEnum ¶

type AlertSummaryOperationStatusEnum string

AlertSummaryOperationStatusEnum Enum with underlying type: string

const (
	AlertSummaryOperationStatusSucceeded AlertSummaryOperationStatusEnum = "SUCCEEDED"
	AlertSummaryOperationStatusFailed    AlertSummaryOperationStatusEnum = "FAILED"
)

Set of constants representing the allowable values for AlertSummaryOperationStatusEnum

func GetAlertSummaryOperationStatusEnumValues ¶

func GetAlertSummaryOperationStatusEnumValues() []AlertSummaryOperationStatusEnum

GetAlertSummaryOperationStatusEnumValues Enumerates the set of values for AlertSummaryOperationStatusEnum

func GetMappingAlertSummaryOperationStatusEnum ¶

func GetMappingAlertSummaryOperationStatusEnum(val string) (AlertSummaryOperationStatusEnum, bool)

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

type AlertTypeEnum ¶

type AlertTypeEnum string

AlertTypeEnum Enum with underlying type: string

const (
	AlertTypeAuditing           AlertTypeEnum = "AUDITING"
	AlertTypeSecurityAssessment AlertTypeEnum = "SECURITY_ASSESSMENT"
	AlertTypeUserAssessment     AlertTypeEnum = "USER_ASSESSMENT"
)

Set of constants representing the allowable values for AlertTypeEnum

func GetAlertTypeEnumValues ¶

func GetAlertTypeEnumValues() []AlertTypeEnum

GetAlertTypeEnumValues Enumerates the set of values for AlertTypeEnum

func GetMappingAlertTypeEnum ¶

func GetMappingAlertTypeEnum(val string) (AlertTypeEnum, bool)

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

type AlertsAggregationDimension ¶

type AlertsAggregationDimension struct {

	// GroupBy value used in aggregation.
	GroupBy map[string]string `mandatory:"true" json:"groupBy"`
}

AlertsAggregationDimension Details of aggregation dimension summarizing alerts.

func (AlertsAggregationDimension) String ¶

func (AlertsAggregationDimension) ValidateEnumValue ¶

func (m AlertsAggregationDimension) 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 AlertsUpdateAccessLevelEnum ¶ added in v65.27.0

type AlertsUpdateAccessLevelEnum string

AlertsUpdateAccessLevelEnum Enum with underlying type: string

const (
	AlertsUpdateAccessLevelRestricted AlertsUpdateAccessLevelEnum = "RESTRICTED"
	AlertsUpdateAccessLevelAccessible AlertsUpdateAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for AlertsUpdateAccessLevelEnum

func GetAlertsUpdateAccessLevelEnumValues ¶ added in v65.27.0

func GetAlertsUpdateAccessLevelEnumValues() []AlertsUpdateAccessLevelEnum

GetAlertsUpdateAccessLevelEnumValues Enumerates the set of values for AlertsUpdateAccessLevelEnum

func GetMappingAlertsUpdateAccessLevelEnum ¶ added in v65.27.0

func GetMappingAlertsUpdateAccessLevelEnum(val string) (AlertsUpdateAccessLevelEnum, bool)

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

type AlertsUpdateDetails ¶ added in v65.27.0

type AlertsUpdateDetails struct {

	// The status of the alert.
	Status AlertStatusEnum `mandatory:"true" json:"status"`

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

	// The OCID of the target database associated with the alerts.
	TargetId *string `mandatory:"false" json:"targetId"`
}

AlertsUpdateDetails The details to update alerts in the specified compartment.

func (AlertsUpdateDetails) String ¶ added in v65.27.0

func (m AlertsUpdateDetails) String() string

func (AlertsUpdateDetails) ValidateEnumValue ¶ added in v65.27.0

func (m AlertsUpdateDetails) 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 AlertsUpdateRequest ¶ added in v65.27.0

type AlertsUpdateRequest struct {

	// The details to update the alerts in the specified compartment.
	AlertsUpdateDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel AlertsUpdateAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

AlertsUpdateRequest wrapper for the AlertsUpdate operation

See also ¶

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

func (AlertsUpdateRequest) BinaryRequestBody ¶ added in v65.27.0

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

BinaryRequestBody implements the OCIRequest interface

func (AlertsUpdateRequest) HTTPRequest ¶ added in v65.27.0

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

HTTPRequest implements the OCIRequest interface

func (AlertsUpdateRequest) RetryPolicy ¶ added in v65.27.0

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

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

func (AlertsUpdateRequest) String ¶ added in v65.27.0

func (request AlertsUpdateRequest) String() string

func (AlertsUpdateRequest) ValidateEnumValue ¶ added in v65.27.0

func (request AlertsUpdateRequest) 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 AlertsUpdateResponse ¶ added in v65.27.0

type AlertsUpdateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

AlertsUpdateResponse wrapper for the AlertsUpdate operation

func (AlertsUpdateResponse) HTTPResponse ¶ added in v65.27.0

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

HTTPResponse implements the OCIResponse interface

func (AlertsUpdateResponse) String ¶ added in v65.27.0

func (response AlertsUpdateResponse) String() string

type ApplyDiscoveryJobResultsDetails ¶

type ApplyDiscoveryJobResultsDetails struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" json:"discoveryJobId"`
}

ApplyDiscoveryJobResultsDetails Details to apply the discovery results to a sensitive data model.

func (ApplyDiscoveryJobResultsDetails) String ¶

func (ApplyDiscoveryJobResultsDetails) ValidateEnumValue ¶

func (m ApplyDiscoveryJobResultsDetails) 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 ApplyDiscoveryJobResultsRequest ¶

type ApplyDiscoveryJobResultsRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to apply the discovery results to a sensitive data model.
	ApplyDiscoveryJobResultsDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ApplyDiscoveryJobResultsRequest wrapper for the ApplyDiscoveryJobResults operation

See also ¶

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

func (ApplyDiscoveryJobResultsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ApplyDiscoveryJobResultsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ApplyDiscoveryJobResultsRequest) RetryPolicy ¶

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

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

func (ApplyDiscoveryJobResultsRequest) String ¶

func (request ApplyDiscoveryJobResultsRequest) String() string

func (ApplyDiscoveryJobResultsRequest) ValidateEnumValue ¶

func (request ApplyDiscoveryJobResultsRequest) 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 ApplyDiscoveryJobResultsResponse ¶

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

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ApplyDiscoveryJobResultsResponse wrapper for the ApplyDiscoveryJobResults operation

func (ApplyDiscoveryJobResultsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ApplyDiscoveryJobResultsResponse) String ¶

func (response ApplyDiscoveryJobResultsResponse) String() string

type ApplySdmMaskingPolicyDifferenceDetails ¶ added in v65.35.0

type ApplySdmMaskingPolicyDifferenceDetails struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"false" json:"sdmMaskingPolicyDifferenceId"`
}

ApplySdmMaskingPolicyDifferenceDetails Details to apply the SDM masking policy difference to a masking policy.

func (ApplySdmMaskingPolicyDifferenceDetails) String ¶ added in v65.35.0

func (ApplySdmMaskingPolicyDifferenceDetails) ValidateEnumValue ¶ added in v65.35.0

func (m ApplySdmMaskingPolicyDifferenceDetails) 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 ApplySdmMaskingPolicyDifferenceRequest ¶ added in v65.35.0

type ApplySdmMaskingPolicyDifferenceRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to apply the SDM Masking policy difference columns to a masking policy.
	ApplySdmMaskingPolicyDifferenceDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ApplySdmMaskingPolicyDifferenceRequest wrapper for the ApplySdmMaskingPolicyDifference operation

See also ¶

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

func (ApplySdmMaskingPolicyDifferenceRequest) BinaryRequestBody ¶ added in v65.35.0

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

BinaryRequestBody implements the OCIRequest interface

func (ApplySdmMaskingPolicyDifferenceRequest) HTTPRequest ¶ added in v65.35.0

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

HTTPRequest implements the OCIRequest interface

func (ApplySdmMaskingPolicyDifferenceRequest) RetryPolicy ¶ added in v65.35.0

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

func (ApplySdmMaskingPolicyDifferenceRequest) String ¶ added in v65.35.0

func (ApplySdmMaskingPolicyDifferenceRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ApplySdmMaskingPolicyDifferenceRequest) 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 ApplySdmMaskingPolicyDifferenceResponse ¶ added in v65.35.0

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

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ApplySdmMaskingPolicyDifferenceResponse wrapper for the ApplySdmMaskingPolicyDifference operation

func (ApplySdmMaskingPolicyDifferenceResponse) HTTPResponse ¶ added in v65.35.0

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

HTTPResponse implements the OCIResponse interface

func (ApplySdmMaskingPolicyDifferenceResponse) String ¶ added in v65.35.0

type AuditArchiveRetrieval ¶

type AuditArchiveRetrieval struct {

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

	// The OCID of the compartment that contains archive retrieval.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the archive retrieval. The name does not have to be unique, and is changeable.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Start month of the archive retrieval, in the format defined by RFC3339.
	StartDate *common.SDKTime `mandatory:"true" json:"startDate"`

	// End month of the archive retrieval, in the format defined by RFC3339.
	EndDate *common.SDKTime `mandatory:"true" json:"endDate"`

	// The OCID of the target associated with the archive retrieval.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The current state of the archive retrieval.
	LifecycleState AuditArchiveRetrievalLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Description of the archive retrieval.
	Description *string `mandatory:"false" json:"description"`

	// The date time when archive retrieval was requested, in the format defined by RFC3339.
	TimeRequested *common.SDKTime `mandatory:"false" json:"timeRequested"`

	// The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
	TimeOfExpiry *common.SDKTime `mandatory:"false" json:"timeOfExpiry"`

	// Total count of audit events to be retrieved from the archive for the specified date range.
	AuditEventCount *int64 `mandatory:"false" json:"auditEventCount"`

	// The Error details of a failed archive retrieval.
	ErrorInfo *string `mandatory:"false" json:"errorInfo"`

	// Details about the current state of the archive retrieval.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AuditArchiveRetrieval Represents the archive retrieve request for the audit data. You can retrieve audit data for a target database from the archive and store it online. For more information, see Retrieve Audit Data for a Target Database from the Archive (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/security-assessment-overview.html).

func (AuditArchiveRetrieval) String ¶

func (m AuditArchiveRetrieval) String() string

func (AuditArchiveRetrieval) ValidateEnumValue ¶

func (m AuditArchiveRetrieval) 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 AuditArchiveRetrievalCollection ¶

type AuditArchiveRetrievalCollection struct {

	// Array of archive retrieval summary.
	Items []AuditArchiveRetrievalSummary `mandatory:"true" json:"items"`
}

AuditArchiveRetrievalCollection Collection of archive retrieval summary.

func (AuditArchiveRetrievalCollection) String ¶

func (AuditArchiveRetrievalCollection) ValidateEnumValue ¶

func (m AuditArchiveRetrievalCollection) 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 AuditArchiveRetrievalLifecycleStateEnum ¶

type AuditArchiveRetrievalLifecycleStateEnum string

AuditArchiveRetrievalLifecycleStateEnum Enum with underlying type: string

const (
	AuditArchiveRetrievalLifecycleStateCreating       AuditArchiveRetrievalLifecycleStateEnum = "CREATING"
	AuditArchiveRetrievalLifecycleStateActive         AuditArchiveRetrievalLifecycleStateEnum = "ACTIVE"
	AuditArchiveRetrievalLifecycleStateNeedsAttention AuditArchiveRetrievalLifecycleStateEnum = "NEEDS_ATTENTION"
	AuditArchiveRetrievalLifecycleStateFailed         AuditArchiveRetrievalLifecycleStateEnum = "FAILED"
	AuditArchiveRetrievalLifecycleStateDeleting       AuditArchiveRetrievalLifecycleStateEnum = "DELETING"
	AuditArchiveRetrievalLifecycleStateDeleted        AuditArchiveRetrievalLifecycleStateEnum = "DELETED"
	AuditArchiveRetrievalLifecycleStateUpdating       AuditArchiveRetrievalLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for AuditArchiveRetrievalLifecycleStateEnum

func GetAuditArchiveRetrievalLifecycleStateEnumValues ¶

func GetAuditArchiveRetrievalLifecycleStateEnumValues() []AuditArchiveRetrievalLifecycleStateEnum

GetAuditArchiveRetrievalLifecycleStateEnumValues Enumerates the set of values for AuditArchiveRetrievalLifecycleStateEnum

func GetMappingAuditArchiveRetrievalLifecycleStateEnum ¶

func GetMappingAuditArchiveRetrievalLifecycleStateEnum(val string) (AuditArchiveRetrievalLifecycleStateEnum, bool)

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

type AuditArchiveRetrievalSummary ¶

type AuditArchiveRetrievalSummary struct {

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

	// The OCID of the compartment that contains archive retrieval.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the archive retrieval. The name does not have to be unique, and is changeable.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Start month of the archive retrieval, in the format defined by RFC3339.
	StartDate *common.SDKTime `mandatory:"true" json:"startDate"`

	// End month of the archive retrieval, in the format defined by RFC3339.
	EndDate *common.SDKTime `mandatory:"true" json:"endDate"`

	// The OCID of the target associated with the archive retrieval.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The current state of the archive retrieval.
	LifecycleState AuditArchiveRetrievalLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Description of the archive retrieval.
	Description *string `mandatory:"false" json:"description"`

	// The date time when archive retrieval was requested, in the format defined by RFC3339.
	TimeRequested *common.SDKTime `mandatory:"false" json:"timeRequested"`

	// The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
	TimeOfExpiry *common.SDKTime `mandatory:"false" json:"timeOfExpiry"`

	// Total retrieved archive records audit event count.
	AuditEventCount *int64 `mandatory:"false" json:"auditEventCount"`

	// Error details of failed archive retrieval.
	ErrorInfo *string `mandatory:"false" json:"errorInfo"`

	// Details about the current state of the archive retrieval.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AuditArchiveRetrievalSummary Summary details of an archive retrieval.

func (AuditArchiveRetrievalSummary) String ¶

func (AuditArchiveRetrievalSummary) ValidateEnumValue ¶

func (m AuditArchiveRetrievalSummary) 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 AuditConditions ¶

type AuditConditions struct {

	// Indicates the audit policy name. Refer to the documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827) for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.
	AuditPolicyName *string `mandatory:"true" json:"auditPolicyName"`

	// Indicates whether the privileged user list is managed by Data Safe.
	IsPrivUsersManagedByDataSafe *bool `mandatory:"true" json:"isPrivUsersManagedByDataSafe"`

	// Indicates whether the Data Safe user activity on the target database will be audited by the policy.
	IsDataSafeServiceAccountAudited *bool `mandatory:"true" json:"isDataSafeServiceAccountAudited"`

	// Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..
	EnableConditions []EnableConditions `mandatory:"false" json:"enableConditions"`
}

AuditConditions Represents audit policies with corresponding audit provisioning conditions.

func (AuditConditions) String ¶

func (m AuditConditions) String() string

func (AuditConditions) ValidateEnumValue ¶

func (m AuditConditions) 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 AuditEventAggregationDimensions ¶

type AuditEventAggregationDimensions struct {

	// The time the audit event occurred in the target database.
	AuditEventTime []common.SDKTime `mandatory:"false" json:"auditEventTime"`

	// Name of the database user whose actions were audited.
	DbUserName []string `mandatory:"false" json:"dbUserName"`

	// The OCID of the target database that was audited.
	TargetId []string `mandatory:"false" json:"targetId"`

	// The name of the target database that was audited.
	TargetName []string `mandatory:"false" json:"targetName"`

	// Class of the target that was audited.
	TargetClass []AuditEventAggregationDimensionsTargetClassEnum `mandatory:"false" json:"targetClass,omitempty"`

	// Type of object in the source database affected by the action. i.e PL/SQL, SYNONYM, PACKAGE BODY.
	ObjectType []string `mandatory:"false" json:"objectType"`

	// Name of the host machine from which the session was spawned.
	ClientHostname []string `mandatory:"false" json:"clientHostname"`

	// The application from which the audit event was generated. Examples SQL Plus or SQL Developer.
	ClientProgram []string `mandatory:"false" json:"clientProgram"`

	// The client identifier in each Oracle session.
	ClientId []string `mandatory:"false" json:"clientId"`

	// Type of auditing.
	AuditType []AuditEventAggregationDimensionsAuditTypeEnum `mandatory:"false" json:"auditType,omitempty"`

	// The name of the event executed by the user on the target database. i.e ALTER SEQUENCE, CREATE TRIGGER, CREATE INDEX.
	EventName []string `mandatory:"false" json:"eventName"`
}

AuditEventAggregationDimensions The details of the aggregation dimensions used for summarizing audit events.

func (AuditEventAggregationDimensions) String ¶

func (AuditEventAggregationDimensions) ValidateEnumValue ¶

func (m AuditEventAggregationDimensions) 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 AuditEventAggregationDimensionsAuditTypeEnum ¶

type AuditEventAggregationDimensionsAuditTypeEnum string

AuditEventAggregationDimensionsAuditTypeEnum Enum with underlying type: string

const (
	AuditEventAggregationDimensionsAuditTypeStandard      AuditEventAggregationDimensionsAuditTypeEnum = "STANDARD"
	AuditEventAggregationDimensionsAuditTypeFineGrained   AuditEventAggregationDimensionsAuditTypeEnum = "FINE_GRAINED"
	AuditEventAggregationDimensionsAuditTypeXs            AuditEventAggregationDimensionsAuditTypeEnum = "XS"
	AuditEventAggregationDimensionsAuditTypeDatabaseVault AuditEventAggregationDimensionsAuditTypeEnum = "DATABASE_VAULT"
	AuditEventAggregationDimensionsAuditTypeLabelSecurity AuditEventAggregationDimensionsAuditTypeEnum = "LABEL_SECURITY"
	AuditEventAggregationDimensionsAuditTypeRman          AuditEventAggregationDimensionsAuditTypeEnum = "RMAN"
	AuditEventAggregationDimensionsAuditTypeDatapump      AuditEventAggregationDimensionsAuditTypeEnum = "DATAPUMP"
	AuditEventAggregationDimensionsAuditTypeDirectPathApi AuditEventAggregationDimensionsAuditTypeEnum = "DIRECT_PATH_API"
)

Set of constants representing the allowable values for AuditEventAggregationDimensionsAuditTypeEnum

func GetAuditEventAggregationDimensionsAuditTypeEnumValues ¶

func GetAuditEventAggregationDimensionsAuditTypeEnumValues() []AuditEventAggregationDimensionsAuditTypeEnum

GetAuditEventAggregationDimensionsAuditTypeEnumValues Enumerates the set of values for AuditEventAggregationDimensionsAuditTypeEnum

func GetMappingAuditEventAggregationDimensionsAuditTypeEnum ¶

func GetMappingAuditEventAggregationDimensionsAuditTypeEnum(val string) (AuditEventAggregationDimensionsAuditTypeEnum, bool)

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

type AuditEventAggregationDimensionsTargetClassEnum ¶

type AuditEventAggregationDimensionsTargetClassEnum string

AuditEventAggregationDimensionsTargetClassEnum Enum with underlying type: string

const (
	AuditEventAggregationDimensionsTargetClassDatabase AuditEventAggregationDimensionsTargetClassEnum = "DATABASE"
)

Set of constants representing the allowable values for AuditEventAggregationDimensionsTargetClassEnum

func GetAuditEventAggregationDimensionsTargetClassEnumValues ¶

func GetAuditEventAggregationDimensionsTargetClassEnumValues() []AuditEventAggregationDimensionsTargetClassEnum

GetAuditEventAggregationDimensionsTargetClassEnumValues Enumerates the set of values for AuditEventAggregationDimensionsTargetClassEnum

func GetMappingAuditEventAggregationDimensionsTargetClassEnum ¶

func GetMappingAuditEventAggregationDimensionsTargetClassEnum(val string) (AuditEventAggregationDimensionsTargetClassEnum, bool)

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

type AuditEventAggregationItems ¶

type AuditEventAggregationItems struct {

	// Name of the aggregation.
	MetricName *string `mandatory:"true" json:"metricName"`

	// The time at which the aggregation started.
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The time at which the aggregation ended.
	TimeEnded *common.SDKTime `mandatory:"true" json:"timeEnded"`

	// Total count of aggregated value.
	Count *int64 `mandatory:"true" json:"count"`

	// Display Name of aggregation field.
	DisplayName *string `mandatory:"false" json:"displayName"`

	Dimensions *AuditEventAggregationDimensions `mandatory:"false" json:"dimensions"`
}

AuditEventAggregationItems The details of audit events aggregation items.

func (AuditEventAggregationItems) String ¶

func (AuditEventAggregationItems) ValidateEnumValue ¶

func (m AuditEventAggregationItems) 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 AuditEventAnalyticsCollection ¶

type AuditEventAnalyticsCollection struct {

	// The aggregated data point items.
	Items []AuditEventAggregationItems `mandatory:"true" json:"items"`
}

AuditEventAnalyticsCollection Audit events summarized detail.

func (AuditEventAnalyticsCollection) String ¶

func (AuditEventAnalyticsCollection) ValidateEnumValue ¶

func (m AuditEventAnalyticsCollection) 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 AuditEventCollection ¶

type AuditEventCollection struct {

	// Array of audit event summary.
	Items []AuditEventSummary `mandatory:"true" json:"items"`
}

AuditEventCollection Collection of audit event summary.

func (AuditEventCollection) String ¶

func (m AuditEventCollection) String() string

func (AuditEventCollection) ValidateEnumValue ¶

func (m AuditEventCollection) 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 AuditEventSummary ¶

type AuditEventSummary struct {

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

	// The OCID of the compartment containing the audit event. This is the same as that of audit profile of the target database resource compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the target database that was audited.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The name of the target database that was audited.
	TargetName *string `mandatory:"true" json:"targetName"`

	// The type of the target database that was audited. Allowed values are
	//   - DATABASE_CLOUD_SERVICE - Represents Oracle Database Cloud Services.
	//   - AUTONOMOUS_DATABASE - Represents Oracle Autonomous Databases.
	//   - INSTALLED_DATABASE - Represents databases running on-premises or on compute instances.
	DatabaseType AuditEventSummaryDatabaseTypeEnum `mandatory:"true" json:"databaseType"`

	// The time of the audit event occurrence in the target database.
	AuditEventTime *common.SDKTime `mandatory:"true" json:"auditEventTime"`

	// The timestamp when this audit event was collected from the target database by Data Safe.
	TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`

	// Indicates whether an alert was raised for this audit event.
	IsAlerted *bool `mandatory:"true" json:"isAlerted"`

	// The name of the database user whose actions were audited.
	DbUserName *string `mandatory:"false" json:"dbUserName"`

	// The class of the target that was audited.
	TargetClass AuditEventSummaryTargetClassEnum `mandatory:"false" json:"targetClass,omitempty"`

	// The name of the operating system user for the database session.
	OsUserName *string `mandatory:"false" json:"osUserName"`

	// The name of the action executed by the user on the target database. i.e ALTER, CREATE, DROP.
	Operation *string `mandatory:"false" json:"operation"`

	// Indicates whether the operation was a success or a failure.
	OperationStatus AuditEventSummaryOperationStatusEnum `mandatory:"false" json:"operationStatus,omitempty"`

	// The name of the detail action executed by the user on the target database. i.e ALTER SEQUENCE, CREATE TRIGGER, CREATE INDEX.
	EventName *string `mandatory:"false" json:"eventName"`

	// Oracle Error code generated by the action. Zero indicates the action was successful.
	ErrorCode *string `mandatory:"false" json:"errorCode"`

	// The detailed message on why the Error occurred.
	ErrorMessage *string `mandatory:"false" json:"errorMessage"`

	// The type of the object in the source database affected by the action. i.e PL/SQL, SYNONYM, PACKAGE BODY.
	ObjectType *string `mandatory:"false" json:"objectType"`

	// The name of the object affected by the action.
	ObjectName *string `mandatory:"false" json:"objectName"`

	// The schema name of the object affected by the action.
	ObjectOwner *string `mandatory:"false" json:"objectOwner"`

	// The name of the host machine from which the session was spawned.
	ClientHostname *string `mandatory:"false" json:"clientHostname"`

	// The IP address of the host machine from which the session was spawned.
	ClientIp *string `mandatory:"false" json:"clientIp"`

	// The OCID of the audit trail that generated this audit event. To be noted, this field has been deprecated.
	AuditTrailId *string `mandatory:"false" json:"auditTrailId"`

	// The action taken for this audit event.
	ActionTaken *string `mandatory:"false" json:"actionTaken"`

	// The application from which the audit event was generated. Examples SQL Plus or SQL Developer.
	ClientProgram *string `mandatory:"false" json:"clientProgram"`

	// The SQL associated with the audit event.
	CommandText *string `mandatory:"false" json:"commandText"`

	// List of bind variables associated with the command text.
	CommandParam *string `mandatory:"false" json:"commandParam"`

	// List of all other attributes of the audit event seperated by a colon other than the one returned in audit record.
	ExtendedEventAttributes *string `mandatory:"false" json:"extendedEventAttributes"`

	// The location of the audit. Currently the value is audit table.
	AuditLocation AuditEventSummaryAuditLocationEnum `mandatory:"false" json:"auditLocation,omitempty"`

	// The operating system terminal of the user session.
	OsTerminal *string `mandatory:"false" json:"osTerminal"`

	// The client identifier in each Oracle session.
	ClientId *string `mandatory:"false" json:"clientId"`

	// Comma-seperated list of audit policies that caused the current audit event.
	AuditPolicies *string `mandatory:"false" json:"auditPolicies"`

	// The type of the auditing.
	AuditType AuditEventSummaryAuditTypeEnum `mandatory:"false" json:"auditType,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AuditEventSummary The resource represents the audit events collected from the target database by Oracle Data Safe.

func (AuditEventSummary) String ¶

func (m AuditEventSummary) String() string

func (AuditEventSummary) ValidateEnumValue ¶

func (m AuditEventSummary) 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 AuditEventSummaryAuditLocationEnum ¶

type AuditEventSummaryAuditLocationEnum string

AuditEventSummaryAuditLocationEnum Enum with underlying type: string

const (
	AuditEventSummaryAuditLocationAuditTable AuditEventSummaryAuditLocationEnum = "AUDIT_TABLE"
)

Set of constants representing the allowable values for AuditEventSummaryAuditLocationEnum

func GetAuditEventSummaryAuditLocationEnumValues ¶

func GetAuditEventSummaryAuditLocationEnumValues() []AuditEventSummaryAuditLocationEnum

GetAuditEventSummaryAuditLocationEnumValues Enumerates the set of values for AuditEventSummaryAuditLocationEnum

func GetMappingAuditEventSummaryAuditLocationEnum ¶

func GetMappingAuditEventSummaryAuditLocationEnum(val string) (AuditEventSummaryAuditLocationEnum, bool)

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

type AuditEventSummaryAuditTypeEnum ¶

type AuditEventSummaryAuditTypeEnum string

AuditEventSummaryAuditTypeEnum Enum with underlying type: string

const (
	AuditEventSummaryAuditTypeStandard      AuditEventSummaryAuditTypeEnum = "STANDARD"
	AuditEventSummaryAuditTypeFineGrained   AuditEventSummaryAuditTypeEnum = "FINE_GRAINED"
	AuditEventSummaryAuditTypeXs            AuditEventSummaryAuditTypeEnum = "XS"
	AuditEventSummaryAuditTypeDatabaseVault AuditEventSummaryAuditTypeEnum = "DATABASE_VAULT"
	AuditEventSummaryAuditTypeLabelSecurity AuditEventSummaryAuditTypeEnum = "LABEL_SECURITY"
	AuditEventSummaryAuditTypeRman          AuditEventSummaryAuditTypeEnum = "RMAN"
	AuditEventSummaryAuditTypeDatapump      AuditEventSummaryAuditTypeEnum = "DATAPUMP"
	AuditEventSummaryAuditTypeDirectPathApi AuditEventSummaryAuditTypeEnum = "DIRECT_PATH_API"
)

Set of constants representing the allowable values for AuditEventSummaryAuditTypeEnum

func GetAuditEventSummaryAuditTypeEnumValues ¶

func GetAuditEventSummaryAuditTypeEnumValues() []AuditEventSummaryAuditTypeEnum

GetAuditEventSummaryAuditTypeEnumValues Enumerates the set of values for AuditEventSummaryAuditTypeEnum

func GetMappingAuditEventSummaryAuditTypeEnum ¶

func GetMappingAuditEventSummaryAuditTypeEnum(val string) (AuditEventSummaryAuditTypeEnum, bool)

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

type AuditEventSummaryDatabaseTypeEnum ¶

type AuditEventSummaryDatabaseTypeEnum string

AuditEventSummaryDatabaseTypeEnum Enum with underlying type: string

const (
	AuditEventSummaryDatabaseTypeDatabaseCloudService AuditEventSummaryDatabaseTypeEnum = "DATABASE_CLOUD_SERVICE"
	AuditEventSummaryDatabaseTypeAutonomousDatabase   AuditEventSummaryDatabaseTypeEnum = "AUTONOMOUS_DATABASE"
	AuditEventSummaryDatabaseTypeInstalledDatabase    AuditEventSummaryDatabaseTypeEnum = "INSTALLED_DATABASE"
)

Set of constants representing the allowable values for AuditEventSummaryDatabaseTypeEnum

func GetAuditEventSummaryDatabaseTypeEnumValues ¶

func GetAuditEventSummaryDatabaseTypeEnumValues() []AuditEventSummaryDatabaseTypeEnum

GetAuditEventSummaryDatabaseTypeEnumValues Enumerates the set of values for AuditEventSummaryDatabaseTypeEnum

func GetMappingAuditEventSummaryDatabaseTypeEnum ¶

func GetMappingAuditEventSummaryDatabaseTypeEnum(val string) (AuditEventSummaryDatabaseTypeEnum, bool)

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

type AuditEventSummaryOperationStatusEnum ¶

type AuditEventSummaryOperationStatusEnum string

AuditEventSummaryOperationStatusEnum Enum with underlying type: string

const (
	AuditEventSummaryOperationStatusSuccess AuditEventSummaryOperationStatusEnum = "SUCCESS"
	AuditEventSummaryOperationStatusFailure AuditEventSummaryOperationStatusEnum = "FAILURE"
)

Set of constants representing the allowable values for AuditEventSummaryOperationStatusEnum

func GetAuditEventSummaryOperationStatusEnumValues ¶

func GetAuditEventSummaryOperationStatusEnumValues() []AuditEventSummaryOperationStatusEnum

GetAuditEventSummaryOperationStatusEnumValues Enumerates the set of values for AuditEventSummaryOperationStatusEnum

func GetMappingAuditEventSummaryOperationStatusEnum ¶

func GetMappingAuditEventSummaryOperationStatusEnum(val string) (AuditEventSummaryOperationStatusEnum, bool)

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

type AuditEventSummaryTargetClassEnum ¶

type AuditEventSummaryTargetClassEnum string

AuditEventSummaryTargetClassEnum Enum with underlying type: string

const (
	AuditEventSummaryTargetClassDatabase AuditEventSummaryTargetClassEnum = "DATABASE"
)

Set of constants representing the allowable values for AuditEventSummaryTargetClassEnum

func GetAuditEventSummaryTargetClassEnumValues ¶

func GetAuditEventSummaryTargetClassEnumValues() []AuditEventSummaryTargetClassEnum

GetAuditEventSummaryTargetClassEnumValues Enumerates the set of values for AuditEventSummaryTargetClassEnum

func GetMappingAuditEventSummaryTargetClassEnum ¶

func GetMappingAuditEventSummaryTargetClassEnum(val string) (AuditEventSummaryTargetClassEnum, bool)

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

type AuditPolicy ¶

type AuditPolicy struct {

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

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

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

	// The time the the audit policy was created, in the format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the audit policy.
	LifecycleState AuditPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the target for which the audit policy is created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.
	IsDataSafeServiceAccountExcluded *bool `mandatory:"true" json:"isDataSafeServiceAccountExcluded"`

	// Description of the audit policy.
	Description *string `mandatory:"false" json:"description"`

	// The last date and time the audit policy was updated, in the format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Details about the current state of the audit policy in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.
	TimeLastProvisioned *common.SDKTime `mandatory:"false" json:"timeLastProvisioned"`

	// The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.
	TimeLastRetrieved *common.SDKTime `mandatory:"false" json:"timeLastRetrieved"`

	// Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827).
	AuditSpecifications []AuditSpecification `mandatory:"false" json:"auditSpecifications"`

	// Lists the audit policy provisioning conditions for the target database.
	AuditConditions []AuditConditions `mandatory:"false" json:"auditConditions"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AuditPolicy The resource represents all available audit policies relevant for the target database with their corresponding audit conditions. The audit policies could be in any one of the following 3 states in the target database 1) Created and enabled 2) Created but not enabled 3) Not created For more details on available audit policies, refer to documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827).

func (AuditPolicy) String ¶

func (m AuditPolicy) String() string

func (AuditPolicy) ValidateEnumValue ¶

func (m AuditPolicy) 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 AuditPolicyAggregationItems ¶

type AuditPolicyAggregationItems struct {
	Dimensions *AuditPolicyDimensions `mandatory:"false" json:"dimensions"`

	// The total count of the aggregated metric.
	Count *int64 `mandatory:"false" json:"count"`
}

AuditPolicyAggregationItems The details of the audit profile aggregation items.

func (AuditPolicyAggregationItems) String ¶

func (AuditPolicyAggregationItems) ValidateEnumValue ¶

func (m AuditPolicyAggregationItems) 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 AuditPolicyAnalyticCollection ¶

type AuditPolicyAnalyticCollection struct {

	// Array of audit policy aggregration data.
	Items []AuditPolicyAggregationItems `mandatory:"true" json:"items"`
}

AuditPolicyAnalyticCollection Details of audit policy aggregation.

func (AuditPolicyAnalyticCollection) String ¶

func (AuditPolicyAnalyticCollection) ValidateEnumValue ¶

func (m AuditPolicyAnalyticCollection) 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 AuditPolicyCategoryEnum ¶

type AuditPolicyCategoryEnum string

AuditPolicyCategoryEnum Enum with underlying type: string

const (
	AuditPolicyCategoryBasicActivity      AuditPolicyCategoryEnum = "BASIC_ACTIVITY"
	AuditPolicyCategoryAdminUserActivity  AuditPolicyCategoryEnum = "ADMIN_USER_ACTIVITY"
	AuditPolicyCategoryUserActivity       AuditPolicyCategoryEnum = "USER_ACTIVITY"
	AuditPolicyCategoryOraclePredefined   AuditPolicyCategoryEnum = "ORACLE_PREDEFINED"
	AuditPolicyCategoryComplianceStandard AuditPolicyCategoryEnum = "COMPLIANCE_STANDARD"
	AuditPolicyCategoryCustom             AuditPolicyCategoryEnum = "CUSTOM"
)

Set of constants representing the allowable values for AuditPolicyCategoryEnum

func GetAuditPolicyCategoryEnumValues ¶

func GetAuditPolicyCategoryEnumValues() []AuditPolicyCategoryEnum

GetAuditPolicyCategoryEnumValues Enumerates the set of values for AuditPolicyCategoryEnum

func GetMappingAuditPolicyCategoryEnum ¶

func GetMappingAuditPolicyCategoryEnum(val string) (AuditPolicyCategoryEnum, bool)

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

type AuditPolicyCollection ¶

type AuditPolicyCollection struct {

	// Array of audit policy summary.
	Items []AuditPolicySummary `mandatory:"true" json:"items"`
}

AuditPolicyCollection Collection of audit policy summary.

func (AuditPolicyCollection) String ¶

func (m AuditPolicyCollection) String() string

func (AuditPolicyCollection) ValidateEnumValue ¶

func (m AuditPolicyCollection) 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 AuditPolicyDimensions ¶

type AuditPolicyDimensions struct {

	// The category to which the audit policy belongs.
	AuditPolicyCategory AuditPolicyCategoryEnum `mandatory:"false" json:"auditPolicyCategory,omitempty"`

	// The name of the audit policy. Refer to the documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827) for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.
	AuditPolicyName *string `mandatory:"false" json:"auditPolicyName"`

	// The OCID of the target database for which the audit policy will be created.
	TargetId *string `mandatory:"false" json:"targetId"`
}

AuditPolicyDimensions Details of aggregation dimensions used for summarizing audit policies.

func (AuditPolicyDimensions) String ¶

func (m AuditPolicyDimensions) String() string

func (AuditPolicyDimensions) ValidateEnumValue ¶

func (m AuditPolicyDimensions) 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 AuditPolicyLifecycleStateEnum ¶

type AuditPolicyLifecycleStateEnum string

AuditPolicyLifecycleStateEnum Enum with underlying type: string

const (
	AuditPolicyLifecycleStateCreating       AuditPolicyLifecycleStateEnum = "CREATING"
	AuditPolicyLifecycleStateUpdating       AuditPolicyLifecycleStateEnum = "UPDATING"
	AuditPolicyLifecycleStateActive         AuditPolicyLifecycleStateEnum = "ACTIVE"
	AuditPolicyLifecycleStateFailed         AuditPolicyLifecycleStateEnum = "FAILED"
	AuditPolicyLifecycleStateNeedsAttention AuditPolicyLifecycleStateEnum = "NEEDS_ATTENTION"
	AuditPolicyLifecycleStateDeleting       AuditPolicyLifecycleStateEnum = "DELETING"
	AuditPolicyLifecycleStateDeleted        AuditPolicyLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for AuditPolicyLifecycleStateEnum

func GetAuditPolicyLifecycleStateEnumValues ¶

func GetAuditPolicyLifecycleStateEnumValues() []AuditPolicyLifecycleStateEnum

GetAuditPolicyLifecycleStateEnumValues Enumerates the set of values for AuditPolicyLifecycleStateEnum

func GetMappingAuditPolicyLifecycleStateEnum ¶

func GetMappingAuditPolicyLifecycleStateEnum(val string) (AuditPolicyLifecycleStateEnum, bool)

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

type AuditPolicySummary ¶

type AuditPolicySummary struct {

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

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

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

	// The time the the audit policy was created, in the format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the audit policy.
	LifecycleState AuditPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the target for which the audit policy is created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.
	IsDataSafeServiceAccountExcluded *bool `mandatory:"true" json:"isDataSafeServiceAccountExcluded"`

	// Description of the audit policy.
	Description *string `mandatory:"false" json:"description"`

	// The last date and time the audit policy was updated, in the format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Details about the current state of the audit policy in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827).
	AuditSpecifications []AuditSpecification `mandatory:"false" json:"auditSpecifications"`

	// Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.
	TimeLastProvisioned *common.SDKTime `mandatory:"false" json:"timeLastProvisioned"`

	// The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.
	TimeLastRetrieved *common.SDKTime `mandatory:"false" json:"timeLastRetrieved"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AuditPolicySummary The resource represents all available audit policies relevant for the target database with their corresponding audit conditions. The audit policies could be in any one of the following 3 states in the target database 1) Created and enabled 2) Created but not enabled 3) Not created For more details on available audit policies, refer to documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827).

func (AuditPolicySummary) String ¶

func (m AuditPolicySummary) String() string

func (AuditPolicySummary) ValidateEnumValue ¶

func (m AuditPolicySummary) 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 AuditProfile ¶

type AuditProfile struct {

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

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

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

	// The date and time the audit profile was created, in the format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the audit profile was updated, in the format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the audit profile.
	LifecycleState AuditProfileLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the Data Safe target for which the audit profile is created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database,
	// potentially incurring additional charges. The default value is inherited from the global settings.
	// You can change at the global level or at the target level.
	IsPaidUsageEnabled *bool `mandatory:"true" json:"isPaidUsageEnabled"`

	// Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis.
	// Minimum: 1; Maximum:12 months
	OnlineMonths *int `mandatory:"true" json:"onlineMonths"`

	// Indicates the number of months the audit records will be stored offline in the Data Safe audit archive.
	// Minimum: 0; Maximum: 72 months.
	// If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
	OfflineMonths *int `mandatory:"true" json:"offlineMonths"`

	// Indicates whether audit retention settings like online and offline months is set at the
	// target level overriding the global audit retention settings.
	IsOverrideGlobalRetentionSetting *bool `mandatory:"true" json:"isOverrideGlobalRetentionSetting"`

	// Details about the current state of the audit profile in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The description of the audit profile.
	Description *string `mandatory:"false" json:"description"`

	// Indicates the list of available audit trails on the target.
	AuditTrails []AuditTrail `mandatory:"false" json:"auditTrails"`

	// Indicates number of audit records collected by Data Safe in the current calendar month.
	// Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
	AuditCollectedVolume *int64 `mandatory:"false" json:"auditCollectedVolume"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AuditProfile The resource represents audit profile settings and audit configurations for the database target, and helps evaluate the initial audit data volume for configuring collection in Data Safe. The resource is also responsible for auto-discovery of audit trails in the database target during target's registration.

func (AuditProfile) String ¶

func (m AuditProfile) String() string

func (AuditProfile) ValidateEnumValue ¶

func (m AuditProfile) 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 AuditProfileAggregationItems ¶

type AuditProfileAggregationItems struct {
	Dimensions *AuditProfileDimensions `mandatory:"false" json:"dimensions"`

	// Total count of aggregated metric.
	Count *int64 `mandatory:"false" json:"count"`
}

AuditProfileAggregationItems Details of audit profile aggregation items.

func (AuditProfileAggregationItems) String ¶

func (AuditProfileAggregationItems) ValidateEnumValue ¶

func (m AuditProfileAggregationItems) 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 AuditProfileAnalyticCollection ¶

type AuditProfileAnalyticCollection struct {

	// Array of audit profile aggregration data.
	Items []AuditProfileAggregationItems `mandatory:"true" json:"items"`
}

AuditProfileAnalyticCollection Details of audit profile analytic summary.

func (AuditProfileAnalyticCollection) String ¶

func (AuditProfileAnalyticCollection) ValidateEnumValue ¶

func (m AuditProfileAnalyticCollection) 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 AuditProfileCollection ¶

type AuditProfileCollection struct {

	// Array of audit profile summary.
	Items []AuditProfileSummary `mandatory:"true" json:"items"`
}

AuditProfileCollection Collection of audit profile summary.

func (AuditProfileCollection) String ¶

func (m AuditProfileCollection) String() string

func (AuditProfileCollection) ValidateEnumValue ¶

func (m AuditProfileCollection) 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 AuditProfileDimensions ¶

type AuditProfileDimensions struct {

	// Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database,
	// potentially incurring additional charges. The default value is inherited from the global settings.
	// You can change at the global level or at the target level.
	IsPaidUsageEnabled *bool `mandatory:"false" json:"isPaidUsageEnabled"`
}

AuditProfileDimensions Details of aggregation dimensions used for summarizing audit profiles.

func (AuditProfileDimensions) String ¶

func (m AuditProfileDimensions) String() string

func (AuditProfileDimensions) ValidateEnumValue ¶

func (m AuditProfileDimensions) 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 AuditProfileLifecycleStateEnum ¶

type AuditProfileLifecycleStateEnum string

AuditProfileLifecycleStateEnum Enum with underlying type: string

const (
	AuditProfileLifecycleStateCreating       AuditProfileLifecycleStateEnum = "CREATING"
	AuditProfileLifecycleStateUpdating       AuditProfileLifecycleStateEnum = "UPDATING"
	AuditProfileLifecycleStateActive         AuditProfileLifecycleStateEnum = "ACTIVE"
	AuditProfileLifecycleStateDeleting       AuditProfileLifecycleStateEnum = "DELETING"
	AuditProfileLifecycleStateFailed         AuditProfileLifecycleStateEnum = "FAILED"
	AuditProfileLifecycleStateNeedsAttention AuditProfileLifecycleStateEnum = "NEEDS_ATTENTION"
	AuditProfileLifecycleStateDeleted        AuditProfileLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for AuditProfileLifecycleStateEnum

func GetAuditProfileLifecycleStateEnumValues ¶

func GetAuditProfileLifecycleStateEnumValues() []AuditProfileLifecycleStateEnum

GetAuditProfileLifecycleStateEnumValues Enumerates the set of values for AuditProfileLifecycleStateEnum

func GetMappingAuditProfileLifecycleStateEnum ¶

func GetMappingAuditProfileLifecycleStateEnum(val string) (AuditProfileLifecycleStateEnum, bool)

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

type AuditProfileSummary ¶

type AuditProfileSummary struct {

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

	// The OCID of the compartment that contains the audit profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

	// The date and time the audit profile was created, in the format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the audit profile was updated, in the format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID of the Data Safe target for which the audit profile is created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The current state of the audit profile.
	LifecycleState AuditProfileLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database,
	// potentially incurring additional charges. The default value is inherited from the global settings.
	// You can change at the global level or at the target level.
	IsPaidUsageEnabled *bool `mandatory:"true" json:"isPaidUsageEnabled"`

	// Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis.
	// Minimum: 1; Maximum:12 months
	OnlineMonths *int `mandatory:"true" json:"onlineMonths"`

	// Indicates the number of months the audit records will be stored offline in the Data Safe audit archive.
	// Minimum: 0; Maximum: 72 months.
	// If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
	OfflineMonths *int `mandatory:"true" json:"offlineMonths"`

	// Indicates whether audit retention settings like online and offline months is set at the
	// target level overriding the global audit retention settings.
	IsOverrideGlobalRetentionSetting *bool `mandatory:"true" json:"isOverrideGlobalRetentionSetting"`

	// The description of audit profile.
	Description *string `mandatory:"false" json:"description"`

	// Details about the current state of the audit profile in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates count of audit records collected by Data Safe from the target which is eligible
	// for the current month's billing cycle. Audit records for actions performed by Data Safe service
	// account on the target is excluded.
	AuditCollectedVolume *int64 `mandatory:"false" json:"auditCollectedVolume"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AuditProfileSummary Summary of an audit profile.

func (AuditProfileSummary) String ¶

func (m AuditProfileSummary) String() string

func (AuditProfileSummary) ValidateEnumValue ¶

func (m AuditProfileSummary) 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 AuditSpecification ¶

type AuditSpecification struct {

	// Indicates the audit policy name. Refer to the documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827) for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.
	AuditPolicyName *string `mandatory:"true" json:"auditPolicyName"`

	// Indicates the names of corresponding database policy ( or policies) in the target database.
	DatabasePolicyNames []string `mandatory:"true" json:"databasePolicyNames"`

	// The category to which the audit policy belongs.
	AuditPolicyCategory AuditPolicyCategoryEnum `mandatory:"true" json:"auditPolicyCategory"`

	// Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.
	EnableStatus AuditSpecificationEnableStatusEnum `mandatory:"true" json:"enableStatus"`

	// Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.
	IsEnabledForAllUsers *bool `mandatory:"true" json:"isEnabledForAllUsers"`

	// Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.
	IsViewOnly *bool `mandatory:"true" json:"isViewOnly"`

	// Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.
	IsSeededInTarget *bool `mandatory:"true" json:"isSeededInTarget"`

	// Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.
	IsSeededInDataSafe *bool `mandatory:"true" json:"isSeededInDataSafe"`

	// Indicates whether the policy is already created on the target database.
	IsCreated *bool `mandatory:"true" json:"isCreated"`

	// Indicates on whom the audit policy is enabled.
	EnabledEntities AuditSpecificationEnabledEntitiesEnum `mandatory:"true" json:"enabledEntities"`

	// Provides information about the policy that has been only partially enabled.
	PartiallyEnabledMsg *string `mandatory:"false" json:"partiallyEnabledMsg"`
}

AuditSpecification Represents an audit policy relevant for the target database.The audit policy could be in any one of the following 3 states in the target database 1) Created and enabled 2) Created but not enabled 3) Not created For more details on relevant audit policies for the target database, refer to documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827).

func (AuditSpecification) String ¶

func (m AuditSpecification) String() string

func (AuditSpecification) ValidateEnumValue ¶

func (m AuditSpecification) 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 AuditSpecificationEnableStatusEnum ¶

type AuditSpecificationEnableStatusEnum string

AuditSpecificationEnableStatusEnum Enum with underlying type: string

const (
	AuditSpecificationEnableStatusEnabled          AuditSpecificationEnableStatusEnum = "ENABLED"
	AuditSpecificationEnableStatusDisabled         AuditSpecificationEnableStatusEnum = "DISABLED"
	AuditSpecificationEnableStatusPartiallyEnabled AuditSpecificationEnableStatusEnum = "PARTIALLY_ENABLED"
)

Set of constants representing the allowable values for AuditSpecificationEnableStatusEnum

func GetAuditSpecificationEnableStatusEnumValues ¶

func GetAuditSpecificationEnableStatusEnumValues() []AuditSpecificationEnableStatusEnum

GetAuditSpecificationEnableStatusEnumValues Enumerates the set of values for AuditSpecificationEnableStatusEnum

func GetMappingAuditSpecificationEnableStatusEnum ¶

func GetMappingAuditSpecificationEnableStatusEnum(val string) (AuditSpecificationEnableStatusEnum, bool)

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

type AuditSpecificationEnabledEntitiesEnum ¶

type AuditSpecificationEnabledEntitiesEnum string

AuditSpecificationEnabledEntitiesEnum Enum with underlying type: string

const (
	AuditSpecificationEnabledEntitiesAllUsers          AuditSpecificationEnabledEntitiesEnum = "ALL_USERS"
	AuditSpecificationEnabledEntitiesIncludeUsers      AuditSpecificationEnabledEntitiesEnum = "INCLUDE_USERS"
	AuditSpecificationEnabledEntitiesIncludeRoles      AuditSpecificationEnabledEntitiesEnum = "INCLUDE_ROLES"
	AuditSpecificationEnabledEntitiesExcludeUsers      AuditSpecificationEnabledEntitiesEnum = "EXCLUDE_USERS"
	AuditSpecificationEnabledEntitiesIncludeUsersRoles AuditSpecificationEnabledEntitiesEnum = "INCLUDE_USERS_ROLES"
	AuditSpecificationEnabledEntitiesDisabled          AuditSpecificationEnabledEntitiesEnum = "DISABLED"
)

Set of constants representing the allowable values for AuditSpecificationEnabledEntitiesEnum

func GetAuditSpecificationEnabledEntitiesEnumValues ¶

func GetAuditSpecificationEnabledEntitiesEnumValues() []AuditSpecificationEnabledEntitiesEnum

GetAuditSpecificationEnabledEntitiesEnumValues Enumerates the set of values for AuditSpecificationEnabledEntitiesEnum

func GetMappingAuditSpecificationEnabledEntitiesEnum ¶

func GetMappingAuditSpecificationEnabledEntitiesEnum(val string) (AuditSpecificationEnabledEntitiesEnum, bool)

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

type AuditTrail ¶

type AuditTrail struct {

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

	// The OCID of the  parent audit.
	AuditProfileId *string `mandatory:"true" json:"auditProfileId"`

	// The OCID of the Data Safe target for which the audit trail is created.
	TargetId *string `mandatory:"true" json:"targetId"`

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

	// The date and time the audit trail was created, in the format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the audit trail was updated, in the format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the audit trail.
	LifecycleState AuditTrailLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The current sub-state of the audit trail.
	Status AuditTrailStatusEnum `mandatory:"true" json:"status"`

	// The OCID of the compartment that contains the audit trail and is the same as the compartment of the audit profile resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Details about the current state of the audit trail in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// An audit trail location represents the source of audit records that provides documentary
	// evidence of the sequence of activities in the target database.
	TrailLocation *string `mandatory:"false" json:"trailLocation"`

	// The description of the audit trail.
	Description *string `mandatory:"false" json:"description"`

	// Indicates if auto purge is enabled on the target database, which helps delete audit data in the
	// target database every seven days so that the database's audit trail does not become too large.
	IsAutoPurgeEnabled *bool `mandatory:"false" json:"isAutoPurgeEnabled"`

	// The date from which the audit trail must start collecting data, in the format defined by RFC3339.
	AuditCollectionStartTime *common.SDKTime `mandatory:"false" json:"auditCollectionStartTime"`

	// The OCID of the workrequest for audit trail which collects audit records.
	WorkRequestId *string `mandatory:"false" json:"workRequestId"`

	// The date and time until when the audit events were collected from the target database by the Data Safe audit trail
	// collection process, in the format defined by RFC3339.
	TimeLastCollected *common.SDKTime `mandatory:"false" json:"timeLastCollected"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AuditTrail An audit trail represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. Configuring audit trails in Data Safe, and enabling audit data collection on the audit trails copies the audit records from the target database's audit trail into the Data Safe repository.

func (AuditTrail) String ¶

func (m AuditTrail) String() string

func (AuditTrail) ValidateEnumValue ¶

func (m AuditTrail) 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 AuditTrailAggregationItems ¶

type AuditTrailAggregationItems struct {
	Dimensions *AuditTrailDimensions `mandatory:"false" json:"dimensions"`

	// Total count of aggregated metric.
	Count *int64 `mandatory:"false" json:"count"`
}

AuditTrailAggregationItems Details of audit trail aggregation items.

func (AuditTrailAggregationItems) String ¶

func (AuditTrailAggregationItems) ValidateEnumValue ¶

func (m AuditTrailAggregationItems) 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 AuditTrailAnalyticCollection ¶

type AuditTrailAnalyticCollection struct {

	// Array of audit trail aggregration data.
	Items []AuditTrailAggregationItems `mandatory:"true" json:"items"`
}

AuditTrailAnalyticCollection Details of audit trail analytic summary.

func (AuditTrailAnalyticCollection) String ¶

func (AuditTrailAnalyticCollection) ValidateEnumValue ¶

func (m AuditTrailAnalyticCollection) 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 AuditTrailCollection ¶

type AuditTrailCollection struct {

	// Array of audit trail summary.
	Items []AuditTrailSummary `mandatory:"true" json:"items"`
}

AuditTrailCollection Collection of audit trail detail objects.

func (AuditTrailCollection) String ¶

func (m AuditTrailCollection) String() string

func (AuditTrailCollection) ValidateEnumValue ¶

func (m AuditTrailCollection) 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 AuditTrailDimensions ¶

type AuditTrailDimensions struct {

	// The location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
	Location *string `mandatory:"false" json:"location"`

	// The current state of the audit trail.
	LifecycleState AuditTrailLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The current sub-state of the audit trail..
	Status *string `mandatory:"false" json:"status"`

	// The OCID of the Data Safe target for which the audit trail is created.
	TargetId *string `mandatory:"false" json:"targetId"`
}

AuditTrailDimensions Details of aggregation dimensions used for summarizing audit trails.

func (AuditTrailDimensions) String ¶

func (m AuditTrailDimensions) String() string

func (AuditTrailDimensions) ValidateEnumValue ¶

func (m AuditTrailDimensions) 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 AuditTrailLifecycleStateEnum ¶

type AuditTrailLifecycleStateEnum string

AuditTrailLifecycleStateEnum Enum with underlying type: string

const (
	AuditTrailLifecycleStateInactive       AuditTrailLifecycleStateEnum = "INACTIVE"
	AuditTrailLifecycleStateUpdating       AuditTrailLifecycleStateEnum = "UPDATING"
	AuditTrailLifecycleStateActive         AuditTrailLifecycleStateEnum = "ACTIVE"
	AuditTrailLifecycleStateDeleting       AuditTrailLifecycleStateEnum = "DELETING"
	AuditTrailLifecycleStateFailed         AuditTrailLifecycleStateEnum = "FAILED"
	AuditTrailLifecycleStateNeedsAttention AuditTrailLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for AuditTrailLifecycleStateEnum

func GetAuditTrailLifecycleStateEnumValues ¶

func GetAuditTrailLifecycleStateEnumValues() []AuditTrailLifecycleStateEnum

GetAuditTrailLifecycleStateEnumValues Enumerates the set of values for AuditTrailLifecycleStateEnum

func GetMappingAuditTrailLifecycleStateEnum ¶

func GetMappingAuditTrailLifecycleStateEnum(val string) (AuditTrailLifecycleStateEnum, bool)

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

type AuditTrailStatusEnum ¶

type AuditTrailStatusEnum string

AuditTrailStatusEnum Enum with underlying type: string

const (
	AuditTrailStatusStarting         AuditTrailStatusEnum = "STARTING"
	AuditTrailStatusCollecting       AuditTrailStatusEnum = "COLLECTING"
	AuditTrailStatusRecovering       AuditTrailStatusEnum = "RECOVERING"
	AuditTrailStatusIdle             AuditTrailStatusEnum = "IDLE"
	AuditTrailStatusStopping         AuditTrailStatusEnum = "STOPPING"
	AuditTrailStatusStopped          AuditTrailStatusEnum = "STOPPED"
	AuditTrailStatusResuming         AuditTrailStatusEnum = "RESUMING"
	AuditTrailStatusRetrying         AuditTrailStatusEnum = "RETRYING"
	AuditTrailStatusNotStarted       AuditTrailStatusEnum = "NOT_STARTED"
	AuditTrailStatusStoppedNeedsAttn AuditTrailStatusEnum = "STOPPED_NEEDS_ATTN"
	AuditTrailStatusStoppedFailed    AuditTrailStatusEnum = "STOPPED_FAILED"
)

Set of constants representing the allowable values for AuditTrailStatusEnum

func GetAuditTrailStatusEnumValues ¶

func GetAuditTrailStatusEnumValues() []AuditTrailStatusEnum

GetAuditTrailStatusEnumValues Enumerates the set of values for AuditTrailStatusEnum

func GetMappingAuditTrailStatusEnum ¶

func GetMappingAuditTrailStatusEnum(val string) (AuditTrailStatusEnum, bool)

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

type AuditTrailSummary ¶

type AuditTrailSummary struct {

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

	// The OCID of the  parent audit.
	AuditProfileId *string `mandatory:"true" json:"auditProfileId"`

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

	// The date and time the audit trail was created, in the format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the audit trail was updated, in the format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current sub-state of the audit trail.
	Status AuditTrailStatusEnum `mandatory:"true" json:"status"`

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

	// The OCID of the Data Safe target for which the audit trail is created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The current state of the audit trail.
	LifecycleState AuditTrailLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of audit trail.
	Description *string `mandatory:"false" json:"description"`

	// An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
	TrailLocation *string `mandatory:"false" json:"trailLocation"`

	// Details about the current state of the audit trail in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Indicates if auto purge is enabled on the target database, which helps delete audit data in the
	// target database every seven days so that the database's audit trail does not become too large.
	IsAutoPurgeEnabled *bool `mandatory:"false" json:"isAutoPurgeEnabled"`

	// The date from which the audit trail must start collecting data, in the format defined by RFC3339.
	AuditCollectionStartTime *common.SDKTime `mandatory:"false" json:"auditCollectionStartTime"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

AuditTrailSummary Summary of an audit trail.

func (AuditTrailSummary) String ¶

func (m AuditTrailSummary) String() string

func (AuditTrailSummary) ValidateEnumValue ¶

func (m AuditTrailSummary) 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 AutonomousDatabaseDetails ¶

type AutonomousDatabaseDetails struct {

	// The OCID of the autonomous database registered as a target database in Data Safe.
	AutonomousDatabaseId *string `mandatory:"true" json:"autonomousDatabaseId"`

	// The infrastructure type the database is running on.
	InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`
}

AutonomousDatabaseDetails The details of the Oracle Autonomous Database to be registered as a target database in Data Safe.

func (AutonomousDatabaseDetails) GetInfrastructureType ¶

func (m AutonomousDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum

GetInfrastructureType returns InfrastructureType

func (AutonomousDatabaseDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AutonomousDatabaseDetails) String ¶

func (m AutonomousDatabaseDetails) String() string

func (AutonomousDatabaseDetails) ValidateEnumValue ¶

func (m AutonomousDatabaseDetails) 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 AvailableAuditVolumeCollection ¶

type AvailableAuditVolumeCollection struct {

	// Array of available audit volume summary.
	Items []AvailableAuditVolumeSummary `mandatory:"true" json:"items"`
}

AvailableAuditVolumeCollection Collection of available audit volume summary.

func (AvailableAuditVolumeCollection) String ¶

func (AvailableAuditVolumeCollection) ValidateEnumValue ¶

func (m AvailableAuditVolumeCollection) 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 AvailableAuditVolumeSummary ¶

type AvailableAuditVolumeSummary struct {

	// The OCID of the audit profile resource.
	AuditProfileId *string `mandatory:"true" json:"auditProfileId"`

	// Audit trail location on the target database from where the audit data is being collected by Data Safe.
	TrailLocation *string `mandatory:"true" json:"trailLocation"`

	// Represents the month under consideration for which aggregated audit data volume available at the target is computed.
	// This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339..
	// For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
	MonthInConsideration *common.SDKTime `mandatory:"true" json:"monthInConsideration"`

	// Represents the aggregated audit data volume available in the audit trails on the target database which is yet to be collected by Data Safe for the specified month.
	Volume *int64 `mandatory:"true" json:"volume"`
}

AvailableAuditVolumeSummary Represents the audit data volume collected by Data Safe from the target database for the specified audit profile.

func (AvailableAuditVolumeSummary) String ¶

func (AvailableAuditVolumeSummary) ValidateEnumValue ¶

func (m AvailableAuditVolumeSummary) 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 CalculateAuditVolumeAvailableDetails ¶

type CalculateAuditVolumeAvailableDetails struct {

	// The trail locations for which the audit data volume has to be calculated.
	TrailLocations []string `mandatory:"true" json:"trailLocations"`

	// The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period.
	AuditCollectionStartTime *common.SDKTime `mandatory:"false" json:"auditCollectionStartTime"`
}

CalculateAuditVolumeAvailableDetails The details for calculating audit data volume on target.

func (CalculateAuditVolumeAvailableDetails) String ¶

func (CalculateAuditVolumeAvailableDetails) ValidateEnumValue ¶

func (m CalculateAuditVolumeAvailableDetails) 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 CalculateAuditVolumeAvailableRequest ¶

type CalculateAuditVolumeAvailableRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// Details for the calculation of audit volume available on target database.
	CalculateAuditVolumeAvailableDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CalculateAuditVolumeAvailableRequest wrapper for the CalculateAuditVolumeAvailable operation

See also ¶

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

func (CalculateAuditVolumeAvailableRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CalculateAuditVolumeAvailableRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CalculateAuditVolumeAvailableRequest) RetryPolicy ¶

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

func (CalculateAuditVolumeAvailableRequest) String ¶

func (CalculateAuditVolumeAvailableRequest) ValidateEnumValue ¶

func (request CalculateAuditVolumeAvailableRequest) 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 CalculateAuditVolumeAvailableResponse ¶

type CalculateAuditVolumeAvailableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CalculateAuditVolumeAvailableResponse wrapper for the CalculateAuditVolumeAvailable operation

func (CalculateAuditVolumeAvailableResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CalculateAuditVolumeAvailableResponse) String ¶

type CalculateAuditVolumeCollectedDetails ¶

type CalculateAuditVolumeCollectedDetails struct {

	// The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339.
	TimeFromMonth *common.SDKTime `mandatory:"true" json:"timeFromMonth"`

	// The date from which the audit volume collected by data safe has to be calculated, in the format defined by RFC3339. If not specified, this will default to the current date.
	TimeToMonth *common.SDKTime `mandatory:"false" json:"timeToMonth"`
}

CalculateAuditVolumeCollectedDetails The details for calculating audit data volume collected by data safe.

func (CalculateAuditVolumeCollectedDetails) String ¶

func (CalculateAuditVolumeCollectedDetails) ValidateEnumValue ¶

func (m CalculateAuditVolumeCollectedDetails) 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 CalculateAuditVolumeCollectedRequest ¶

type CalculateAuditVolumeCollectedRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// Details for the calculation of audit volume collected by data safe.
	CalculateAuditVolumeCollectedDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CalculateAuditVolumeCollectedRequest wrapper for the CalculateAuditVolumeCollected operation

See also ¶

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

func (CalculateAuditVolumeCollectedRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CalculateAuditVolumeCollectedRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CalculateAuditVolumeCollectedRequest) RetryPolicy ¶

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

func (CalculateAuditVolumeCollectedRequest) String ¶

func (CalculateAuditVolumeCollectedRequest) ValidateEnumValue ¶

func (request CalculateAuditVolumeCollectedRequest) 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 CalculateAuditVolumeCollectedResponse ¶

type CalculateAuditVolumeCollectedResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CalculateAuditVolumeCollectedResponse wrapper for the CalculateAuditVolumeCollected operation

func (CalculateAuditVolumeCollectedResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CalculateAuditVolumeCollectedResponse) String ¶

type CancelWorkRequestRequest ¶

type CancelWorkRequestRequest struct {

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also ¶

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

func (CancelWorkRequestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy ¶

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

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

func (CancelWorkRequestRequest) String ¶

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue ¶

func (request CancelWorkRequestRequest) 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 CancelWorkRequestResponse ¶

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

	// A non-negative integer representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int `presentIn:"header" name:"retry-after"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String ¶

func (response CancelWorkRequestResponse) String() string

type ChangeAlertCompartmentDetails ¶

type ChangeAlertCompartmentDetails struct {

	// The OCID of the new compartment to move the alert to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAlertCompartmentDetails The details used to change the compartment of an alert.

func (ChangeAlertCompartmentDetails) String ¶

func (ChangeAlertCompartmentDetails) ValidateEnumValue ¶

func (m ChangeAlertCompartmentDetails) 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 ChangeAlertCompartmentRequest ¶

type ChangeAlertCompartmentRequest struct {

	// The OCID of alert.
	AlertId *string `mandatory:"true" contributesTo:"path" name:"alertId"`

	// The details used to change the compartment of an alert.
	ChangeAlertCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeAlertCompartmentRequest wrapper for the ChangeAlertCompartment operation

See also ¶

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

func (ChangeAlertCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeAlertCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeAlertCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeAlertCompartmentRequest) String ¶

func (request ChangeAlertCompartmentRequest) String() string

func (ChangeAlertCompartmentRequest) ValidateEnumValue ¶

func (request ChangeAlertCompartmentRequest) 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 ChangeAlertCompartmentResponse ¶

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

ChangeAlertCompartmentResponse wrapper for the ChangeAlertCompartment operation

func (ChangeAlertCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeAlertCompartmentResponse) String ¶

func (response ChangeAlertCompartmentResponse) String() string

type ChangeAlertPolicyCompartmentDetails ¶

type ChangeAlertPolicyCompartmentDetails struct {

	// The OCID of the compartment where the alert policy has to be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAlertPolicyCompartmentDetails The details used to change the compartment of an alert policy.

func (ChangeAlertPolicyCompartmentDetails) String ¶

func (ChangeAlertPolicyCompartmentDetails) ValidateEnumValue ¶

func (m ChangeAlertPolicyCompartmentDetails) 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 ChangeAuditArchiveRetrievalCompartmentDetails ¶

type ChangeAuditArchiveRetrievalCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the new compartment were
	// achieve retrieval resource would move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAuditArchiveRetrievalCompartmentDetails The description of the achieve retrieval change compartment.

func (ChangeAuditArchiveRetrievalCompartmentDetails) String ¶

func (ChangeAuditArchiveRetrievalCompartmentDetails) ValidateEnumValue ¶

func (m ChangeAuditArchiveRetrievalCompartmentDetails) 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 ChangeAuditArchiveRetrievalCompartmentRequest ¶

type ChangeAuditArchiveRetrievalCompartmentRequest struct {

	// OCID of the archive retrieval.
	AuditArchiveRetrievalId *string `mandatory:"true" contributesTo:"path" name:"auditArchiveRetrievalId"`

	// The details used to change the compartment of a archive retrieval.
	ChangeAuditArchiveRetrievalCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeAuditArchiveRetrievalCompartmentRequest wrapper for the ChangeAuditArchiveRetrievalCompartment operation

See also ¶

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

func (ChangeAuditArchiveRetrievalCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeAuditArchiveRetrievalCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeAuditArchiveRetrievalCompartmentRequest) RetryPolicy ¶

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

func (ChangeAuditArchiveRetrievalCompartmentRequest) String ¶

func (ChangeAuditArchiveRetrievalCompartmentRequest) ValidateEnumValue ¶

func (request ChangeAuditArchiveRetrievalCompartmentRequest) 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 ChangeAuditArchiveRetrievalCompartmentResponse ¶

type ChangeAuditArchiveRetrievalCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeAuditArchiveRetrievalCompartmentResponse wrapper for the ChangeAuditArchiveRetrievalCompartment operation

func (ChangeAuditArchiveRetrievalCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeAuditArchiveRetrievalCompartmentResponse) String ¶

type ChangeAuditPolicyCompartmentDetails ¶

type ChangeAuditPolicyCompartmentDetails struct {

	// The OCID of the compartment where you want to move the audit policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAuditPolicyCompartmentDetails Details for which compartment to move the resource to.

func (ChangeAuditPolicyCompartmentDetails) String ¶

func (ChangeAuditPolicyCompartmentDetails) ValidateEnumValue ¶

func (m ChangeAuditPolicyCompartmentDetails) 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 ChangeAuditPolicyCompartmentRequest ¶

type ChangeAuditPolicyCompartmentRequest struct {

	// Unique audit policy identifier.
	AuditPolicyId *string `mandatory:"true" contributesTo:"path" name:"auditPolicyId"`

	// Details for the compartment move.
	ChangeAuditPolicyCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeAuditPolicyCompartmentRequest wrapper for the ChangeAuditPolicyCompartment operation

See also ¶

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

func (ChangeAuditPolicyCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeAuditPolicyCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeAuditPolicyCompartmentRequest) RetryPolicy ¶

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

func (ChangeAuditPolicyCompartmentRequest) String ¶

func (ChangeAuditPolicyCompartmentRequest) ValidateEnumValue ¶

func (request ChangeAuditPolicyCompartmentRequest) 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 ChangeAuditPolicyCompartmentResponse ¶

type ChangeAuditPolicyCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeAuditPolicyCompartmentResponse wrapper for the ChangeAuditPolicyCompartment operation

func (ChangeAuditPolicyCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeAuditPolicyCompartmentResponse) String ¶

func (response ChangeAuditPolicyCompartmentResponse) String() string

type ChangeAuditProfileCompartmentDetails ¶

type ChangeAuditProfileCompartmentDetails struct {

	// The OCID of the compartment where you want to move the audit profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAuditProfileCompartmentDetails Moves the specified audit profile and its assoicated resources into a different compartment.

func (ChangeAuditProfileCompartmentDetails) String ¶

func (ChangeAuditProfileCompartmentDetails) ValidateEnumValue ¶

func (m ChangeAuditProfileCompartmentDetails) 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 ChangeAuditProfileCompartmentRequest ¶

type ChangeAuditProfileCompartmentRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// Details for the compartment move.
	ChangeAuditProfileCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ChangeAuditProfileCompartmentRequest wrapper for the ChangeAuditProfileCompartment operation

See also ¶

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

func (ChangeAuditProfileCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeAuditProfileCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeAuditProfileCompartmentRequest) RetryPolicy ¶

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

func (ChangeAuditProfileCompartmentRequest) String ¶

func (ChangeAuditProfileCompartmentRequest) ValidateEnumValue ¶

func (request ChangeAuditProfileCompartmentRequest) 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 ChangeAuditProfileCompartmentResponse ¶

type ChangeAuditProfileCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeAuditProfileCompartmentResponse wrapper for the ChangeAuditProfileCompartment operation

func (ChangeAuditProfileCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeAuditProfileCompartmentResponse) String ¶

type ChangeDataSafePrivateEndpointCompartmentDetails ¶

type ChangeDataSafePrivateEndpointCompartmentDetails struct {

	// The OCID of the new compartment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeDataSafePrivateEndpointCompartmentDetails The details used to change the compartment of a Data Safe private endpoint.

func (ChangeDataSafePrivateEndpointCompartmentDetails) String ¶

func (ChangeDataSafePrivateEndpointCompartmentDetails) ValidateEnumValue ¶

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 ChangeDataSafePrivateEndpointCompartmentRequest ¶

type ChangeDataSafePrivateEndpointCompartmentRequest struct {

	// The OCID of the private endpoint.
	DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

	// The details used to change the compartment of a Data Safe private endpoint.
	ChangeDataSafePrivateEndpointCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

ChangeDataSafePrivateEndpointCompartmentRequest wrapper for the ChangeDataSafePrivateEndpointCompartment operation

See also ¶

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

func (ChangeDataSafePrivateEndpointCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeDataSafePrivateEndpointCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeDataSafePrivateEndpointCompartmentRequest) RetryPolicy ¶

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

func (ChangeDataSafePrivateEndpointCompartmentRequest) String ¶

func (ChangeDataSafePrivateEndpointCompartmentRequest) ValidateEnumValue ¶

func (request ChangeDataSafePrivateEndpointCompartmentRequest) 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 ChangeDataSafePrivateEndpointCompartmentResponse ¶

type ChangeDataSafePrivateEndpointCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeDataSafePrivateEndpointCompartmentResponse wrapper for the ChangeDataSafePrivateEndpointCompartment operation

func (ChangeDataSafePrivateEndpointCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeDataSafePrivateEndpointCompartmentResponse) String ¶

type ChangeDiscoveryJobCompartmentDetails ¶

type ChangeDiscoveryJobCompartmentDetails struct {

	// The OCID of the compartment where the discovery job should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDiscoveryJobCompartmentDetails Details to change the compartment of a discovery job resource.

func (ChangeDiscoveryJobCompartmentDetails) String ¶

func (ChangeDiscoveryJobCompartmentDetails) ValidateEnumValue ¶

func (m ChangeDiscoveryJobCompartmentDetails) 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 ChangeDiscoveryJobCompartmentRequest ¶

type ChangeDiscoveryJobCompartmentRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// The details used to change the compartment of a resource.
	ChangeDiscoveryJobCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeDiscoveryJobCompartmentRequest wrapper for the ChangeDiscoveryJobCompartment operation

See also ¶

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

func (ChangeDiscoveryJobCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDiscoveryJobCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeDiscoveryJobCompartmentRequest) RetryPolicy ¶

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

func (ChangeDiscoveryJobCompartmentRequest) String ¶

func (ChangeDiscoveryJobCompartmentRequest) ValidateEnumValue ¶

func (request ChangeDiscoveryJobCompartmentRequest) 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 ChangeDiscoveryJobCompartmentResponse ¶

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

ChangeDiscoveryJobCompartmentResponse wrapper for the ChangeDiscoveryJobCompartment operation

func (ChangeDiscoveryJobCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeDiscoveryJobCompartmentResponse) String ¶

type ChangeLibraryMaskingFormatCompartmentDetails ¶

type ChangeLibraryMaskingFormatCompartmentDetails struct {

	// The OCID of the compartment where the library masking format should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeLibraryMaskingFormatCompartmentDetails Details to change the compartment of a library masking format.

func (ChangeLibraryMaskingFormatCompartmentDetails) String ¶

func (ChangeLibraryMaskingFormatCompartmentDetails) ValidateEnumValue ¶

func (m ChangeLibraryMaskingFormatCompartmentDetails) 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 ChangeLibraryMaskingFormatCompartmentRequest ¶

type ChangeLibraryMaskingFormatCompartmentRequest struct {

	// The OCID of the library masking format.
	LibraryMaskingFormatId *string `mandatory:"true" contributesTo:"path" name:"libraryMaskingFormatId"`

	// Details to change the compartment of a library masking format.
	ChangeLibraryMaskingFormatCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ChangeLibraryMaskingFormatCompartmentRequest wrapper for the ChangeLibraryMaskingFormatCompartment operation

See also ¶

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

func (ChangeLibraryMaskingFormatCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeLibraryMaskingFormatCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeLibraryMaskingFormatCompartmentRequest) RetryPolicy ¶

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

func (ChangeLibraryMaskingFormatCompartmentRequest) String ¶

func (ChangeLibraryMaskingFormatCompartmentRequest) ValidateEnumValue ¶

func (request ChangeLibraryMaskingFormatCompartmentRequest) 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 ChangeLibraryMaskingFormatCompartmentResponse ¶

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

ChangeLibraryMaskingFormatCompartmentResponse wrapper for the ChangeLibraryMaskingFormatCompartment operation

func (ChangeLibraryMaskingFormatCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeLibraryMaskingFormatCompartmentResponse) String ¶

type ChangeMaskingPolicyCompartmentDetails ¶

type ChangeMaskingPolicyCompartmentDetails struct {

	// The OCID of the compartment where the masking policy should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeMaskingPolicyCompartmentDetails Details to change the compartment of a masking policy.

func (ChangeMaskingPolicyCompartmentDetails) String ¶

func (ChangeMaskingPolicyCompartmentDetails) ValidateEnumValue ¶

func (m ChangeMaskingPolicyCompartmentDetails) 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 ChangeMaskingPolicyCompartmentRequest ¶

type ChangeMaskingPolicyCompartmentRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to change the compartment of a masking policy.
	ChangeMaskingPolicyCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ChangeMaskingPolicyCompartmentRequest wrapper for the ChangeMaskingPolicyCompartment operation

See also ¶

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

func (ChangeMaskingPolicyCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeMaskingPolicyCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeMaskingPolicyCompartmentRequest) RetryPolicy ¶

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

func (ChangeMaskingPolicyCompartmentRequest) String ¶

func (ChangeMaskingPolicyCompartmentRequest) ValidateEnumValue ¶

func (request ChangeMaskingPolicyCompartmentRequest) 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 ChangeMaskingPolicyCompartmentResponse ¶

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

ChangeMaskingPolicyCompartmentResponse wrapper for the ChangeMaskingPolicyCompartment operation

func (ChangeMaskingPolicyCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeMaskingPolicyCompartmentResponse) String ¶

type ChangeOnPremConnectorCompartmentDetails ¶

type ChangeOnPremConnectorCompartmentDetails struct {

	// The OCID of the new compartment where you want to move the on-premises connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeOnPremConnectorCompartmentDetails The details used to change the compartment of a on-premises connector.

func (ChangeOnPremConnectorCompartmentDetails) String ¶

func (ChangeOnPremConnectorCompartmentDetails) ValidateEnumValue ¶

func (m ChangeOnPremConnectorCompartmentDetails) 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 ChangeOnPremConnectorCompartmentRequest ¶

type ChangeOnPremConnectorCompartmentRequest struct {

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

	// The details used to change the compartment of an on-premises connector.
	ChangeOnPremConnectorCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeOnPremConnectorCompartmentRequest wrapper for the ChangeOnPremConnectorCompartment operation

See also ¶

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

func (ChangeOnPremConnectorCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOnPremConnectorCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeOnPremConnectorCompartmentRequest) RetryPolicy ¶

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

func (ChangeOnPremConnectorCompartmentRequest) String ¶

func (ChangeOnPremConnectorCompartmentRequest) ValidateEnumValue ¶

func (request ChangeOnPremConnectorCompartmentRequest) 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 ChangeOnPremConnectorCompartmentResponse ¶

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

ChangeOnPremConnectorCompartmentResponse wrapper for the ChangeOnPremConnectorCompartment operation

func (ChangeOnPremConnectorCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeOnPremConnectorCompartmentResponse) String ¶

type ChangeReportCompartmentDetails ¶

type ChangeReportCompartmentDetails struct {

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

ChangeReportCompartmentDetails The details for moving the audit report to a different compartment.

func (ChangeReportCompartmentDetails) String ¶

func (ChangeReportCompartmentDetails) ValidateEnumValue ¶

func (m ChangeReportCompartmentDetails) 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 ChangeReportCompartmentRequest ¶

type ChangeReportCompartmentRequest struct {

	// Unique report identifier
	ReportId *string `mandatory:"true" contributesTo:"path" name:"reportId"`

	// Details for the different Report.
	ChangeReportCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeReportCompartmentRequest wrapper for the ChangeReportCompartment operation

See also ¶

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

func (ChangeReportCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeReportCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeReportCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeReportCompartmentRequest) String ¶

func (request ChangeReportCompartmentRequest) String() string

func (ChangeReportCompartmentRequest) ValidateEnumValue ¶

func (request ChangeReportCompartmentRequest) 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 ChangeReportCompartmentResponse ¶

type ChangeReportCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeReportCompartmentResponse wrapper for the ChangeReportCompartment operation

func (ChangeReportCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeReportCompartmentResponse) String ¶

func (response ChangeReportCompartmentResponse) String() string

type ChangeReportDefinitionCompartmentDetails ¶

type ChangeReportDefinitionCompartmentDetails struct {

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

ChangeReportDefinitionCompartmentDetails Details for which compartment to move the resource to.

func (ChangeReportDefinitionCompartmentDetails) String ¶

func (ChangeReportDefinitionCompartmentDetails) ValidateEnumValue ¶

func (m ChangeReportDefinitionCompartmentDetails) 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 ChangeReportDefinitionCompartmentRequest ¶

type ChangeReportDefinitionCompartmentRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// Details for the different ReportDefinition.
	ChangeReportDefinitionCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeReportDefinitionCompartmentRequest wrapper for the ChangeReportDefinitionCompartment operation

See also ¶

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

func (ChangeReportDefinitionCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeReportDefinitionCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeReportDefinitionCompartmentRequest) RetryPolicy ¶

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

func (ChangeReportDefinitionCompartmentRequest) String ¶

func (ChangeReportDefinitionCompartmentRequest) ValidateEnumValue ¶

func (request ChangeReportDefinitionCompartmentRequest) 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 ChangeReportDefinitionCompartmentResponse ¶

type ChangeReportDefinitionCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeReportDefinitionCompartmentResponse wrapper for the ChangeReportDefinitionCompartment operation

func (ChangeReportDefinitionCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeReportDefinitionCompartmentResponse) String ¶

type ChangeRetentionDetails ¶

type ChangeRetentionDetails struct {

	// Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for
	// immediate reporting and analysis. Minimum: 1; Maximum:12 months
	OnlineMonths *int `mandatory:"false" json:"onlineMonths"`

	// Indicates the number of months the audit records will be stored offline in the Data Safe audit archive.
	// Minimum: 0; Maximum: 72 months.
	// If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
	OfflineMonths *int `mandatory:"false" json:"offlineMonths"`

	// Indicates whether audit retention settings like online and offline months is set at the
	// target level overriding the global audit retention settings.
	IsOverrideGlobalRetentionSetting *bool `mandatory:"false" json:"isOverrideGlobalRetentionSetting"`
}

ChangeRetentionDetails Details for the audit retention months to be modified.

func (ChangeRetentionDetails) String ¶

func (m ChangeRetentionDetails) String() string

func (ChangeRetentionDetails) ValidateEnumValue ¶

func (m ChangeRetentionDetails) 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 ChangeRetentionRequest ¶

type ChangeRetentionRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// Details for the audit retention months to be modified.
	ChangeRetentionDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeRetentionRequest wrapper for the ChangeRetention operation

See also ¶

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

func (ChangeRetentionRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeRetentionRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeRetentionRequest) RetryPolicy ¶

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

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

func (ChangeRetentionRequest) String ¶

func (request ChangeRetentionRequest) String() string

func (ChangeRetentionRequest) ValidateEnumValue ¶

func (request ChangeRetentionRequest) 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 ChangeRetentionResponse ¶

type ChangeRetentionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeRetentionResponse wrapper for the ChangeRetention operation

func (ChangeRetentionResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeRetentionResponse) String ¶

func (response ChangeRetentionResponse) String() string

type ChangeSdmMaskingPolicyDifferenceCompartmentDetails ¶ added in v65.35.0

type ChangeSdmMaskingPolicyDifferenceCompartmentDetails struct {

	// The OCID of the compartment where the SDM masking policy difference should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSdmMaskingPolicyDifferenceCompartmentDetails Details to change the compartment of a SDM masking policy difference.

func (ChangeSdmMaskingPolicyDifferenceCompartmentDetails) String ¶ added in v65.35.0

func (ChangeSdmMaskingPolicyDifferenceCompartmentDetails) ValidateEnumValue ¶ added in v65.35.0

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 ChangeSdmMaskingPolicyDifferenceCompartmentRequest ¶ added in v65.35.0

type ChangeSdmMaskingPolicyDifferenceCompartmentRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// The details used to change the compartment of a resource.
	ChangeSdmMaskingPolicyDifferenceCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeSdmMaskingPolicyDifferenceCompartmentRequest wrapper for the ChangeSdmMaskingPolicyDifferenceCompartment operation

See also ¶

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

func (ChangeSdmMaskingPolicyDifferenceCompartmentRequest) BinaryRequestBody ¶ added in v65.35.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeSdmMaskingPolicyDifferenceCompartmentRequest) HTTPRequest ¶ added in v65.35.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeSdmMaskingPolicyDifferenceCompartmentRequest) RetryPolicy ¶ added in v65.35.0

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

func (ChangeSdmMaskingPolicyDifferenceCompartmentRequest) String ¶ added in v65.35.0

func (ChangeSdmMaskingPolicyDifferenceCompartmentRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ChangeSdmMaskingPolicyDifferenceCompartmentRequest) 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 ChangeSdmMaskingPolicyDifferenceCompartmentResponse ¶ added in v65.35.0

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

ChangeSdmMaskingPolicyDifferenceCompartmentResponse wrapper for the ChangeSdmMaskingPolicyDifferenceCompartment operation

func (ChangeSdmMaskingPolicyDifferenceCompartmentResponse) HTTPResponse ¶ added in v65.35.0

HTTPResponse implements the OCIResponse interface

func (ChangeSdmMaskingPolicyDifferenceCompartmentResponse) String ¶ added in v65.35.0

type ChangeSecurityAssessmentCompartmentDetails ¶

type ChangeSecurityAssessmentCompartmentDetails struct {

	// The OCID of the compartment where you want to move the security assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSecurityAssessmentCompartmentDetails The details that can be changed (or retained) when a security assessment is moved to another compartment.

func (ChangeSecurityAssessmentCompartmentDetails) String ¶

func (ChangeSecurityAssessmentCompartmentDetails) ValidateEnumValue ¶

func (m ChangeSecurityAssessmentCompartmentDetails) 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 ChangeSecurityAssessmentCompartmentRequest ¶

type ChangeSecurityAssessmentCompartmentRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// The details used to change the compartment of a security assessment.
	ChangeSecurityAssessmentCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeSecurityAssessmentCompartmentRequest wrapper for the ChangeSecurityAssessmentCompartment operation

See also ¶

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

func (ChangeSecurityAssessmentCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityAssessmentCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityAssessmentCompartmentRequest) RetryPolicy ¶

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

func (ChangeSecurityAssessmentCompartmentRequest) String ¶

func (ChangeSecurityAssessmentCompartmentRequest) ValidateEnumValue ¶

func (request ChangeSecurityAssessmentCompartmentRequest) 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 ChangeSecurityAssessmentCompartmentResponse ¶

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

ChangeSecurityAssessmentCompartmentResponse wrapper for the ChangeSecurityAssessmentCompartment operation

func (ChangeSecurityAssessmentCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityAssessmentCompartmentResponse) String ¶

type ChangeSensitiveDataModelCompartmentDetails ¶

type ChangeSensitiveDataModelCompartmentDetails struct {

	// The OCID of the compartment where the sensitive data model should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSensitiveDataModelCompartmentDetails Details to change the compartment of a sensitive data model.

func (ChangeSensitiveDataModelCompartmentDetails) String ¶

func (ChangeSensitiveDataModelCompartmentDetails) ValidateEnumValue ¶

func (m ChangeSensitiveDataModelCompartmentDetails) 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 ChangeSensitiveDataModelCompartmentRequest ¶

type ChangeSensitiveDataModelCompartmentRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to change the compartment of a sensitive data model.
	ChangeSensitiveDataModelCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeSensitiveDataModelCompartmentRequest wrapper for the ChangeSensitiveDataModelCompartment operation

See also ¶

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

func (ChangeSensitiveDataModelCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeSensitiveDataModelCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeSensitiveDataModelCompartmentRequest) RetryPolicy ¶

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

func (ChangeSensitiveDataModelCompartmentRequest) String ¶

func (ChangeSensitiveDataModelCompartmentRequest) ValidateEnumValue ¶

func (request ChangeSensitiveDataModelCompartmentRequest) 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 ChangeSensitiveDataModelCompartmentResponse ¶

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

ChangeSensitiveDataModelCompartmentResponse wrapper for the ChangeSensitiveDataModelCompartment operation

func (ChangeSensitiveDataModelCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeSensitiveDataModelCompartmentResponse) String ¶

type ChangeSensitiveTypeCompartmentDetails ¶

type ChangeSensitiveTypeCompartmentDetails struct {

	// The OCID of the compartment where the sensitive type should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSensitiveTypeCompartmentDetails Details to change the compartment of a sensitive type.

func (ChangeSensitiveTypeCompartmentDetails) String ¶

func (ChangeSensitiveTypeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeSensitiveTypeCompartmentDetails) 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 ChangeSensitiveTypeCompartmentRequest ¶

type ChangeSensitiveTypeCompartmentRequest struct {

	// The OCID of the sensitive type.
	SensitiveTypeId *string `mandatory:"true" contributesTo:"path" name:"sensitiveTypeId"`

	// Details to change the compartment of a sensitive type.
	ChangeSensitiveTypeCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeSensitiveTypeCompartmentRequest wrapper for the ChangeSensitiveTypeCompartment operation

See also ¶

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

func (ChangeSensitiveTypeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSensitiveTypeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeSensitiveTypeCompartmentRequest) RetryPolicy ¶

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

func (ChangeSensitiveTypeCompartmentRequest) String ¶

func (ChangeSensitiveTypeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeSensitiveTypeCompartmentRequest) 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 ChangeSensitiveTypeCompartmentResponse ¶

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

ChangeSensitiveTypeCompartmentResponse wrapper for the ChangeSensitiveTypeCompartment operation

func (ChangeSensitiveTypeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeSensitiveTypeCompartmentResponse) String ¶

type ChangeTargetAlertPolicyAssociationCompartmentDetails ¶

type ChangeTargetAlertPolicyAssociationCompartmentDetails struct {

	// The OCID of the compartment to move the target-alert policy association to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeTargetAlertPolicyAssociationCompartmentDetails The details used to change the compartment of a target-alert policy association.

func (ChangeTargetAlertPolicyAssociationCompartmentDetails) String ¶

func (ChangeTargetAlertPolicyAssociationCompartmentDetails) ValidateEnumValue ¶

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 ChangeTargetAlertPolicyAssociationCompartmentRequest ¶

type ChangeTargetAlertPolicyAssociationCompartmentRequest struct {

	// The OCID of the target-alert policy association.
	TargetAlertPolicyAssociationId *string `mandatory:"true" contributesTo:"path" name:"targetAlertPolicyAssociationId"`

	// The details used to change the compartment of a target-alert policy association.
	ChangeTargetAlertPolicyAssociationCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeTargetAlertPolicyAssociationCompartmentRequest wrapper for the ChangeTargetAlertPolicyAssociationCompartment operation

See also ¶

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

func (ChangeTargetAlertPolicyAssociationCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeTargetAlertPolicyAssociationCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeTargetAlertPolicyAssociationCompartmentRequest) RetryPolicy ¶

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

func (ChangeTargetAlertPolicyAssociationCompartmentRequest) String ¶

func (ChangeTargetAlertPolicyAssociationCompartmentRequest) ValidateEnumValue ¶

func (request ChangeTargetAlertPolicyAssociationCompartmentRequest) 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 ChangeTargetAlertPolicyAssociationCompartmentResponse ¶

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

ChangeTargetAlertPolicyAssociationCompartmentResponse wrapper for the ChangeTargetAlertPolicyAssociationCompartment operation

func (ChangeTargetAlertPolicyAssociationCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeTargetAlertPolicyAssociationCompartmentResponse) String ¶

type ChangeTargetDatabaseCompartmentDetails ¶

type ChangeTargetDatabaseCompartmentDetails struct {

	// The OCID of the new compartment to where you want to move the Data Safe target database.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeTargetDatabaseCompartmentDetails The details used to change the compartment of a Data Safe target database.

func (ChangeTargetDatabaseCompartmentDetails) String ¶

func (ChangeTargetDatabaseCompartmentDetails) ValidateEnumValue ¶

func (m ChangeTargetDatabaseCompartmentDetails) 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 ChangeTargetDatabaseCompartmentRequest ¶

type ChangeTargetDatabaseCompartmentRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Details of the move compartment request.
	ChangeTargetDatabaseCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeTargetDatabaseCompartmentRequest wrapper for the ChangeTargetDatabaseCompartment operation

See also ¶

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

func (ChangeTargetDatabaseCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeTargetDatabaseCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeTargetDatabaseCompartmentRequest) RetryPolicy ¶

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

func (ChangeTargetDatabaseCompartmentRequest) String ¶

func (ChangeTargetDatabaseCompartmentRequest) ValidateEnumValue ¶

func (request ChangeTargetDatabaseCompartmentRequest) 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 ChangeTargetDatabaseCompartmentResponse ¶

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

ChangeTargetDatabaseCompartmentResponse wrapper for the ChangeTargetDatabaseCompartment operation

func (ChangeTargetDatabaseCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeTargetDatabaseCompartmentResponse) String ¶

type ChangeUserAssessmentCompartmentDetails ¶

type ChangeUserAssessmentCompartmentDetails struct {

	// The OCID of the compartment where you want to move the user assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeUserAssessmentCompartmentDetails The details used to change the compartment of the user assessment.

func (ChangeUserAssessmentCompartmentDetails) String ¶

func (ChangeUserAssessmentCompartmentDetails) ValidateEnumValue ¶

func (m ChangeUserAssessmentCompartmentDetails) 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 ChangeUserAssessmentCompartmentRequest ¶

type ChangeUserAssessmentCompartmentRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// The details used to change the compartment of a user assessment.
	ChangeUserAssessmentCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ChangeUserAssessmentCompartmentRequest wrapper for the ChangeUserAssessmentCompartment operation

See also ¶

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

func (ChangeUserAssessmentCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeUserAssessmentCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeUserAssessmentCompartmentRequest) RetryPolicy ¶

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

func (ChangeUserAssessmentCompartmentRequest) String ¶

func (ChangeUserAssessmentCompartmentRequest) ValidateEnumValue ¶

func (request ChangeUserAssessmentCompartmentRequest) 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 ChangeUserAssessmentCompartmentResponse ¶

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

ChangeUserAssessmentCompartmentResponse wrapper for the ChangeUserAssessmentCompartment operation

func (ChangeUserAssessmentCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeUserAssessmentCompartmentResponse) String ¶

type CollectedAuditVolumeCollection ¶

type CollectedAuditVolumeCollection struct {

	// Array of collected audit volume summary.
	Items []CollectedAuditVolumeSummary `mandatory:"true" json:"items"`
}

CollectedAuditVolumeCollection Collection of collected audit volume summary.

func (CollectedAuditVolumeCollection) String ¶

func (CollectedAuditVolumeCollection) ValidateEnumValue ¶

func (m CollectedAuditVolumeCollection) 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 CollectedAuditVolumeSummary ¶

type CollectedAuditVolumeSummary struct {

	// The OCID of the audit profile resource.
	AuditProfileId *string `mandatory:"true" json:"auditProfileId"`

	// Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed.
	// This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339..
	// For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021.
	MonthInConsideration *common.SDKTime `mandatory:"true" json:"monthInConsideration"`

	// The audit data volume collected by Data Safe and is available online in repository.
	OnlineVolume *int64 `mandatory:"true" json:"onlineVolume"`

	// The audit data volume collected by Data Safe and is available in archive storage.
	ArchivedVolume *int64 `mandatory:"true" json:"archivedVolume"`
}

CollectedAuditVolumeSummary The volume data point for audit data collected by datasafe.

func (CollectedAuditVolumeSummary) String ¶

func (CollectedAuditVolumeSummary) ValidateEnumValue ¶

func (m CollectedAuditVolumeSummary) 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 Column ¶

type Column struct {

	// Name of the column displayed on UI.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Specifies the corresponding field name in the data source.
	FieldName *string `mandatory:"true" json:"fieldName"`

	// Indicates if the column is hidden. Values can either be 'true' or 'false'.
	IsHidden *bool `mandatory:"true" json:"isHidden"`

	// Specifies the display order of the column.
	DisplayOrder *int `mandatory:"true" json:"displayOrder"`

	// Specifies the data type of the column.
	DataType *string `mandatory:"false" json:"dataType"`
}

Column The description of the column.

func (Column) String ¶

func (m Column) String() string

func (Column) ValidateEnumValue ¶

func (m Column) 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 ColumnFilter ¶

type ColumnFilter struct {

	// Name of the column on which the filter must be applied.
	FieldName *string `mandatory:"true" json:"fieldName"`

	// Specifies the type of operator that must be applied for example in, eq etc.
	Operator ColumnFilterOperatorEnum `mandatory:"true" json:"operator"`

	// An array of expressions based on the operator type. A filter may have one or more expressions.
	Expressions []string `mandatory:"true" json:"expressions"`

	// Indicates whether the filter is enabled. Values can either be 'true' or 'false'.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// Indicates whether the filter is hidden. Values can either be 'true' or 'false'.
	IsHidden *bool `mandatory:"true" json:"isHidden"`
}

ColumnFilter Filters that are applied to the data at the column level.

func (ColumnFilter) String ¶

func (m ColumnFilter) String() string

func (ColumnFilter) ValidateEnumValue ¶

func (m ColumnFilter) 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 ColumnFilterOperatorEnum ¶

type ColumnFilterOperatorEnum string

ColumnFilterOperatorEnum Enum with underlying type: string

const (
	ColumnFilterOperatorIn    ColumnFilterOperatorEnum = "IN"
	ColumnFilterOperatorEq    ColumnFilterOperatorEnum = "EQ"
	ColumnFilterOperatorGt    ColumnFilterOperatorEnum = "GT"
	ColumnFilterOperatorGe    ColumnFilterOperatorEnum = "GE"
	ColumnFilterOperatorLt    ColumnFilterOperatorEnum = "LT"
	ColumnFilterOperatorLe    ColumnFilterOperatorEnum = "LE"
	ColumnFilterOperatorAnd   ColumnFilterOperatorEnum = "AND"
	ColumnFilterOperatorOr    ColumnFilterOperatorEnum = "OR"
	ColumnFilterOperatorNe    ColumnFilterOperatorEnum = "NE"
	ColumnFilterOperatorCo    ColumnFilterOperatorEnum = "CO"
	ColumnFilterOperatorNot   ColumnFilterOperatorEnum = "NOT"
	ColumnFilterOperatorNotIn ColumnFilterOperatorEnum = "NOT_IN"
)

Set of constants representing the allowable values for ColumnFilterOperatorEnum

func GetColumnFilterOperatorEnumValues ¶

func GetColumnFilterOperatorEnumValues() []ColumnFilterOperatorEnum

GetColumnFilterOperatorEnumValues Enumerates the set of values for ColumnFilterOperatorEnum

func GetMappingColumnFilterOperatorEnum ¶

func GetMappingColumnFilterOperatorEnum(val string) (ColumnFilterOperatorEnum, bool)

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

type ColumnSorting ¶

type ColumnSorting struct {

	// Name of the column that must be sorted.
	FieldName *string `mandatory:"true" json:"fieldName"`

	// Indicates if the column must be sorted in ascending order. Values can either be 'true' or 'false'.
	IsAscending *bool `mandatory:"true" json:"isAscending"`

	// Indicates the order at which column must be sorted.
	SortingOrder *int `mandatory:"true" json:"sortingOrder"`
}

ColumnSorting Sorts the data at the column level.

func (ColumnSorting) String ¶

func (m ColumnSorting) String() string

func (ColumnSorting) ValidateEnumValue ¶

func (m ColumnSorting) 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 ColumnSourceDetails ¶

type ColumnSourceDetails interface {
}

ColumnSourceDetails The source of masking columns.

type ColumnSourceDetailsColumnSourceEnum ¶

type ColumnSourceDetailsColumnSourceEnum string

ColumnSourceDetailsColumnSourceEnum Enum with underlying type: string

const (
	ColumnSourceDetailsColumnSourceTarget             ColumnSourceDetailsColumnSourceEnum = "TARGET"
	ColumnSourceDetailsColumnSourceSensitiveDataModel ColumnSourceDetailsColumnSourceEnum = "SENSITIVE_DATA_MODEL"
)

Set of constants representing the allowable values for ColumnSourceDetailsColumnSourceEnum

func GetColumnSourceDetailsColumnSourceEnumValues ¶

func GetColumnSourceDetailsColumnSourceEnumValues() []ColumnSourceDetailsColumnSourceEnum

GetColumnSourceDetailsColumnSourceEnumValues Enumerates the set of values for ColumnSourceDetailsColumnSourceEnum

func GetMappingColumnSourceDetailsColumnSourceEnum ¶

func GetMappingColumnSourceDetailsColumnSourceEnum(val string) (ColumnSourceDetailsColumnSourceEnum, bool)

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

type ColumnSourceFromSdmDetails ¶

type ColumnSourceFromSdmDetails struct {

	// The OCID of the sensitive data model that's used as the source of masking columns.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`
}

ColumnSourceFromSdmDetails Details of the sensitive data model that's used as the source of masking columns..

func (ColumnSourceFromSdmDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (ColumnSourceFromSdmDetails) String ¶

func (ColumnSourceFromSdmDetails) ValidateEnumValue ¶

func (m ColumnSourceFromSdmDetails) 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 ColumnSourceFromTargetDetails ¶

type ColumnSourceFromTargetDetails struct {

	// The OCID of the target database that's used as the source of masking columns.
	TargetId *string `mandatory:"true" json:"targetId"`
}

ColumnSourceFromTargetDetails Details of the target database that's used as the source of masking columns.

func (ColumnSourceFromTargetDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (ColumnSourceFromTargetDetails) String ¶

func (ColumnSourceFromTargetDetails) ValidateEnumValue ¶

func (m ColumnSourceFromTargetDetails) 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 ColumnSummary ¶

type ColumnSummary struct {

	// Name of the column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// Data type of the column.
	DataType *string `mandatory:"true" json:"dataType"`

	// Length of the data represented by the column.
	Length *int64 `mandatory:"true" json:"length"`

	// Name of the table.
	TableName *string `mandatory:"true" json:"tableName"`

	// Name of the schema.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// Precision of the column.
	Precision *int `mandatory:"false" json:"precision"`

	// Scale of the column.
	Scale *int `mandatory:"false" json:"scale"`

	// Character length.
	CharacterLength *int `mandatory:"false" json:"characterLength"`
}

ColumnSummary Details of a column in a table fetched from the database.

func (ColumnSummary) String ¶

func (m ColumnSummary) String() string

func (ColumnSummary) ValidateEnumValue ¶

func (m ColumnSummary) 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 CompareSecurityAssessmentDetails ¶

type CompareSecurityAssessmentDetails struct {

	// The OCID of the security assessment. In this case a security assessment can be another security assessment, a latest assessment or a baseline.
	ComparisonSecurityAssessmentId *string `mandatory:"true" json:"comparisonSecurityAssessmentId"`
}

CompareSecurityAssessmentDetails Details specifying the security assessment used for comparison.

func (CompareSecurityAssessmentDetails) String ¶

func (CompareSecurityAssessmentDetails) ValidateEnumValue ¶

func (m CompareSecurityAssessmentDetails) 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 CompareSecurityAssessmentRequest ¶

type CompareSecurityAssessmentRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Details of the security assessment comparison.
	CompareSecurityAssessmentDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

CompareSecurityAssessmentRequest wrapper for the CompareSecurityAssessment operation

See also ¶

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

func (CompareSecurityAssessmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CompareSecurityAssessmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CompareSecurityAssessmentRequest) RetryPolicy ¶

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

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

func (CompareSecurityAssessmentRequest) String ¶

func (request CompareSecurityAssessmentRequest) String() string

func (CompareSecurityAssessmentRequest) ValidateEnumValue ¶

func (request CompareSecurityAssessmentRequest) 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 CompareSecurityAssessmentResponse ¶

type CompareSecurityAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CompareSecurityAssessmentResponse wrapper for the CompareSecurityAssessment operation

func (CompareSecurityAssessmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CompareSecurityAssessmentResponse) String ¶

func (response CompareSecurityAssessmentResponse) String() string

type CompareUserAssessmentDetails ¶

type CompareUserAssessmentDetails struct {

	// The OCID of the user assessment to be compared. You can compare with another user assessment, a latest assessment, or a baseline.
	ComparisonUserAssessmentId *string `mandatory:"true" json:"comparisonUserAssessmentId"`
}

CompareUserAssessmentDetails The details of the user assessment comparison.

func (CompareUserAssessmentDetails) String ¶

func (CompareUserAssessmentDetails) ValidateEnumValue ¶

func (m CompareUserAssessmentDetails) 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 CompareUserAssessmentRequest ¶

type CompareUserAssessmentRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// Details of the user assessment comparison.
	CompareUserAssessmentDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

CompareUserAssessmentRequest wrapper for the CompareUserAssessment operation

See also ¶

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

func (CompareUserAssessmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CompareUserAssessmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CompareUserAssessmentRequest) RetryPolicy ¶

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

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

func (CompareUserAssessmentRequest) String ¶

func (request CompareUserAssessmentRequest) String() string

func (CompareUserAssessmentRequest) ValidateEnumValue ¶

func (request CompareUserAssessmentRequest) 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 CompareUserAssessmentResponse ¶

type CompareUserAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CompareUserAssessmentResponse wrapper for the CompareUserAssessment operation

func (CompareUserAssessmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CompareUserAssessmentResponse) String ¶

func (response CompareUserAssessmentResponse) String() string

type CompatibleFormatsForDataTypes ¶

type CompatibleFormatsForDataTypes struct {

	// An array of lists of basic masking formats compatible with the supported data types.
	FormatsForDataType []FormatsForDataType `mandatory:"true" json:"formatsForDataType"`
}

CompatibleFormatsForDataTypes A list of basic masking formats compatible with and grouped by the supported data types. The data types are grouped into the following categories -

Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2
Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE
Date - Includes DATE and TIMESTAMP
LOB - Includes BLOB, CLOB, and NCLOB
All - Includes all the supported data types

func (CompatibleFormatsForDataTypes) String ¶

func (CompatibleFormatsForDataTypes) ValidateEnumValue ¶

func (m CompatibleFormatsForDataTypes) 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 CompatibleFormatsForSensitiveTypes ¶

type CompatibleFormatsForSensitiveTypes struct {

	// An array of library masking formats compatible with the existing sensitive types.
	FormatsForSensitiveType []FormatsForSensitiveType `mandatory:"true" json:"formatsForSensitiveType"`
}

CompatibleFormatsForSensitiveTypes The list of compatible masking formats grouped by generic sensitive types.

func (CompatibleFormatsForSensitiveTypes) String ¶

func (CompatibleFormatsForSensitiveTypes) ValidateEnumValue ¶

func (m CompatibleFormatsForSensitiveTypes) 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 ConnectionOption ¶

type ConnectionOption interface {
}

ConnectionOption Types of connection supported by Data Safe.

type ConnectionOptionConnectionTypeEnum ¶

type ConnectionOptionConnectionTypeEnum string

ConnectionOptionConnectionTypeEnum Enum with underlying type: string

const (
	ConnectionOptionConnectionTypePrivateEndpoint ConnectionOptionConnectionTypeEnum = "PRIVATE_ENDPOINT"
	ConnectionOptionConnectionTypeOnpremConnector ConnectionOptionConnectionTypeEnum = "ONPREM_CONNECTOR"
)

Set of constants representing the allowable values for ConnectionOptionConnectionTypeEnum

func GetConnectionOptionConnectionTypeEnumValues ¶

func GetConnectionOptionConnectionTypeEnumValues() []ConnectionOptionConnectionTypeEnum

GetConnectionOptionConnectionTypeEnumValues Enumerates the set of values for ConnectionOptionConnectionTypeEnum

func GetMappingConnectionOptionConnectionTypeEnum ¶

func GetMappingConnectionOptionConnectionTypeEnum(val string) (ConnectionOptionConnectionTypeEnum, bool)

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

type CreateAlertPolicyDetails ¶

type CreateAlertPolicyDetails struct {

	// Indicates the Data Safe feature the alert policy belongs to
	AlertPolicyType AlertPolicyTypeEnum `mandatory:"true" json:"alertPolicyType"`

	// Severity level of the alert raised by this policy.
	Severity AlertSeverityEnum `mandatory:"true" json:"severity"`

	// The OCID of the compartment where you want to create the alert policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the alert policy. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the alert policy.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateAlertPolicyDetails The details used to create a new alert policy.

func (CreateAlertPolicyDetails) String ¶

func (m CreateAlertPolicyDetails) String() string

func (CreateAlertPolicyDetails) ValidateEnumValue ¶

func (m CreateAlertPolicyDetails) 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 CreateAlertPolicyRuleDetails ¶

type CreateAlertPolicyRuleDetails struct {

	// The conditional expression of the alert policy rule which evaluates to boolean value.
	Expression *string `mandatory:"true" json:"expression"`

	// Describes the alert policy rule.
	Description *string `mandatory:"false" json:"description"`
}

CreateAlertPolicyRuleDetails The details used to create a new alert policy rule.

func (CreateAlertPolicyRuleDetails) String ¶

func (CreateAlertPolicyRuleDetails) ValidateEnumValue ¶

func (m CreateAlertPolicyRuleDetails) 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 CreateAuditArchiveRetrievalDetails ¶

type CreateAuditArchiveRetrievalDetails struct {

	// The OCID of the compartment that contains the archival retrieval.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the target associated with the archive retrieval.
	TargetId *string `mandatory:"true" json:"targetId"`

	// Start month of the archive retrieval, in the format defined by RFC3339.
	StartDate *common.SDKTime `mandatory:"true" json:"startDate"`

	// End month of the archive retrieval, in the format defined by RFC3339.
	EndDate *common.SDKTime `mandatory:"true" json:"endDate"`

	// The display name of the archive retrieval. The name does not have to be unique, and is changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description of the archive retrieval.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateAuditArchiveRetrievalDetails Request details for creating a new archive retrieval.

func (CreateAuditArchiveRetrievalDetails) String ¶

func (CreateAuditArchiveRetrievalDetails) ValidateEnumValue ¶

func (m CreateAuditArchiveRetrievalDetails) 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 CreateAuditArchiveRetrievalRequest ¶

type CreateAuditArchiveRetrievalRequest struct {

	// Details for creating retrieving archived audit data.
	CreateAuditArchiveRetrievalDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateAuditArchiveRetrievalRequest wrapper for the CreateAuditArchiveRetrieval operation

See also ¶

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

func (CreateAuditArchiveRetrievalRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAuditArchiveRetrievalRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateAuditArchiveRetrievalRequest) RetryPolicy ¶

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

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

func (CreateAuditArchiveRetrievalRequest) String ¶

func (request CreateAuditArchiveRetrievalRequest) String() string

func (CreateAuditArchiveRetrievalRequest) ValidateEnumValue ¶

func (request CreateAuditArchiveRetrievalRequest) 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 CreateAuditArchiveRetrievalResponse ¶

type CreateAuditArchiveRetrievalResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CreateAuditArchiveRetrievalResponse wrapper for the CreateAuditArchiveRetrieval operation

func (CreateAuditArchiveRetrievalResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateAuditArchiveRetrievalResponse) String ¶

func (response CreateAuditArchiveRetrievalResponse) String() string

type CreateAuditPolicyDetails ¶

type CreateAuditPolicyDetails struct {

	// The OCID of the compartment where you want to create the audit policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the target for which the audit policy has to be created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The display name of the audit policy. The name does not have to be unique, and it is changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the audit policy.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateAuditPolicyDetails Details for the new audit policy.

func (CreateAuditPolicyDetails) String ¶

func (m CreateAuditPolicyDetails) String() string

func (CreateAuditPolicyDetails) ValidateEnumValue ¶

func (m CreateAuditPolicyDetails) 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 CreateAuditProfileDetails ¶

type CreateAuditProfileDetails struct {

	// The OCID of the compartment where you want to create the audit profile.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Data Safe target for which the audit profile is created.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The display name of the audit profile. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the audit profile.
	Description *string `mandatory:"false" json:"description"`

	// Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database,
	// potentially incurring additional charges. The default value is inherited from the global settings.
	// You can change at the global level or at the target level.
	IsPaidUsageEnabled *bool `mandatory:"false" json:"isPaidUsageEnabled"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateAuditProfileDetails The details used to create a new audit profile.

func (CreateAuditProfileDetails) String ¶

func (m CreateAuditProfileDetails) String() string

func (CreateAuditProfileDetails) ValidateEnumValue ¶

func (m CreateAuditProfileDetails) 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 CreateColumnSourceDetails ¶

type CreateColumnSourceDetails interface {
}

CreateColumnSourceDetails Details to associate a column source with a masking policy.

type CreateColumnSourceDetailsColumnSourceEnum ¶

type CreateColumnSourceDetailsColumnSourceEnum string

CreateColumnSourceDetailsColumnSourceEnum Enum with underlying type: string

const (
	CreateColumnSourceDetailsColumnSourceTarget             CreateColumnSourceDetailsColumnSourceEnum = "TARGET"
	CreateColumnSourceDetailsColumnSourceSensitiveDataModel CreateColumnSourceDetailsColumnSourceEnum = "SENSITIVE_DATA_MODEL"
)

Set of constants representing the allowable values for CreateColumnSourceDetailsColumnSourceEnum

func GetCreateColumnSourceDetailsColumnSourceEnumValues ¶

func GetCreateColumnSourceDetailsColumnSourceEnumValues() []CreateColumnSourceDetailsColumnSourceEnum

GetCreateColumnSourceDetailsColumnSourceEnumValues Enumerates the set of values for CreateColumnSourceDetailsColumnSourceEnum

func GetMappingCreateColumnSourceDetailsColumnSourceEnum ¶

func GetMappingCreateColumnSourceDetailsColumnSourceEnum(val string) (CreateColumnSourceDetailsColumnSourceEnum, bool)

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

type CreateColumnSourceFromSdmDetails ¶

type CreateColumnSourceFromSdmDetails struct {

	// The OCID of the sensitive data model to be associated as the column source with the masking policy.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`
}

CreateColumnSourceFromSdmDetails Details of the sensitive data model to be associated as the column source with a masking policy.

func (CreateColumnSourceFromSdmDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateColumnSourceFromSdmDetails) String ¶

func (CreateColumnSourceFromSdmDetails) ValidateEnumValue ¶

func (m CreateColumnSourceFromSdmDetails) 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 CreateColumnSourceFromTargetDetails ¶

type CreateColumnSourceFromTargetDetails struct {

	// The OCID of the target database to be associated as the column source with the masking policy.
	TargetId *string `mandatory:"true" json:"targetId"`
}

CreateColumnSourceFromTargetDetails Details of the target database to be associated as the column source with a masking policy.

func (CreateColumnSourceFromTargetDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateColumnSourceFromTargetDetails) String ¶

func (CreateColumnSourceFromTargetDetails) ValidateEnumValue ¶

func (m CreateColumnSourceFromTargetDetails) 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 CreateDataSafePrivateEndpointDetails ¶

type CreateDataSafePrivateEndpointDetails struct {

	// The display name for the private endpoint. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The OCID of the VCN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The OCID of the subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The private IP address of the private endpoint.
	PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`

	// The description of the private endpoint.
	Description *string `mandatory:"false" json:"description"`

	// The OCIDs of the network security groups that the private endpoint belongs to.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateDataSafePrivateEndpointDetails The details used to create a new Data Safe private endpoint.

func (CreateDataSafePrivateEndpointDetails) String ¶

func (CreateDataSafePrivateEndpointDetails) ValidateEnumValue ¶

func (m CreateDataSafePrivateEndpointDetails) 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 CreateDataSafePrivateEndpointRequest ¶

type CreateDataSafePrivateEndpointRequest struct {

	// Details to create a new private endpoint.
	CreateDataSafePrivateEndpointDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateDataSafePrivateEndpointRequest wrapper for the CreateDataSafePrivateEndpoint operation

See also ¶

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

func (CreateDataSafePrivateEndpointRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDataSafePrivateEndpointRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateDataSafePrivateEndpointRequest) RetryPolicy ¶

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

func (CreateDataSafePrivateEndpointRequest) String ¶

func (CreateDataSafePrivateEndpointRequest) ValidateEnumValue ¶

func (request CreateDataSafePrivateEndpointRequest) 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 CreateDataSafePrivateEndpointResponse ¶

type CreateDataSafePrivateEndpointResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 full URI of the Data Safe private endpoint.
	Location *string `presentIn:"header" name:"location"`
}

CreateDataSafePrivateEndpointResponse wrapper for the CreateDataSafePrivateEndpoint operation

func (CreateDataSafePrivateEndpointResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateDataSafePrivateEndpointResponse) String ¶

type CreateDiscoveryJobDetails ¶

type CreateDiscoveryJobDetails struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The OCID of the compartment where the discovery job resource should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of the discovery job. It defines the job's scope.
	// NEW identifies new sensitive columns in the target database that are not in the sensitive data model.
	// DELETED identifies columns that are present in the sensitive data model but have been deleted from the target database.
	// MODIFIED identifies columns that are present in the target database as well as the sensitive data model but some of their attributes have been modified.
	// ALL covers all the above three scenarios and reports new, deleted and modified columns.
	DiscoveryType DiscoveryJobDiscoveryTypeEnum `mandatory:"false" json:"discoveryType,omitempty"`

	// A user-friendly name for the discovery job. Does not have to be unique, and it is changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive
	// data model is used to get the list of schemas.
	SchemasForDiscovery []string `mandatory:"false" json:"schemasForDiscovery"`

	// The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery
	// attribute of the sensitive data model is used to get the list of sensitive types.
	SensitiveTypeIdsForDiscovery []string `mandatory:"false" json:"sensitiveTypeIdsForDiscovery"`

	// Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data
	// helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original
	// data from the target database, it's disabled by default and should be used only if it's acceptable to store sample
	// data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the
	// following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
	IsSampleDataCollectionEnabled *bool `mandatory:"false" json:"isSampleDataCollectionEnabled"`

	// Indicates if the discovery job should identify potential application-level (non-dictionary) referential relationships
	// between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined)
	// relationships. This option helps identify application-level relationships that are not defined in the database
	// dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during
	// data masking. It's disabled by default and should be used only if there is a need to identify application-level
	// relationships.
	IsAppDefinedRelationDiscoveryEnabled *bool `mandatory:"false" json:"isAppDefinedRelationDiscoveryEnabled"`

	// Indicates if all the schemas should be scanned by the discovery job. If it's set to true, the schemasForDiscovery
	// attribute is ignored and all schemas are used for data discovery. If both attributes are not provided, the configuration
	// from the sensitive data model is used.
	IsIncludeAllSchemas *bool `mandatory:"false" json:"isIncludeAllSchemas"`

	// Indicates if all the existing sensitive types should be used by the discovery job. If it's set to true, the
	// sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery. If both
	// attributes are not provided, the configuration from the sensitive data model is used.
	IsIncludeAllSensitiveTypes *bool `mandatory:"false" json:"isIncludeAllSensitiveTypes"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateDiscoveryJobDetails Details to create a new data discovery job.

func (CreateDiscoveryJobDetails) String ¶

func (m CreateDiscoveryJobDetails) String() string

func (CreateDiscoveryJobDetails) ValidateEnumValue ¶

func (m CreateDiscoveryJobDetails) 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 CreateDiscoveryJobRequest ¶

type CreateDiscoveryJobRequest struct {

	// The details used to run an incremental data discovery job
	CreateDiscoveryJobDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateDiscoveryJobRequest wrapper for the CreateDiscoveryJob operation

See also ¶

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

func (CreateDiscoveryJobRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDiscoveryJobRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateDiscoveryJobRequest) RetryPolicy ¶

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

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

func (CreateDiscoveryJobRequest) String ¶

func (request CreateDiscoveryJobRequest) String() string

func (CreateDiscoveryJobRequest) ValidateEnumValue ¶

func (request CreateDiscoveryJobRequest) 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 CreateDiscoveryJobResponse ¶

type CreateDiscoveryJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 URI of the data discovery job.
	Location *string `presentIn:"header" name:"location"`
}

CreateDiscoveryJobResponse wrapper for the CreateDiscoveryJob operation

func (CreateDiscoveryJobResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateDiscoveryJobResponse) String ¶

func (response CreateDiscoveryJobResponse) String() string

type CreateLibraryMaskingFormatDetails ¶

type CreateLibraryMaskingFormatDetails struct {

	// The OCID of the compartment where the library masking format should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// An array of format entries. The combined output of all the format entries is used for masking.
	FormatEntries []FormatEntry `mandatory:"true" json:"formatEntries"`

	// The display name of the library masking format. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the library masking format.
	Description *string `mandatory:"false" json:"description"`

	// An array of OCIDs of the sensitive types compatible with the library masking format. It helps track the sensitive types for which the library masking format is being created.
	SensitiveTypeIds []string `mandatory:"false" json:"sensitiveTypeIds"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateLibraryMaskingFormatDetails Details to create a library masking format, which can have one or more format entries. A format entry can be a basic masking format such as Random Number, or it can be a library masking format. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking. Note that you cannot define masking condition in a library masking format.

func (CreateLibraryMaskingFormatDetails) String ¶

func (*CreateLibraryMaskingFormatDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateLibraryMaskingFormatDetails) ValidateEnumValue ¶

func (m CreateLibraryMaskingFormatDetails) 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 CreateLibraryMaskingFormatRequest ¶

type CreateLibraryMaskingFormatRequest struct {

	// Details to create a new library masking format.
	CreateLibraryMaskingFormatDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateLibraryMaskingFormatRequest wrapper for the CreateLibraryMaskingFormat operation

See also ¶

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

func (CreateLibraryMaskingFormatRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLibraryMaskingFormatRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateLibraryMaskingFormatRequest) RetryPolicy ¶

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

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

func (CreateLibraryMaskingFormatRequest) String ¶

func (request CreateLibraryMaskingFormatRequest) String() string

func (CreateLibraryMaskingFormatRequest) ValidateEnumValue ¶

func (request CreateLibraryMaskingFormatRequest) 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 CreateLibraryMaskingFormatResponse ¶

type CreateLibraryMaskingFormatResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 URI of the library masking format.
	Location *string `presentIn:"header" name:"location"`
}

CreateLibraryMaskingFormatResponse wrapper for the CreateLibraryMaskingFormat operation

func (CreateLibraryMaskingFormatResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateLibraryMaskingFormatResponse) String ¶

func (response CreateLibraryMaskingFormatResponse) String() string

type CreateMaskingColumnDetails ¶

type CreateMaskingColumnDetails struct {

	// The name of the schema that contains the database column. This attribute cannot be updated for an existing masking column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The name of the object (table or editioning view) that contains the database column. This attribute cannot be updated for an existing masking column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the database column. This attribute cannot be updated for an existing
	//  masking column. Note that the same name is used for the masking column. There
	//  is no separate displayName attribute for the masking column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The type of the object that contains the database column.
	ObjectType ObjectTypeEnum `mandatory:"false" json:"objectType,omitempty"`

	// The group of the masking column. It's a masking group identifier and can be any string
	// of acceptable length. All the columns in a group are masked together to ensure that
	// the masked data across these columns continue to retain the same logical relationship.
	// For more details, check
	// <a href=https://docs.oracle.com/en/cloud/paas/data-safe/udscs/group-masking1.html#GUID-755056B9-9540-48C0-9491-262A44A85037>Group Masking in the Data Safe documentation.</a>
	MaskingColumnGroup *string `mandatory:"false" json:"maskingColumnGroup"`

	// The OCID of the sensitive type to be associated with the masking column. Note that
	// if the maskingFormats attribute isn't provided while creating a masking column,
	// the default masking format associated with the specified sensitive type is assigned
	// to the masking column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Indicates if data masking is enabled for the masking column. Set it to false if
	// you don't want to mask the column.
	IsMaskingEnabled *bool `mandatory:"false" json:"isMaskingEnabled"`

	// The masking formats to be assigned to the masking column. You can specify a condition
	// as part of each masking format. It enables you to do
	// <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/conditional-masking.html">conditional masking</a>
	// so that you can mask the column data values differently using different masking
	// formats and the associated conditions. A masking format can have one or more format
	// entries. The combined output of all the format entries is used for masking. It
	// provides the flexibility to define a masking format that can generate different parts
	// of a data value separately and then combine them to get the final data value for masking.
	MaskingFormats []MaskingFormat `mandatory:"false" json:"maskingFormats"`
}

CreateMaskingColumnDetails Details to create a new masking column. You can use this to add a parent column only. It automatically adds the child columns from the associated sensitive data model or target database. If you provide the sensitiveTypeId attribute but not the maskingFormats attribute, it automatically assigns the default masking format associated with the specified sensitive type. Alternatively, if you provide the maskingFormats attribute, the specified masking formats are assigned to the column. Using the maskingFormats attribute, you can assign one or more masking formats to a column. You can specify a condition as part of each masking format. It enables you to do <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/conditional-masking.html">conditional masking</a> so that you can mask the column data values differently using different masking formats and the associated conditions. A masking format can have one or more format entries. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking. You can use the maskingColumnGroup attribute to group the columns that you would like to mask together. It enables you to do <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/group-masking1.html#GUID-755056B9-9540-48C0-9491-262A44A85037">group or compound masking</a> that ensures that the masked data across the columns in a group continue to retain the same logical relationship.

func (CreateMaskingColumnDetails) String ¶

func (CreateMaskingColumnDetails) ValidateEnumValue ¶

func (m CreateMaskingColumnDetails) 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 CreateMaskingColumnRequest ¶

type CreateMaskingColumnRequest struct {

	// Details to create a new masking column.
	CreateMaskingColumnDetails `contributesTo:"body"`

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateMaskingColumnRequest wrapper for the CreateMaskingColumn operation

See also ¶

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

func (CreateMaskingColumnRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateMaskingColumnRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateMaskingColumnRequest) RetryPolicy ¶

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

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

func (CreateMaskingColumnRequest) String ¶

func (request CreateMaskingColumnRequest) String() string

func (CreateMaskingColumnRequest) ValidateEnumValue ¶

func (request CreateMaskingColumnRequest) 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 CreateMaskingColumnResponse ¶

type CreateMaskingColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CreateMaskingColumnResponse wrapper for the CreateMaskingColumn operation

func (CreateMaskingColumnResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateMaskingColumnResponse) String ¶

func (response CreateMaskingColumnResponse) String() string

type CreateMaskingPolicyDetails ¶

type CreateMaskingPolicyDetails struct {

	// The OCID of the compartment where the masking policy should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	ColumnSource CreateColumnSourceDetails `mandatory:"true" json:"columnSource"`

	// The display name of the masking policy. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the masking policy.
	Description *string `mandatory:"false" json:"description"`

	// Indicates if the temporary tables created during a masking operation should be dropped after masking. It's enabled by default.
	// Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive
	// data values to mask values. By default, these temporary tables are dropped after masking. But, in some cases, you may want
	// to preserve this information to track how masking changed your data. Note that doing so compromises security. These tables
	// must be dropped before the database is available for unprivileged users.
	IsDropTempTablesEnabled *bool `mandatory:"false" json:"isDropTempTablesEnabled"`

	// Indicates if redo logging is enabled during a masking operation. It's disabled by default. Set this attribute to true to
	// enable redo logging. By default, masking disables redo logging and flashback logging to purge any original unmasked
	// data from logs. However, in certain circumstances when you only want to test masking, rollback changes, and retry masking,
	// you could enable logging and use a flashback database to retrieve the original unmasked data after it has been masked.
	IsRedoLoggingEnabled *bool `mandatory:"false" json:"isRedoLoggingEnabled"`

	// Indicates if statistics gathering is enabled. It's enabled by default. Set this attribute to false to disable statistics
	// gathering. The masking process gathers statistics on masked database tables after masking completes.
	IsRefreshStatsEnabled *bool `mandatory:"false" json:"isRefreshStatsEnabled"`

	// Specifies options to enable parallel execution when running data masking. Allowed values are 'NONE' (no parallelism),
	// 'DEFAULT' (the Oracle Database computes the optimum degree of parallelism) or an integer value to be used as the degree
	// of parallelism. Parallel execution helps effectively use multiple CPUs and improve masking performance. Refer to the
	// Oracle Database parallel execution framework when choosing an explicit degree of parallelism.
	ParallelDegree *string `mandatory:"false" json:"parallelDegree"`

	// Specifies how to recompile invalid objects post data masking. Allowed values are 'SERIAL' (recompile in serial),
	// 'PARALLEL' (recompile in parallel), 'NONE' (do not recompile). If it's set to PARALLEL, the value of parallelDegree
	// attribute is used. Note that few objects may remain invalid even after recompiling once and you may have to further
	// recompile manually using UTL_RECOMP package.
	Recompile MaskingPolicyRecompileEnum `mandatory:"false" json:"recompile,omitempty"`

	// A pre-masking script, which can contain SQL and PL/SQL statements. It's executed before
	// the core masking script generated using the masking policy. It's usually used to perform
	// any preparation or prerequisite work before masking data.
	PreMaskingScript *string `mandatory:"false" json:"preMaskingScript"`

	// A post-masking script, which can contain SQL and PL/SQL statements. It's executed after
	// the core masking script generated using the masking policy. It's usually used to perform
	// additional transformation or cleanup work after masking.
	PostMaskingScript *string `mandatory:"false" json:"postMaskingScript"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateMaskingPolicyDetails Details to create a new masking policy. Use either a sensitive data model or a reference target database to create your masking policy. To use a sensitive data model as the source of masking columns, set the columnSource attribute to SENSITIVE_DATA_MODEL and provide the sensitiveDataModelId attribute. After creating a masking policy, you can use the AddMaskingColumnsFromSdm operation to automatically add all the columns from the associated sensitive data model. In this case, the target database associated with the sensitive data model is used for column and masking format validations. You can also create a masking policy without using a sensitive data model. In this case, you need to associate your masking policy with a target database by setting the columnSource attribute to TARGET and providing the targetId attribute. The specified target database is used for column and masking format validations. After creating a masking policy, you can use the CreateMaskingColumn or PatchMaskingColumns operation to manually add columns to the policy. You need to add the parent columns only, and it automatically adds the child columns (in referential relationship with the parent columns) from the associated sensitive data model or target database.

func (CreateMaskingPolicyDetails) String ¶

func (*CreateMaskingPolicyDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateMaskingPolicyDetails) ValidateEnumValue ¶

func (m CreateMaskingPolicyDetails) 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 CreateMaskingPolicyRequest ¶

type CreateMaskingPolicyRequest struct {

	// Details to create a new masking policy.
	CreateMaskingPolicyDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateMaskingPolicyRequest wrapper for the CreateMaskingPolicy operation

See also ¶

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

func (CreateMaskingPolicyRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateMaskingPolicyRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateMaskingPolicyRequest) RetryPolicy ¶

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

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

func (CreateMaskingPolicyRequest) String ¶

func (request CreateMaskingPolicyRequest) String() string

func (CreateMaskingPolicyRequest) ValidateEnumValue ¶

func (request CreateMaskingPolicyRequest) 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 CreateMaskingPolicyResponse ¶

type CreateMaskingPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 URI of the masking policy.
	Location *string `presentIn:"header" name:"location"`
}

CreateMaskingPolicyResponse wrapper for the CreateMaskingPolicy operation

func (CreateMaskingPolicyResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateMaskingPolicyResponse) String ¶

func (response CreateMaskingPolicyResponse) String() string

type CreateOnPremConnectorDetails ¶

type CreateOnPremConnectorDetails struct {

	// The OCID of the compartment where you want to create the on-premises connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the on-premises connector. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the on-premises connector.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateOnPremConnectorDetails The details used to create a new on-premises connector.

func (CreateOnPremConnectorDetails) String ¶

func (CreateOnPremConnectorDetails) ValidateEnumValue ¶

func (m CreateOnPremConnectorDetails) 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 CreateOnPremConnectorRequest ¶

type CreateOnPremConnectorRequest struct {

	// The details used to create a new on-premises connector.
	CreateOnPremConnectorDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateOnPremConnectorRequest wrapper for the CreateOnPremConnector operation

See also ¶

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

func (CreateOnPremConnectorRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOnPremConnectorRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateOnPremConnectorRequest) RetryPolicy ¶

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

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

func (CreateOnPremConnectorRequest) String ¶

func (request CreateOnPremConnectorRequest) String() string

func (CreateOnPremConnectorRequest) ValidateEnumValue ¶

func (request CreateOnPremConnectorRequest) 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 CreateOnPremConnectorResponse ¶

type CreateOnPremConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 full URI of the on-premises connector.
	Location *string `presentIn:"header" name:"location"`
}

CreateOnPremConnectorResponse wrapper for the CreateOnPremConnector operation

func (CreateOnPremConnectorResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateOnPremConnectorResponse) String ¶

func (response CreateOnPremConnectorResponse) String() string

type CreateReportDefinitionDetails ¶

type CreateReportDefinitionDetails struct {

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

	// Specifies the name of the report definition.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the parent report definition.
	ParentId *string `mandatory:"true" json:"parentId"`

	// An array of column objects in the order (left to right) displayed in the report. A column object stores all information about a column, including the name displayed on the UI, corresponding field name in the data source, data type of the column, and column visibility (if the column is visible to the user).
	ColumnInfo []Column `mandatory:"true" json:"columnInfo"`

	// An array of column filter objects. A column Filter object stores all information about a column filter including field name, an operator, one or more expressions, if the filter is enabled, or if the filter is hidden.
	ColumnFilters []ColumnFilter `mandatory:"true" json:"columnFilters"`

	// An array of column sorting objects. Each column sorting object stores the column name to be sorted and if the sorting is in ascending order; sorting is done by the first column in the array, then by the second column in the array, etc.
	ColumnSortings []ColumnSorting `mandatory:"true" json:"columnSortings"`

	// An array of report summary objects in the order (left to right)  displayed in the report.  A  report summary object stores all information about summary of report to be displayed, including the name displayed on UI, the display order, corresponding group by and count of values, summary visibility (if the summary is visible to user).
	Summary []Summary `mandatory:"true" json:"summary"`

	// The description of the report definition.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateReportDefinitionDetails Description of a new report definition.

func (CreateReportDefinitionDetails) String ¶

func (CreateReportDefinitionDetails) ValidateEnumValue ¶

func (m CreateReportDefinitionDetails) 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 CreateReportDefinitionRequest ¶

type CreateReportDefinitionRequest struct {

	// Details for the new report definition.
	CreateReportDefinitionDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateReportDefinitionRequest wrapper for the CreateReportDefinition operation

See also ¶

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

func (CreateReportDefinitionRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateReportDefinitionRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateReportDefinitionRequest) RetryPolicy ¶

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

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

func (CreateReportDefinitionRequest) String ¶

func (request CreateReportDefinitionRequest) String() string

func (CreateReportDefinitionRequest) ValidateEnumValue ¶

func (request CreateReportDefinitionRequest) 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 CreateReportDefinitionResponse ¶

type CreateReportDefinitionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CreateReportDefinitionResponse wrapper for the CreateReportDefinition operation

func (CreateReportDefinitionResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateReportDefinitionResponse) String ¶

func (response CreateReportDefinitionResponse) String() string

type CreateSdmMaskingPolicyDifferenceDetails ¶ added in v65.35.0

type CreateSdmMaskingPolicyDifferenceDetails struct {

	// The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference
	// operation won't be allowed.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// The OCID of the compartment where the SDM masking policy difference resource should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of the SDM masking policy difference. It defines the difference scope.
	// NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy.
	// DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model.
	// MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified.
	// ALL covers all the above three scenarios and reports new, deleted and modified columns.
	DifferenceType SdmMaskingPolicyDifferenceDifferenceTypeEnum `mandatory:"false" json:"differenceType,omitempty"`

	// A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
	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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSdmMaskingPolicyDifferenceDetails Details to create a new SDM masking policy difference.

func (CreateSdmMaskingPolicyDifferenceDetails) String ¶ added in v65.35.0

func (CreateSdmMaskingPolicyDifferenceDetails) ValidateEnumValue ¶ added in v65.35.0

func (m CreateSdmMaskingPolicyDifferenceDetails) 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 CreateSdmMaskingPolicyDifferenceRequest ¶ added in v65.35.0

type CreateSdmMaskingPolicyDifferenceRequest struct {

	// The details used to create a SDM masking policy difference resource
	CreateSdmMaskingPolicyDifferenceDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateSdmMaskingPolicyDifferenceRequest wrapper for the CreateSdmMaskingPolicyDifference operation

See also ¶

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

func (CreateSdmMaskingPolicyDifferenceRequest) BinaryRequestBody ¶ added in v65.35.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSdmMaskingPolicyDifferenceRequest) HTTPRequest ¶ added in v65.35.0

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

HTTPRequest implements the OCIRequest interface

func (CreateSdmMaskingPolicyDifferenceRequest) RetryPolicy ¶ added in v65.35.0

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

func (CreateSdmMaskingPolicyDifferenceRequest) String ¶ added in v65.35.0

func (CreateSdmMaskingPolicyDifferenceRequest) ValidateEnumValue ¶ added in v65.35.0

func (request CreateSdmMaskingPolicyDifferenceRequest) 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 CreateSdmMaskingPolicyDifferenceResponse ¶ added in v65.35.0

type CreateSdmMaskingPolicyDifferenceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 URI of the SDM Masking policy difference.
	Location *string `presentIn:"header" name:"location"`
}

CreateSdmMaskingPolicyDifferenceResponse wrapper for the CreateSdmMaskingPolicyDifference operation

func (CreateSdmMaskingPolicyDifferenceResponse) HTTPResponse ¶ added in v65.35.0

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

HTTPResponse implements the OCIResponse interface

func (CreateSdmMaskingPolicyDifferenceResponse) String ¶ added in v65.35.0

type CreateSecurityAssessmentDetails ¶

type CreateSecurityAssessmentDetails struct {

	// The OCID of the compartment that contains the security assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the target database on which security assessment is to be run.
	TargetId *string `mandatory:"true" json:"targetId"`

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

	// Description of the security assessment.
	Description *string `mandatory:"false" json:"description"`

	// To schedule the assessment for running periodically, specify the schedule in this attribute.
	// Create or schedule one assessment per compartment. If not defined, the assessment runs immediately.
	// Format -
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	// <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSecurityAssessmentDetails The details used to save a security assessment.

func (CreateSecurityAssessmentDetails) String ¶

func (CreateSecurityAssessmentDetails) ValidateEnumValue ¶

func (m CreateSecurityAssessmentDetails) 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 CreateSecurityAssessmentRequest ¶

type CreateSecurityAssessmentRequest struct {

	// The details used to create a new saved security assessment.
	CreateSecurityAssessmentDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateSecurityAssessmentRequest wrapper for the CreateSecurityAssessment operation

See also ¶

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

func (CreateSecurityAssessmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityAssessmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateSecurityAssessmentRequest) RetryPolicy ¶

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

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

func (CreateSecurityAssessmentRequest) String ¶

func (request CreateSecurityAssessmentRequest) String() string

func (CreateSecurityAssessmentRequest) ValidateEnumValue ¶

func (request CreateSecurityAssessmentRequest) 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 CreateSecurityAssessmentResponse ¶

type CreateSecurityAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

	// Full URI of the created security assessment.
	Location *string `presentIn:"header" name:"location"`
}

CreateSecurityAssessmentResponse wrapper for the CreateSecurityAssessment operation

func (CreateSecurityAssessmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateSecurityAssessmentResponse) String ¶

func (response CreateSecurityAssessmentResponse) String() string

type CreateSensitiveCategoryDetails ¶

type CreateSensitiveCategoryDetails struct {

	// The OCID of the compartment where the sensitive type should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the sensitive type. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSensitiveCategoryDetails Details to create a new sensitive category.

func (CreateSensitiveCategoryDetails) GetCompartmentId ¶

func (m CreateSensitiveCategoryDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateSensitiveCategoryDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateSensitiveCategoryDetails) GetDescription ¶

func (m CreateSensitiveCategoryDetails) GetDescription() *string

GetDescription returns Description

func (CreateSensitiveCategoryDetails) GetDisplayName ¶

func (m CreateSensitiveCategoryDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateSensitiveCategoryDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateSensitiveCategoryDetails) GetParentCategoryId ¶

func (m CreateSensitiveCategoryDetails) GetParentCategoryId() *string

GetParentCategoryId returns ParentCategoryId

func (CreateSensitiveCategoryDetails) GetShortName ¶

func (m CreateSensitiveCategoryDetails) GetShortName() *string

GetShortName returns ShortName

func (CreateSensitiveCategoryDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateSensitiveCategoryDetails) String ¶

func (CreateSensitiveCategoryDetails) ValidateEnumValue ¶

func (m CreateSensitiveCategoryDetails) 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 CreateSensitiveColumnDetails ¶

type CreateSensitiveColumnDetails struct {

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the sensitive column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the sensitive column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The name of the application associated with the sensitive column. It's useful when the application name is
	// different from the schema name. Otherwise, it can be ignored. If this attribute is not provided, it's automatically
	// populated with the value provided for the schemaName attribute.
	AppName *string `mandatory:"false" json:"appName"`

	// The type of the database object that contains the sensitive column.
	ObjectType CreateSensitiveColumnDetailsObjectTypeEnum `mandatory:"false" json:"objectType,omitempty"`

	// The data type of the sensitive column.
	DataType *string `mandatory:"false" json:"dataType"`

	// The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column
	// is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental
	// data discovery job does not identify these columns as sensitive.
	Status CreateSensitiveColumnDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The OCID of the sensitive type to be associated with the sensitive column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Unique keys identifying the columns that are parents of the sensitive column. At present, it accepts only one
	// parent column key. This attribute can be used to establish relationship between columns in a sensitive data model.
	// Note that the parent column must be added to the sensitive data model before its key can be specified here.
	// If this attribute is provided, the appDefinedChildColumnKeys or dbDefinedChildColumnKeys attribute of the parent
	// column is automatically updated to reflect the relationship.
	ParentColumnKeys []string `mandatory:"false" json:"parentColumnKeys"`

	// The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive
	// column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary.
	// APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
	RelationType CreateSensitiveColumnDetailsRelationTypeEnum `mandatory:"false" json:"relationType,omitempty"`

	// Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
	// This attribute can be used to establish relationship between columns in a sensitive data model. Note that the
	// child columns must be added to the sensitive data model before their keys can be specified here. If this attribute
	// is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.
	AppDefinedChildColumnKeys []string `mandatory:"false" json:"appDefinedChildColumnKeys"`

	// Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
	// This attribute can be used to establish relationship between columns in a sensitive data model. Note that the
	// child columns must be added to the sensitive data model before their keys can be specified here. If this attribute
	// is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.
	DbDefinedChildColumnKeys []string `mandatory:"false" json:"dbDefinedChildColumnKeys"`
}

CreateSensitiveColumnDetails Details to create a new sensitive column in a sensitive data model.

func (CreateSensitiveColumnDetails) String ¶

func (CreateSensitiveColumnDetails) ValidateEnumValue ¶

func (m CreateSensitiveColumnDetails) 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 CreateSensitiveColumnDetailsObjectTypeEnum ¶

type CreateSensitiveColumnDetailsObjectTypeEnum string

CreateSensitiveColumnDetailsObjectTypeEnum Enum with underlying type: string

const (
	CreateSensitiveColumnDetailsObjectTypeTable          CreateSensitiveColumnDetailsObjectTypeEnum = "TABLE"
	CreateSensitiveColumnDetailsObjectTypeEditioningView CreateSensitiveColumnDetailsObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for CreateSensitiveColumnDetailsObjectTypeEnum

func GetCreateSensitiveColumnDetailsObjectTypeEnumValues ¶

func GetCreateSensitiveColumnDetailsObjectTypeEnumValues() []CreateSensitiveColumnDetailsObjectTypeEnum

GetCreateSensitiveColumnDetailsObjectTypeEnumValues Enumerates the set of values for CreateSensitiveColumnDetailsObjectTypeEnum

func GetMappingCreateSensitiveColumnDetailsObjectTypeEnum ¶

func GetMappingCreateSensitiveColumnDetailsObjectTypeEnum(val string) (CreateSensitiveColumnDetailsObjectTypeEnum, bool)

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

type CreateSensitiveColumnDetailsRelationTypeEnum ¶

type CreateSensitiveColumnDetailsRelationTypeEnum string

CreateSensitiveColumnDetailsRelationTypeEnum Enum with underlying type: string

const (
	CreateSensitiveColumnDetailsRelationTypeNone       CreateSensitiveColumnDetailsRelationTypeEnum = "NONE"
	CreateSensitiveColumnDetailsRelationTypeAppDefined CreateSensitiveColumnDetailsRelationTypeEnum = "APP_DEFINED"
	CreateSensitiveColumnDetailsRelationTypeDbDefined  CreateSensitiveColumnDetailsRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for CreateSensitiveColumnDetailsRelationTypeEnum

func GetCreateSensitiveColumnDetailsRelationTypeEnumValues ¶

func GetCreateSensitiveColumnDetailsRelationTypeEnumValues() []CreateSensitiveColumnDetailsRelationTypeEnum

GetCreateSensitiveColumnDetailsRelationTypeEnumValues Enumerates the set of values for CreateSensitiveColumnDetailsRelationTypeEnum

func GetMappingCreateSensitiveColumnDetailsRelationTypeEnum ¶

func GetMappingCreateSensitiveColumnDetailsRelationTypeEnum(val string) (CreateSensitiveColumnDetailsRelationTypeEnum, bool)

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

type CreateSensitiveColumnDetailsStatusEnum ¶

type CreateSensitiveColumnDetailsStatusEnum string

CreateSensitiveColumnDetailsStatusEnum Enum with underlying type: string

const (
	CreateSensitiveColumnDetailsStatusValid   CreateSensitiveColumnDetailsStatusEnum = "VALID"
	CreateSensitiveColumnDetailsStatusInvalid CreateSensitiveColumnDetailsStatusEnum = "INVALID"
)

Set of constants representing the allowable values for CreateSensitiveColumnDetailsStatusEnum

func GetCreateSensitiveColumnDetailsStatusEnumValues ¶

func GetCreateSensitiveColumnDetailsStatusEnumValues() []CreateSensitiveColumnDetailsStatusEnum

GetCreateSensitiveColumnDetailsStatusEnumValues Enumerates the set of values for CreateSensitiveColumnDetailsStatusEnum

func GetMappingCreateSensitiveColumnDetailsStatusEnum ¶

func GetMappingCreateSensitiveColumnDetailsStatusEnum(val string) (CreateSensitiveColumnDetailsStatusEnum, bool)

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

type CreateSensitiveColumnRequest ¶

type CreateSensitiveColumnRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to create a new sensitive column.
	CreateSensitiveColumnDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateSensitiveColumnRequest wrapper for the CreateSensitiveColumn operation

See also ¶

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

func (CreateSensitiveColumnRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSensitiveColumnRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateSensitiveColumnRequest) RetryPolicy ¶

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

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

func (CreateSensitiveColumnRequest) String ¶

func (request CreateSensitiveColumnRequest) String() string

func (CreateSensitiveColumnRequest) ValidateEnumValue ¶

func (request CreateSensitiveColumnRequest) 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 CreateSensitiveColumnResponse ¶

type CreateSensitiveColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CreateSensitiveColumnResponse wrapper for the CreateSensitiveColumn operation

func (CreateSensitiveColumnResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateSensitiveColumnResponse) String ¶

func (response CreateSensitiveColumnResponse) String() string

type CreateSensitiveDataModelDetails ¶

type CreateSensitiveDataModelDetails struct {

	// The OCID of the compartment where the sensitive data model should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the reference target database to be associated with the sensitive data model. All operations such
	// as performing data discovery and adding columns manually are done in the context of the associated target database.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
	AppSuiteName *string `mandatory:"false" json:"appSuiteName"`

	// The description of the sensitive data model.
	Description *string `mandatory:"false" json:"description"`

	// The schemas to be scanned by data discovery jobs.
	SchemasForDiscovery []string `mandatory:"false" json:"schemasForDiscovery"`

	// The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided,
	// all its child sensitive types are used for data discovery.
	SensitiveTypeIdsForDiscovery []string `mandatory:"false" json:"sensitiveTypeIdsForDiscovery"`

	// Indicates if data discovery jobs should collect and store sample data values for the discovered columns.
	// Sample data helps review the discovered columns and ensure that they actually contain sensitive data.
	// As it collects original data from the target database, it's disabled by default and should be used only
	// if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values
	// are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
	IsSampleDataCollectionEnabled *bool `mandatory:"false" json:"isSampleDataCollectionEnabled"`

	// Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships
	// between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships.
	// This option helps identify application-level relationships that are not defined in the database dictionary, which in turn,
	// helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default
	// and should be used only if there is a need to identify application-level relationships.
	IsAppDefinedRelationDiscoveryEnabled *bool `mandatory:"false" json:"isAppDefinedRelationDiscoveryEnabled"`

	// Indicates if all the schemas in the associated target database should be scanned by data discovery jobs.
	// If it's set to true, the schemasForDiscovery attribute is ignored and all schemas are used for data discovery.
	IsIncludeAllSchemas *bool `mandatory:"false" json:"isIncludeAllSchemas"`

	// Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true,
	// the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
	IsIncludeAllSensitiveTypes *bool `mandatory:"false" json:"isIncludeAllSensitiveTypes"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSensitiveDataModelDetails Details to create a new sensitive data model. If schemas and sensitive types are provided, it automatically runs data discovery and adds the discovered columns to the sensitive data model. Otherwise, it creates an empty sensitive data model that can be updated later. To specify some schemas and sensitive types for data discovery, use schemasForDiscovery and sensitiveTypeIdsForDiscovery attributes. But if you want to include all schemas and sensitive types, you can set isIncludeAllSchemas and isIncludeAllSensitiveTypes attributes to true. In the latter case, you do not need to list all schemas and sensitive types.

func (CreateSensitiveDataModelDetails) String ¶

func (CreateSensitiveDataModelDetails) ValidateEnumValue ¶

func (m CreateSensitiveDataModelDetails) 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 CreateSensitiveDataModelRequest ¶

type CreateSensitiveDataModelRequest struct {

	// Details to create a new sensitive data model.
	CreateSensitiveDataModelDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateSensitiveDataModelRequest wrapper for the CreateSensitiveDataModel operation

See also ¶

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

func (CreateSensitiveDataModelRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSensitiveDataModelRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateSensitiveDataModelRequest) RetryPolicy ¶

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

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

func (CreateSensitiveDataModelRequest) String ¶

func (request CreateSensitiveDataModelRequest) String() string

func (CreateSensitiveDataModelRequest) ValidateEnumValue ¶

func (request CreateSensitiveDataModelRequest) 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 CreateSensitiveDataModelResponse ¶

type CreateSensitiveDataModelResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 URI of the sensitive data model.
	Location *string `presentIn:"header" name:"location"`
}

CreateSensitiveDataModelResponse wrapper for the CreateSensitiveDataModel operation

func (CreateSensitiveDataModelResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateSensitiveDataModelResponse) String ¶

func (response CreateSensitiveDataModelResponse) String() string

type CreateSensitiveTypeDetails ¶

type CreateSensitiveTypeDetails interface {

	// The OCID of the compartment where the sensitive type should be created.
	GetCompartmentId() *string

	// The display name of the sensitive type. The name does not have to be unique, and it's changeable.
	GetDisplayName() *string

	// The short name of the sensitive type.
	GetShortName() *string

	// The description of the sensitive type.
	GetDescription() *string

	// The OCID of the parent sensitive category.
	GetParentCategoryId() *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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

CreateSensitiveTypeDetails Details to create a new sensitive type.

type CreateSensitiveTypePatternDetails ¶

type CreateSensitiveTypePatternDetails struct {

	// The OCID of the compartment where the sensitive type should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the sensitive type. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A regular expression to be used by data discovery for matching column names.
	NamePattern *string `mandatory:"false" json:"namePattern"`

	// A regular expression to be used by data discovery for matching column comments.
	CommentPattern *string `mandatory:"false" json:"commentPattern"`

	// A regular expression to be used by data discovery for matching column data values.
	DataPattern *string `mandatory:"false" json:"dataPattern"`

	// The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
	DefaultMaskingFormatId *string `mandatory:"false" json:"defaultMaskingFormatId"`

	// The search type indicating how the column name, comment and data patterns should be used by data discovery.
	// Learn more (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-1D1AD98E-B93F-4FF2-80AE-CB7D8A14F6CC).
	SearchType SensitiveTypePatternSearchTypeEnum `mandatory:"false" json:"searchType,omitempty"`
}

CreateSensitiveTypePatternDetails Details to create a new sensitive type with regular expressions.

func (CreateSensitiveTypePatternDetails) GetCompartmentId ¶

func (m CreateSensitiveTypePatternDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateSensitiveTypePatternDetails) GetDefinedTags ¶

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

GetDefinedTags returns DefinedTags

func (CreateSensitiveTypePatternDetails) GetDescription ¶

func (m CreateSensitiveTypePatternDetails) GetDescription() *string

GetDescription returns Description

func (CreateSensitiveTypePatternDetails) GetDisplayName ¶

func (m CreateSensitiveTypePatternDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateSensitiveTypePatternDetails) GetFreeformTags ¶

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

GetFreeformTags returns FreeformTags

func (CreateSensitiveTypePatternDetails) GetParentCategoryId ¶

func (m CreateSensitiveTypePatternDetails) GetParentCategoryId() *string

GetParentCategoryId returns ParentCategoryId

func (CreateSensitiveTypePatternDetails) GetShortName ¶

func (m CreateSensitiveTypePatternDetails) GetShortName() *string

GetShortName returns ShortName

func (CreateSensitiveTypePatternDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CreateSensitiveTypePatternDetails) String ¶

func (CreateSensitiveTypePatternDetails) ValidateEnumValue ¶

func (m CreateSensitiveTypePatternDetails) 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 CreateSensitiveTypeRequest ¶

type CreateSensitiveTypeRequest struct {

	// Details to create a new sensitive type.
	CreateSensitiveTypeDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateSensitiveTypeRequest wrapper for the CreateSensitiveType operation

See also ¶

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

func (CreateSensitiveTypeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateSensitiveTypeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateSensitiveTypeRequest) RetryPolicy ¶

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

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

func (CreateSensitiveTypeRequest) String ¶

func (request CreateSensitiveTypeRequest) String() string

func (CreateSensitiveTypeRequest) ValidateEnumValue ¶

func (request CreateSensitiveTypeRequest) 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 CreateSensitiveTypeResponse ¶

type CreateSensitiveTypeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 URI of the sensitive type.
	Location *string `presentIn:"header" name:"location"`
}

CreateSensitiveTypeResponse wrapper for the CreateSensitiveType operation

func (CreateSensitiveTypeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateSensitiveTypeResponse) String ¶

func (response CreateSensitiveTypeResponse) String() string

type CreateTargetAlertPolicyAssociationDetails ¶

type CreateTargetAlertPolicyAssociationDetails struct {

	// The OCID of the alert policy.
	PolicyId *string `mandatory:"true" json:"policyId"`

	// The OCID of the target.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The OCID of the compartment where the target-alert policy association is created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Indicates if the target-alert policy association is enabled or disabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The display name of the target-alert policy association.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Describes the target-alert policy association.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateTargetAlertPolicyAssociationDetails The details used to create a new target-alert policy association.

func (CreateTargetAlertPolicyAssociationDetails) String ¶

func (CreateTargetAlertPolicyAssociationDetails) ValidateEnumValue ¶

func (m CreateTargetAlertPolicyAssociationDetails) 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 CreateTargetAlertPolicyAssociationRequest ¶

type CreateTargetAlertPolicyAssociationRequest struct {

	// The details used to create a new target-alert policy association.
	CreateTargetAlertPolicyAssociationDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateTargetAlertPolicyAssociationRequest wrapper for the CreateTargetAlertPolicyAssociation operation

See also ¶

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

func (CreateTargetAlertPolicyAssociationRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetAlertPolicyAssociationRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateTargetAlertPolicyAssociationRequest) RetryPolicy ¶

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

func (CreateTargetAlertPolicyAssociationRequest) String ¶

func (CreateTargetAlertPolicyAssociationRequest) ValidateEnumValue ¶

func (request CreateTargetAlertPolicyAssociationRequest) 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 CreateTargetAlertPolicyAssociationResponse ¶

type CreateTargetAlertPolicyAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 full URI of the target-alert policy association.
	Location *string `presentIn:"header" name:"location"`
}

CreateTargetAlertPolicyAssociationResponse wrapper for the CreateTargetAlertPolicyAssociation operation

func (CreateTargetAlertPolicyAssociationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetAlertPolicyAssociationResponse) String ¶

type CreateTargetDatabaseDetails ¶

type CreateTargetDatabaseDetails struct {

	// The OCID of the compartment in which to create the Data Safe target database.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	DatabaseDetails DatabaseDetails `mandatory:"true" json:"databaseDetails"`

	// The display name of the target database in Data Safe. The name is modifiable and does not need to be unique.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the target database in Data Safe.
	Description *string `mandatory:"false" json:"description"`

	Credentials *Credentials `mandatory:"false" json:"credentials"`

	TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"`

	ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateTargetDatabaseDetails The details used to register the database in Data Safe and to create the Data Safe target database.

func (CreateTargetDatabaseDetails) String ¶

func (*CreateTargetDatabaseDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateTargetDatabaseDetails) ValidateEnumValue ¶

func (m CreateTargetDatabaseDetails) 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 CreateTargetDatabaseRequest ¶

type CreateTargetDatabaseRequest struct {

	// Details of the target database.
	CreateTargetDatabaseDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateTargetDatabaseRequest wrapper for the CreateTargetDatabase operation

See also ¶

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

func (CreateTargetDatabaseRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetDatabaseRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateTargetDatabaseRequest) RetryPolicy ¶

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

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

func (CreateTargetDatabaseRequest) String ¶

func (request CreateTargetDatabaseRequest) String() string

func (CreateTargetDatabaseRequest) ValidateEnumValue ¶

func (request CreateTargetDatabaseRequest) 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 CreateTargetDatabaseResponse ¶

type CreateTargetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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 full URI of the target database.
	Location *string `presentIn:"header" name:"location"`
}

CreateTargetDatabaseResponse wrapper for the CreateTargetDatabase operation

func (CreateTargetDatabaseResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetDatabaseResponse) String ¶

func (response CreateTargetDatabaseResponse) String() string

type CreateUserAssessmentDetails ¶

type CreateUserAssessmentDetails struct {

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the target database on which the user assessment is to be run.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The description of the user assessment.
	Description *string `mandatory:"false" json:"description"`

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

	// To schedule the assessment for saving periodically, specify the schedule in this attribute.
	// Create or schedule one assessment per compartment. If not defined, the assessment runs immediately.
	//  Format -
	//   <version-string>;<version-specific-schedule>
	//   Allowed version strings - "v1"
	//   v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	//   Each of the above fields potentially introduce constraints. A workrequest is created only
	//   when clock time satisfies all the constraints. Constraints introduced:
	//   1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	//   2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	//   3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	//   <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	//   4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	//   <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	//   5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateUserAssessmentDetails The details required to save a user assessment.

func (CreateUserAssessmentDetails) String ¶

func (CreateUserAssessmentDetails) ValidateEnumValue ¶

func (m CreateUserAssessmentDetails) 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 CreateUserAssessmentRequest ¶

type CreateUserAssessmentRequest struct {

	// The details used to create a new saved user assessment.
	CreateUserAssessmentDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateUserAssessmentRequest wrapper for the CreateUserAssessment operation

See also ¶

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

func (CreateUserAssessmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateUserAssessmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateUserAssessmentRequest) RetryPolicy ¶

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

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

func (CreateUserAssessmentRequest) String ¶

func (request CreateUserAssessmentRequest) String() string

func (CreateUserAssessmentRequest) ValidateEnumValue ¶

func (request CreateUserAssessmentRequest) 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 CreateUserAssessmentResponse ¶

type CreateUserAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

	// Full URI of the created user assessment.
	Location *string `presentIn:"header" name:"location"`
}

CreateUserAssessmentResponse wrapper for the CreateUserAssessment operation

func (CreateUserAssessmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateUserAssessmentResponse) String ¶

func (response CreateUserAssessmentResponse) String() string

type Credentials ¶

type Credentials struct {

	// The database user name.
	UserName *string `mandatory:"true" json:"userName"`

	// The password of the database user.
	Password *string `mandatory:"true" json:"password"`
}

Credentials The database credentials required for Data Safe to connect to the database.

func (Credentials) String ¶

func (m Credentials) String() string

func (Credentials) ValidateEnumValue ¶

func (m Credentials) 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 DataModelFormatEnum ¶

type DataModelFormatEnum string

DataModelFormatEnum Enum with underlying type: string

const (
	DataModelFormatXml DataModelFormatEnum = "XML"
)

Set of constants representing the allowable values for DataModelFormatEnum

func GetDataModelFormatEnumValues ¶

func GetDataModelFormatEnumValues() []DataModelFormatEnum

GetDataModelFormatEnumValues Enumerates the set of values for DataModelFormatEnum

func GetMappingDataModelFormatEnum ¶

func GetMappingDataModelFormatEnum(val string) (DataModelFormatEnum, bool)

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

type DataSafeClient ¶

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

DataSafeClient a client for DataSafe

func NewDataSafeClientWithConfigurationProvider ¶

func NewDataSafeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataSafeClient, err error)

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

func NewDataSafeClientWithOboToken ¶

func NewDataSafeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataSafeClient, err error)

NewDataSafeClientWithOboToken Creates a new default DataSafe 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 (DataSafeClient) ActivateTargetDatabase ¶

func (client DataSafeClient) ActivateTargetDatabase(ctx context.Context, request ActivateTargetDatabaseRequest) (response ActivateTargetDatabaseResponse, err error)

ActivateTargetDatabase Reactivates a previously deactivated Data Safe target database.

See also ¶

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

func (DataSafeClient) AddMaskingColumnsFromSdm ¶

func (client DataSafeClient) AddMaskingColumnsFromSdm(ctx context.Context, request AddMaskingColumnsFromSdmRequest) (response AddMaskingColumnsFromSdmResponse, err error)

AddMaskingColumnsFromSdm Adds columns to the specified masking policy from the associated sensitive data model. It automatically pulls all the sensitive columns and their relationships from the sensitive data model and uses this information to create columns in the masking policy. It also assigns default masking formats to these columns based on the associated sensitive types.

See also ¶

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

func (DataSafeClient) AlertsUpdate ¶ added in v65.27.0

func (client DataSafeClient) AlertsUpdate(ctx context.Context, request AlertsUpdateRequest) (response AlertsUpdateResponse, err error)

AlertsUpdate Updates alerts in the specified compartment.

See also ¶

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

func (DataSafeClient) ApplyDiscoveryJobResults ¶

func (client DataSafeClient) ApplyDiscoveryJobResults(ctx context.Context, request ApplyDiscoveryJobResultsRequest) (response ApplyDiscoveryJobResultsResponse, err error)

ApplyDiscoveryJobResults Applies the results of a discovery job to the specified sensitive data model. Note that the plannedAction attribute of discovery results is used for processing them. You should first use PatchDiscoveryJobResults to set the plannedAction attribute of the discovery results you want to process. ApplyDiscoveryJobResults automatically reads the plannedAction attribute and updates the sensitive data model to reflect the actions you planned.

See also ¶

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

func (DataSafeClient) ApplySdmMaskingPolicyDifference ¶ added in v65.35.0

func (client DataSafeClient) ApplySdmMaskingPolicyDifference(ctx context.Context, request ApplySdmMaskingPolicyDifferenceRequest) (response ApplySdmMaskingPolicyDifferenceResponse, err error)

ApplySdmMaskingPolicyDifference Applies the difference of a SDM Masking policy difference resource to the specified masking policy. Note that the plannedAction attribute of difference columns is used for processing. You should first use PatchSdmMaskingPolicyDifferenceColumns to set the plannedAction attribute of the difference columns you want to process. ApplySdmMaskingPolicyDifference automatically reads the plannedAction attribute and updates the masking policy to reflect the actions you planned. If the sdmMaskingPolicydifferenceId is not passed, the latest sdmMaskingPolicydifference is used. Note that if the masking policy associated with the SdmMaskingPolicyDifference used for this operation is not associated with the original SDM anymore, this operation won't be allowed.

See also ¶

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

func (DataSafeClient) CalculateAuditVolumeAvailable ¶

func (client DataSafeClient) CalculateAuditVolumeAvailable(ctx context.Context, request CalculateAuditVolumeAvailableRequest) (response CalculateAuditVolumeAvailableResponse, err error)

CalculateAuditVolumeAvailable Calculates the volume of audit events available on the target database to be collected. Measurable up to the defined retention period of the audit target resource.

See also ¶

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

func (DataSafeClient) CalculateAuditVolumeCollected ¶

func (client DataSafeClient) CalculateAuditVolumeCollected(ctx context.Context, request CalculateAuditVolumeCollectedRequest) (response CalculateAuditVolumeCollectedResponse, err error)

CalculateAuditVolumeCollected Calculates the volume of audit events collected by data safe.

See also ¶

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

func (DataSafeClient) CancelWorkRequest ¶

func (client DataSafeClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancel the given work request.

See also ¶

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

func (DataSafeClient) ChangeAlertCompartment ¶

func (client DataSafeClient) ChangeAlertCompartment(ctx context.Context, request ChangeAlertCompartmentRequest) (response ChangeAlertCompartmentResponse, err error)

ChangeAlertCompartment Moves the specified alert into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeAuditArchiveRetrievalCompartment ¶

func (client DataSafeClient) ChangeAuditArchiveRetrievalCompartment(ctx context.Context, request ChangeAuditArchiveRetrievalCompartmentRequest) (response ChangeAuditArchiveRetrievalCompartmentResponse, err error)

ChangeAuditArchiveRetrievalCompartment Moves the archive retreival to the specified compartment. When provided, if-Match is checked against ETag value of the resource.

See also ¶

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

func (DataSafeClient) ChangeAuditPolicyCompartment ¶

func (client DataSafeClient) ChangeAuditPolicyCompartment(ctx context.Context, request ChangeAuditPolicyCompartmentRequest) (response ChangeAuditPolicyCompartmentResponse, err error)

ChangeAuditPolicyCompartment Moves the specified audit policy and its dependent resources into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeAuditProfileCompartment ¶

func (client DataSafeClient) ChangeAuditProfileCompartment(ctx context.Context, request ChangeAuditProfileCompartmentRequest) (response ChangeAuditProfileCompartmentResponse, err error)

ChangeAuditProfileCompartment Moves the specified audit profile and its dependent resources into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeDataSafePrivateEndpointCompartment ¶

func (client DataSafeClient) ChangeDataSafePrivateEndpointCompartment(ctx context.Context, request ChangeDataSafePrivateEndpointCompartmentRequest) (response ChangeDataSafePrivateEndpointCompartmentResponse, err error)

ChangeDataSafePrivateEndpointCompartment Moves the Data Safe private endpoint and its dependent resources to the specified compartment.

See also ¶

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

func (DataSafeClient) ChangeDiscoveryJobCompartment ¶

func (client DataSafeClient) ChangeDiscoveryJobCompartment(ctx context.Context, request ChangeDiscoveryJobCompartmentRequest) (response ChangeDiscoveryJobCompartmentResponse, err error)

ChangeDiscoveryJobCompartment Moves the specified discovery job and its dependent resources into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeLibraryMaskingFormatCompartment ¶

func (client DataSafeClient) ChangeLibraryMaskingFormatCompartment(ctx context.Context, request ChangeLibraryMaskingFormatCompartmentRequest) (response ChangeLibraryMaskingFormatCompartmentResponse, err error)

ChangeLibraryMaskingFormatCompartment Moves the specified library masking format into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeMaskingPolicyCompartment ¶

func (client DataSafeClient) ChangeMaskingPolicyCompartment(ctx context.Context, request ChangeMaskingPolicyCompartmentRequest) (response ChangeMaskingPolicyCompartmentResponse, err error)

ChangeMaskingPolicyCompartment Moves the specified masking policy and its dependent resources into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeOnPremConnectorCompartment ¶

func (client DataSafeClient) ChangeOnPremConnectorCompartment(ctx context.Context, request ChangeOnPremConnectorCompartmentRequest) (response ChangeOnPremConnectorCompartmentResponse, err error)

ChangeOnPremConnectorCompartment Moves the specified on-premises connector into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeReportCompartment ¶

func (client DataSafeClient) ChangeReportCompartment(ctx context.Context, request ChangeReportCompartmentRequest) (response ChangeReportCompartmentResponse, err error)

ChangeReportCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also ¶

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

func (DataSafeClient) ChangeReportDefinitionCompartment ¶

func (client DataSafeClient) ChangeReportDefinitionCompartment(ctx context.Context, request ChangeReportDefinitionCompartmentRequest) (response ChangeReportDefinitionCompartmentResponse, err error)

ChangeReportDefinitionCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also ¶

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

func (DataSafeClient) ChangeRetention ¶

func (client DataSafeClient) ChangeRetention(ctx context.Context, request ChangeRetentionRequest) (response ChangeRetentionResponse, err error)

ChangeRetention Change the online and offline months .

See also ¶

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

func (DataSafeClient) ChangeSdmMaskingPolicyDifferenceCompartment ¶ added in v65.35.0

func (client DataSafeClient) ChangeSdmMaskingPolicyDifferenceCompartment(ctx context.Context, request ChangeSdmMaskingPolicyDifferenceCompartmentRequest) (response ChangeSdmMaskingPolicyDifferenceCompartmentResponse, err error)

ChangeSdmMaskingPolicyDifferenceCompartment Moves the specified SDM masking policy difference into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeSecurityAssessmentCompartment ¶

func (client DataSafeClient) ChangeSecurityAssessmentCompartment(ctx context.Context, request ChangeSecurityAssessmentCompartmentRequest) (response ChangeSecurityAssessmentCompartmentResponse, err error)

ChangeSecurityAssessmentCompartment Moves the specified saved security assessment or future scheduled assessments into a different compartment. To start, call first the operation ListSecurityAssessments with filters "type = save_schedule". This returns the scheduleAssessmentId. Then, call this changeCompartment with the scheduleAssessmentId. The existing saved security assessments created due to the schedule are not moved. However, all new saves will be associated with the new compartment.

See also ¶

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

func (DataSafeClient) ChangeSensitiveDataModelCompartment ¶

func (client DataSafeClient) ChangeSensitiveDataModelCompartment(ctx context.Context, request ChangeSensitiveDataModelCompartmentRequest) (response ChangeSensitiveDataModelCompartmentResponse, err error)

ChangeSensitiveDataModelCompartment Moves the specified sensitive data model and its dependent resources into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeSensitiveTypeCompartment ¶

func (client DataSafeClient) ChangeSensitiveTypeCompartment(ctx context.Context, request ChangeSensitiveTypeCompartmentRequest) (response ChangeSensitiveTypeCompartmentResponse, err error)

ChangeSensitiveTypeCompartment Moves the specified sensitive type into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeTargetAlertPolicyAssociationCompartment ¶

func (client DataSafeClient) ChangeTargetAlertPolicyAssociationCompartment(ctx context.Context, request ChangeTargetAlertPolicyAssociationCompartmentRequest) (response ChangeTargetAlertPolicyAssociationCompartmentResponse, err error)

ChangeTargetAlertPolicyAssociationCompartment Moves the specified target-alert policy Association into a different compartment.

See also ¶

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

func (DataSafeClient) ChangeTargetDatabaseCompartment ¶

func (client DataSafeClient) ChangeTargetDatabaseCompartment(ctx context.Context, request ChangeTargetDatabaseCompartmentRequest) (response ChangeTargetDatabaseCompartmentResponse, err error)

ChangeTargetDatabaseCompartment Moves the Data Safe target database to the specified compartment.

See also ¶

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

func (DataSafeClient) ChangeUserAssessmentCompartment ¶

func (client DataSafeClient) ChangeUserAssessmentCompartment(ctx context.Context, request ChangeUserAssessmentCompartmentRequest) (response ChangeUserAssessmentCompartmentResponse, err error)

ChangeUserAssessmentCompartment Moves the specified saved user assessment or future scheduled assessments into a different compartment. To start storing scheduled user assessments on a different compartment, first call the operation ListUserAssessments with the filters "type = save_schedule". That call returns the scheduleAssessmentId. Then call ChangeUserAssessmentCompartment with the scheduleAssessmentId. The existing saved user assessments created per the schedule are not be moved. However, all new saves will be associated with the new compartment.

See also ¶

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

func (DataSafeClient) CompareSecurityAssessment ¶

func (client DataSafeClient) CompareSecurityAssessment(ctx context.Context, request CompareSecurityAssessmentRequest) (response CompareSecurityAssessmentResponse, err error)

CompareSecurityAssessment Compares two security assessments. For this comparison, a security assessment can be a saved assessment, a latest assessment, or a baseline assessment. For example, you can compare saved assessment or a latest assessment against a baseline.

See also ¶

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

func (DataSafeClient) CompareUserAssessment ¶

func (client DataSafeClient) CompareUserAssessment(ctx context.Context, request CompareUserAssessmentRequest) (response CompareUserAssessmentResponse, err error)

CompareUserAssessment Compares two user assessments. For this comparison, a user assessment can be a saved, a latest assessment, or a baseline. As an example, it can be used to compare a user assessment saved or a latest assessment with a baseline.

See also ¶

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

func (*DataSafeClient) ConfigurationProvider ¶

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

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

func (DataSafeClient) CreateAuditArchiveRetrieval ¶

func (client DataSafeClient) CreateAuditArchiveRetrieval(ctx context.Context, request CreateAuditArchiveRetrievalRequest) (response CreateAuditArchiveRetrievalResponse, err error)

CreateAuditArchiveRetrieval Creates a work request to retrieve archived audit data. This asynchronous process will usually take over an hour to complete. Save the id from the response of this operation. Call GetAuditArchiveRetrieval operation after an hour, passing the id to know the status of this operation.

See also ¶

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

func (DataSafeClient) CreateDataSafePrivateEndpoint ¶

func (client DataSafeClient) CreateDataSafePrivateEndpoint(ctx context.Context, request CreateDataSafePrivateEndpointRequest) (response CreateDataSafePrivateEndpointResponse, err error)

CreateDataSafePrivateEndpoint Creates a new Data Safe private endpoint.

See also ¶

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

func (DataSafeClient) CreateDiscoveryJob ¶

func (client DataSafeClient) CreateDiscoveryJob(ctx context.Context, request CreateDiscoveryJobRequest) (response CreateDiscoveryJobResponse, err error)

CreateDiscoveryJob Performs incremental data discovery for the specified sensitive data model. It uses the target database associated with the sensitive data model. After performing data discovery, you can use ListDiscoveryJobResults to view the discovery results, PatchDiscoveryJobResults to specify the action you want perform on these results, and then ApplyDiscoveryJobResults to process the results and apply them to the sensitive data model.

See also ¶

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

func (DataSafeClient) CreateLibraryMaskingFormat ¶

func (client DataSafeClient) CreateLibraryMaskingFormat(ctx context.Context, request CreateLibraryMaskingFormatRequest) (response CreateLibraryMaskingFormatResponse, err error)

CreateLibraryMaskingFormat Creates a new library masking format. A masking format can have one or more format entries. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking. Note that you cannot define masking condition in a library masking format.

See also ¶

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

func (DataSafeClient) CreateMaskingColumn ¶

func (client DataSafeClient) CreateMaskingColumn(ctx context.Context, request CreateMaskingColumnRequest) (response CreateMaskingColumnResponse, err error)

CreateMaskingColumn Creates a new masking column in the specified masking policy. Use this operation to add parent columns only. It automatically adds the child columns from the associated sensitive data model or target database. If you provide the sensitiveTypeId attribute but not the maskingFormats attribute, it automatically assigns the default masking format associated with the specified sensitive type. Alternatively, if you provide the maskingFormats attribute, the specified masking formats are assigned to the column. Using the maskingFormats attribute, you can assign one or more masking formats to a column. You need to specify a condition as part of each masking format. It enables you to do <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/conditional-masking.html">conditional masking</a> so that you can mask the column data values differently using different masking conditions. A masking format can have one or more format entries. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking. You can use the maskingColumnGroup attribute to group the columns that you would like to mask together. It enables you to do <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/group-masking1.html#GUID-755056B9-9540-48C0-9491-262A44A85037">group or compound masking</a> that ensures that the masked data across the columns in a group continue to retain the same logical relationship.

See also ¶

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

func (DataSafeClient) CreateMaskingPolicy ¶

func (client DataSafeClient) CreateMaskingPolicy(ctx context.Context, request CreateMaskingPolicyRequest) (response CreateMaskingPolicyResponse, err error)

CreateMaskingPolicy Creates a new masking policy and associates it with a sensitive data model or a reference target database. To use a sensitive data model as the source of masking columns, set the columnSource attribute to SENSITIVE_DATA_MODEL and provide the sensitiveDataModelId attribute. After creating a masking policy, you can use the AddMaskingColumnsFromSdm operation to automatically add all the columns from the associated sensitive data model. In this case, the target database associated with the sensitive data model is used for column and masking format validations. You can also create a masking policy without using a sensitive data model. In this case, you need to associate your masking policy with a target database by setting the columnSource attribute to TARGET and providing the targetId attribute. The specified target database is used for column and masking format validations. After creating a masking policy, you can use the CreateMaskingColumn or PatchMaskingColumns operation to manually add columns to the policy. You need to add the parent columns only, and it automatically adds the child columns (in referential relationship with the parent columns) from the associated sensitive data model or target database.

See also ¶

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

func (DataSafeClient) CreateOnPremConnector ¶

func (client DataSafeClient) CreateOnPremConnector(ctx context.Context, request CreateOnPremConnectorRequest) (response CreateOnPremConnectorResponse, err error)

CreateOnPremConnector Creates a new on-premises connector.

See also ¶

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

func (DataSafeClient) CreateReportDefinition ¶

func (client DataSafeClient) CreateReportDefinition(ctx context.Context, request CreateReportDefinitionRequest) (response CreateReportDefinitionResponse, err error)

CreateReportDefinition Creates a new report definition with parameters specified in the body. The report definition is stored in the specified compartment.

See also ¶

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

func (DataSafeClient) CreateSdmMaskingPolicyDifference ¶ added in v65.35.0

func (client DataSafeClient) CreateSdmMaskingPolicyDifference(ctx context.Context, request CreateSdmMaskingPolicyDifferenceRequest) (response CreateSdmMaskingPolicyDifferenceResponse, err error)

CreateSdmMaskingPolicyDifference Creates SDM masking policy difference for the specified masking policy. It finds the difference between masking columns of the masking policy and sensitive columns of the SDM. After performing this operation, you can use ListDifferenceColumns to view the difference columns, PatchSdmMaskingPolicyDifferenceColumns to specify the action you want perform on these columns, and then ApplySdmMaskingPolicyDifference to process the difference columns and apply them to the masking policy.

See also ¶

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

func (DataSafeClient) CreateSecurityAssessment ¶

func (client DataSafeClient) CreateSecurityAssessment(ctx context.Context, request CreateSecurityAssessmentRequest) (response CreateSecurityAssessmentResponse, err error)

CreateSecurityAssessment Creates a new saved security assessment for one or multiple targets in a compartment. When this operation is performed, it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments, at the defined date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).

See also ¶

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

func (DataSafeClient) CreateSensitiveColumn ¶

func (client DataSafeClient) CreateSensitiveColumn(ctx context.Context, request CreateSensitiveColumnRequest) (response CreateSensitiveColumnResponse, err error)

CreateSensitiveColumn Creates a new sensitive column in the specified sensitive data model.

See also ¶

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

func (DataSafeClient) CreateSensitiveDataModel ¶

func (client DataSafeClient) CreateSensitiveDataModel(ctx context.Context, request CreateSensitiveDataModelRequest) (response CreateSensitiveDataModelResponse, err error)

CreateSensitiveDataModel Creates a new sensitive data model. If schemas and sensitive types are provided, it automatically runs data discovery and adds the discovered columns to the sensitive data model. Otherwise, it creates an empty sensitive data model that can be updated later.

See also ¶

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

func (DataSafeClient) CreateSensitiveType ¶

func (client DataSafeClient) CreateSensitiveType(ctx context.Context, request CreateSensitiveTypeRequest) (response CreateSensitiveTypeResponse, err error)

CreateSensitiveType Creates a new sensitive type, which can be a basic sensitive type with regular expressions or a sensitive category. While sensitive types are used for data discovery, sensitive categories are used for logically grouping the related or similar sensitive types.

See also ¶

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

func (DataSafeClient) CreateTargetAlertPolicyAssociation ¶

func (client DataSafeClient) CreateTargetAlertPolicyAssociation(ctx context.Context, request CreateTargetAlertPolicyAssociationRequest) (response CreateTargetAlertPolicyAssociationResponse, err error)

CreateTargetAlertPolicyAssociation Creates a new target-alert policy association to track a alert policy applied on target.

See also ¶

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

func (DataSafeClient) CreateTargetDatabase ¶

func (client DataSafeClient) CreateTargetDatabase(ctx context.Context, request CreateTargetDatabaseRequest) (response CreateTargetDatabaseResponse, err error)

CreateTargetDatabase Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.

See also ¶

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

func (DataSafeClient) CreateUserAssessment ¶

func (client DataSafeClient) CreateUserAssessment(ctx context.Context, request CreateUserAssessmentRequest) (response CreateUserAssessmentResponse, err error)

CreateUserAssessment Creates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).

See also ¶

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

func (DataSafeClient) DeactivateTargetDatabase ¶

func (client DataSafeClient) DeactivateTargetDatabase(ctx context.Context, request DeactivateTargetDatabaseRequest) (response DeactivateTargetDatabaseResponse, err error)

DeactivateTargetDatabase Deactivates a target database in Data Safe.

See also ¶

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

func (DataSafeClient) DeleteAuditArchiveRetrieval ¶

func (client DataSafeClient) DeleteAuditArchiveRetrieval(ctx context.Context, request DeleteAuditArchiveRetrievalRequest) (response DeleteAuditArchiveRetrievalResponse, err error)

DeleteAuditArchiveRetrieval To unload retrieved archive data, call the operation ListAuditArchiveRetrieval first. This will return the auditArchiveRetrievalId. Then call this operation with auditArchiveRetrievalId.

See also ¶

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

func (DataSafeClient) DeleteAuditTrail ¶

func (client DataSafeClient) DeleteAuditTrail(ctx context.Context, request DeleteAuditTrailRequest) (response DeleteAuditTrailResponse, err error)

DeleteAuditTrail Deletes the specified audit trail.

See also ¶

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

func (DataSafeClient) DeleteDataSafePrivateEndpoint ¶

func (client DataSafeClient) DeleteDataSafePrivateEndpoint(ctx context.Context, request DeleteDataSafePrivateEndpointRequest) (response DeleteDataSafePrivateEndpointResponse, err error)

DeleteDataSafePrivateEndpoint Deletes the specified Data Safe private endpoint.

See also ¶

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

func (DataSafeClient) DeleteDiscoveryJob ¶

func (client DataSafeClient) DeleteDiscoveryJob(ctx context.Context, request DeleteDiscoveryJobRequest) (response DeleteDiscoveryJobResponse, err error)

DeleteDiscoveryJob Deletes the specified discovery job.

See also ¶

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

func (DataSafeClient) DeleteDiscoveryJobResult ¶

func (client DataSafeClient) DeleteDiscoveryJobResult(ctx context.Context, request DeleteDiscoveryJobResultRequest) (response DeleteDiscoveryJobResultResponse, err error)

DeleteDiscoveryJobResult Deletes the specified discovery result.

See also ¶

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

func (DataSafeClient) DeleteLibraryMaskingFormat ¶

func (client DataSafeClient) DeleteLibraryMaskingFormat(ctx context.Context, request DeleteLibraryMaskingFormatRequest) (response DeleteLibraryMaskingFormatResponse, err error)

DeleteLibraryMaskingFormat Deletes the specified library masking format.

See also ¶

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

func (DataSafeClient) DeleteMaskingColumn ¶

func (client DataSafeClient) DeleteMaskingColumn(ctx context.Context, request DeleteMaskingColumnRequest) (response DeleteMaskingColumnResponse, err error)

DeleteMaskingColumn Deletes the specified masking column.

See also ¶

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

func (DataSafeClient) DeleteMaskingPolicy ¶

func (client DataSafeClient) DeleteMaskingPolicy(ctx context.Context, request DeleteMaskingPolicyRequest) (response DeleteMaskingPolicyResponse, err error)

DeleteMaskingPolicy Deletes the specified masking policy.

See also ¶

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

func (DataSafeClient) DeleteOnPremConnector ¶

func (client DataSafeClient) DeleteOnPremConnector(ctx context.Context, request DeleteOnPremConnectorRequest) (response DeleteOnPremConnectorResponse, err error)

DeleteOnPremConnector Deletes the specified on-premises connector.

See also ¶

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

func (DataSafeClient) DeleteReportDefinition ¶

func (client DataSafeClient) DeleteReportDefinition(ctx context.Context, request DeleteReportDefinitionRequest) (response DeleteReportDefinitionResponse, err error)

DeleteReportDefinition Deletes the specified report definition. Only the user created report definition can be deleted. The seeded report definitions cannot be deleted.

See also ¶

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

func (DataSafeClient) DeleteSdmMaskingPolicyDifference ¶ added in v65.35.0

func (client DataSafeClient) DeleteSdmMaskingPolicyDifference(ctx context.Context, request DeleteSdmMaskingPolicyDifferenceRequest) (response DeleteSdmMaskingPolicyDifferenceResponse, err error)

DeleteSdmMaskingPolicyDifference Deletes the specified SDM Masking policy difference.

See also ¶

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

func (DataSafeClient) DeleteSecurityAssessment ¶

func (client DataSafeClient) DeleteSecurityAssessment(ctx context.Context, request DeleteSecurityAssessmentRequest) (response DeleteSecurityAssessmentResponse, err error)

DeleteSecurityAssessment Deletes the specified saved security assessment or schedule. To delete a security assessment schedule, first call the operation ListSecurityAssessments with filters "type = save_schedule". That operation returns the scheduleAssessmentId. Then, call DeleteSecurityAssessment with the scheduleAssessmentId. If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.

See also ¶

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

func (DataSafeClient) DeleteSensitiveColumn ¶

func (client DataSafeClient) DeleteSensitiveColumn(ctx context.Context, request DeleteSensitiveColumnRequest) (response DeleteSensitiveColumnResponse, err error)

DeleteSensitiveColumn Deletes the specified sensitive column.

See also ¶

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

func (DataSafeClient) DeleteSensitiveDataModel ¶

func (client DataSafeClient) DeleteSensitiveDataModel(ctx context.Context, request DeleteSensitiveDataModelRequest) (response DeleteSensitiveDataModelResponse, err error)

DeleteSensitiveDataModel Deletes the specified sensitive data model.

See also ¶

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

func (DataSafeClient) DeleteSensitiveType ¶

func (client DataSafeClient) DeleteSensitiveType(ctx context.Context, request DeleteSensitiveTypeRequest) (response DeleteSensitiveTypeResponse, err error)

DeleteSensitiveType Deletes the specified sensitive type.

See also ¶

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

func (DataSafeClient) DeleteTargetAlertPolicyAssociation ¶

func (client DataSafeClient) DeleteTargetAlertPolicyAssociation(ctx context.Context, request DeleteTargetAlertPolicyAssociationRequest) (response DeleteTargetAlertPolicyAssociationResponse, err error)

DeleteTargetAlertPolicyAssociation Deletes the specified target-alert policy Association.

See also ¶

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

func (DataSafeClient) DeleteTargetDatabase ¶

func (client DataSafeClient) DeleteTargetDatabase(ctx context.Context, request DeleteTargetDatabaseRequest) (response DeleteTargetDatabaseResponse, err error)

DeleteTargetDatabase Deregisters the specified database from Data Safe and removes the target database from the Data Safe Console.

See also ¶

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

func (DataSafeClient) DeleteUserAssessment ¶

func (client DataSafeClient) DeleteUserAssessment(ctx context.Context, request DeleteUserAssessmentRequest) (response DeleteUserAssessmentResponse, err error)

DeleteUserAssessment Deletes the specified saved user assessment or schedule. To delete a user assessment schedule, first call the operation ListUserAssessments with filters "type = save_schedule". That call returns the scheduleAssessmentId. Then call DeleteUserAssessment with the scheduleAssessmentId. If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.

See also ¶

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

func (DataSafeClient) DiscoverAuditTrails ¶

func (client DataSafeClient) DiscoverAuditTrails(ctx context.Context, request DiscoverAuditTrailsRequest) (response DiscoverAuditTrailsResponse, err error)

DiscoverAuditTrails Updates the list of audit trails created under audit profile.The operation can be used to create new audit trails for target database when they become available for audit collection because of change of database version or change of database unified mode or change of data base edition or being deleted previously etc.

See also ¶

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

func (DataSafeClient) DownloadDiscoveryReport ¶

func (client DataSafeClient) DownloadDiscoveryReport(ctx context.Context, request DownloadDiscoveryReportRequest) (response DownloadDiscoveryReportResponse, err error)

DownloadDiscoveryReport Downloads an already-generated discovery report. Note that the GenerateDiscoveryReportForDownload operation is a prerequisite for the DownloadDiscoveryReport operation. Use GenerateDiscoveryReportForDownload to generate a discovery report file and then use DownloadDiscoveryReport to download the generated file. By default, it downloads report for all the columns in a sensitive data model. Use the discoveryJobId attribute to download report for a specific discovery job.

See also ¶

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

func (DataSafeClient) DownloadMaskingLog ¶

func (client DataSafeClient) DownloadMaskingLog(ctx context.Context, request DownloadMaskingLogRequest) (response DownloadMaskingLogResponse, err error)

DownloadMaskingLog Downloads the masking log generated by the last masking operation on a target database using the specified masking policy.

See also ¶

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

func (DataSafeClient) DownloadMaskingPolicy ¶

func (client DataSafeClient) DownloadMaskingPolicy(ctx context.Context, request DownloadMaskingPolicyRequest) (response DownloadMaskingPolicyResponse, err error)

DownloadMaskingPolicy Downloads an already-generated file corresponding to the specified masking policy. Note that the GenerateMaskingPolicyForDownload operation is a prerequisite for the DownloadMaskingPolicy operation. Use GenerateMaskingPolicyForDownload to generate a masking policy file and then use DownloadMaskingPolicy to download the generated file.

See also ¶

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

func (DataSafeClient) DownloadMaskingReport ¶

func (client DataSafeClient) DownloadMaskingReport(ctx context.Context, request DownloadMaskingReportRequest) (response DownloadMaskingReportResponse, err error)

DownloadMaskingReport Downloads an already-generated masking report. Note that the GenerateMaskingReportForDownload operation is a prerequisite for the DownloadMaskingReport operation. Use GenerateMaskingReportForDownload to generate a masking report file and then use DownloadMaskingReport to download the generated file.

See also ¶

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

func (DataSafeClient) DownloadPrivilegeScript ¶

func (client DataSafeClient) DownloadPrivilegeScript(ctx context.Context, request DownloadPrivilegeScriptRequest) (response DownloadPrivilegeScriptResponse, err error)

DownloadPrivilegeScript Downloads the privilege script to grant/revoke required roles from the Data Safe account on the target database.

See also ¶

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

func (DataSafeClient) DownloadSecurityAssessmentReport ¶

func (client DataSafeClient) DownloadSecurityAssessmentReport(ctx context.Context, request DownloadSecurityAssessmentReportRequest) (response DownloadSecurityAssessmentReportResponse, err error)

DownloadSecurityAssessmentReport Downloads the report of the specified security assessment. To download the security assessment report, it needs to be generated first. Please use GenerateSecurityAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).

See also ¶

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

func (DataSafeClient) DownloadSensitiveDataModel ¶

func (client DataSafeClient) DownloadSensitiveDataModel(ctx context.Context, request DownloadSensitiveDataModelRequest) (response DownloadSensitiveDataModelResponse, err error)

DownloadSensitiveDataModel Downloads an already-generated file corresponding to the specified sensitive data model. Note that the GenerateSensitiveDataModelForDownload operation is a prerequisite for the DownloadSensitiveDataModel operation. Use GenerateSensitiveDataModelForDownload to generate a data model file and then use DownloadSensitiveDataModel to download the generated file.

See also ¶

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

func (DataSafeClient) DownloadUserAssessmentReport ¶

func (client DataSafeClient) DownloadUserAssessmentReport(ctx context.Context, request DownloadUserAssessmentReportRequest) (response DownloadUserAssessmentReportResponse, err error)

DownloadUserAssessmentReport Downloads the report of the specified user assessment. To download the user assessment report, it needs to be generated first. Please use GenerateUserAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).

See also ¶

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

func (DataSafeClient) EnableDataSafeConfiguration ¶

func (client DataSafeClient) EnableDataSafeConfiguration(ctx context.Context, request EnableDataSafeConfigurationRequest) (response EnableDataSafeConfigurationResponse, err error)

EnableDataSafeConfiguration Enables Data Safe in the tenancy and region.

See also ¶

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

func (DataSafeClient) GenerateDiscoveryReportForDownload ¶

func (client DataSafeClient) GenerateDiscoveryReportForDownload(ctx context.Context, request GenerateDiscoveryReportForDownloadRequest) (response GenerateDiscoveryReportForDownloadResponse, err error)

GenerateDiscoveryReportForDownload Generates a downloadable discovery report. It's a prerequisite for the DownloadDiscoveryReport operation. Use this endpoint to generate a discovery report file and then use DownloadDiscoveryReport to download the generated file. By default, it generates report for all the columns in a sensitive data model. Use the discoveryJobId attribute to generate report for a specific discovery job.

See also ¶

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

func (DataSafeClient) GenerateMaskingPolicyForDownload ¶

func (client DataSafeClient) GenerateMaskingPolicyForDownload(ctx context.Context, request GenerateMaskingPolicyForDownloadRequest) (response GenerateMaskingPolicyForDownloadResponse, err error)

GenerateMaskingPolicyForDownload Generates a downloadable file corresponding to the specified masking policy. It's a prerequisite for the DownloadMaskingPolicy operation. Use this endpoint to generate a masking policy file and then use DownloadMaskingPolicy to download the generated file. Note that file generation and download are serial operations. The download operation can't be invoked while the generate operation is in progress.

See also ¶

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

func (DataSafeClient) GenerateMaskingReportForDownload ¶

func (client DataSafeClient) GenerateMaskingReportForDownload(ctx context.Context, request GenerateMaskingReportForDownloadRequest) (response GenerateMaskingReportForDownloadResponse, err error)

GenerateMaskingReportForDownload Generates a downloadable masking report. It's a prerequisite for the DownloadMaskingReport operation. Use this endpoint to generate a masking report file and then use DownloadMaskingReport to download the generated file.

See also ¶

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

func (DataSafeClient) GenerateOnPremConnectorConfiguration ¶

func (client DataSafeClient) GenerateOnPremConnectorConfiguration(ctx context.Context, request GenerateOnPremConnectorConfigurationRequest) (response GenerateOnPremConnectorConfigurationResponse, err error)

GenerateOnPremConnectorConfiguration Creates and downloads the configuration of the specified on-premises connector.

See also ¶

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

func (DataSafeClient) GenerateReport ¶

func (client DataSafeClient) GenerateReport(ctx context.Context, request GenerateReportRequest) (response GenerateReportResponse, err error)

GenerateReport Generates a PDF or XLS report based on parameters and report definition.

See also ¶

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

func (DataSafeClient) GenerateSecurityAssessmentReport ¶

func (client DataSafeClient) GenerateSecurityAssessmentReport(ctx context.Context, request GenerateSecurityAssessmentReportRequest) (response GenerateSecurityAssessmentReportResponse, err error)

GenerateSecurityAssessmentReport Generates the report of the specified security assessment. You can get the report in PDF or XLS format. After generating the report, use DownloadSecurityAssessmentReport to download it in the preferred format.

See also ¶

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

func (DataSafeClient) GenerateSensitiveDataModelForDownload ¶

func (client DataSafeClient) GenerateSensitiveDataModelForDownload(ctx context.Context, request GenerateSensitiveDataModelForDownloadRequest) (response GenerateSensitiveDataModelForDownloadResponse, err error)

GenerateSensitiveDataModelForDownload Generates a downloadable file corresponding to the specified sensitive data model. It's a prerequisite for the DownloadSensitiveDataModel operation. Use this endpoint to generate a data model file and then use DownloadSensitiveDataModel to download the generated file. Note that file generation and download are serial operations. The download operation can't be invoked while the generate operation is in progress.

See also ¶

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

func (DataSafeClient) GenerateUserAssessmentReport ¶

func (client DataSafeClient) GenerateUserAssessmentReport(ctx context.Context, request GenerateUserAssessmentReportRequest) (response GenerateUserAssessmentReportResponse, err error)

GenerateUserAssessmentReport Generates the report of the specified user assessment. The report is available in PDF or XLS format. After generating the report, use DownloadUserAssessmentReport to download it in the preferred format.

See also ¶

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

func (DataSafeClient) GetAlert ¶

func (client DataSafeClient) GetAlert(ctx context.Context, request GetAlertRequest) (response GetAlertResponse, err error)

GetAlert Gets the details of the specified alerts.

See also ¶

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

func (DataSafeClient) GetAlertPolicy ¶

func (client DataSafeClient) GetAlertPolicy(ctx context.Context, request GetAlertPolicyRequest) (response GetAlertPolicyResponse, err error)

GetAlertPolicy Gets the details of alert policy by its ID.

See also ¶

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

func (DataSafeClient) GetAuditArchiveRetrieval ¶

func (client DataSafeClient) GetAuditArchiveRetrieval(ctx context.Context, request GetAuditArchiveRetrievalRequest) (response GetAuditArchiveRetrievalResponse, err error)

GetAuditArchiveRetrieval Gets the details of the specified archive retreival.

See also ¶

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

func (DataSafeClient) GetAuditPolicy ¶

func (client DataSafeClient) GetAuditPolicy(ctx context.Context, request GetAuditPolicyRequest) (response GetAuditPolicyResponse, err error)

GetAuditPolicy Gets a audit policy by identifier.

See also ¶

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

func (DataSafeClient) GetAuditProfile ¶

func (client DataSafeClient) GetAuditProfile(ctx context.Context, request GetAuditProfileRequest) (response GetAuditProfileResponse, err error)

GetAuditProfile Gets the details of audit profile resource and associated audit trails of the audit profile.

See also ¶

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

func (DataSafeClient) GetAuditTrail ¶

func (client DataSafeClient) GetAuditTrail(ctx context.Context, request GetAuditTrailRequest) (response GetAuditTrailResponse, err error)

GetAuditTrail Gets the details of audit trail.

See also ¶

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

func (DataSafeClient) GetCompatibleFormatsForDataTypes ¶

func (client DataSafeClient) GetCompatibleFormatsForDataTypes(ctx context.Context, request GetCompatibleFormatsForDataTypesRequest) (response GetCompatibleFormatsForDataTypesResponse, err error)

GetCompatibleFormatsForDataTypes Gets a list of basic masking formats compatible with the supported data types. The data types are grouped into the following categories - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types

See also ¶

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

func (DataSafeClient) GetCompatibleFormatsForSensitiveTypes ¶

func (client DataSafeClient) GetCompatibleFormatsForSensitiveTypes(ctx context.Context, request GetCompatibleFormatsForSensitiveTypesRequest) (response GetCompatibleFormatsForSensitiveTypesResponse, err error)

GetCompatibleFormatsForSensitiveTypes Gets a list of library masking formats compatible with the existing sensitive types. For each sensitive type, it returns the assigned default masking format as well as the other library masking formats that have the sensitiveTypeIds attribute containing the OCID of the sensitive type.

See also ¶

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

func (DataSafeClient) GetDataSafeConfiguration ¶

func (client DataSafeClient) GetDataSafeConfiguration(ctx context.Context, request GetDataSafeConfigurationRequest) (response GetDataSafeConfigurationResponse, err error)

GetDataSafeConfiguration Gets the details of the Data Safe configuration.

See also ¶

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

func (DataSafeClient) GetDataSafePrivateEndpoint ¶

func (client DataSafeClient) GetDataSafePrivateEndpoint(ctx context.Context, request GetDataSafePrivateEndpointRequest) (response GetDataSafePrivateEndpointResponse, err error)

GetDataSafePrivateEndpoint Gets the details of the specified Data Safe private endpoint.

See also ¶

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

func (DataSafeClient) GetDifferenceColumn ¶ added in v65.35.0

func (client DataSafeClient) GetDifferenceColumn(ctx context.Context, request GetDifferenceColumnRequest) (response GetDifferenceColumnResponse, err error)

GetDifferenceColumn Gets the details of the specified SDM Masking policy difference column.

See also ¶

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

func (DataSafeClient) GetDiscoveryJob ¶

func (client DataSafeClient) GetDiscoveryJob(ctx context.Context, request GetDiscoveryJobRequest) (response GetDiscoveryJobResponse, err error)

GetDiscoveryJob Gets the details of the specified discovery job.

See also ¶

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

func (DataSafeClient) GetDiscoveryJobResult ¶

func (client DataSafeClient) GetDiscoveryJobResult(ctx context.Context, request GetDiscoveryJobResultRequest) (response GetDiscoveryJobResultResponse, err error)

GetDiscoveryJobResult Gets the details of the specified discovery result.

See also ¶

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

func (DataSafeClient) GetLibraryMaskingFormat ¶

func (client DataSafeClient) GetLibraryMaskingFormat(ctx context.Context, request GetLibraryMaskingFormatRequest) (response GetLibraryMaskingFormatResponse, err error)

GetLibraryMaskingFormat Gets the details of the specified library masking format.

See also ¶

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

func (DataSafeClient) GetMaskingColumn ¶

func (client DataSafeClient) GetMaskingColumn(ctx context.Context, request GetMaskingColumnRequest) (response GetMaskingColumnResponse, err error)

GetMaskingColumn Gets the details of the specified masking column.

See also ¶

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

func (DataSafeClient) GetMaskingPolicy ¶

func (client DataSafeClient) GetMaskingPolicy(ctx context.Context, request GetMaskingPolicyRequest) (response GetMaskingPolicyResponse, err error)

GetMaskingPolicy Gets the details of the specified masking policy.

See also ¶

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

func (DataSafeClient) GetMaskingReport ¶

func (client DataSafeClient) GetMaskingReport(ctx context.Context, request GetMaskingReportRequest) (response GetMaskingReportResponse, err error)

GetMaskingReport Gets the details of the specified masking report.

See also ¶

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

func (DataSafeClient) GetOnPremConnector ¶

func (client DataSafeClient) GetOnPremConnector(ctx context.Context, request GetOnPremConnectorRequest) (response GetOnPremConnectorResponse, err error)

GetOnPremConnector Gets the details of the specified on-premises connector.

See also ¶

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

func (DataSafeClient) GetProfile ¶ added in v65.35.0

func (client DataSafeClient) GetProfile(ctx context.Context, request GetProfileRequest) (response GetProfileResponse, err error)

GetProfile Lists the details of given profile available on the target. The GetProfile operation returns only the profiles in the specified 'userAssessmentId'. This does not include any subcompartments of the current compartment.

See also ¶

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

func (DataSafeClient) GetReport ¶

func (client DataSafeClient) GetReport(ctx context.Context, request GetReportRequest) (response GetReportResponse, err error)

GetReport Gets a report by identifier

See also ¶

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

func (DataSafeClient) GetReportContent ¶

func (client DataSafeClient) GetReportContent(ctx context.Context, request GetReportContentRequest) (response GetReportContentResponse, err error)

GetReportContent Downloads the specified report in the form of PDF or XLXS.

See also ¶

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

func (DataSafeClient) GetReportDefinition ¶

func (client DataSafeClient) GetReportDefinition(ctx context.Context, request GetReportDefinitionRequest) (response GetReportDefinitionResponse, err error)

GetReportDefinition Gets the details of report definition specified by the identifier

See also ¶

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

func (DataSafeClient) GetSdmMaskingPolicyDifference ¶ added in v65.35.0

func (client DataSafeClient) GetSdmMaskingPolicyDifference(ctx context.Context, request GetSdmMaskingPolicyDifferenceRequest) (response GetSdmMaskingPolicyDifferenceResponse, err error)

GetSdmMaskingPolicyDifference Gets the details of the specified SDM Masking policy difference.

See also ¶

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

func (DataSafeClient) GetSecurityAssessment ¶

func (client DataSafeClient) GetSecurityAssessment(ctx context.Context, request GetSecurityAssessmentRequest) (response GetSecurityAssessmentResponse, err error)

GetSecurityAssessment Gets the details of the specified security assessment.

See also ¶

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

func (DataSafeClient) GetSecurityAssessmentComparison ¶

func (client DataSafeClient) GetSecurityAssessmentComparison(ctx context.Context, request GetSecurityAssessmentComparisonRequest) (response GetSecurityAssessmentComparisonResponse, err error)

GetSecurityAssessmentComparison Gets the details of the comparison report on the security assessments submitted for comparison.

See also ¶

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

func (DataSafeClient) GetSensitiveColumn ¶

func (client DataSafeClient) GetSensitiveColumn(ctx context.Context, request GetSensitiveColumnRequest) (response GetSensitiveColumnResponse, err error)

GetSensitiveColumn Gets the details of the specified sensitive column.

See also ¶

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

func (DataSafeClient) GetSensitiveDataModel ¶

func (client DataSafeClient) GetSensitiveDataModel(ctx context.Context, request GetSensitiveDataModelRequest) (response GetSensitiveDataModelResponse, err error)

GetSensitiveDataModel Gets the details of the specified sensitive data model.

See also ¶

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

func (DataSafeClient) GetSensitiveType ¶

func (client DataSafeClient) GetSensitiveType(ctx context.Context, request GetSensitiveTypeRequest) (response GetSensitiveTypeResponse, err error)

GetSensitiveType Gets the details of the specified sensitive type.

See also ¶

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

func (DataSafeClient) GetTargetAlertPolicyAssociation ¶

func (client DataSafeClient) GetTargetAlertPolicyAssociation(ctx context.Context, request GetTargetAlertPolicyAssociationRequest) (response GetTargetAlertPolicyAssociationResponse, err error)

GetTargetAlertPolicyAssociation Gets the details of target-alert policy association by its ID.

See also ¶

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

func (DataSafeClient) GetTargetDatabase ¶

func (client DataSafeClient) GetTargetDatabase(ctx context.Context, request GetTargetDatabaseRequest) (response GetTargetDatabaseResponse, err error)

GetTargetDatabase Returns the details of the specified Data Safe target database.

See also ¶

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

func (DataSafeClient) GetUserAssessment ¶

func (client DataSafeClient) GetUserAssessment(ctx context.Context, request GetUserAssessmentRequest) (response GetUserAssessmentResponse, err error)

GetUserAssessment Gets a user assessment by identifier.

See also ¶

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

func (DataSafeClient) GetUserAssessmentComparison ¶

func (client DataSafeClient) GetUserAssessmentComparison(ctx context.Context, request GetUserAssessmentComparisonRequest) (response GetUserAssessmentComparisonResponse, err error)

GetUserAssessmentComparison Gets the details of the comparison report for the user assessments provided.

See also ¶

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

func (DataSafeClient) GetWorkRequest ¶

func (client DataSafeClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the details of the specified work request.

See also ¶

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

func (DataSafeClient) ListAlertAnalytics ¶

func (client DataSafeClient) ListAlertAnalytics(ctx context.Context, request ListAlertAnalyticsRequest) (response ListAlertAnalyticsResponse, err error)

ListAlertAnalytics Returns the aggregation details of the alerts.

See also ¶

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

func (DataSafeClient) ListAlertPolicies ¶

func (client DataSafeClient) ListAlertPolicies(ctx context.Context, request ListAlertPoliciesRequest) (response ListAlertPoliciesResponse, err error)

ListAlertPolicies Gets a list of all alert policies.

See also ¶

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

func (DataSafeClient) ListAlertPolicyRules ¶

func (client DataSafeClient) ListAlertPolicyRules(ctx context.Context, request ListAlertPolicyRulesRequest) (response ListAlertPolicyRulesResponse, err error)

ListAlertPolicyRules Lists the rules of the specified alert policy. The alert policy is said to be satisfied when all rules in the policy evaulate to true. If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True.

See also ¶

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

func (DataSafeClient) ListAlerts ¶

func (client DataSafeClient) ListAlerts(ctx context.Context, request ListAlertsRequest) (response ListAlertsResponse, err error)

ListAlerts Gets a list of all alerts.

See also ¶

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

func (DataSafeClient) ListAuditArchiveRetrievals ¶

func (client DataSafeClient) ListAuditArchiveRetrievals(ctx context.Context, request ListAuditArchiveRetrievalsRequest) (response ListAuditArchiveRetrievalsResponse, err error)

ListAuditArchiveRetrievals Returns the list of audit archive retrieval.

See also ¶

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

func (DataSafeClient) ListAuditEventAnalytics ¶

func (client DataSafeClient) ListAuditEventAnalytics(ctx context.Context, request ListAuditEventAnalyticsRequest) (response ListAuditEventAnalyticsResponse, err error)

ListAuditEventAnalytics By default the ListAuditEventAnalytics operation will return all of the summary columns. To filter for a specific summary column, specify it in the `summaryField` query parameter. **Example:** /ListAuditEventAnalytics?summaryField=targetName&summaryField=userName&summaryField=clientHostname &summaryField=dmls&summaryField=privilegeChanges&summaryField=ddls&summaryField=loginFailure&summaryField=loginSuccess &summaryField=allRecord&q=(auditEventTime ge "2021-06-13T23:49:14") /ListAuditEventAnalytics?timeStarted=2022-08-18T11:02:26.000Z&timeEnded=2022-08-24T11:02:26.000Z This will give number of events grouped by periods. Period can be 1 day, 1 week, etc. /ListAuditEventAnalytics?summaryField=targetName&groupBy=targetName This will give the number of events group by targetName. Only targetName summary column would be returned.

See also ¶

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

func (DataSafeClient) ListAuditEvents ¶

func (client DataSafeClient) ListAuditEvents(ctx context.Context, request ListAuditEventsRequest) (response ListAuditEventsResponse, err error)

ListAuditEvents The ListAuditEvents operation returns specified `compartmentId` audit Events only. The list does not include any audit Events associated with the `subcompartments` of the specified `compartmentId`. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListAuditEvents on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListAuditPolicies ¶

func (client DataSafeClient) ListAuditPolicies(ctx context.Context, request ListAuditPoliciesRequest) (response ListAuditPoliciesResponse, err error)

ListAuditPolicies Retrieves a list of all audited targets with their corresponding provisioned audit policies, and their provisioning conditions. The ListAuditPolicies operation returns only the audit policies in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListAuditPolicies on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListAuditPolicyAnalytics ¶ added in v65.35.0

func (client DataSafeClient) ListAuditPolicyAnalytics(ctx context.Context, request ListAuditPolicyAnalyticsRequest) (response ListAuditPolicyAnalyticsResponse, err error)

ListAuditPolicyAnalytics Gets a list of aggregated audit policy details on the target databases. A audit policy aggregation helps understand the overall state of policies provisioned on targets. It is especially useful to create dashboards or to support analytics. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform SummarizedAuditPolicyInfo on the specified `compartmentId` and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. **Example:** ListAuditPolicyAnalytics?groupBy=auditPolicyCategory

See also ¶

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

func (DataSafeClient) ListAuditProfileAnalytics ¶

func (client DataSafeClient) ListAuditProfileAnalytics(ctx context.Context, request ListAuditProfileAnalyticsRequest) (response ListAuditProfileAnalyticsResponse, err error)

ListAuditProfileAnalytics Gets a list of audit profile aggregated details . A audit profile aggregation helps understand the overall state of audit profile profiles. As an example, it helps understand how many audit profiles have paid usage. It is especially useful to create dashboards or to support analytics. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform AuditProfileAnalytics on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListAuditProfiles ¶

func (client DataSafeClient) ListAuditProfiles(ctx context.Context, request ListAuditProfilesRequest) (response ListAuditProfilesResponse, err error)

ListAuditProfiles Gets a list of all audit profiles. The ListAuditProfiles operation returns only the audit profiles in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListAuditProfiles on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListAuditTrailAnalytics ¶

func (client DataSafeClient) ListAuditTrailAnalytics(ctx context.Context, request ListAuditTrailAnalyticsRequest) (response ListAuditTrailAnalyticsResponse, err error)

ListAuditTrailAnalytics Gets a list of audit trail aggregated details . A audit trail aggregation helps understand the overall state of trails. As an example, it helps understand how many trails are running or stopped. It is especially useful to create dashboards or to support analytics. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform AuditTrailAnalytics on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListAuditTrails ¶

func (client DataSafeClient) ListAuditTrails(ctx context.Context, request ListAuditTrailsRequest) (response ListAuditTrailsResponse, err error)

ListAuditTrails Gets a list of all audit trails. The ListAuditTrails operation returns only the audit trails in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListAuditTrails on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListAvailableAuditVolumes ¶

func (client DataSafeClient) ListAvailableAuditVolumes(ctx context.Context, request ListAvailableAuditVolumesRequest) (response ListAvailableAuditVolumesResponse, err error)

ListAvailableAuditVolumes Retrieves a list of audit trails, and associated audit event volume for each trail up to defined start date.

See also ¶

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

func (DataSafeClient) ListCollectedAuditVolumes ¶

func (client DataSafeClient) ListCollectedAuditVolumes(ctx context.Context, request ListCollectedAuditVolumesRequest) (response ListCollectedAuditVolumesResponse, err error)

ListCollectedAuditVolumes Gets a list of all collected audit volume data points.

See also ¶

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

func (DataSafeClient) ListColumns ¶

func (client DataSafeClient) ListColumns(ctx context.Context, request ListColumnsRequest) (response ListColumnsResponse, err error)

ListColumns Returns a list of column metadata objects.

See also ¶

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

func (DataSafeClient) ListDataSafePrivateEndpoints ¶

func (client DataSafeClient) ListDataSafePrivateEndpoints(ctx context.Context, request ListDataSafePrivateEndpointsRequest) (response ListDataSafePrivateEndpointsResponse, err error)

ListDataSafePrivateEndpoints Gets a list of Data Safe private endpoints.

See also ¶

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

func (DataSafeClient) ListDifferenceColumns ¶ added in v65.35.0

func (client DataSafeClient) ListDifferenceColumns(ctx context.Context, request ListDifferenceColumnsRequest) (response ListDifferenceColumnsResponse, err error)

ListDifferenceColumns Gets a list of columns of a SDM masking policy difference resource based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListDiscoveryAnalytics ¶

func (client DataSafeClient) ListDiscoveryAnalytics(ctx context.Context, request ListDiscoveryAnalyticsRequest) (response ListDiscoveryAnalyticsResponse, err error)

ListDiscoveryAnalytics Gets consolidated discovery analytics data based on the specified query parameters. If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour is equivalent to accessLevel "ACCESSIBLE" by default.

See also ¶

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

func (DataSafeClient) ListDiscoveryJobResults ¶

func (client DataSafeClient) ListDiscoveryJobResults(ctx context.Context, request ListDiscoveryJobResultsRequest) (response ListDiscoveryJobResultsResponse, err error)

ListDiscoveryJobResults Gets a list of discovery results based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListDiscoveryJobs ¶

func (client DataSafeClient) ListDiscoveryJobs(ctx context.Context, request ListDiscoveryJobsRequest) (response ListDiscoveryJobsResponse, err error)

ListDiscoveryJobs Gets a list of incremental discovery jobs based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListFindings ¶

func (client DataSafeClient) ListFindings(ctx context.Context, request ListFindingsRequest) (response ListFindingsResponse, err error)

ListFindings List all the findings from all the targets in the specified assessment.

See also ¶

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

func (DataSafeClient) ListGrants ¶

func (client DataSafeClient) ListGrants(ctx context.Context, request ListGrantsRequest) (response ListGrantsResponse, err error)

ListGrants Gets a list of grants for a particular user in the specified user assessment. A user grant contains details such as the privilege name, type, category, and depth level. The depth level indicates how deep in the hierarchy of roles granted to roles a privilege grant is. The userKey in this operation is a system-generated identifier. Perform the operation ListUsers to get the userKey for a particular user.

See also ¶

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

func (DataSafeClient) ListLibraryMaskingFormats ¶

func (client DataSafeClient) ListLibraryMaskingFormats(ctx context.Context, request ListLibraryMaskingFormatsRequest) (response ListLibraryMaskingFormatsResponse, err error)

ListLibraryMaskingFormats Gets a list of library masking formats based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListMaskedColumns ¶

func (client DataSafeClient) ListMaskedColumns(ctx context.Context, request ListMaskedColumnsRequest) (response ListMaskedColumnsResponse, err error)

ListMaskedColumns Gets a list of masked columns present in the specified masking report and based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListMaskingAnalytics ¶

func (client DataSafeClient) ListMaskingAnalytics(ctx context.Context, request ListMaskingAnalyticsRequest) (response ListMaskingAnalyticsResponse, err error)

ListMaskingAnalytics Gets consolidated masking analytics data based on the specified query parameters. If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour is equivalent to accessLevel "ACCESSIBLE" by default.

See also ¶

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

func (DataSafeClient) ListMaskingColumns ¶

func (client DataSafeClient) ListMaskingColumns(ctx context.Context, request ListMaskingColumnsRequest) (response ListMaskingColumnsResponse, err error)

ListMaskingColumns Gets a list of masking columns present in the specified masking policy and based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListMaskingObjects ¶ added in v65.35.0

func (client DataSafeClient) ListMaskingObjects(ctx context.Context, request ListMaskingObjectsRequest) (response ListMaskingObjectsResponse, err error)

ListMaskingObjects Gets a list of masking objects present in the specified masking policy and based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListMaskingPolicies ¶

func (client DataSafeClient) ListMaskingPolicies(ctx context.Context, request ListMaskingPoliciesRequest) (response ListMaskingPoliciesResponse, err error)

ListMaskingPolicies Gets a list of masking policies based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListMaskingReports ¶

func (client DataSafeClient) ListMaskingReports(ctx context.Context, request ListMaskingReportsRequest) (response ListMaskingReportsResponse, err error)

ListMaskingReports Gets a list of masking reports based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListMaskingSchemas ¶ added in v65.35.0

func (client DataSafeClient) ListMaskingSchemas(ctx context.Context, request ListMaskingSchemasRequest) (response ListMaskingSchemasResponse, err error)

ListMaskingSchemas Gets a list of masking schemas present in the specified masking policy and based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListOnPremConnectors ¶

func (client DataSafeClient) ListOnPremConnectors(ctx context.Context, request ListOnPremConnectorsRequest) (response ListOnPremConnectorsResponse, err error)

ListOnPremConnectors Gets a list of on-premises connectors.

See also ¶

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

func (DataSafeClient) ListProfileAnalytics ¶ added in v65.35.0

func (client DataSafeClient) ListProfileAnalytics(ctx context.Context, request ListProfileAnalyticsRequest) (response ListProfileAnalyticsResponse, err error)

ListProfileAnalytics Gets a list of aggregated user profile details in the specified compartment. This provides information about the overall profiles available. For example, the user profile details include how many users have the profile assigned and do how many use password verification function. This data is especially useful content for dashboards or to support analytics. When you perform the ListProfileAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the root compartment. If the requestor does not have access to at least one subcompartment of the compartment specified by compartmentId, then "Not Authorized" is returned. The parameter compartmentIdInSubtree applies when you perform ListProfileAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To use ListProfileAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListProfileSummaries ¶ added in v65.35.0

func (client DataSafeClient) ListProfileSummaries(ctx context.Context, request ListProfileSummariesRequest) (response ListProfileSummariesResponse, err error)

ListProfileSummaries Gets a list of user profiles containing the profile details along with the target id and user counts. The ListProfiles operation returns only the profiles belonging to a certain target. If compartment type user assessment id is provided, then profile information for all the targets belonging to the pertaining compartment is returned. The list does not include any subcompartments of the compartment under consideration. The parameter 'accessLevel' specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when 'compartmentIdInSubtree' is set to 'true'. The parameter 'compartmentIdInSubtree' applies when you perform ListUserProfiles on the 'compartmentId' belonging to the assessmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter 'compartmentIdInSubtree' to true and 'accessLevel' to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListReportDefinitions ¶

func (client DataSafeClient) ListReportDefinitions(ctx context.Context, request ListReportDefinitionsRequest) (response ListReportDefinitionsResponse, err error)

ListReportDefinitions Gets a list of report definitions. The ListReportDefinitions operation returns only the report definitions in the specified `compartmentId`. It also returns the seeded report definitions which are available to all the compartments.

See also ¶

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

func (DataSafeClient) ListReports ¶

func (client DataSafeClient) ListReports(ctx context.Context, request ListReportsRequest) (response ListReportsResponse, err error)

ListReports Gets a list of all the reports in the compartment. It contains information such as report generation time.

See also ¶

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

func (DataSafeClient) ListRoles ¶

func (client DataSafeClient) ListRoles(ctx context.Context, request ListRolesRequest) (response ListRolesResponse, err error)

ListRoles Returns a list of role metadata objects.

See also ¶

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

func (DataSafeClient) ListSchemas ¶

func (client DataSafeClient) ListSchemas(ctx context.Context, request ListSchemasRequest) (response ListSchemasResponse, err error)

ListSchemas Returns list of schema.

See also ¶

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

func (DataSafeClient) ListSdmMaskingPolicyDifferences ¶ added in v65.35.0

func (client DataSafeClient) ListSdmMaskingPolicyDifferences(ctx context.Context, request ListSdmMaskingPolicyDifferencesRequest) (response ListSdmMaskingPolicyDifferencesResponse, err error)

ListSdmMaskingPolicyDifferences Gets a list of SDM and masking policy difference resources based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListSecurityAssessments ¶

func (client DataSafeClient) ListSecurityAssessments(ctx context.Context, request ListSecurityAssessmentsRequest) (response ListSecurityAssessmentsResponse, err error)

ListSecurityAssessments Gets a list of security assessments. The ListSecurityAssessments operation returns only the assessments in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListSecurityAssessments on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListSensitiveColumns ¶

func (client DataSafeClient) ListSensitiveColumns(ctx context.Context, request ListSensitiveColumnsRequest) (response ListSensitiveColumnsResponse, err error)

ListSensitiveColumns Gets a list of sensitive columns present in the specified sensitive data model based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListSensitiveDataModels ¶

func (client DataSafeClient) ListSensitiveDataModels(ctx context.Context, request ListSensitiveDataModelsRequest) (response ListSensitiveDataModelsResponse, err error)

ListSensitiveDataModels Gets a list of sensitive data models based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListSensitiveObjects ¶ added in v65.35.0

func (client DataSafeClient) ListSensitiveObjects(ctx context.Context, request ListSensitiveObjectsRequest) (response ListSensitiveObjectsResponse, err error)

ListSensitiveObjects Gets a list of sensitive objects present in the specified sensitive data model based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListSensitiveSchemas ¶ added in v65.35.0

func (client DataSafeClient) ListSensitiveSchemas(ctx context.Context, request ListSensitiveSchemasRequest) (response ListSensitiveSchemasResponse, err error)

ListSensitiveSchemas Gets a list of sensitive schemas present in the specified sensitive data model based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListSensitiveTypes ¶

func (client DataSafeClient) ListSensitiveTypes(ctx context.Context, request ListSensitiveTypesRequest) (response ListSensitiveTypesResponse, err error)

ListSensitiveTypes Gets a list of sensitive types based on the specified query parameters.

See also ¶

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

func (DataSafeClient) ListTables ¶

func (client DataSafeClient) ListTables(ctx context.Context, request ListTablesRequest) (response ListTablesResponse, err error)

ListTables Returns a list of table metadata objects.

See also ¶

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

func (DataSafeClient) ListTargetAlertPolicyAssociations ¶

func (client DataSafeClient) ListTargetAlertPolicyAssociations(ctx context.Context, request ListTargetAlertPolicyAssociationsRequest) (response ListTargetAlertPolicyAssociationsResponse, err error)

ListTargetAlertPolicyAssociations Gets a list of all target-alert policy associations.

See also ¶

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

func (DataSafeClient) ListTargetDatabases ¶

func (client DataSafeClient) ListTargetDatabases(ctx context.Context, request ListTargetDatabasesRequest) (response ListTargetDatabasesResponse, err error)

ListTargetDatabases Returns the list of registered target databases in Data Safe.

See also ¶

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

func (DataSafeClient) ListUserAnalytics ¶

func (client DataSafeClient) ListUserAnalytics(ctx context.Context, request ListUserAnalyticsRequest) (response ListUserAnalyticsResponse, err error)

ListUserAnalytics Gets a list of aggregated user details from the specified user assessment. This provides information about the overall state of database user security. For example, the user details include how many users have the DBA role and how many users are in the critical category. This data is especially useful content for dashboards or to support analytics. When you perform the ListUserAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the root compartment. If the requestor does not have access to at least one subcompartment of the compartment specified by compartmentId, then "Not Authorized" is returned. The parameter compartmentIdInSubtree applies when you perform ListUserAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To use ListUserAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListUserAssessments ¶

func (client DataSafeClient) ListUserAssessments(ctx context.Context, request ListUserAssessmentsRequest) (response ListUserAssessmentsResponse, err error)

ListUserAssessments Gets a list of user assessments. The ListUserAssessments operation returns only the assessments in the specified `compartmentId`. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListUserAssessments on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (DataSafeClient) ListUsers ¶

func (client DataSafeClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error)

ListUsers Gets a list of users of the specified user assessment. The result contains the database user details for each user, such as user type, account status, last login time, user creation time, authentication type, user profile, and the date and time of the latest password change. It also contains the user category derived from these user details as well as privileges granted to each user.

See also ¶

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

func (DataSafeClient) ListWorkRequestErrors ¶

func (client DataSafeClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Gets a list of errors for the specified work request.

See also ¶

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

func (DataSafeClient) ListWorkRequestLogs ¶

func (client DataSafeClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Gets a list of log entries for the specified work request.

See also ¶

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

func (DataSafeClient) ListWorkRequests ¶

func (client DataSafeClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Gets a list of work requests.

See also ¶

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

func (DataSafeClient) MaskData ¶

func (client DataSafeClient) MaskData(ctx context.Context, request MaskDataRequest) (response MaskDataResponse, err error)

MaskData Masks data using the specified masking policy.

See also ¶

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

func (DataSafeClient) ModifyGlobalSettings ¶

func (client DataSafeClient) ModifyGlobalSettings(ctx context.Context, request ModifyGlobalSettingsRequest) (response ModifyGlobalSettingsResponse, err error)

ModifyGlobalSettings Modifies Global Settings in Data Safe in the tenancy and region.

See also ¶

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

func (DataSafeClient) PatchAlerts ¶

func (client DataSafeClient) PatchAlerts(ctx context.Context, request PatchAlertsRequest) (response PatchAlertsResponse, err error)

PatchAlerts Updates the status of one or more alert specified by the alert IDs.

See also ¶

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

func (DataSafeClient) PatchDiscoveryJobResults ¶

func (client DataSafeClient) PatchDiscoveryJobResults(ctx context.Context, request PatchDiscoveryJobResultsRequest) (response PatchDiscoveryJobResultsResponse, err error)

PatchDiscoveryJobResults Patches one or more discovery results. You can use this operation to set the plannedAction attribute before using ApplyDiscoveryJobResults to process the results based on this attribute.

See also ¶

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

func (DataSafeClient) PatchMaskingColumns ¶

func (client DataSafeClient) PatchMaskingColumns(ctx context.Context, request PatchMaskingColumnsRequest) (response PatchMaskingColumnsResponse, err error)

PatchMaskingColumns Patches one or more columns in the specified masking policy. Use it to create, or update masking columns. To create masking columns, use CreateMaskingColumnDetails as the patch value. And to update masking columns, use UpdateMaskingColumnDetails as the patch value.

See also ¶

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

func (DataSafeClient) PatchSdmMaskingPolicyDifferenceColumns ¶ added in v65.35.0

func (client DataSafeClient) PatchSdmMaskingPolicyDifferenceColumns(ctx context.Context, request PatchSdmMaskingPolicyDifferenceColumnsRequest) (response PatchSdmMaskingPolicyDifferenceColumnsResponse, err error)

PatchSdmMaskingPolicyDifferenceColumns Patches one or more SDM masking policy difference columns. You can use this operation to set the plannedAction attribute before using ApplySdmMaskingPolicyDifference to process the difference based on this attribute.

See also ¶

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

func (DataSafeClient) PatchSensitiveColumns ¶

func (client DataSafeClient) PatchSensitiveColumns(ctx context.Context, request PatchSensitiveColumnsRequest) (response PatchSensitiveColumnsResponse, err error)

PatchSensitiveColumns Patches one or more columns in the specified sensitive data model. Use it to create, update, or delete sensitive columns. To create sensitive columns, use CreateSensitiveColumnDetails as the patch value. And to update sensitive columns, use UpdateSensitiveColumnDetails as the patch value.

See also ¶

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

func (DataSafeClient) PatchTargetAlertPolicyAssociation ¶ added in v65.27.0

func (client DataSafeClient) PatchTargetAlertPolicyAssociation(ctx context.Context, request PatchTargetAlertPolicyAssociationRequest) (response PatchTargetAlertPolicyAssociationResponse, err error)

PatchTargetAlertPolicyAssociation Creates new target-alert policy associations that will be applied on the target database.

See also ¶

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

func (DataSafeClient) ProvisionAuditPolicy ¶

func (client DataSafeClient) ProvisionAuditPolicy(ctx context.Context, request ProvisionAuditPolicyRequest) (response ProvisionAuditPolicyResponse, err error)

ProvisionAuditPolicy Provision audit policy.

See also ¶

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

func (DataSafeClient) RefreshSecurityAssessment ¶

func (client DataSafeClient) RefreshSecurityAssessment(ctx context.Context, request RefreshSecurityAssessmentRequest) (response RefreshSecurityAssessmentResponse, err error)

RefreshSecurityAssessment Runs a security assessment, refreshes the latest assessment, and saves it for future reference. The assessment runs with a securityAssessmentId of type LATEST. Before you start, first call the ListSecurityAssessments operation with filter "type = latest" to get the security assessment id for the target's latest assessment.

See also ¶

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

func (DataSafeClient) RefreshUserAssessment ¶

func (client DataSafeClient) RefreshUserAssessment(ctx context.Context, request RefreshUserAssessmentRequest) (response RefreshUserAssessmentResponse, err error)

RefreshUserAssessment Refreshes the latest assessment and saves it for future reference. This operation runs with a userAssessmentId of type LATEST. Before you start, first call the ListUserAssessments operation with filter "type = latest" to get the user assessment ID for the target's latest assessment.

See also ¶

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

func (DataSafeClient) RemoveScheduleReport ¶ added in v65.27.0

func (client DataSafeClient) RemoveScheduleReport(ctx context.Context, request RemoveScheduleReportRequest) (response RemoveScheduleReportResponse, err error)

RemoveScheduleReport Deletes the schedule of a PDF or XLS report.

See also ¶

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

func (DataSafeClient) ResumeAuditTrail ¶

func (client DataSafeClient) ResumeAuditTrail(ctx context.Context, request ResumeAuditTrailRequest) (response ResumeAuditTrailResponse, err error)

ResumeAuditTrail Resumes the specified audit trail once it got stopped.

See also ¶

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

func (DataSafeClient) ResumeWorkRequest ¶

func (client DataSafeClient) ResumeWorkRequest(ctx context.Context, request ResumeWorkRequestRequest) (response ResumeWorkRequestResponse, err error)

ResumeWorkRequest Resume the given work request. Issuing a resume does not guarantee of immediate resume of the work request.

See also ¶

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

func (DataSafeClient) RetrieveAuditPolicies ¶

func (client DataSafeClient) RetrieveAuditPolicies(ctx context.Context, request RetrieveAuditPoliciesRequest) (response RetrieveAuditPoliciesResponse, err error)

RetrieveAuditPolicies Retrieves the audit policy details from the source target database.

See also ¶

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

func (DataSafeClient) ScheduleReport ¶ added in v65.27.0

func (client DataSafeClient) ScheduleReport(ctx context.Context, request ScheduleReportRequest) (response ScheduleReportResponse, err error)

ScheduleReport Schedules a PDF or XLS report based on parameters and report definition.

See also ¶

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

func (*DataSafeClient) SetRegion ¶

func (client *DataSafeClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DataSafeClient) SetSecurityAssessmentBaseline ¶

func (client DataSafeClient) SetSecurityAssessmentBaseline(ctx context.Context, request SetSecurityAssessmentBaselineRequest) (response SetSecurityAssessmentBaselineResponse, err error)

SetSecurityAssessmentBaseline Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.

See also ¶

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

func (DataSafeClient) SetUserAssessmentBaseline ¶

func (client DataSafeClient) SetUserAssessmentBaseline(ctx context.Context, request SetUserAssessmentBaselineRequest) (response SetUserAssessmentBaselineResponse, err error)

SetUserAssessmentBaseline Sets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type 'SAVED'.

See also ¶

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

func (DataSafeClient) StartAuditTrail ¶

func (client DataSafeClient) StartAuditTrail(ctx context.Context, request StartAuditTrailRequest) (response StartAuditTrailResponse, err error)

StartAuditTrail Starts collection of audit records on the specified audit trail.

See also ¶

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

func (DataSafeClient) StopAuditTrail ¶

func (client DataSafeClient) StopAuditTrail(ctx context.Context, request StopAuditTrailRequest) (response StopAuditTrailResponse, err error)

StopAuditTrail Stops the specified audit trail.

See also ¶

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

func (DataSafeClient) SuspendWorkRequest ¶

func (client DataSafeClient) SuspendWorkRequest(ctx context.Context, request SuspendWorkRequestRequest) (response SuspendWorkRequestResponse, err error)

SuspendWorkRequest Suspend the given work request. Issuing a suspend does not guarantee of a immediate suspend of the work request.

See also ¶

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

func (DataSafeClient) UnsetSecurityAssessmentBaseline ¶

func (client DataSafeClient) UnsetSecurityAssessmentBaseline(ctx context.Context, request UnsetSecurityAssessmentBaselineRequest) (response UnsetSecurityAssessmentBaselineResponse, err error)

UnsetSecurityAssessmentBaseline Removes the baseline setting for the saved security assessment. The saved security assessment is no longer considered a baseline. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.

See also ¶

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

func (DataSafeClient) UnsetUserAssessmentBaseline ¶

func (client DataSafeClient) UnsetUserAssessmentBaseline(ctx context.Context, request UnsetUserAssessmentBaselineRequest) (response UnsetUserAssessmentBaselineResponse, err error)

UnsetUserAssessmentBaseline Removes the baseline setting for the saved user assessment. The saved user assessment is no longer considered a baseline. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.

See also ¶

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

func (DataSafeClient) UpdateAlert ¶

func (client DataSafeClient) UpdateAlert(ctx context.Context, request UpdateAlertRequest) (response UpdateAlertResponse, err error)

UpdateAlert Updates the status of the specified alert.

See also ¶

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

func (DataSafeClient) UpdateAuditArchiveRetrieval ¶

func (client DataSafeClient) UpdateAuditArchiveRetrieval(ctx context.Context, request UpdateAuditArchiveRetrievalRequest) (response UpdateAuditArchiveRetrievalResponse, err error)

UpdateAuditArchiveRetrieval Updates the audit archive retrieval.

See also ¶

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

func (DataSafeClient) UpdateAuditPolicy ¶

func (client DataSafeClient) UpdateAuditPolicy(ctx context.Context, request UpdateAuditPolicyRequest) (response UpdateAuditPolicyResponse, err error)

UpdateAuditPolicy Updates the audit policy.

See also ¶

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

func (DataSafeClient) UpdateAuditProfile ¶

func (client DataSafeClient) UpdateAuditProfile(ctx context.Context, request UpdateAuditProfileRequest) (response UpdateAuditProfileResponse, err error)

UpdateAuditProfile Updates one or more attributes of the specified audit profile.

See also ¶

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

func (DataSafeClient) UpdateAuditTrail ¶

func (client DataSafeClient) UpdateAuditTrail(ctx context.Context, request UpdateAuditTrailRequest) (response UpdateAuditTrailResponse, err error)

UpdateAuditTrail Updates one or more attributes of the specified audit trail.

See also ¶

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

func (DataSafeClient) UpdateDataSafePrivateEndpoint ¶

func (client DataSafeClient) UpdateDataSafePrivateEndpoint(ctx context.Context, request UpdateDataSafePrivateEndpointRequest) (response UpdateDataSafePrivateEndpointResponse, err error)

UpdateDataSafePrivateEndpoint Updates one or more attributes of the specified Data Safe private endpoint.

See also ¶

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

func (DataSafeClient) UpdateLibraryMaskingFormat ¶

func (client DataSafeClient) UpdateLibraryMaskingFormat(ctx context.Context, request UpdateLibraryMaskingFormatRequest) (response UpdateLibraryMaskingFormatResponse, err error)

UpdateLibraryMaskingFormat Updates one or more attributes of the specified library masking format. Note that updating the formatEntries attribute replaces all the existing masking format entries with the specified format entries.

See also ¶

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

func (DataSafeClient) UpdateMaskingColumn ¶

func (client DataSafeClient) UpdateMaskingColumn(ctx context.Context, request UpdateMaskingColumnRequest) (response UpdateMaskingColumnResponse, err error)

UpdateMaskingColumn Updates one or more attributes of the specified masking column. Note that updating the maskingFormats attribute replaces the currently assigned masking formats with the specified masking formats.

See also ¶

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

func (DataSafeClient) UpdateMaskingPolicy ¶

func (client DataSafeClient) UpdateMaskingPolicy(ctx context.Context, request UpdateMaskingPolicyRequest) (response UpdateMaskingPolicyResponse, err error)

UpdateMaskingPolicy Updates one or more attributes of the specified masking policy.

See also ¶

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

func (DataSafeClient) UpdateOnPremConnector ¶

func (client DataSafeClient) UpdateOnPremConnector(ctx context.Context, request UpdateOnPremConnectorRequest) (response UpdateOnPremConnectorResponse, err error)

UpdateOnPremConnector Updates one or more attributes of the specified on-premises connector.

See also ¶

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

func (DataSafeClient) UpdateOnPremConnectorWallet ¶

func (client DataSafeClient) UpdateOnPremConnectorWallet(ctx context.Context, request UpdateOnPremConnectorWalletRequest) (response UpdateOnPremConnectorWalletResponse, err error)

UpdateOnPremConnectorWallet Updates the wallet for the specified on-premises connector to a new version.

See also ¶

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

func (DataSafeClient) UpdateReportDefinition ¶

func (client DataSafeClient) UpdateReportDefinition(ctx context.Context, request UpdateReportDefinitionRequest) (response UpdateReportDefinitionResponse, err error)

UpdateReportDefinition Updates the specified report definition. Only user created report definition can be updated. Seeded report definitions need to be saved as new report definition first.

See also ¶

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

func (DataSafeClient) UpdateSdmMaskingPolicyDifference ¶ added in v65.35.0

func (client DataSafeClient) UpdateSdmMaskingPolicyDifference(ctx context.Context, request UpdateSdmMaskingPolicyDifferenceRequest) (response UpdateSdmMaskingPolicyDifferenceResponse, err error)

UpdateSdmMaskingPolicyDifference Updates one or more attributes of the specified sdm masking policy difference.

See also ¶

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

func (DataSafeClient) UpdateSecurityAssessment ¶

func (client DataSafeClient) UpdateSecurityAssessment(ctx context.Context, request UpdateSecurityAssessmentRequest) (response UpdateSecurityAssessmentResponse, err error)

UpdateSecurityAssessment Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.

See also ¶

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

func (DataSafeClient) UpdateSensitiveColumn ¶

func (client DataSafeClient) UpdateSensitiveColumn(ctx context.Context, request UpdateSensitiveColumnRequest) (response UpdateSensitiveColumnResponse, err error)

UpdateSensitiveColumn Updates one or more attributes of the specified sensitive column.

See also ¶

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

func (DataSafeClient) UpdateSensitiveDataModel ¶

func (client DataSafeClient) UpdateSensitiveDataModel(ctx context.Context, request UpdateSensitiveDataModelRequest) (response UpdateSensitiveDataModelResponse, err error)

UpdateSensitiveDataModel Updates one or more attributes of the specified sensitive data model. Note that updating any attribute of a sensitive data model does not perform data discovery.

See also ¶

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

func (DataSafeClient) UpdateSensitiveType ¶

func (client DataSafeClient) UpdateSensitiveType(ctx context.Context, request UpdateSensitiveTypeRequest) (response UpdateSensitiveTypeResponse, err error)

UpdateSensitiveType Updates one or more attributes of the specified sensitive type.

See also ¶

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

func (DataSafeClient) UpdateTargetAlertPolicyAssociation ¶

func (client DataSafeClient) UpdateTargetAlertPolicyAssociation(ctx context.Context, request UpdateTargetAlertPolicyAssociationRequest) (response UpdateTargetAlertPolicyAssociationResponse, err error)

UpdateTargetAlertPolicyAssociation Updates the specified target-alert policy association.

See also ¶

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

func (DataSafeClient) UpdateTargetDatabase ¶

func (client DataSafeClient) UpdateTargetDatabase(ctx context.Context, request UpdateTargetDatabaseRequest) (response UpdateTargetDatabaseResponse, err error)

UpdateTargetDatabase Updates one or more attributes of the specified Data Safe target database.

See also ¶

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

func (DataSafeClient) UpdateUserAssessment ¶

func (client DataSafeClient) UpdateUserAssessment(ctx context.Context, request UpdateUserAssessmentRequest) (response UpdateUserAssessmentResponse, err error)

UpdateUserAssessment Updates one or more attributes of the specified user assessment. This operation allows to update the user assessment displayName, description, or schedule.

See also ¶

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

func (DataSafeClient) UploadMaskingPolicy ¶

func (client DataSafeClient) UploadMaskingPolicy(ctx context.Context, request UploadMaskingPolicyRequest) (response UploadMaskingPolicyResponse, err error)

UploadMaskingPolicy Uploads a masking policy file (also called template) to update the specified masking policy. To create a new masking policy using a file, first use the CreateMaskingPolicy operation to create an empty masking policy and then use this endpoint to upload the masking policy file. Note that the upload operation replaces the content of the specified masking policy, including all the existing columns and masking formats, with the content of the file.

See also ¶

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

func (DataSafeClient) UploadSensitiveDataModel ¶

func (client DataSafeClient) UploadSensitiveDataModel(ctx context.Context, request UploadSensitiveDataModelRequest) (response UploadSensitiveDataModelResponse, err error)

UploadSensitiveDataModel Uploads a sensitive data model file (also called template) to update the specified sensitive data model. To create a new sensitive data model using a file, first use the CreateSensitiveDataModel operation to create an empty data model and then use this endpoint to upload the data model file. Note that the upload operation replaces the content of the specified sensitive data model, including all the existing columns and their relationships, with the content of the file.

See also ¶

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

type DataSafeConfiguration ¶

type DataSafeConfiguration struct {

	// Indicates if Data Safe is enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The URL of the Data Safe service.
	Url *string `mandatory:"false" json:"url"`

	// The OCID of the tenancy used to enable Data Safe.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The date and time Data Safe was enabled, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeEnabled *common.SDKTime `mandatory:"false" json:"timeEnabled"`

	// The current state of Data Safe.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The Oracle Data Safe's NAT Gateway IP Address.
	DataSafeNatGatewayIpAddress *string `mandatory:"false" json:"dataSafeNatGatewayIpAddress"`

	GlobalSettings *GlobalSettings `mandatory:"false" json:"globalSettings"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

DataSafeConfiguration A Data Safe configuration for a tenancy and region.

func (DataSafeConfiguration) String ¶

func (m DataSafeConfiguration) String() string

func (DataSafeConfiguration) ValidateEnumValue ¶

func (m DataSafeConfiguration) 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 DataSafePrivateEndpoint ¶

type DataSafePrivateEndpoint struct {

	// The OCID of the Data Safe private endpoint.
	Id *string `mandatory:"true" json:"id"`

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

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

	// The OCID of the VCN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The OCID of the subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID of the underlying private endpoint.
	PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"`

	// The private IP address of the private endpoint.
	PrivateEndpointIp *string `mandatory:"false" json:"privateEndpointIp"`

	// The three-label fully qualified domain name (FQDN) of the private endpoint. The customer VCN's DNS records are updated with this FQDN.
	EndpointFqdn *string `mandatory:"false" json:"endpointFqdn"`

	// The description of the private endpoint.
	Description *string `mandatory:"false" json:"description"`

	// The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The current state of the private endpoint.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The OCIDs of the network security groups that the private endpoint belongs to.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DataSafePrivateEndpoint A Data Safe private endpoint that allows Data Safe to connect to databases in a customer's virtual cloud network (VCN).

func (DataSafePrivateEndpoint) String ¶

func (m DataSafePrivateEndpoint) String() string

func (DataSafePrivateEndpoint) ValidateEnumValue ¶

func (m DataSafePrivateEndpoint) 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 DataSafePrivateEndpointSummary ¶

type DataSafePrivateEndpointSummary struct {

	// The OCID of the Data Safe private endpoint.
	Id *string `mandatory:"true" json:"id"`

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

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

	// The OCID of the VCN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The OCID of the subnet.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID of the private endpoint.
	PrivateEndpointId *string `mandatory:"true" json:"privateEndpointId"`

	// The description of the private endpoint.
	Description *string `mandatory:"false" json:"description"`

	// The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The current state of the private endpoint.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DataSafePrivateEndpointSummary Summary of a Data Safe private endpoint.

func (DataSafePrivateEndpointSummary) String ¶

func (DataSafePrivateEndpointSummary) ValidateEnumValue ¶

func (m DataSafePrivateEndpointSummary) 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 DatabaseCloudServiceDetails ¶

type DatabaseCloudServiceDetails struct {

	// The database service name.
	ServiceName *string `mandatory:"true" json:"serviceName"`

	// The OCID of the VM cluster in which the database is running.
	VmClusterId *string `mandatory:"false" json:"vmClusterId"`

	// The OCID of the cloud database system registered as a target database in Data Safe.
	DbSystemId *string `mandatory:"false" json:"dbSystemId"`

	// The port number of the database listener.
	ListenerPort *int `mandatory:"false" json:"listenerPort"`

	// The infrastructure type the database is running on.
	InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`
}

DatabaseCloudServiceDetails The details of the Oracle Database Cloud Service to be registered as a target database in Data Safe.

func (DatabaseCloudServiceDetails) GetInfrastructureType ¶

func (m DatabaseCloudServiceDetails) GetInfrastructureType() InfrastructureTypeEnum

GetInfrastructureType returns InfrastructureType

func (DatabaseCloudServiceDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DatabaseCloudServiceDetails) String ¶

func (DatabaseCloudServiceDetails) ValidateEnumValue ¶

func (m DatabaseCloudServiceDetails) 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 DatabaseDetails ¶

type DatabaseDetails interface {

	// The infrastructure type the database is running on.
	GetInfrastructureType() InfrastructureTypeEnum
}

DatabaseDetails Details of the database for the registration in Data Safe.

type DatabaseTypeEnum ¶

type DatabaseTypeEnum string

DatabaseTypeEnum Enum with underlying type: string

const (
	DatabaseTypeDatabaseCloudService DatabaseTypeEnum = "DATABASE_CLOUD_SERVICE"
	DatabaseTypeAutonomousDatabase   DatabaseTypeEnum = "AUTONOMOUS_DATABASE"
	DatabaseTypeInstalledDatabase    DatabaseTypeEnum = "INSTALLED_DATABASE"
)

Set of constants representing the allowable values for DatabaseTypeEnum

func GetDatabaseTypeEnumValues ¶

func GetDatabaseTypeEnumValues() []DatabaseTypeEnum

GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum

func GetMappingDatabaseTypeEnum ¶

func GetMappingDatabaseTypeEnum(val string) (DatabaseTypeEnum, bool)

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

type DeactivateTargetDatabaseRequest ¶

type DeactivateTargetDatabaseRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeactivateTargetDatabaseRequest wrapper for the DeactivateTargetDatabase operation

See also ¶

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

func (DeactivateTargetDatabaseRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeactivateTargetDatabaseRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeactivateTargetDatabaseRequest) RetryPolicy ¶

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

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

func (DeactivateTargetDatabaseRequest) String ¶

func (request DeactivateTargetDatabaseRequest) String() string

func (DeactivateTargetDatabaseRequest) ValidateEnumValue ¶

func (request DeactivateTargetDatabaseRequest) 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 DeactivateTargetDatabaseResponse ¶

type DeactivateTargetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeactivateTargetDatabaseResponse wrapper for the DeactivateTargetDatabase operation

func (DeactivateTargetDatabaseResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeactivateTargetDatabaseResponse) String ¶

func (response DeactivateTargetDatabaseResponse) String() string

type DeleteAuditArchiveRetrievalRequest ¶

type DeleteAuditArchiveRetrievalRequest struct {

	// OCID of the archive retrieval.
	AuditArchiveRetrievalId *string `mandatory:"true" contributesTo:"path" name:"auditArchiveRetrievalId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteAuditArchiveRetrievalRequest wrapper for the DeleteAuditArchiveRetrieval operation

See also ¶

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

func (DeleteAuditArchiveRetrievalRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteAuditArchiveRetrievalRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteAuditArchiveRetrievalRequest) RetryPolicy ¶

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

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

func (DeleteAuditArchiveRetrievalRequest) String ¶

func (request DeleteAuditArchiveRetrievalRequest) String() string

func (DeleteAuditArchiveRetrievalRequest) ValidateEnumValue ¶

func (request DeleteAuditArchiveRetrievalRequest) 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 DeleteAuditArchiveRetrievalResponse ¶

type DeleteAuditArchiveRetrievalResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteAuditArchiveRetrievalResponse wrapper for the DeleteAuditArchiveRetrieval operation

func (DeleteAuditArchiveRetrievalResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteAuditArchiveRetrievalResponse) String ¶

func (response DeleteAuditArchiveRetrievalResponse) String() string

type DeleteAuditTrailRequest ¶

type DeleteAuditTrailRequest struct {

	// The OCID of the audit trail.
	AuditTrailId *string `mandatory:"true" contributesTo:"path" name:"auditTrailId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteAuditTrailRequest wrapper for the DeleteAuditTrail operation

See also ¶

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

func (DeleteAuditTrailRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteAuditTrailRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteAuditTrailRequest) RetryPolicy ¶

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

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

func (DeleteAuditTrailRequest) String ¶

func (request DeleteAuditTrailRequest) String() string

func (DeleteAuditTrailRequest) ValidateEnumValue ¶

func (request DeleteAuditTrailRequest) 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 DeleteAuditTrailResponse ¶

type DeleteAuditTrailResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteAuditTrailResponse wrapper for the DeleteAuditTrail operation

func (DeleteAuditTrailResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteAuditTrailResponse) String ¶

func (response DeleteAuditTrailResponse) String() string

type DeleteDataSafePrivateEndpointRequest ¶

type DeleteDataSafePrivateEndpointRequest struct {

	// The OCID of the private endpoint.
	DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteDataSafePrivateEndpointRequest wrapper for the DeleteDataSafePrivateEndpoint operation

See also ¶

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

func (DeleteDataSafePrivateEndpointRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataSafePrivateEndpointRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteDataSafePrivateEndpointRequest) RetryPolicy ¶

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

func (DeleteDataSafePrivateEndpointRequest) String ¶

func (DeleteDataSafePrivateEndpointRequest) ValidateEnumValue ¶

func (request DeleteDataSafePrivateEndpointRequest) 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 DeleteDataSafePrivateEndpointResponse ¶

type DeleteDataSafePrivateEndpointResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteDataSafePrivateEndpointResponse wrapper for the DeleteDataSafePrivateEndpoint operation

func (DeleteDataSafePrivateEndpointResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteDataSafePrivateEndpointResponse) String ¶

type DeleteDiscoveryJobRequest ¶

type DeleteDiscoveryJobRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteDiscoveryJobRequest wrapper for the DeleteDiscoveryJob operation

See also ¶

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

func (DeleteDiscoveryJobRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteDiscoveryJobRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteDiscoveryJobRequest) RetryPolicy ¶

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

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

func (DeleteDiscoveryJobRequest) String ¶

func (request DeleteDiscoveryJobRequest) String() string

func (DeleteDiscoveryJobRequest) ValidateEnumValue ¶

func (request DeleteDiscoveryJobRequest) 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 DeleteDiscoveryJobResponse ¶

type DeleteDiscoveryJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteDiscoveryJobResponse wrapper for the DeleteDiscoveryJob operation

func (DeleteDiscoveryJobResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteDiscoveryJobResponse) String ¶

func (response DeleteDiscoveryJobResponse) String() string

type DeleteDiscoveryJobResultRequest ¶

type DeleteDiscoveryJobResultRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// The unique key that identifies the discovery result.
	ResultKey *string `mandatory:"true" contributesTo:"path" name:"resultKey"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteDiscoveryJobResultRequest wrapper for the DeleteDiscoveryJobResult operation

See also ¶

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

func (DeleteDiscoveryJobResultRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteDiscoveryJobResultRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteDiscoveryJobResultRequest) RetryPolicy ¶

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

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

func (DeleteDiscoveryJobResultRequest) String ¶

func (request DeleteDiscoveryJobResultRequest) String() string

func (DeleteDiscoveryJobResultRequest) ValidateEnumValue ¶

func (request DeleteDiscoveryJobResultRequest) 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 DeleteDiscoveryJobResultResponse ¶

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

DeleteDiscoveryJobResultResponse wrapper for the DeleteDiscoveryJobResult operation

func (DeleteDiscoveryJobResultResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteDiscoveryJobResultResponse) String ¶

func (response DeleteDiscoveryJobResultResponse) String() string

type DeleteLibraryMaskingFormatRequest ¶

type DeleteLibraryMaskingFormatRequest struct {

	// The OCID of the library masking format.
	LibraryMaskingFormatId *string `mandatory:"true" contributesTo:"path" name:"libraryMaskingFormatId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteLibraryMaskingFormatRequest wrapper for the DeleteLibraryMaskingFormat operation

See also ¶

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

func (DeleteLibraryMaskingFormatRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLibraryMaskingFormatRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteLibraryMaskingFormatRequest) RetryPolicy ¶

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

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

func (DeleteLibraryMaskingFormatRequest) String ¶

func (request DeleteLibraryMaskingFormatRequest) String() string

func (DeleteLibraryMaskingFormatRequest) ValidateEnumValue ¶

func (request DeleteLibraryMaskingFormatRequest) 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 DeleteLibraryMaskingFormatResponse ¶

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

DeleteLibraryMaskingFormatResponse wrapper for the DeleteLibraryMaskingFormat operation

func (DeleteLibraryMaskingFormatResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteLibraryMaskingFormatResponse) String ¶

func (response DeleteLibraryMaskingFormatResponse) String() string

type DeleteMaskingColumnRequest ¶

type DeleteMaskingColumnRequest struct {

	// The unique key that identifies the masking column. It's numeric and unique within a masking policy.
	MaskingColumnKey *string `mandatory:"true" contributesTo:"path" name:"maskingColumnKey"`

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteMaskingColumnRequest wrapper for the DeleteMaskingColumn operation

See also ¶

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

func (DeleteMaskingColumnRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteMaskingColumnRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteMaskingColumnRequest) RetryPolicy ¶

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

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

func (DeleteMaskingColumnRequest) String ¶

func (request DeleteMaskingColumnRequest) String() string

func (DeleteMaskingColumnRequest) ValidateEnumValue ¶

func (request DeleteMaskingColumnRequest) 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 DeleteMaskingColumnResponse ¶

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

DeleteMaskingColumnResponse wrapper for the DeleteMaskingColumn operation

func (DeleteMaskingColumnResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteMaskingColumnResponse) String ¶

func (response DeleteMaskingColumnResponse) String() string

type DeleteMaskingPolicyRequest ¶

type DeleteMaskingPolicyRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteMaskingPolicyRequest wrapper for the DeleteMaskingPolicy operation

See also ¶

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

func (DeleteMaskingPolicyRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteMaskingPolicyRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteMaskingPolicyRequest) RetryPolicy ¶

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

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

func (DeleteMaskingPolicyRequest) String ¶

func (request DeleteMaskingPolicyRequest) String() string

func (DeleteMaskingPolicyRequest) ValidateEnumValue ¶

func (request DeleteMaskingPolicyRequest) 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 DeleteMaskingPolicyResponse ¶

type DeleteMaskingPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteMaskingPolicyResponse wrapper for the DeleteMaskingPolicy operation

func (DeleteMaskingPolicyResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteMaskingPolicyResponse) String ¶

func (response DeleteMaskingPolicyResponse) String() string

type DeleteOnPremConnectorRequest ¶

type DeleteOnPremConnectorRequest struct {

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteOnPremConnectorRequest wrapper for the DeleteOnPremConnector operation

See also ¶

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

func (DeleteOnPremConnectorRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOnPremConnectorRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteOnPremConnectorRequest) RetryPolicy ¶

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

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

func (DeleteOnPremConnectorRequest) String ¶

func (request DeleteOnPremConnectorRequest) String() string

func (DeleteOnPremConnectorRequest) ValidateEnumValue ¶

func (request DeleteOnPremConnectorRequest) 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 DeleteOnPremConnectorResponse ¶

type DeleteOnPremConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteOnPremConnectorResponse wrapper for the DeleteOnPremConnector operation

func (DeleteOnPremConnectorResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteOnPremConnectorResponse) String ¶

func (response DeleteOnPremConnectorResponse) String() string

type DeleteReportDefinitionRequest ¶

type DeleteReportDefinitionRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteReportDefinitionRequest wrapper for the DeleteReportDefinition operation

See also ¶

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

func (DeleteReportDefinitionRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteReportDefinitionRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteReportDefinitionRequest) RetryPolicy ¶

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

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

func (DeleteReportDefinitionRequest) String ¶

func (request DeleteReportDefinitionRequest) String() string

func (DeleteReportDefinitionRequest) ValidateEnumValue ¶

func (request DeleteReportDefinitionRequest) 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 DeleteReportDefinitionResponse ¶

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

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteReportDefinitionResponse wrapper for the DeleteReportDefinition operation

func (DeleteReportDefinitionResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteReportDefinitionResponse) String ¶

func (response DeleteReportDefinitionResponse) String() string

type DeleteRowsFormatEntry ¶

type DeleteRowsFormatEntry struct {

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

DeleteRowsFormatEntry The Delete Rows masking format deletes the rows that meet a user-specified condition. It is useful in conditional masking when you want to delete a subset of values in a column and mask the remaining values using some other masking formats. You should be careful while using this masking format. If no condition is specified, all rows in a table are deleted. If a column is being masked using Delete Rows, there must not be a foreign key constraint or dependent column referring to the table. To learn more, check Delete Rows in the Data Safe documentation.

func (DeleteRowsFormatEntry) GetDescription ¶

func (m DeleteRowsFormatEntry) GetDescription() *string

GetDescription returns Description

func (DeleteRowsFormatEntry) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DeleteRowsFormatEntry) String ¶

func (m DeleteRowsFormatEntry) String() string

func (DeleteRowsFormatEntry) ValidateEnumValue ¶

func (m DeleteRowsFormatEntry) 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 DeleteSdmMaskingPolicyDifferenceRequest ¶ added in v65.35.0

type DeleteSdmMaskingPolicyDifferenceRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteSdmMaskingPolicyDifferenceRequest wrapper for the DeleteSdmMaskingPolicyDifference operation

See also ¶

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

func (DeleteSdmMaskingPolicyDifferenceRequest) BinaryRequestBody ¶ added in v65.35.0

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSdmMaskingPolicyDifferenceRequest) HTTPRequest ¶ added in v65.35.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteSdmMaskingPolicyDifferenceRequest) RetryPolicy ¶ added in v65.35.0

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

func (DeleteSdmMaskingPolicyDifferenceRequest) String ¶ added in v65.35.0

func (DeleteSdmMaskingPolicyDifferenceRequest) ValidateEnumValue ¶ added in v65.35.0

func (request DeleteSdmMaskingPolicyDifferenceRequest) 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 DeleteSdmMaskingPolicyDifferenceResponse ¶ added in v65.35.0

type DeleteSdmMaskingPolicyDifferenceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteSdmMaskingPolicyDifferenceResponse wrapper for the DeleteSdmMaskingPolicyDifference operation

func (DeleteSdmMaskingPolicyDifferenceResponse) HTTPResponse ¶ added in v65.35.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteSdmMaskingPolicyDifferenceResponse) String ¶ added in v65.35.0

type DeleteSecurityAssessmentRequest ¶

type DeleteSecurityAssessmentRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteSecurityAssessmentRequest wrapper for the DeleteSecurityAssessment operation

See also ¶

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

func (DeleteSecurityAssessmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityAssessmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityAssessmentRequest) RetryPolicy ¶

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

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

func (DeleteSecurityAssessmentRequest) String ¶

func (request DeleteSecurityAssessmentRequest) String() string

func (DeleteSecurityAssessmentRequest) ValidateEnumValue ¶

func (request DeleteSecurityAssessmentRequest) 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 DeleteSecurityAssessmentResponse ¶

type DeleteSecurityAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteSecurityAssessmentResponse wrapper for the DeleteSecurityAssessment operation

func (DeleteSecurityAssessmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityAssessmentResponse) String ¶

func (response DeleteSecurityAssessmentResponse) String() string

type DeleteSensitiveColumnRequest ¶

type DeleteSensitiveColumnRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
	SensitiveColumnKey *string `mandatory:"true" contributesTo:"path" name:"sensitiveColumnKey"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteSensitiveColumnRequest wrapper for the DeleteSensitiveColumn operation

See also ¶

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

func (DeleteSensitiveColumnRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSensitiveColumnRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteSensitiveColumnRequest) RetryPolicy ¶

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

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

func (DeleteSensitiveColumnRequest) String ¶

func (request DeleteSensitiveColumnRequest) String() string

func (DeleteSensitiveColumnRequest) ValidateEnumValue ¶

func (request DeleteSensitiveColumnRequest) 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 DeleteSensitiveColumnResponse ¶

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

DeleteSensitiveColumnResponse wrapper for the DeleteSensitiveColumn operation

func (DeleteSensitiveColumnResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteSensitiveColumnResponse) String ¶

func (response DeleteSensitiveColumnResponse) String() string

type DeleteSensitiveDataModelRequest ¶

type DeleteSensitiveDataModelRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteSensitiveDataModelRequest wrapper for the DeleteSensitiveDataModel operation

See also ¶

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

func (DeleteSensitiveDataModelRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSensitiveDataModelRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteSensitiveDataModelRequest) RetryPolicy ¶

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

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

func (DeleteSensitiveDataModelRequest) String ¶

func (request DeleteSensitiveDataModelRequest) String() string

func (DeleteSensitiveDataModelRequest) ValidateEnumValue ¶

func (request DeleteSensitiveDataModelRequest) 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 DeleteSensitiveDataModelResponse ¶

type DeleteSensitiveDataModelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteSensitiveDataModelResponse wrapper for the DeleteSensitiveDataModel operation

func (DeleteSensitiveDataModelResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteSensitiveDataModelResponse) String ¶

func (response DeleteSensitiveDataModelResponse) String() string

type DeleteSensitiveTypeRequest ¶

type DeleteSensitiveTypeRequest struct {

	// The OCID of the sensitive type.
	SensitiveTypeId *string `mandatory:"true" contributesTo:"path" name:"sensitiveTypeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteSensitiveTypeRequest wrapper for the DeleteSensitiveType operation

See also ¶

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

func (DeleteSensitiveTypeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteSensitiveTypeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteSensitiveTypeRequest) RetryPolicy ¶

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

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

func (DeleteSensitiveTypeRequest) String ¶

func (request DeleteSensitiveTypeRequest) String() string

func (DeleteSensitiveTypeRequest) ValidateEnumValue ¶

func (request DeleteSensitiveTypeRequest) 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 DeleteSensitiveTypeResponse ¶

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

DeleteSensitiveTypeResponse wrapper for the DeleteSensitiveType operation

func (DeleteSensitiveTypeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteSensitiveTypeResponse) String ¶

func (response DeleteSensitiveTypeResponse) String() string

type DeleteTargetAlertPolicyAssociationRequest ¶

type DeleteTargetAlertPolicyAssociationRequest struct {

	// The OCID of the target-alert policy association.
	TargetAlertPolicyAssociationId *string `mandatory:"true" contributesTo:"path" name:"targetAlertPolicyAssociationId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteTargetAlertPolicyAssociationRequest wrapper for the DeleteTargetAlertPolicyAssociation operation

See also ¶

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

func (DeleteTargetAlertPolicyAssociationRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetAlertPolicyAssociationRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteTargetAlertPolicyAssociationRequest) RetryPolicy ¶

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

func (DeleteTargetAlertPolicyAssociationRequest) String ¶

func (DeleteTargetAlertPolicyAssociationRequest) ValidateEnumValue ¶

func (request DeleteTargetAlertPolicyAssociationRequest) 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 DeleteTargetAlertPolicyAssociationResponse ¶

type DeleteTargetAlertPolicyAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteTargetAlertPolicyAssociationResponse wrapper for the DeleteTargetAlertPolicyAssociation operation

func (DeleteTargetAlertPolicyAssociationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetAlertPolicyAssociationResponse) String ¶

type DeleteTargetDatabaseRequest ¶

type DeleteTargetDatabaseRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteTargetDatabaseRequest wrapper for the DeleteTargetDatabase operation

See also ¶

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

func (DeleteTargetDatabaseRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetDatabaseRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteTargetDatabaseRequest) RetryPolicy ¶

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

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

func (DeleteTargetDatabaseRequest) String ¶

func (request DeleteTargetDatabaseRequest) String() string

func (DeleteTargetDatabaseRequest) ValidateEnumValue ¶

func (request DeleteTargetDatabaseRequest) 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 DeleteTargetDatabaseResponse ¶

type DeleteTargetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteTargetDatabaseResponse wrapper for the DeleteTargetDatabase operation

func (DeleteTargetDatabaseResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetDatabaseResponse) String ¶

func (response DeleteTargetDatabaseResponse) String() string

type DeleteUserAssessmentRequest ¶

type DeleteUserAssessmentRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteUserAssessmentRequest wrapper for the DeleteUserAssessment operation

See also ¶

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

func (DeleteUserAssessmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteUserAssessmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeleteUserAssessmentRequest) RetryPolicy ¶

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

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

func (DeleteUserAssessmentRequest) String ¶

func (request DeleteUserAssessmentRequest) String() string

func (DeleteUserAssessmentRequest) ValidateEnumValue ¶

func (request DeleteUserAssessmentRequest) 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 DeleteUserAssessmentResponse ¶

type DeleteUserAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteUserAssessmentResponse wrapper for the DeleteUserAssessment operation

func (DeleteUserAssessmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteUserAssessmentResponse) String ¶

func (response DeleteUserAssessmentResponse) String() string

type DeterministicEncryptionDateFormatEntry ¶

type DeterministicEncryptionDateFormatEntry struct {

	// The lower bound of the range within which all the original column values fall.
	// The start date must be less than or equal to the end date.
	StartDate *common.SDKTime `mandatory:"true" json:"startDate"`

	// The upper bound of the range within which all the original column values fall.
	// The end date must be greater than or equal to the start date.
	EndDate *common.SDKTime `mandatory:"true" json:"endDate"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

DeterministicEncryptionDateFormatEntry The Deterministic Encryption (Date) masking format encrypts column data using a cryptographic key and Advanced Encryption Standard (AES 128). It can be used to encrypt date columns only. It requires a range of dates as input defined by the startDate and endDate attributes. The start date must be less than or equal to the end date. The original column values in all the rows must be within the specified date range. The encrypted values are also within the specified range. Therefore, to ensure uniqueness, the total number of dates in the range must be greater than or equal to the number of distinct original values in the column. If an original value is not in the specified date range, it might not produce a one-to-one mapping. All non-confirming values are mapped to a single encrypted value, thereby producing a many-to-one mapping. Deterministic Encryption (Date) is a format-preserving, deterministic and reversible masking format, which requires a seed value while submitting a masking work request. Passing the same seed value when masking multiple times or masking different databases ensures that the data is masked deterministically. To learn more, check Deterministic Encryption in the Data Safe documentation.

func (DeterministicEncryptionDateFormatEntry) GetDescription ¶

func (m DeterministicEncryptionDateFormatEntry) GetDescription() *string

GetDescription returns Description

func (DeterministicEncryptionDateFormatEntry) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DeterministicEncryptionDateFormatEntry) String ¶

func (DeterministicEncryptionDateFormatEntry) ValidateEnumValue ¶

func (m DeterministicEncryptionDateFormatEntry) 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 DeterministicEncryptionFormatEntry ¶

type DeterministicEncryptionFormatEntry struct {

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`

	// The regular expression to be used for masking. For data with characters in the
	// ASCII character set, providing a regular expression is optional. However, it
	// is required if the data contains multi-byte characters. If not provided, an
	// error is returned when a multi-byte character is found.
	// In the case of ASCII characters, if a regular expression is not provided,
	// Deterministic Encryption can encrypt variable-length column values while
	// preserving their original format.
	// If a regular expression is provided, the column values in all the rows must match
	// the regular expression. Deterministic Encryption supports a subset of the regular
	// expression language. It supports encryption of fixed-length strings, and does not
	// support * or + syntax of regular expressions. The encrypted values also match the
	// regular expression, which helps to ensure that the original format is preserved.
	// If an original value does not match the regular expression, Deterministic Encryption
	// might not produce a one-to-one mapping. All non-confirming values are mapped to a
	// single encrypted value, thereby producing a many-to-one mapping.
	RegularExpression *string `mandatory:"false" json:"regularExpression"`
}

DeterministicEncryptionFormatEntry The Deterministic Encryption masking format encrypts column data using a cryptographic key and Advanced Encryption Standard (AES 128). It can be used to encrypt character and number columns. It can encrypt ASCII data without any input (except seed value), but it needs a regular expression to encrypt non-ASCII data. Deterministic Encryption is a format-preserving, deterministic and reversible masking format, which requires a seed value while submitting a masking work request. Passing the same seed value when masking multiple times or masking different databases ensures that the data is masked deterministically. To learn more, check Deterministic Encryption in the Data Safe documentation.

func (DeterministicEncryptionFormatEntry) GetDescription ¶

func (m DeterministicEncryptionFormatEntry) GetDescription() *string

GetDescription returns Description

func (DeterministicEncryptionFormatEntry) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DeterministicEncryptionFormatEntry) String ¶

func (DeterministicEncryptionFormatEntry) ValidateEnumValue ¶

func (m DeterministicEncryptionFormatEntry) 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 DeterministicSubstitutionFormatEntry ¶

type DeterministicSubstitutionFormatEntry struct {

	// The name of the schema that contains the substitution column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The name of the table that contains the substitution column.
	TableName *string `mandatory:"true" json:"tableName"`

	// The name of the substitution column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

DeterministicSubstitutionFormatEntry The Deterministic Substitution masking format uses the specified substitution column as the source of masked values. It performs hash-based substitution to replace the original data in a column with values from the substitution column. As a masking operation renames tables temporarily, the substitution column must be in a table that has no masking column. Also, you may want to ensure that the substitution column has sufficient values to uniquely mask the target column. Deterministic Substitution requires a seed value while submitting a masking work request. Passing the same seed value when masking multiple times or masking different databases ensures that the data is masked deterministically. To learn more, check Deterministic Substitution in the Data Safe documentation.

func (DeterministicSubstitutionFormatEntry) GetDescription ¶

func (m DeterministicSubstitutionFormatEntry) GetDescription() *string

GetDescription returns Description

func (DeterministicSubstitutionFormatEntry) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DeterministicSubstitutionFormatEntry) String ¶

func (DeterministicSubstitutionFormatEntry) ValidateEnumValue ¶

func (m DeterministicSubstitutionFormatEntry) 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 DifferenceColumn ¶ added in v65.35.0

type DifferenceColumn struct {

	// The unique key that identifies the SDM masking policy difference column.
	Key *string `mandatory:"true" json:"key"`

	// The type of the SDM masking policy difference column. It can be one of the following three types:
	// NEW: A new sensitive column in the sensitive data model that is not in the masking policy.
	// DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model.
	// MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
	DifferenceType DifferenceColumnDifferenceTypeEnum `mandatory:"true" json:"differenceType"`

	// The database schema that contains the difference column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the difference column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the difference column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options:
	// SYNC: To sync the difference column and update the masking policy to reflect the changes.
	// NO_SYNC: To not sync the difference column so that it doesn't change the masking policy.
	// After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
	PlannedAction DifferenceColumnPlannedActionEnum `mandatory:"true" json:"plannedAction"`

	// Indicates if the difference column has been processed. Use GetDifferenceColumn operation to
	// track whether the difference column has already been processed and applied to the masking policy.
	SyncStatus DifferenceColumnSyncStatusEnum `mandatory:"true" json:"syncStatus"`

	// The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
	SensitiveColumnkey *string `mandatory:"false" json:"sensitiveColumnkey"`

	// The unique key that identifies the masking column represented by the SDM masking policy difference column.
	MaskingColumnkey *string `mandatory:"false" json:"maskingColumnkey"`

	// The OCID of the sensitive type associated with the difference column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastSynced *common.SDKTime `mandatory:"false" json:"timeLastSynced"`
}

DifferenceColumn A SDM masking policy difference column. It can be one of the following three types: NEW: A new column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.

func (DifferenceColumn) String ¶ added in v65.35.0

func (m DifferenceColumn) String() string

func (DifferenceColumn) ValidateEnumValue ¶ added in v65.35.0

func (m DifferenceColumn) 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 DifferenceColumnDifferenceTypeEnum ¶ added in v65.35.0

type DifferenceColumnDifferenceTypeEnum string

DifferenceColumnDifferenceTypeEnum Enum with underlying type: string

const (
	DifferenceColumnDifferenceTypeNew      DifferenceColumnDifferenceTypeEnum = "NEW"
	DifferenceColumnDifferenceTypeModified DifferenceColumnDifferenceTypeEnum = "MODIFIED"
	DifferenceColumnDifferenceTypeDeleted  DifferenceColumnDifferenceTypeEnum = "DELETED"
)

Set of constants representing the allowable values for DifferenceColumnDifferenceTypeEnum

func GetDifferenceColumnDifferenceTypeEnumValues ¶ added in v65.35.0

func GetDifferenceColumnDifferenceTypeEnumValues() []DifferenceColumnDifferenceTypeEnum

GetDifferenceColumnDifferenceTypeEnumValues Enumerates the set of values for DifferenceColumnDifferenceTypeEnum

func GetMappingDifferenceColumnDifferenceTypeEnum ¶ added in v65.35.0

func GetMappingDifferenceColumnDifferenceTypeEnum(val string) (DifferenceColumnDifferenceTypeEnum, bool)

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

type DifferenceColumnPlannedActionEnum ¶ added in v65.35.0

type DifferenceColumnPlannedActionEnum string

DifferenceColumnPlannedActionEnum Enum with underlying type: string

const (
	DifferenceColumnPlannedActionSync   DifferenceColumnPlannedActionEnum = "SYNC"
	DifferenceColumnPlannedActionNoSync DifferenceColumnPlannedActionEnum = "NO_SYNC"
)

Set of constants representing the allowable values for DifferenceColumnPlannedActionEnum

func GetDifferenceColumnPlannedActionEnumValues ¶ added in v65.35.0

func GetDifferenceColumnPlannedActionEnumValues() []DifferenceColumnPlannedActionEnum

GetDifferenceColumnPlannedActionEnumValues Enumerates the set of values for DifferenceColumnPlannedActionEnum

func GetMappingDifferenceColumnPlannedActionEnum ¶ added in v65.35.0

func GetMappingDifferenceColumnPlannedActionEnum(val string) (DifferenceColumnPlannedActionEnum, bool)

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

type DifferenceColumnSummary ¶ added in v65.35.0

type DifferenceColumnSummary struct {

	// The unique key that identifies the SDM masking policy difference column.
	Key *string `mandatory:"true" json:"key"`

	// The type of the SDM masking policy difference column. It can be one of the following three types:
	// NEW: A new sensitive column in the sensitive data model that is not in the masking policy.
	// DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model.
	// MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
	DifferenceType DifferenceColumnDifferenceTypeEnum `mandatory:"true" json:"differenceType"`

	// The database schema that contains the difference column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the difference column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the difference column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options:
	// SYNC: To sync the difference column and update the masking policy to reflect the changes.
	// NO_SYNC: To not sync the difference column so that it doesn't change the masking policy.
	// After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
	PlannedAction DifferenceColumnPlannedActionEnum `mandatory:"true" json:"plannedAction"`

	// Indicates if the difference column has been processed.Use GetDifferenceColumn operation to track whether the difference column has
	// already been processed and applied to the masking policy.
	SyncStatus DifferenceColumnSyncStatusEnum `mandatory:"true" json:"syncStatus"`

	// The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
	SensitiveColumnkey *string `mandatory:"false" json:"sensitiveColumnkey"`

	// The unique key that identifies the masking column represented by the SDM masking policy difference column.
	MaskingColumnkey *string `mandatory:"false" json:"maskingColumnkey"`

	// The OCID of the sensitive type associated with the difference column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastSynced *common.SDKTime `mandatory:"false" json:"timeLastSynced"`
}

DifferenceColumnSummary Summary of a SDM masking policy difference column.

func (DifferenceColumnSummary) String ¶ added in v65.35.0

func (m DifferenceColumnSummary) String() string

func (DifferenceColumnSummary) ValidateEnumValue ¶ added in v65.35.0

func (m DifferenceColumnSummary) 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 DifferenceColumnSyncStatusEnum ¶ added in v65.35.0

type DifferenceColumnSyncStatusEnum string

DifferenceColumnSyncStatusEnum Enum with underlying type: string

const (
	DifferenceColumnSyncStatusSynced    DifferenceColumnSyncStatusEnum = "SYNCED"
	DifferenceColumnSyncStatusNotSynced DifferenceColumnSyncStatusEnum = "NOT_SYNCED"
)

Set of constants representing the allowable values for DifferenceColumnSyncStatusEnum

func GetDifferenceColumnSyncStatusEnumValues ¶ added in v65.35.0

func GetDifferenceColumnSyncStatusEnumValues() []DifferenceColumnSyncStatusEnum

GetDifferenceColumnSyncStatusEnumValues Enumerates the set of values for DifferenceColumnSyncStatusEnum

func GetMappingDifferenceColumnSyncStatusEnum ¶ added in v65.35.0

func GetMappingDifferenceColumnSyncStatusEnum(val string) (DifferenceColumnSyncStatusEnum, bool)

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

type Diffs ¶

type Diffs struct {
	Current *Finding `mandatory:"false" json:"current"`

	Baseline *Finding `mandatory:"false" json:"baseline"`

	// This array identifies the items that are present in the baseline, but are missing from the current assessment.
	RemovedItems []string `mandatory:"false" json:"removedItems"`

	// This array identifies the items that are present in the current assessment, but are missing from the baseline.
	AddedItems []string `mandatory:"false" json:"addedItems"`

	// This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.
	ModifiedItems []string `mandatory:"false" json:"modifiedItems"`

	// The severity of this diff.
	Severity DiffsSeverityEnum `mandatory:"false" json:"severity,omitempty"`
}

Diffs Results of the comparison of an item between two security assessments.

func (Diffs) String ¶

func (m Diffs) String() string

func (Diffs) ValidateEnumValue ¶

func (m Diffs) 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 DiffsSeverityEnum ¶

type DiffsSeverityEnum string

DiffsSeverityEnum Enum with underlying type: string

const (
	DiffsSeverityHigh     DiffsSeverityEnum = "HIGH"
	DiffsSeverityMedium   DiffsSeverityEnum = "MEDIUM"
	DiffsSeverityLow      DiffsSeverityEnum = "LOW"
	DiffsSeverityEvaluate DiffsSeverityEnum = "EVALUATE"
	DiffsSeverityAdvisory DiffsSeverityEnum = "ADVISORY"
	DiffsSeverityPass     DiffsSeverityEnum = "PASS"
)

Set of constants representing the allowable values for DiffsSeverityEnum

func GetDiffsSeverityEnumValues ¶

func GetDiffsSeverityEnumValues() []DiffsSeverityEnum

GetDiffsSeverityEnumValues Enumerates the set of values for DiffsSeverityEnum

func GetMappingDiffsSeverityEnum ¶

func GetMappingDiffsSeverityEnum(val string) (DiffsSeverityEnum, bool)

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

type Dimensions ¶

type Dimensions struct {

	// The OCID of the target database.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"false" json:"sensitiveDataModelId"`
}

Dimensions The scope of analytics data.

func (Dimensions) String ¶

func (m Dimensions) String() string

func (Dimensions) ValidateEnumValue ¶

func (m Dimensions) 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 DiscoverAuditTrailsRequest ¶

type DiscoverAuditTrailsRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

DiscoverAuditTrailsRequest wrapper for the DiscoverAuditTrails operation

See also ¶

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

func (DiscoverAuditTrailsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DiscoverAuditTrailsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DiscoverAuditTrailsRequest) RetryPolicy ¶

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

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

func (DiscoverAuditTrailsRequest) String ¶

func (request DiscoverAuditTrailsRequest) String() string

func (DiscoverAuditTrailsRequest) ValidateEnumValue ¶

func (request DiscoverAuditTrailsRequest) 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 DiscoverAuditTrailsResponse ¶

type DiscoverAuditTrailsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DiscoverAuditTrailsResponse wrapper for the DiscoverAuditTrails operation

func (DiscoverAuditTrailsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DiscoverAuditTrailsResponse) String ¶

func (response DiscoverAuditTrailsResponse) String() string

type DiscoveryAnalyticsCollection ¶

type DiscoveryAnalyticsCollection struct {

	// An array of discovery analytics summary objects.
	Items []DiscoveryAnalyticsSummary `mandatory:"true" json:"items"`
}

DiscoveryAnalyticsCollection A collection of discovery analytics summary objects.

func (DiscoveryAnalyticsCollection) String ¶

func (DiscoveryAnalyticsCollection) ValidateEnumValue ¶

func (m DiscoveryAnalyticsCollection) 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 DiscoveryAnalyticsSummary ¶

type DiscoveryAnalyticsSummary struct {

	// The name of the aggregation metric.
	MetricName DiscoveryAnalyticsSummaryMetricNameEnum `mandatory:"true" json:"metricName"`

	// The total count for the aggregation metric.
	Count *int64 `mandatory:"true" json:"count"`

	Dimensions *Dimensions `mandatory:"false" json:"dimensions"`
}

DiscoveryAnalyticsSummary Summary of discovery analytics data.

func (DiscoveryAnalyticsSummary) String ¶

func (m DiscoveryAnalyticsSummary) String() string

func (DiscoveryAnalyticsSummary) ValidateEnumValue ¶

func (m DiscoveryAnalyticsSummary) 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 DiscoveryAnalyticsSummaryMetricNameEnum ¶

type DiscoveryAnalyticsSummaryMetricNameEnum string

DiscoveryAnalyticsSummaryMetricNameEnum Enum with underlying type: string

const (
	DiscoveryAnalyticsSummaryMetricNameDataModel DiscoveryAnalyticsSummaryMetricNameEnum = "SENSITIVE_DATA_MODEL"
	DiscoveryAnalyticsSummaryMetricNameType      DiscoveryAnalyticsSummaryMetricNameEnum = "SENSITIVE_TYPE"
	DiscoveryAnalyticsSummaryMetricNameSchema    DiscoveryAnalyticsSummaryMetricNameEnum = "SENSITIVE_SCHEMA"
	DiscoveryAnalyticsSummaryMetricNameTable     DiscoveryAnalyticsSummaryMetricNameEnum = "SENSITIVE_TABLE"
	DiscoveryAnalyticsSummaryMetricNameColumn    DiscoveryAnalyticsSummaryMetricNameEnum = "SENSITIVE_COLUMN"
	DiscoveryAnalyticsSummaryMetricNameDataValue DiscoveryAnalyticsSummaryMetricNameEnum = "SENSITIVE_DATA_VALUE"
)

Set of constants representing the allowable values for DiscoveryAnalyticsSummaryMetricNameEnum

func GetDiscoveryAnalyticsSummaryMetricNameEnumValues ¶

func GetDiscoveryAnalyticsSummaryMetricNameEnumValues() []DiscoveryAnalyticsSummaryMetricNameEnum

GetDiscoveryAnalyticsSummaryMetricNameEnumValues Enumerates the set of values for DiscoveryAnalyticsSummaryMetricNameEnum

func GetMappingDiscoveryAnalyticsSummaryMetricNameEnum ¶

func GetMappingDiscoveryAnalyticsSummaryMetricNameEnum(val string) (DiscoveryAnalyticsSummaryMetricNameEnum, bool)

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

type DiscoveryJob ¶

type DiscoveryJob struct {

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

	// The type of the discovery job. It defines the job's scope.
	// NEW identifies new sensitive columns in the target database that are not in the sensitive data model.
	// DELETED identifies columns that are present in the sensitive data model but have been deleted from the target database.
	// MODIFIED identifies columns that are present in the target database as well as the sensitive data model but some of their attributes have been modified.
	// ALL covers all the above three scenarios and reports new, deleted and modified columns.
	DiscoveryType DiscoveryJobDiscoveryTypeEnum `mandatory:"true" json:"discoveryType"`

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

	// The OCID of the compartment that contains the discovery job.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the discovery job started, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The date and time the discovery job finished, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)..
	TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"`

	// The current state of the discovery job.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the sensitive data model associated with the discovery job.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The OCID of the target database associated with the discovery job.
	TargetId *string `mandatory:"true" json:"targetId"`

	// Indicates if the discovery job should collect and store sample data values for the discovered columns.
	// Sample data helps review the discovered columns and ensure that they actually contain sensitive data.
	// As it collects original data from the target database, it's disabled by default and should be used only
	// if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data
	// values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
	IsSampleDataCollectionEnabled *bool `mandatory:"true" json:"isSampleDataCollectionEnabled"`

	// Indicates if the discovery job should identify potential application-level (non-dictionary) referential
	// relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined)
	// relationships. This option helps identify application-level relationships that are not defined in the database dictionary,
	// which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking.
	// It's disabled by default and should be used only if there is a need to identify application-level relationships.
	IsAppDefinedRelationDiscoveryEnabled *bool `mandatory:"true" json:"isAppDefinedRelationDiscoveryEnabled"`

	// Indicates if all the schemas in the associated target database are used for data discovery.
	// If it's set to true, the schemasForDiscovery attribute is ignored and all schemas are used.
	IsIncludeAllSchemas *bool `mandatory:"true" json:"isIncludeAllSchemas"`

	// Indicates if all the existing sensitive types are used for data discovery. If it's set to true, the
	// sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used.
	IsIncludeAllSensitiveTypes *bool `mandatory:"true" json:"isIncludeAllSensitiveTypes"`

	// The total number of schemas scanned by the discovery job.
	TotalSchemasScanned *int64 `mandatory:"true" json:"totalSchemasScanned"`

	// The total number of objects (tables and editioning views) scanned by the discovery job.
	TotalObjectsScanned *int64 `mandatory:"true" json:"totalObjectsScanned"`

	// The total number of columns scanned by the discovery job.
	TotalColumnsScanned *int64 `mandatory:"true" json:"totalColumnsScanned"`

	// The total number of new sensitive columns identified by the discovery job.
	TotalNewSensitiveColumns *int64 `mandatory:"true" json:"totalNewSensitiveColumns"`

	// The total number of modified sensitive columns identified by the discovery job.
	TotalModifiedSensitiveColumns *int64 `mandatory:"true" json:"totalModifiedSensitiveColumns"`

	// The total number of deleted sensitive columns identified by the discovery job.
	TotalDeletedSensitiveColumns *int64 `mandatory:"true" json:"totalDeletedSensitiveColumns"`

	// The schemas used for data discovery.
	SchemasForDiscovery []string `mandatory:"false" json:"schemasForDiscovery"`

	// The OCIDs of the sensitive types used for data discovery.
	SensitiveTypeIdsForDiscovery []string `mandatory:"false" json:"sensitiveTypeIdsForDiscovery"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DiscoveryJob A data discovery job. It helps track job's metadata as well as result statistics.

func (DiscoveryJob) String ¶

func (m DiscoveryJob) String() string

func (DiscoveryJob) ValidateEnumValue ¶

func (m DiscoveryJob) 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 DiscoveryJobCollection ¶

type DiscoveryJobCollection struct {

	// An array of discovery job summary objects.
	Items []DiscoveryJobSummary `mandatory:"true" json:"items"`
}

DiscoveryJobCollection A collection of discovery job summary objects.

func (DiscoveryJobCollection) String ¶

func (m DiscoveryJobCollection) String() string

func (DiscoveryJobCollection) ValidateEnumValue ¶

func (m DiscoveryJobCollection) 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 DiscoveryJobDiscoveryTypeEnum ¶

type DiscoveryJobDiscoveryTypeEnum string

DiscoveryJobDiscoveryTypeEnum Enum with underlying type: string

const (
	DiscoveryJobDiscoveryTypeAll      DiscoveryJobDiscoveryTypeEnum = "ALL"
	DiscoveryJobDiscoveryTypeNew      DiscoveryJobDiscoveryTypeEnum = "NEW"
	DiscoveryJobDiscoveryTypeModified DiscoveryJobDiscoveryTypeEnum = "MODIFIED"
	DiscoveryJobDiscoveryTypeDeleted  DiscoveryJobDiscoveryTypeEnum = "DELETED"
)

Set of constants representing the allowable values for DiscoveryJobDiscoveryTypeEnum

func GetDiscoveryJobDiscoveryTypeEnumValues ¶

func GetDiscoveryJobDiscoveryTypeEnumValues() []DiscoveryJobDiscoveryTypeEnum

GetDiscoveryJobDiscoveryTypeEnumValues Enumerates the set of values for DiscoveryJobDiscoveryTypeEnum

func GetMappingDiscoveryJobDiscoveryTypeEnum ¶

func GetMappingDiscoveryJobDiscoveryTypeEnum(val string) (DiscoveryJobDiscoveryTypeEnum, bool)

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

type DiscoveryJobResult ¶

type DiscoveryJobResult struct {

	// The unique key that identifies the discovery result.
	Key *string `mandatory:"true" json:"key"`

	// The type of the discovery result. It can be one of the following three types:
	// NEW: A new sensitive column in the target database that is not in the sensitive data model.
	// DELETED: A column that is present in the sensitive data model but has been deleted from the target database.
	// MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified.
	DiscoveryType DiscoveryJobResultDiscoveryTypeEnum `mandatory:"true" json:"discoveryType"`

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the sensitive column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the sensitive column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The type of the database object that contains the sensitive column.
	ObjectType DiscoveryJobResultObjectTypeEnum `mandatory:"true" json:"objectType"`

	// The data type of the sensitive column.
	DataType *string `mandatory:"true" json:"dataType"`

	// The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive
	// column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary.
	// APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
	RelationType DiscoveryJobResultRelationTypeEnum `mandatory:"true" json:"relationType"`

	// The estimated number of data values the column has in the associated database.
	EstimatedDataValueCount *int64 `mandatory:"true" json:"estimatedDataValueCount"`

	// Specifies how to process the discovery result. It's set to NONE by default. Use the PatchDiscoveryJobResults operation to update this attribute. You can choose one of the following options:
	// ACCEPT: To accept the discovery result and update the sensitive data model to reflect the changes.
	// REJECT: To reject the discovery result so that it doesn't change the sensitive data model.
	// INVALIDATE: To invalidate a newly discovered column. It adds the column to the sensitive data model but marks it as invalid. It helps track false positives and ensure that they aren't reported by future discovery jobs.
	// After specifying the planned action, you can use the ApplyDiscoveryJobResults operation to automatically process the discovery results.
	PlannedAction DiscoveryJobResultPlannedActionEnum `mandatory:"true" json:"plannedAction"`

	// Indicates if the discovery result has been processed. You can update this attribute using the PatchDiscoveryJobResults
	// operation to track whether the discovery result has already been processed and applied to the sensitive data model.
	IsResultApplied *bool `mandatory:"true" json:"isResultApplied"`

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" json:"discoveryJobId"`

	// The unique key that identifies the sensitive column represented by the discovery result.
	SensitiveColumnkey *string `mandatory:"false" json:"sensitiveColumnkey"`

	// The name of the application. An application is an entity that is identified by a schema and stores sensitive information for that schema. Its value will be same as schemaName, if no value is passed.
	AppName *string `mandatory:"false" json:"appName"`

	// The OCID of the sensitive type associated with the sensitive column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
	ParentColumnKeys []string `mandatory:"false" json:"parentColumnKeys"`

	// Original data values collected for the sensitive column from the associated database. Sample data helps review
	// the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data
	// discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data
	// value is collected per sensitive column.
	SampleDataValues []string `mandatory:"false" json:"sampleDataValues"`

	// Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
	AppDefinedChildColumnKeys []string `mandatory:"false" json:"appDefinedChildColumnKeys"`

	// Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
	DbDefinedChildColumnKeys []string `mandatory:"false" json:"dbDefinedChildColumnKeys"`

	ModifiedAttributes *ModifiedAttributes `mandatory:"false" json:"modifiedAttributes"`
}

DiscoveryJobResult A discovery job result representing a sensitive column. It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified.

func (DiscoveryJobResult) String ¶

func (m DiscoveryJobResult) String() string

func (DiscoveryJobResult) ValidateEnumValue ¶

func (m DiscoveryJobResult) 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 DiscoveryJobResultCollection ¶

type DiscoveryJobResultCollection struct {

	// An array of discovery job result summary objects.
	Items []DiscoveryJobResultSummary `mandatory:"true" json:"items"`
}

DiscoveryJobResultCollection A collection of discovery job result summary objects.

func (DiscoveryJobResultCollection) String ¶

func (DiscoveryJobResultCollection) ValidateEnumValue ¶

func (m DiscoveryJobResultCollection) 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 DiscoveryJobResultDiscoveryTypeEnum ¶

type DiscoveryJobResultDiscoveryTypeEnum string

DiscoveryJobResultDiscoveryTypeEnum Enum with underlying type: string

const (
	DiscoveryJobResultDiscoveryTypeNew      DiscoveryJobResultDiscoveryTypeEnum = "NEW"
	DiscoveryJobResultDiscoveryTypeModified DiscoveryJobResultDiscoveryTypeEnum = "MODIFIED"
	DiscoveryJobResultDiscoveryTypeDeleted  DiscoveryJobResultDiscoveryTypeEnum = "DELETED"
)

Set of constants representing the allowable values for DiscoveryJobResultDiscoveryTypeEnum

func GetDiscoveryJobResultDiscoveryTypeEnumValues ¶

func GetDiscoveryJobResultDiscoveryTypeEnumValues() []DiscoveryJobResultDiscoveryTypeEnum

GetDiscoveryJobResultDiscoveryTypeEnumValues Enumerates the set of values for DiscoveryJobResultDiscoveryTypeEnum

func GetMappingDiscoveryJobResultDiscoveryTypeEnum ¶

func GetMappingDiscoveryJobResultDiscoveryTypeEnum(val string) (DiscoveryJobResultDiscoveryTypeEnum, bool)

GetMappingDiscoveryJobResultDiscoveryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryJobResultObjectTypeEnum ¶

type DiscoveryJobResultObjectTypeEnum string

DiscoveryJobResultObjectTypeEnum Enum with underlying type: string

const (
	DiscoveryJobResultObjectTypeTable          DiscoveryJobResultObjectTypeEnum = "TABLE"
	DiscoveryJobResultObjectTypeEditioningView DiscoveryJobResultObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for DiscoveryJobResultObjectTypeEnum

func GetDiscoveryJobResultObjectTypeEnumValues ¶

func GetDiscoveryJobResultObjectTypeEnumValues() []DiscoveryJobResultObjectTypeEnum

GetDiscoveryJobResultObjectTypeEnumValues Enumerates the set of values for DiscoveryJobResultObjectTypeEnum

func GetMappingDiscoveryJobResultObjectTypeEnum ¶

func GetMappingDiscoveryJobResultObjectTypeEnum(val string) (DiscoveryJobResultObjectTypeEnum, bool)

GetMappingDiscoveryJobResultObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryJobResultPlannedActionEnum ¶

type DiscoveryJobResultPlannedActionEnum string

DiscoveryJobResultPlannedActionEnum Enum with underlying type: string

const (
	DiscoveryJobResultPlannedActionNone       DiscoveryJobResultPlannedActionEnum = "NONE"
	DiscoveryJobResultPlannedActionAccept     DiscoveryJobResultPlannedActionEnum = "ACCEPT"
	DiscoveryJobResultPlannedActionInvalidate DiscoveryJobResultPlannedActionEnum = "INVALIDATE"
	DiscoveryJobResultPlannedActionReject     DiscoveryJobResultPlannedActionEnum = "REJECT"
)

Set of constants representing the allowable values for DiscoveryJobResultPlannedActionEnum

func GetDiscoveryJobResultPlannedActionEnumValues ¶

func GetDiscoveryJobResultPlannedActionEnumValues() []DiscoveryJobResultPlannedActionEnum

GetDiscoveryJobResultPlannedActionEnumValues Enumerates the set of values for DiscoveryJobResultPlannedActionEnum

func GetMappingDiscoveryJobResultPlannedActionEnum ¶

func GetMappingDiscoveryJobResultPlannedActionEnum(val string) (DiscoveryJobResultPlannedActionEnum, bool)

GetMappingDiscoveryJobResultPlannedActionEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryJobResultRelationTypeEnum ¶

type DiscoveryJobResultRelationTypeEnum string

DiscoveryJobResultRelationTypeEnum Enum with underlying type: string

const (
	DiscoveryJobResultRelationTypeNone       DiscoveryJobResultRelationTypeEnum = "NONE"
	DiscoveryJobResultRelationTypeAppDefined DiscoveryJobResultRelationTypeEnum = "APP_DEFINED"
	DiscoveryJobResultRelationTypeDbDefined  DiscoveryJobResultRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for DiscoveryJobResultRelationTypeEnum

func GetDiscoveryJobResultRelationTypeEnumValues ¶

func GetDiscoveryJobResultRelationTypeEnumValues() []DiscoveryJobResultRelationTypeEnum

GetDiscoveryJobResultRelationTypeEnumValues Enumerates the set of values for DiscoveryJobResultRelationTypeEnum

func GetMappingDiscoveryJobResultRelationTypeEnum ¶

func GetMappingDiscoveryJobResultRelationTypeEnum(val string) (DiscoveryJobResultRelationTypeEnum, bool)

GetMappingDiscoveryJobResultRelationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryJobResultSummary ¶

type DiscoveryJobResultSummary struct {

	// The unique key that identifies the discovery result.
	Key *string `mandatory:"true" json:"key"`

	// The type of the discovery result. It can be one of the following three types:
	// NEW: A new sensitive column in the target database that is not in the sensitive data model.
	// DELETED: A column that is present in the sensitive data model but has been deleted from the target database.
	// MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified.
	DiscoveryType DiscoveryJobResultDiscoveryTypeEnum `mandatory:"true" json:"discoveryType"`

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the sensitive column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the sensitive column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The type of the database object that contains the sensitive column.
	ObjectType DiscoveryJobResultSummaryObjectTypeEnum `mandatory:"true" json:"objectType"`

	// The data type of the sensitive column.
	DataType *string `mandatory:"true" json:"dataType"`

	// The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive
	// column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary.
	// APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
	RelationType DiscoveryJobResultSummaryRelationTypeEnum `mandatory:"true" json:"relationType"`

	// The estimated number of data values the column has in the associated database.
	EstimatedDataValueCount *int64 `mandatory:"true" json:"estimatedDataValueCount"`

	// Specifies how to process the discovery result. It's set to NONE by default. Use the PatchDiscoveryJobResults operation to update this attribute. You can choose one of the following options:
	// ACCEPT: To accept the discovery result and update the sensitive data model to reflect the changes.
	// REJECT: To reject the discovery result so that it doesn't change the sensitive data model.
	// INVALIDATE: To invalidate a newly discovered column. It adds the column to the sensitive data model but marks it as invalid. It helps track false positives and ensure that they aren't reported by future discovery jobs.
	// After specifying the planned action, you can use the ApplyDiscoveryJobResults operation to automatically process the discovery results.
	PlannedAction DiscoveryJobResultPlannedActionEnum `mandatory:"true" json:"plannedAction"`

	// Indicates if the discovery result has been processed. You can update this attribute using the PatchDiscoveryJobResults
	// operation to track whether the discovery result has already been processed and applied to the sensitive data model.
	IsResultApplied *bool `mandatory:"true" json:"isResultApplied"`

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" json:"discoveryJobId"`

	// The unique key that identifies the sensitive column represented by the discovery result.
	SensitiveColumnkey *string `mandatory:"false" json:"sensitiveColumnkey"`

	// The OCID of the sensitive type associated with the sensitive column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
	ParentColumnKeys []string `mandatory:"false" json:"parentColumnKeys"`

	// Original data values collected for the sensitive column from the associated database. Sample data helps review
	// the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data
	// discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data
	// value is collected per sensitive column.
	SampleDataValues []string `mandatory:"false" json:"sampleDataValues"`
}

DiscoveryJobResultSummary Summary of a discovery job result.

func (DiscoveryJobResultSummary) String ¶

func (m DiscoveryJobResultSummary) String() string

func (DiscoveryJobResultSummary) ValidateEnumValue ¶

func (m DiscoveryJobResultSummary) 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 DiscoveryJobResultSummaryObjectTypeEnum ¶

type DiscoveryJobResultSummaryObjectTypeEnum string

DiscoveryJobResultSummaryObjectTypeEnum Enum with underlying type: string

const (
	DiscoveryJobResultSummaryObjectTypeTable          DiscoveryJobResultSummaryObjectTypeEnum = "TABLE"
	DiscoveryJobResultSummaryObjectTypeEditioningView DiscoveryJobResultSummaryObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for DiscoveryJobResultSummaryObjectTypeEnum

func GetDiscoveryJobResultSummaryObjectTypeEnumValues ¶

func GetDiscoveryJobResultSummaryObjectTypeEnumValues() []DiscoveryJobResultSummaryObjectTypeEnum

GetDiscoveryJobResultSummaryObjectTypeEnumValues Enumerates the set of values for DiscoveryJobResultSummaryObjectTypeEnum

func GetMappingDiscoveryJobResultSummaryObjectTypeEnum ¶

func GetMappingDiscoveryJobResultSummaryObjectTypeEnum(val string) (DiscoveryJobResultSummaryObjectTypeEnum, bool)

GetMappingDiscoveryJobResultSummaryObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryJobResultSummaryRelationTypeEnum ¶

type DiscoveryJobResultSummaryRelationTypeEnum string

DiscoveryJobResultSummaryRelationTypeEnum Enum with underlying type: string

const (
	DiscoveryJobResultSummaryRelationTypeNone       DiscoveryJobResultSummaryRelationTypeEnum = "NONE"
	DiscoveryJobResultSummaryRelationTypeAppDefined DiscoveryJobResultSummaryRelationTypeEnum = "APP_DEFINED"
	DiscoveryJobResultSummaryRelationTypeDbDefined  DiscoveryJobResultSummaryRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for DiscoveryJobResultSummaryRelationTypeEnum

func GetDiscoveryJobResultSummaryRelationTypeEnumValues ¶

func GetDiscoveryJobResultSummaryRelationTypeEnumValues() []DiscoveryJobResultSummaryRelationTypeEnum

GetDiscoveryJobResultSummaryRelationTypeEnumValues Enumerates the set of values for DiscoveryJobResultSummaryRelationTypeEnum

func GetMappingDiscoveryJobResultSummaryRelationTypeEnum ¶

func GetMappingDiscoveryJobResultSummaryRelationTypeEnum(val string) (DiscoveryJobResultSummaryRelationTypeEnum, bool)

GetMappingDiscoveryJobResultSummaryRelationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryJobSummary ¶

type DiscoveryJobSummary struct {

	// The OCID of the discovery job.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the discovery job.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the discovery job started, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`

	// The date and time the discovery job finished, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"`

	// The OCID of the sensitive data model associated with the discovery job.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The OCID of the target database associated with the discovery job.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The current state of the discovery job.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The type of discovery.
	DiscoveryType DiscoveryJobDiscoveryTypeEnum `mandatory:"true" json:"discoveryType"`

	// The OCID of the compartment to contain the discovery job.
	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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

DiscoveryJobSummary Summary of a discovery job.

func (DiscoveryJobSummary) String ¶

func (m DiscoveryJobSummary) String() string

func (DiscoveryJobSummary) ValidateEnumValue ¶

func (m DiscoveryJobSummary) 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 DiscoveryLifecycleStateEnum ¶

type DiscoveryLifecycleStateEnum string

DiscoveryLifecycleStateEnum Enum with underlying type: string

const (
	DiscoveryLifecycleStateCreating DiscoveryLifecycleStateEnum = "CREATING"
	DiscoveryLifecycleStateActive   DiscoveryLifecycleStateEnum = "ACTIVE"
	DiscoveryLifecycleStateUpdating DiscoveryLifecycleStateEnum = "UPDATING"
	DiscoveryLifecycleStateDeleting DiscoveryLifecycleStateEnum = "DELETING"
	DiscoveryLifecycleStateDeleted  DiscoveryLifecycleStateEnum = "DELETED"
	DiscoveryLifecycleStateFailed   DiscoveryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DiscoveryLifecycleStateEnum

func GetDiscoveryLifecycleStateEnumValues ¶

func GetDiscoveryLifecycleStateEnumValues() []DiscoveryLifecycleStateEnum

GetDiscoveryLifecycleStateEnumValues Enumerates the set of values for DiscoveryLifecycleStateEnum

func GetMappingDiscoveryLifecycleStateEnum ¶

func GetMappingDiscoveryLifecycleStateEnum(val string) (DiscoveryLifecycleStateEnum, bool)

GetMappingDiscoveryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DownloadDiscoveryReportDetails ¶

type DownloadDiscoveryReportDetails struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"false" json:"discoveryJobId"`

	// Format of the report.
	ReportFormat DownloadDiscoveryReportDetailsReportFormatEnum `mandatory:"false" json:"reportFormat,omitempty"`
}

DownloadDiscoveryReportDetails Details to download a discovery report.

func (DownloadDiscoveryReportDetails) String ¶

func (DownloadDiscoveryReportDetails) ValidateEnumValue ¶

func (m DownloadDiscoveryReportDetails) 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 DownloadDiscoveryReportDetailsReportFormatEnum ¶

type DownloadDiscoveryReportDetailsReportFormatEnum string

DownloadDiscoveryReportDetailsReportFormatEnum Enum with underlying type: string

const (
	DownloadDiscoveryReportDetailsReportFormatPdf DownloadDiscoveryReportDetailsReportFormatEnum = "PDF"
	DownloadDiscoveryReportDetailsReportFormatXls DownloadDiscoveryReportDetailsReportFormatEnum = "XLS"
)

Set of constants representing the allowable values for DownloadDiscoveryReportDetailsReportFormatEnum

func GetDownloadDiscoveryReportDetailsReportFormatEnumValues ¶

func GetDownloadDiscoveryReportDetailsReportFormatEnumValues() []DownloadDiscoveryReportDetailsReportFormatEnum

GetDownloadDiscoveryReportDetailsReportFormatEnumValues Enumerates the set of values for DownloadDiscoveryReportDetailsReportFormatEnum

func GetMappingDownloadDiscoveryReportDetailsReportFormatEnum ¶

func GetMappingDownloadDiscoveryReportDetailsReportFormatEnum(val string) (DownloadDiscoveryReportDetailsReportFormatEnum, bool)

GetMappingDownloadDiscoveryReportDetailsReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type DownloadDiscoveryReportRequest ¶

type DownloadDiscoveryReportRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to download a discovery report.
	DownloadDiscoveryReportDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadDiscoveryReportRequest wrapper for the DownloadDiscoveryReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadDiscoveryReport.go.html to see an example of how to use DownloadDiscoveryReportRequest.

func (DownloadDiscoveryReportRequest) BinaryRequestBody ¶

func (request DownloadDiscoveryReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadDiscoveryReportRequest) HTTPRequest ¶

func (request DownloadDiscoveryReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadDiscoveryReportRequest) RetryPolicy ¶

func (request DownloadDiscoveryReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadDiscoveryReportRequest) String ¶

func (request DownloadDiscoveryReportRequest) String() string

func (DownloadDiscoveryReportRequest) ValidateEnumValue ¶

func (request DownloadDiscoveryReportRequest) 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 DownloadDiscoveryReportResponse ¶

type DownloadDiscoveryReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"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 `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The size of the discovery report file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadDiscoveryReportResponse wrapper for the DownloadDiscoveryReport operation

func (DownloadDiscoveryReportResponse) HTTPResponse ¶

func (response DownloadDiscoveryReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadDiscoveryReportResponse) String ¶

func (response DownloadDiscoveryReportResponse) String() string

type DownloadMaskingLogDetails ¶

type DownloadMaskingLogDetails struct {

	// The OCID of the target database for which the masking log is to be downloaded.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The OCID of the masking work request that resulted in this masking log.
	MaskingWorkRequestId *string `mandatory:"false" json:"maskingWorkRequestId"`
}

DownloadMaskingLogDetails Details to download masking log.

func (DownloadMaskingLogDetails) String ¶

func (m DownloadMaskingLogDetails) String() string

func (DownloadMaskingLogDetails) ValidateEnumValue ¶

func (m DownloadMaskingLogDetails) 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 DownloadMaskingLogRequest ¶

type DownloadMaskingLogRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to download masking log.
	DownloadMaskingLogDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadMaskingLogRequest wrapper for the DownloadMaskingLog operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadMaskingLog.go.html to see an example of how to use DownloadMaskingLogRequest.

func (DownloadMaskingLogRequest) BinaryRequestBody ¶

func (request DownloadMaskingLogRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadMaskingLogRequest) HTTPRequest ¶

func (request DownloadMaskingLogRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadMaskingLogRequest) RetryPolicy ¶

func (request DownloadMaskingLogRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadMaskingLogRequest) String ¶

func (request DownloadMaskingLogRequest) String() string

func (DownloadMaskingLogRequest) ValidateEnumValue ¶

func (request DownloadMaskingLogRequest) 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 DownloadMaskingLogResponse ¶

type DownloadMaskingLogResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// The size of the masking log.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadMaskingLogResponse wrapper for the DownloadMaskingLog operation

func (DownloadMaskingLogResponse) HTTPResponse ¶

func (response DownloadMaskingLogResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadMaskingLogResponse) String ¶

func (response DownloadMaskingLogResponse) String() string

type DownloadMaskingPolicyDetails ¶

type DownloadMaskingPolicyDetails struct {

	// The format of the masking policy file.
	PolicyFormat PolicyFormatEnum `mandatory:"false" json:"policyFormat,omitempty"`
}

DownloadMaskingPolicyDetails Details to download a masking policy.

func (DownloadMaskingPolicyDetails) String ¶

func (DownloadMaskingPolicyDetails) ValidateEnumValue ¶

func (m DownloadMaskingPolicyDetails) 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 DownloadMaskingPolicyRequest ¶

type DownloadMaskingPolicyRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to download a masking policy file.
	DownloadMaskingPolicyDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadMaskingPolicyRequest wrapper for the DownloadMaskingPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadMaskingPolicy.go.html to see an example of how to use DownloadMaskingPolicyRequest.

func (DownloadMaskingPolicyRequest) BinaryRequestBody ¶

func (request DownloadMaskingPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadMaskingPolicyRequest) HTTPRequest ¶

func (request DownloadMaskingPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadMaskingPolicyRequest) RetryPolicy ¶

func (request DownloadMaskingPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadMaskingPolicyRequest) String ¶

func (request DownloadMaskingPolicyRequest) String() string

func (DownloadMaskingPolicyRequest) ValidateEnumValue ¶

func (request DownloadMaskingPolicyRequest) 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 DownloadMaskingPolicyResponse ¶

type DownloadMaskingPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// The size of the masking policy file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadMaskingPolicyResponse wrapper for the DownloadMaskingPolicy operation

func (DownloadMaskingPolicyResponse) HTTPResponse ¶

func (response DownloadMaskingPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadMaskingPolicyResponse) String ¶

func (response DownloadMaskingPolicyResponse) String() string

type DownloadMaskingReportDetails ¶

type DownloadMaskingReportDetails struct {

	// The OCID of the masking report to be downloaded.
	ReportId *string `mandatory:"true" json:"reportId"`

	// Format of the report.
	ReportFormat DownloadMaskingReportDetailsReportFormatEnum `mandatory:"true" json:"reportFormat"`
}

DownloadMaskingReportDetails Details to download a masking report.

func (DownloadMaskingReportDetails) String ¶

func (DownloadMaskingReportDetails) ValidateEnumValue ¶

func (m DownloadMaskingReportDetails) 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 DownloadMaskingReportDetailsReportFormatEnum ¶

type DownloadMaskingReportDetailsReportFormatEnum string

DownloadMaskingReportDetailsReportFormatEnum Enum with underlying type: string

const (
	DownloadMaskingReportDetailsReportFormatPdf DownloadMaskingReportDetailsReportFormatEnum = "PDF"
	DownloadMaskingReportDetailsReportFormatXls DownloadMaskingReportDetailsReportFormatEnum = "XLS"
)

Set of constants representing the allowable values for DownloadMaskingReportDetailsReportFormatEnum

func GetDownloadMaskingReportDetailsReportFormatEnumValues ¶

func GetDownloadMaskingReportDetailsReportFormatEnumValues() []DownloadMaskingReportDetailsReportFormatEnum

GetDownloadMaskingReportDetailsReportFormatEnumValues Enumerates the set of values for DownloadMaskingReportDetailsReportFormatEnum

func GetMappingDownloadMaskingReportDetailsReportFormatEnum ¶

func GetMappingDownloadMaskingReportDetailsReportFormatEnum(val string) (DownloadMaskingReportDetailsReportFormatEnum, bool)

GetMappingDownloadMaskingReportDetailsReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type DownloadMaskingReportRequest ¶

type DownloadMaskingReportRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to download a masking report.
	DownloadMaskingReportDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadMaskingReportRequest wrapper for the DownloadMaskingReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadMaskingReport.go.html to see an example of how to use DownloadMaskingReportRequest.

func (DownloadMaskingReportRequest) BinaryRequestBody ¶

func (request DownloadMaskingReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadMaskingReportRequest) HTTPRequest ¶

func (request DownloadMaskingReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadMaskingReportRequest) RetryPolicy ¶

func (request DownloadMaskingReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadMaskingReportRequest) String ¶

func (request DownloadMaskingReportRequest) String() string

func (DownloadMaskingReportRequest) ValidateEnumValue ¶

func (request DownloadMaskingReportRequest) 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 DownloadMaskingReportResponse ¶

type DownloadMaskingReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// The size of the masking report file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadMaskingReportResponse wrapper for the DownloadMaskingReport operation

func (DownloadMaskingReportResponse) HTTPResponse ¶

func (response DownloadMaskingReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadMaskingReportResponse) String ¶

func (response DownloadMaskingReportResponse) String() string

type DownloadPrivilegeScriptRequest ¶

type DownloadPrivilegeScriptRequest struct {

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

DownloadPrivilegeScriptRequest wrapper for the DownloadPrivilegeScript operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadPrivilegeScript.go.html to see an example of how to use DownloadPrivilegeScriptRequest.

func (DownloadPrivilegeScriptRequest) BinaryRequestBody ¶

func (request DownloadPrivilegeScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadPrivilegeScriptRequest) HTTPRequest ¶

func (request DownloadPrivilegeScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadPrivilegeScriptRequest) RetryPolicy ¶

func (request DownloadPrivilegeScriptRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadPrivilegeScriptRequest) String ¶

func (request DownloadPrivilegeScriptRequest) String() string

func (DownloadPrivilegeScriptRequest) ValidateEnumValue ¶

func (request DownloadPrivilegeScriptRequest) 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 DownloadPrivilegeScriptResponse ¶

type DownloadPrivilegeScriptResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"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 `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// Size of the file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadPrivilegeScriptResponse wrapper for the DownloadPrivilegeScript operation

func (DownloadPrivilegeScriptResponse) HTTPResponse ¶

func (response DownloadPrivilegeScriptResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadPrivilegeScriptResponse) String ¶

func (response DownloadPrivilegeScriptResponse) String() string

type DownloadSecurityAssessmentReportDetails ¶

type DownloadSecurityAssessmentReportDetails struct {

	// Format of the report.
	Format DownloadSecurityAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

DownloadSecurityAssessmentReportDetails The details used to download a security assessment report.

func (DownloadSecurityAssessmentReportDetails) String ¶

func (DownloadSecurityAssessmentReportDetails) ValidateEnumValue ¶

func (m DownloadSecurityAssessmentReportDetails) 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 DownloadSecurityAssessmentReportDetailsFormatEnum ¶

type DownloadSecurityAssessmentReportDetailsFormatEnum string

DownloadSecurityAssessmentReportDetailsFormatEnum Enum with underlying type: string

const (
	DownloadSecurityAssessmentReportDetailsFormatPdf DownloadSecurityAssessmentReportDetailsFormatEnum = "PDF"
	DownloadSecurityAssessmentReportDetailsFormatXls DownloadSecurityAssessmentReportDetailsFormatEnum = "XLS"
)

Set of constants representing the allowable values for DownloadSecurityAssessmentReportDetailsFormatEnum

func GetDownloadSecurityAssessmentReportDetailsFormatEnumValues ¶

func GetDownloadSecurityAssessmentReportDetailsFormatEnumValues() []DownloadSecurityAssessmentReportDetailsFormatEnum

GetDownloadSecurityAssessmentReportDetailsFormatEnumValues Enumerates the set of values for DownloadSecurityAssessmentReportDetailsFormatEnum

func GetMappingDownloadSecurityAssessmentReportDetailsFormatEnum ¶

func GetMappingDownloadSecurityAssessmentReportDetailsFormatEnum(val string) (DownloadSecurityAssessmentReportDetailsFormatEnum, bool)

GetMappingDownloadSecurityAssessmentReportDetailsFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type DownloadSecurityAssessmentReportRequest ¶

type DownloadSecurityAssessmentReportRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Details of the report.
	DownloadSecurityAssessmentReportDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadSecurityAssessmentReportRequest wrapper for the DownloadSecurityAssessmentReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadSecurityAssessmentReport.go.html to see an example of how to use DownloadSecurityAssessmentReportRequest.

func (DownloadSecurityAssessmentReportRequest) BinaryRequestBody ¶

func (request DownloadSecurityAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadSecurityAssessmentReportRequest) HTTPRequest ¶

func (request DownloadSecurityAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadSecurityAssessmentReportRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadSecurityAssessmentReportRequest) String ¶

func (DownloadSecurityAssessmentReportRequest) ValidateEnumValue ¶

func (request DownloadSecurityAssessmentReportRequest) 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 DownloadSecurityAssessmentReportResponse ¶

type DownloadSecurityAssessmentReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"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 `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// Size of the file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadSecurityAssessmentReportResponse wrapper for the DownloadSecurityAssessmentReport operation

func (DownloadSecurityAssessmentReportResponse) HTTPResponse ¶

func (response DownloadSecurityAssessmentReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadSecurityAssessmentReportResponse) String ¶

type DownloadSensitiveDataModelDetails ¶

type DownloadSensitiveDataModelDetails struct {

	// The format of the sensitive data model file.
	DataModelFormat DataModelFormatEnum `mandatory:"false" json:"dataModelFormat,omitempty"`
}

DownloadSensitiveDataModelDetails Details to download a sensitive data model.

func (DownloadSensitiveDataModelDetails) String ¶

func (DownloadSensitiveDataModelDetails) ValidateEnumValue ¶

func (m DownloadSensitiveDataModelDetails) 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 DownloadSensitiveDataModelRequest ¶

type DownloadSensitiveDataModelRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to download a sensitive data model file.
	DownloadSensitiveDataModelDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadSensitiveDataModelRequest wrapper for the DownloadSensitiveDataModel operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadSensitiveDataModel.go.html to see an example of how to use DownloadSensitiveDataModelRequest.

func (DownloadSensitiveDataModelRequest) BinaryRequestBody ¶

func (request DownloadSensitiveDataModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadSensitiveDataModelRequest) HTTPRequest ¶

func (request DownloadSensitiveDataModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadSensitiveDataModelRequest) RetryPolicy ¶

func (request DownloadSensitiveDataModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadSensitiveDataModelRequest) String ¶

func (request DownloadSensitiveDataModelRequest) String() string

func (DownloadSensitiveDataModelRequest) ValidateEnumValue ¶

func (request DownloadSensitiveDataModelRequest) 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 DownloadSensitiveDataModelResponse ¶

type DownloadSensitiveDataModelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"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 `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// The size of the sensitive data model file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadSensitiveDataModelResponse wrapper for the DownloadSensitiveDataModel operation

func (DownloadSensitiveDataModelResponse) HTTPResponse ¶

func (response DownloadSensitiveDataModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadSensitiveDataModelResponse) String ¶

func (response DownloadSensitiveDataModelResponse) String() string

type DownloadUserAssessmentReportDetails ¶

type DownloadUserAssessmentReportDetails struct {

	// Format of the report.
	Format DownloadUserAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

DownloadUserAssessmentReportDetails The details used to download a user assessment report.

func (DownloadUserAssessmentReportDetails) String ¶

func (DownloadUserAssessmentReportDetails) ValidateEnumValue ¶

func (m DownloadUserAssessmentReportDetails) 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 DownloadUserAssessmentReportDetailsFormatEnum ¶

type DownloadUserAssessmentReportDetailsFormatEnum string

DownloadUserAssessmentReportDetailsFormatEnum Enum with underlying type: string

const (
	DownloadUserAssessmentReportDetailsFormatPdf DownloadUserAssessmentReportDetailsFormatEnum = "PDF"
	DownloadUserAssessmentReportDetailsFormatXls DownloadUserAssessmentReportDetailsFormatEnum = "XLS"
)

Set of constants representing the allowable values for DownloadUserAssessmentReportDetailsFormatEnum

func GetDownloadUserAssessmentReportDetailsFormatEnumValues ¶

func GetDownloadUserAssessmentReportDetailsFormatEnumValues() []DownloadUserAssessmentReportDetailsFormatEnum

GetDownloadUserAssessmentReportDetailsFormatEnumValues Enumerates the set of values for DownloadUserAssessmentReportDetailsFormatEnum

func GetMappingDownloadUserAssessmentReportDetailsFormatEnum ¶

func GetMappingDownloadUserAssessmentReportDetailsFormatEnum(val string) (DownloadUserAssessmentReportDetailsFormatEnum, bool)

GetMappingDownloadUserAssessmentReportDetailsFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type DownloadUserAssessmentReportRequest ¶

type DownloadUserAssessmentReportRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// Details of the report.
	DownloadUserAssessmentReportDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

DownloadUserAssessmentReportRequest wrapper for the DownloadUserAssessmentReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/DownloadUserAssessmentReport.go.html to see an example of how to use DownloadUserAssessmentReportRequest.

func (DownloadUserAssessmentReportRequest) BinaryRequestBody ¶

func (request DownloadUserAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DownloadUserAssessmentReportRequest) HTTPRequest ¶

func (request DownloadUserAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DownloadUserAssessmentReportRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DownloadUserAssessmentReportRequest) String ¶

func (DownloadUserAssessmentReportRequest) ValidateEnumValue ¶

func (request DownloadUserAssessmentReportRequest) 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 DownloadUserAssessmentReportResponse ¶

type DownloadUserAssessmentReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"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 `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`

	// Size of the file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`
}

DownloadUserAssessmentReportResponse wrapper for the DownloadUserAssessmentReport operation

func (DownloadUserAssessmentReportResponse) HTTPResponse ¶

func (response DownloadUserAssessmentReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DownloadUserAssessmentReportResponse) String ¶

func (response DownloadUserAssessmentReportResponse) String() string

type EnableConditions ¶

type EnableConditions struct {

	// The entity include or exclude selection.
	EntitySelection EnableConditionsEntitySelectionEnum `mandatory:"true" json:"entitySelection"`

	// The entity type that the policy must be enabled for.
	EntityType EnableConditionsEntityTypeEnum `mandatory:"true" json:"entityType"`

	// The operation status that the policy must be enabled for.
	OperationStatus EnableConditionsOperationStatusEnum `mandatory:"true" json:"operationStatus"`

	// List of users or roles that the policy must be enabled for.
	EntityNames []string `mandatory:"false" json:"entityNames"`
}

EnableConditions The details of the audit policy provisioning conditions.

func (EnableConditions) String ¶

func (m EnableConditions) String() string

func (EnableConditions) ValidateEnumValue ¶

func (m EnableConditions) 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 EnableConditionsEntitySelectionEnum ¶

type EnableConditionsEntitySelectionEnum string

EnableConditionsEntitySelectionEnum Enum with underlying type: string

const (
	EnableConditionsEntitySelectionInclude EnableConditionsEntitySelectionEnum = "INCLUDE"
	EnableConditionsEntitySelectionExclude EnableConditionsEntitySelectionEnum = "EXCLUDE"
)

Set of constants representing the allowable values for EnableConditionsEntitySelectionEnum

func GetEnableConditionsEntitySelectionEnumValues ¶

func GetEnableConditionsEntitySelectionEnumValues() []EnableConditionsEntitySelectionEnum

GetEnableConditionsEntitySelectionEnumValues Enumerates the set of values for EnableConditionsEntitySelectionEnum

func GetMappingEnableConditionsEntitySelectionEnum ¶

func GetMappingEnableConditionsEntitySelectionEnum(val string) (EnableConditionsEntitySelectionEnum, bool)

GetMappingEnableConditionsEntitySelectionEnum performs case Insensitive comparison on enum value and return the desired enum

type EnableConditionsEntityTypeEnum ¶

type EnableConditionsEntityTypeEnum string

EnableConditionsEntityTypeEnum Enum with underlying type: string

const (
	EnableConditionsEntityTypeUser     EnableConditionsEntityTypeEnum = "USER"
	EnableConditionsEntityTypeRole     EnableConditionsEntityTypeEnum = "ROLE"
	EnableConditionsEntityTypeAllUsers EnableConditionsEntityTypeEnum = "ALL_USERS"
)

Set of constants representing the allowable values for EnableConditionsEntityTypeEnum

func GetEnableConditionsEntityTypeEnumValues ¶

func GetEnableConditionsEntityTypeEnumValues() []EnableConditionsEntityTypeEnum

GetEnableConditionsEntityTypeEnumValues Enumerates the set of values for EnableConditionsEntityTypeEnum

func GetMappingEnableConditionsEntityTypeEnum ¶

func GetMappingEnableConditionsEntityTypeEnum(val string) (EnableConditionsEntityTypeEnum, bool)

GetMappingEnableConditionsEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type EnableConditionsOperationStatusEnum ¶

type EnableConditionsOperationStatusEnum string

EnableConditionsOperationStatusEnum Enum with underlying type: string

const (
	EnableConditionsOperationStatusSuccess EnableConditionsOperationStatusEnum = "SUCCESS"
	EnableConditionsOperationStatusFailure EnableConditionsOperationStatusEnum = "FAILURE"
	EnableConditionsOperationStatusBoth    EnableConditionsOperationStatusEnum = "BOTH"
)

Set of constants representing the allowable values for EnableConditionsOperationStatusEnum

func GetEnableConditionsOperationStatusEnumValues ¶

func GetEnableConditionsOperationStatusEnumValues() []EnableConditionsOperationStatusEnum

GetEnableConditionsOperationStatusEnumValues Enumerates the set of values for EnableConditionsOperationStatusEnum

func GetMappingEnableConditionsOperationStatusEnum ¶

func GetMappingEnableConditionsOperationStatusEnum(val string) (EnableConditionsOperationStatusEnum, bool)

GetMappingEnableConditionsOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type EnableDataSafeConfigurationDetails ¶

type EnableDataSafeConfigurationDetails struct {

	// Indicates if Data Safe is enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`
}

EnableDataSafeConfigurationDetails The details used to enable Data Safe in the tenancy and region.

func (EnableDataSafeConfigurationDetails) String ¶

func (EnableDataSafeConfigurationDetails) ValidateEnumValue ¶

func (m EnableDataSafeConfigurationDetails) 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 EnableDataSafeConfigurationRequest ¶

type EnableDataSafeConfigurationRequest struct {

	// The details used to enable Data Safe.
	EnableDataSafeConfigurationDetails `contributesTo:"body"`

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

EnableDataSafeConfigurationRequest wrapper for the EnableDataSafeConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/EnableDataSafeConfiguration.go.html to see an example of how to use EnableDataSafeConfigurationRequest.

func (EnableDataSafeConfigurationRequest) BinaryRequestBody ¶

func (request EnableDataSafeConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (EnableDataSafeConfigurationRequest) HTTPRequest ¶

func (request EnableDataSafeConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (EnableDataSafeConfigurationRequest) RetryPolicy ¶

func (request EnableDataSafeConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (EnableDataSafeConfigurationRequest) String ¶

func (request EnableDataSafeConfigurationRequest) String() string

func (EnableDataSafeConfigurationRequest) ValidateEnumValue ¶

func (request EnableDataSafeConfigurationRequest) 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 EnableDataSafeConfigurationResponse ¶

type EnableDataSafeConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

EnableDataSafeConfigurationResponse wrapper for the EnableDataSafeConfiguration operation

func (EnableDataSafeConfigurationResponse) HTTPResponse ¶

func (response EnableDataSafeConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (EnableDataSafeConfigurationResponse) String ¶

func (response EnableDataSafeConfigurationResponse) String() string

type Finding ¶

type Finding struct {

	// A unique identifier for the finding. This is common for the finding across targets.
	Key *string `mandatory:"false" json:"key"`

	// The severity of the finding.
	Severity FindingSeverityEnum `mandatory:"false" json:"severity,omitempty"`

	// The short title for the finding.
	Title *string `mandatory:"false" json:"title"`

	// The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
	Remarks *string `mandatory:"false" json:"remarks"`

	// The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
	Details *interface{} `mandatory:"false" json:"details"`

	// The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
	Summary *string `mandatory:"false" json:"summary"`

	// Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.
	References *References `mandatory:"false" json:"references"`
}

Finding The particular finding reported by the security assessment.

func (Finding) String ¶

func (m Finding) String() string

func (Finding) ValidateEnumValue ¶

func (m Finding) 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 FindingSeverityEnum ¶

type FindingSeverityEnum string

FindingSeverityEnum Enum with underlying type: string

const (
	FindingSeverityHigh     FindingSeverityEnum = "HIGH"
	FindingSeverityMedium   FindingSeverityEnum = "MEDIUM"
	FindingSeverityLow      FindingSeverityEnum = "LOW"
	FindingSeverityEvaluate FindingSeverityEnum = "EVALUATE"
	FindingSeverityAdvisory FindingSeverityEnum = "ADVISORY"
	FindingSeverityPass     FindingSeverityEnum = "PASS"
)

Set of constants representing the allowable values for FindingSeverityEnum

func GetFindingSeverityEnumValues ¶

func GetFindingSeverityEnumValues() []FindingSeverityEnum

GetFindingSeverityEnumValues Enumerates the set of values for FindingSeverityEnum

func GetMappingFindingSeverityEnum ¶

func GetMappingFindingSeverityEnum(val string) (FindingSeverityEnum, bool)

GetMappingFindingSeverityEnum performs case Insensitive comparison on enum value and return the desired enum

type FindingSummary ¶

type FindingSummary struct {

	// The severity of the finding.
	Severity FindingSummarySeverityEnum `mandatory:"false" json:"severity,omitempty"`

	// The OCID of the assessment that generated this finding.
	AssessmentId *string `mandatory:"false" json:"assessmentId"`

	// The OCID of the target database.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
	Key *string `mandatory:"false" json:"key"`

	// The short title for the finding.
	Title *string `mandatory:"false" json:"title"`

	// The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
	Remarks *string `mandatory:"false" json:"remarks"`

	// The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
	Details *interface{} `mandatory:"false" json:"details"`

	// The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
	Summary *string `mandatory:"false" json:"summary"`

	// Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
	References *References `mandatory:"false" json:"references"`
}

FindingSummary The particular finding reported by the security assessment.

func (FindingSummary) String ¶

func (m FindingSummary) String() string

func (FindingSummary) ValidateEnumValue ¶

func (m FindingSummary) 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 FindingSummarySeverityEnum ¶

type FindingSummarySeverityEnum string

FindingSummarySeverityEnum Enum with underlying type: string

const (
	FindingSummarySeverityHigh     FindingSummarySeverityEnum = "HIGH"
	FindingSummarySeverityMedium   FindingSummarySeverityEnum = "MEDIUM"
	FindingSummarySeverityLow      FindingSummarySeverityEnum = "LOW"
	FindingSummarySeverityEvaluate FindingSummarySeverityEnum = "EVALUATE"
	FindingSummarySeverityAdvisory FindingSummarySeverityEnum = "ADVISORY"
	FindingSummarySeverityPass     FindingSummarySeverityEnum = "PASS"
)

Set of constants representing the allowable values for FindingSummarySeverityEnum

func GetFindingSummarySeverityEnumValues ¶

func GetFindingSummarySeverityEnumValues() []FindingSummarySeverityEnum

GetFindingSummarySeverityEnumValues Enumerates the set of values for FindingSummarySeverityEnum

func GetMappingFindingSummarySeverityEnum ¶

func GetMappingFindingSummarySeverityEnum(val string) (FindingSummarySeverityEnum, bool)

GetMappingFindingSummarySeverityEnum performs case Insensitive comparison on enum value and return the desired enum

type FixedNumberFormatEntry ¶

type FixedNumberFormatEntry struct {

	// The constant number to be used for masking.
	FixedNumber *float32 `mandatory:"true" json:"fixedNumber"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

FixedNumberFormatEntry The Fixed Number masking format uses a constant number for masking. To learn more, check Fixed Number in the Data Safe documentation.

func (FixedNumberFormatEntry) GetDescription ¶

func (m FixedNumberFormatEntry) GetDescription() *string

GetDescription returns Description

func (FixedNumberFormatEntry) MarshalJSON ¶

func (m FixedNumberFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (FixedNumberFormatEntry) String ¶

func (m FixedNumberFormatEntry) String() string

func (FixedNumberFormatEntry) ValidateEnumValue ¶

func (m FixedNumberFormatEntry) 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 FixedStringFormatEntry ¶

type FixedStringFormatEntry struct {

	// The constant string to be used for masking.
	FixedString *string `mandatory:"true" json:"fixedString"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

FixedStringFormatEntry The Fixed String masking format uses a constant string for masking. To learn more, check Fixed String in the Data Safe documentation.

func (FixedStringFormatEntry) GetDescription ¶

func (m FixedStringFormatEntry) GetDescription() *string

GetDescription returns Description

func (FixedStringFormatEntry) MarshalJSON ¶

func (m FixedStringFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (FixedStringFormatEntry) String ¶

func (m FixedStringFormatEntry) String() string

func (FixedStringFormatEntry) ValidateEnumValue ¶

func (m FixedStringFormatEntry) 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 FormatEntry ¶

type FormatEntry interface {

	// The description of the format entry.
	GetDescription() *string
}

FormatEntry A format entry is part of a masking format and defines the logic to mask data. A format entry can be a basic masking format such as Random Number, or it can be a library masking format. If a masking format has more than one format entries, the combined output of all the format entries is used for masking.

type FormatEntryTypeEnum ¶

type FormatEntryTypeEnum string

FormatEntryTypeEnum Enum with underlying type: string

const (
	FormatEntryTypeDeleteRows                  FormatEntryTypeEnum = "DELETE_ROWS"
	FormatEntryTypeDeterministicSubstitution   FormatEntryTypeEnum = "DETERMINISTIC_SUBSTITUTION"
	FormatEntryTypeDeterministicEncryption     FormatEntryTypeEnum = "DETERMINISTIC_ENCRYPTION"
	FormatEntryTypeDeterministicEncryptionDate FormatEntryTypeEnum = "DETERMINISTIC_ENCRYPTION_DATE"
	FormatEntryTypeFixedNumber                 FormatEntryTypeEnum = "FIXED_NUMBER"
	FormatEntryTypeFixedString                 FormatEntryTypeEnum = "FIXED_STRING"
	FormatEntryTypeLibraryMaskingFormat        FormatEntryTypeEnum = "LIBRARY_MASKING_FORMAT"
	FormatEntryTypeNullValue                   FormatEntryTypeEnum = "NULL_VALUE"
	FormatEntryTypePostProcessingFunction      FormatEntryTypeEnum = "POST_PROCESSING_FUNCTION"
	FormatEntryTypePreserveOriginalData        FormatEntryTypeEnum = "PRESERVE_ORIGINAL_DATA"
	FormatEntryTypeRandomDate                  FormatEntryTypeEnum = "RANDOM_DATE"
	FormatEntryTypeRandomDecimalNumber         FormatEntryTypeEnum = "RANDOM_DECIMAL_NUMBER"
	FormatEntryTypeRandomDigits                FormatEntryTypeEnum = "RANDOM_DIGITS"
	FormatEntryTypeRandomList                  FormatEntryTypeEnum = "RANDOM_LIST"
	FormatEntryTypeRandomNumber                FormatEntryTypeEnum = "RANDOM_NUMBER"
	FormatEntryTypeRandomString                FormatEntryTypeEnum = "RANDOM_STRING"
	FormatEntryTypeRandomSubstitution          FormatEntryTypeEnum = "RANDOM_SUBSTITUTION"
	FormatEntryTypeRegularExpression           FormatEntryTypeEnum = "REGULAR_EXPRESSION"
	FormatEntryTypeShuffle                     FormatEntryTypeEnum = "SHUFFLE"
	FormatEntryTypeSqlExpression               FormatEntryTypeEnum = "SQL_EXPRESSION"
	FormatEntryTypeSubstring                   FormatEntryTypeEnum = "SUBSTRING"
	FormatEntryTypeTruncateTable               FormatEntryTypeEnum = "TRUNCATE_TABLE"
	FormatEntryTypeUserDefinedFunction         FormatEntryTypeEnum = "USER_DEFINED_FUNCTION"
)

Set of constants representing the allowable values for FormatEntryTypeEnum

func GetFormatEntryTypeEnumValues ¶

func GetFormatEntryTypeEnumValues() []FormatEntryTypeEnum

GetFormatEntryTypeEnumValues Enumerates the set of values for FormatEntryTypeEnum

func GetMappingFormatEntryTypeEnum ¶

func GetMappingFormatEntryTypeEnum(val string) (FormatEntryTypeEnum, bool)

GetMappingFormatEntryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type FormatSummary ¶

type FormatSummary struct {

	// The name of the masking format.
	Name *string `mandatory:"true" json:"name"`

	// The OCID of the masking format.
	Id *string `mandatory:"false" json:"id"`

	// The description of the masking format.
	Description *string `mandatory:"false" json:"description"`
}

FormatSummary Summary of a masking format.

func (FormatSummary) String ¶

func (m FormatSummary) String() string

func (FormatSummary) ValidateEnumValue ¶

func (m FormatSummary) 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 FormatsForDataType ¶

type FormatsForDataType struct {

	// The data type category, which can be one of the following -
	//   Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2
	//   Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE
	//   Date - Includes DATE and TIMESTAMP
	//   LOB - Includes BLOB, CLOB, and NCLOB
	//   All - Includes all the supported data types
	DataType *string `mandatory:"true" json:"dataType"`

	// An array of the basic masking formats compatible with the data type category.
	MaskingFormats []FormatSummary `mandatory:"false" json:"maskingFormats"`
}

FormatsForDataType A list of basic masking formats compatible with a supported data type.

func (FormatsForDataType) String ¶

func (m FormatsForDataType) String() string

func (FormatsForDataType) ValidateEnumValue ¶

func (m FormatsForDataType) 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 FormatsForSensitiveType ¶

type FormatsForSensitiveType struct {

	// The OCID of the sensitive type.
	SensitiveTypeId *string `mandatory:"true" json:"sensitiveTypeId"`

	// An array of the library masking formats compatible with the sensitive type.
	MaskingFormats []FormatSummary `mandatory:"false" json:"maskingFormats"`
}

FormatsForSensitiveType A list of library masking formats compatible with an existing sensitive type.

func (FormatsForSensitiveType) String ¶

func (m FormatsForSensitiveType) String() string

func (FormatsForSensitiveType) ValidateEnumValue ¶

func (m FormatsForSensitiveType) 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 GenerateDiscoveryReportForDownloadDetails ¶

type GenerateDiscoveryReportForDownloadDetails struct {

	// Format of the report.
	ReportFormat GenerateDiscoveryReportForDownloadDetailsReportFormatEnum `mandatory:"true" json:"reportFormat"`

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"false" json:"discoveryJobId"`
}

GenerateDiscoveryReportForDownloadDetails Details to generate a downloadable discovery report.

func (GenerateDiscoveryReportForDownloadDetails) String ¶

func (GenerateDiscoveryReportForDownloadDetails) ValidateEnumValue ¶

func (m GenerateDiscoveryReportForDownloadDetails) 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 GenerateDiscoveryReportForDownloadDetailsReportFormatEnum ¶

type GenerateDiscoveryReportForDownloadDetailsReportFormatEnum string

GenerateDiscoveryReportForDownloadDetailsReportFormatEnum Enum with underlying type: string

const (
	GenerateDiscoveryReportForDownloadDetailsReportFormatPdf GenerateDiscoveryReportForDownloadDetailsReportFormatEnum = "PDF"
	GenerateDiscoveryReportForDownloadDetailsReportFormatXls GenerateDiscoveryReportForDownloadDetailsReportFormatEnum = "XLS"
)

Set of constants representing the allowable values for GenerateDiscoveryReportForDownloadDetailsReportFormatEnum

func GetGenerateDiscoveryReportForDownloadDetailsReportFormatEnumValues ¶

func GetGenerateDiscoveryReportForDownloadDetailsReportFormatEnumValues() []GenerateDiscoveryReportForDownloadDetailsReportFormatEnum

GetGenerateDiscoveryReportForDownloadDetailsReportFormatEnumValues Enumerates the set of values for GenerateDiscoveryReportForDownloadDetailsReportFormatEnum

func GetMappingGenerateDiscoveryReportForDownloadDetailsReportFormatEnum ¶

func GetMappingGenerateDiscoveryReportForDownloadDetailsReportFormatEnum(val string) (GenerateDiscoveryReportForDownloadDetailsReportFormatEnum, bool)

GetMappingGenerateDiscoveryReportForDownloadDetailsReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type GenerateDiscoveryReportForDownloadRequest ¶

type GenerateDiscoveryReportForDownloadRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to generate a downloadable discovery report.
	GenerateDiscoveryReportForDownloadDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GenerateDiscoveryReportForDownloadRequest wrapper for the GenerateDiscoveryReportForDownload operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateDiscoveryReportForDownload.go.html to see an example of how to use GenerateDiscoveryReportForDownloadRequest.

func (GenerateDiscoveryReportForDownloadRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GenerateDiscoveryReportForDownloadRequest) HTTPRequest ¶

func (request GenerateDiscoveryReportForDownloadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateDiscoveryReportForDownloadRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateDiscoveryReportForDownloadRequest) String ¶

func (GenerateDiscoveryReportForDownloadRequest) ValidateEnumValue ¶

func (request GenerateDiscoveryReportForDownloadRequest) 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 GenerateDiscoveryReportForDownloadResponse ¶

type GenerateDiscoveryReportForDownloadResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateDiscoveryReportForDownloadResponse wrapper for the GenerateDiscoveryReportForDownload operation

func (GenerateDiscoveryReportForDownloadResponse) HTTPResponse ¶

func (response GenerateDiscoveryReportForDownloadResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateDiscoveryReportForDownloadResponse) String ¶

type GenerateMaskingPolicyForDownloadDetails ¶

type GenerateMaskingPolicyForDownloadDetails struct {

	// The format of the masking policy file.
	PolicyFormat PolicyFormatEnum `mandatory:"false" json:"policyFormat,omitempty"`
}

GenerateMaskingPolicyForDownloadDetails Details to generate a downloadable masking policy.

func (GenerateMaskingPolicyForDownloadDetails) String ¶

func (GenerateMaskingPolicyForDownloadDetails) ValidateEnumValue ¶

func (m GenerateMaskingPolicyForDownloadDetails) 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 GenerateMaskingPolicyForDownloadRequest ¶

type GenerateMaskingPolicyForDownloadRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to generate a masking policy file.
	GenerateMaskingPolicyForDownloadDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GenerateMaskingPolicyForDownloadRequest wrapper for the GenerateMaskingPolicyForDownload operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateMaskingPolicyForDownload.go.html to see an example of how to use GenerateMaskingPolicyForDownloadRequest.

func (GenerateMaskingPolicyForDownloadRequest) BinaryRequestBody ¶

func (request GenerateMaskingPolicyForDownloadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateMaskingPolicyForDownloadRequest) HTTPRequest ¶

func (request GenerateMaskingPolicyForDownloadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateMaskingPolicyForDownloadRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateMaskingPolicyForDownloadRequest) String ¶

func (GenerateMaskingPolicyForDownloadRequest) ValidateEnumValue ¶

func (request GenerateMaskingPolicyForDownloadRequest) 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 GenerateMaskingPolicyForDownloadResponse ¶

type GenerateMaskingPolicyForDownloadResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateMaskingPolicyForDownloadResponse wrapper for the GenerateMaskingPolicyForDownload operation

func (GenerateMaskingPolicyForDownloadResponse) HTTPResponse ¶

func (response GenerateMaskingPolicyForDownloadResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateMaskingPolicyForDownloadResponse) String ¶

type GenerateMaskingReportForDownloadDetails ¶

type GenerateMaskingReportForDownloadDetails struct {

	// The OCID of the masking report for which a downloadable file is to be generated.
	ReportId *string `mandatory:"true" json:"reportId"`

	// Format of the report.
	ReportFormat GenerateMaskingReportForDownloadDetailsReportFormatEnum `mandatory:"true" json:"reportFormat"`
}

GenerateMaskingReportForDownloadDetails Details to generate a downloadable masking report.

func (GenerateMaskingReportForDownloadDetails) String ¶

func (GenerateMaskingReportForDownloadDetails) ValidateEnumValue ¶

func (m GenerateMaskingReportForDownloadDetails) 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 GenerateMaskingReportForDownloadDetailsReportFormatEnum ¶

type GenerateMaskingReportForDownloadDetailsReportFormatEnum string

GenerateMaskingReportForDownloadDetailsReportFormatEnum Enum with underlying type: string

const (
	GenerateMaskingReportForDownloadDetailsReportFormatPdf GenerateMaskingReportForDownloadDetailsReportFormatEnum = "PDF"
	GenerateMaskingReportForDownloadDetailsReportFormatXls GenerateMaskingReportForDownloadDetailsReportFormatEnum = "XLS"
)

Set of constants representing the allowable values for GenerateMaskingReportForDownloadDetailsReportFormatEnum

func GetGenerateMaskingReportForDownloadDetailsReportFormatEnumValues ¶

func GetGenerateMaskingReportForDownloadDetailsReportFormatEnumValues() []GenerateMaskingReportForDownloadDetailsReportFormatEnum

GetGenerateMaskingReportForDownloadDetailsReportFormatEnumValues Enumerates the set of values for GenerateMaskingReportForDownloadDetailsReportFormatEnum

func GetMappingGenerateMaskingReportForDownloadDetailsReportFormatEnum ¶

func GetMappingGenerateMaskingReportForDownloadDetailsReportFormatEnum(val string) (GenerateMaskingReportForDownloadDetailsReportFormatEnum, bool)

GetMappingGenerateMaskingReportForDownloadDetailsReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type GenerateMaskingReportForDownloadRequest ¶

type GenerateMaskingReportForDownloadRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to generate a downloadable masking report.
	GenerateMaskingReportForDownloadDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GenerateMaskingReportForDownloadRequest wrapper for the GenerateMaskingReportForDownload operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateMaskingReportForDownload.go.html to see an example of how to use GenerateMaskingReportForDownloadRequest.

func (GenerateMaskingReportForDownloadRequest) BinaryRequestBody ¶

func (request GenerateMaskingReportForDownloadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateMaskingReportForDownloadRequest) HTTPRequest ¶

func (request GenerateMaskingReportForDownloadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateMaskingReportForDownloadRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateMaskingReportForDownloadRequest) String ¶

func (GenerateMaskingReportForDownloadRequest) ValidateEnumValue ¶

func (request GenerateMaskingReportForDownloadRequest) 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 GenerateMaskingReportForDownloadResponse ¶

type GenerateMaskingReportForDownloadResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateMaskingReportForDownloadResponse wrapper for the GenerateMaskingReportForDownload operation

func (GenerateMaskingReportForDownloadResponse) HTTPResponse ¶

func (response GenerateMaskingReportForDownloadResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateMaskingReportForDownloadResponse) String ¶

type GenerateOnPremConnectorConfigurationDetails ¶

type GenerateOnPremConnectorConfigurationDetails struct {

	// The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
	Password *string `mandatory:"true" json:"password"`
}

GenerateOnPremConnectorConfigurationDetails The details used to create and download on-premises connector's configuration.

func (GenerateOnPremConnectorConfigurationDetails) String ¶

func (GenerateOnPremConnectorConfigurationDetails) ValidateEnumValue ¶

func (m GenerateOnPremConnectorConfigurationDetails) 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 GenerateOnPremConnectorConfigurationRequest ¶

type GenerateOnPremConnectorConfigurationRequest struct {

	// The details used to create and download on-premises connector's configuration.
	GenerateOnPremConnectorConfigurationDetails `contributesTo:"body"`

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

GenerateOnPremConnectorConfigurationRequest wrapper for the GenerateOnPremConnectorConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateOnPremConnectorConfiguration.go.html to see an example of how to use GenerateOnPremConnectorConfigurationRequest.

func (GenerateOnPremConnectorConfigurationRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GenerateOnPremConnectorConfigurationRequest) HTTPRequest ¶

func (request GenerateOnPremConnectorConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateOnPremConnectorConfigurationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateOnPremConnectorConfigurationRequest) String ¶

func (GenerateOnPremConnectorConfigurationRequest) ValidateEnumValue ¶

func (request GenerateOnPremConnectorConfigurationRequest) 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 GenerateOnPremConnectorConfigurationResponse ¶

type GenerateOnPremConnectorConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"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 `presentIn:"header" name:"opc-request-id"`

	// Size of the file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`

	// The date and time the on-premises connector configuration was last modified, in the format defined by HTTP-date.
	LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}

GenerateOnPremConnectorConfigurationResponse wrapper for the GenerateOnPremConnectorConfiguration operation

func (GenerateOnPremConnectorConfigurationResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GenerateOnPremConnectorConfigurationResponse) String ¶

type GenerateReportDetails ¶

type GenerateReportDetails struct {

	// The name of the report to be generated
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Specifies the format of report to be excel or pdf
	MimeType GenerateReportDetailsMimeTypeEnum `mandatory:"true" json:"mimeType"`

	// Array of database target OCIDs.
	TargetIds []string `mandatory:"false" json:"targetIds"`

	// The description of the report to be generated
	Description *string `mandatory:"false" json:"description"`

	// Specifies the time until which the data needs to be reported.
	TimeLessThan *common.SDKTime `mandatory:"false" json:"timeLessThan"`

	// Specifies the time after which the data needs to be reported.
	TimeGreaterThan *common.SDKTime `mandatory:"false" json:"timeGreaterThan"`

	// Specifies the limit on the number of rows in the report.
	RowLimit *int `mandatory:"false" json:"rowLimit"`
}

GenerateReportDetails Details for the report generation.

func (GenerateReportDetails) String ¶

func (m GenerateReportDetails) String() string

func (GenerateReportDetails) ValidateEnumValue ¶

func (m GenerateReportDetails) 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 GenerateReportDetailsMimeTypeEnum ¶

type GenerateReportDetailsMimeTypeEnum string

GenerateReportDetailsMimeTypeEnum Enum with underlying type: string

const (
	GenerateReportDetailsMimeTypePdf GenerateReportDetailsMimeTypeEnum = "PDF"
	GenerateReportDetailsMimeTypeXls GenerateReportDetailsMimeTypeEnum = "XLS"
)

Set of constants representing the allowable values for GenerateReportDetailsMimeTypeEnum

func GetGenerateReportDetailsMimeTypeEnumValues ¶

func GetGenerateReportDetailsMimeTypeEnumValues() []GenerateReportDetailsMimeTypeEnum

GetGenerateReportDetailsMimeTypeEnumValues Enumerates the set of values for GenerateReportDetailsMimeTypeEnum

func GetMappingGenerateReportDetailsMimeTypeEnum ¶

func GetMappingGenerateReportDetailsMimeTypeEnum(val string) (GenerateReportDetailsMimeTypeEnum, bool)

GetMappingGenerateReportDetailsMimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GenerateReportRequest ¶

type GenerateReportRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// Details for report generation. It contains details such as PDF/XLS and filter parameters like audit event time limits, number of rows and target databases etc
	GenerateReportDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2
	// of the System for Cross-Domain Identity Management (SCIM) specification, which is available
	// at RFC3339 (https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions,
	// text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format.
	// (Numeric and boolean values should not be quoted.)
	// **Example:** query=(dateGenerated ge '2021-12-18T01-00-26') and (ilmTarget eq 'dscs-target')
	ScimQuery *string `mandatory:"false" contributesTo:"query" name:"scimQuery"`

	// 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
}

GenerateReportRequest wrapper for the GenerateReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateReport.go.html to see an example of how to use GenerateReportRequest.

func (GenerateReportRequest) BinaryRequestBody ¶

func (request GenerateReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateReportRequest) HTTPRequest ¶

func (request GenerateReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateReportRequest) RetryPolicy ¶

func (request GenerateReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateReportRequest) String ¶

func (request GenerateReportRequest) String() string

func (GenerateReportRequest) ValidateEnumValue ¶

func (request GenerateReportRequest) 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 GenerateReportResponse ¶

type GenerateReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateReportResponse wrapper for the GenerateReport operation

func (GenerateReportResponse) HTTPResponse ¶

func (response GenerateReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateReportResponse) String ¶

func (response GenerateReportResponse) String() string

type GenerateSecurityAssessmentReportDetails ¶

type GenerateSecurityAssessmentReportDetails struct {

	// Format of the report.
	Format GenerateSecurityAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

GenerateSecurityAssessmentReportDetails The details used to generate a new security assessment report.

func (GenerateSecurityAssessmentReportDetails) String ¶

func (GenerateSecurityAssessmentReportDetails) ValidateEnumValue ¶

func (m GenerateSecurityAssessmentReportDetails) 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 GenerateSecurityAssessmentReportDetailsFormatEnum ¶

type GenerateSecurityAssessmentReportDetailsFormatEnum string

GenerateSecurityAssessmentReportDetailsFormatEnum Enum with underlying type: string

const (
	GenerateSecurityAssessmentReportDetailsFormatPdf GenerateSecurityAssessmentReportDetailsFormatEnum = "PDF"
	GenerateSecurityAssessmentReportDetailsFormatXls GenerateSecurityAssessmentReportDetailsFormatEnum = "XLS"
)

Set of constants representing the allowable values for GenerateSecurityAssessmentReportDetailsFormatEnum

func GetGenerateSecurityAssessmentReportDetailsFormatEnumValues ¶

func GetGenerateSecurityAssessmentReportDetailsFormatEnumValues() []GenerateSecurityAssessmentReportDetailsFormatEnum

GetGenerateSecurityAssessmentReportDetailsFormatEnumValues Enumerates the set of values for GenerateSecurityAssessmentReportDetailsFormatEnum

func GetMappingGenerateSecurityAssessmentReportDetailsFormatEnum ¶

func GetMappingGenerateSecurityAssessmentReportDetailsFormatEnum(val string) (GenerateSecurityAssessmentReportDetailsFormatEnum, bool)

GetMappingGenerateSecurityAssessmentReportDetailsFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type GenerateSecurityAssessmentReportRequest ¶

type GenerateSecurityAssessmentReportRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Details of the report.
	GenerateSecurityAssessmentReportDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GenerateSecurityAssessmentReportRequest wrapper for the GenerateSecurityAssessmentReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateSecurityAssessmentReport.go.html to see an example of how to use GenerateSecurityAssessmentReportRequest.

func (GenerateSecurityAssessmentReportRequest) BinaryRequestBody ¶

func (request GenerateSecurityAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateSecurityAssessmentReportRequest) HTTPRequest ¶

func (request GenerateSecurityAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateSecurityAssessmentReportRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateSecurityAssessmentReportRequest) String ¶

func (GenerateSecurityAssessmentReportRequest) ValidateEnumValue ¶

func (request GenerateSecurityAssessmentReportRequest) 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 GenerateSecurityAssessmentReportResponse ¶

type GenerateSecurityAssessmentReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateSecurityAssessmentReportResponse wrapper for the GenerateSecurityAssessmentReport operation

func (GenerateSecurityAssessmentReportResponse) HTTPResponse ¶

func (response GenerateSecurityAssessmentReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateSecurityAssessmentReportResponse) String ¶

type GenerateSensitiveDataModelForDownloadDetails ¶

type GenerateSensitiveDataModelForDownloadDetails struct {

	// The format of the sensitive data model file.
	DataModelFormat DataModelFormatEnum `mandatory:"false" json:"dataModelFormat,omitempty"`
}

GenerateSensitiveDataModelForDownloadDetails Details to generate a downloadable sensitive data model.

func (GenerateSensitiveDataModelForDownloadDetails) String ¶

func (GenerateSensitiveDataModelForDownloadDetails) ValidateEnumValue ¶

func (m GenerateSensitiveDataModelForDownloadDetails) 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 GenerateSensitiveDataModelForDownloadRequest ¶

type GenerateSensitiveDataModelForDownloadRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to generate a sensitive data model file.
	GenerateSensitiveDataModelForDownloadDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GenerateSensitiveDataModelForDownloadRequest wrapper for the GenerateSensitiveDataModelForDownload operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateSensitiveDataModelForDownload.go.html to see an example of how to use GenerateSensitiveDataModelForDownloadRequest.

func (GenerateSensitiveDataModelForDownloadRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GenerateSensitiveDataModelForDownloadRequest) HTTPRequest ¶

func (request GenerateSensitiveDataModelForDownloadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateSensitiveDataModelForDownloadRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateSensitiveDataModelForDownloadRequest) String ¶

func (GenerateSensitiveDataModelForDownloadRequest) ValidateEnumValue ¶

func (request GenerateSensitiveDataModelForDownloadRequest) 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 GenerateSensitiveDataModelForDownloadResponse ¶

type GenerateSensitiveDataModelForDownloadResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateSensitiveDataModelForDownloadResponse wrapper for the GenerateSensitiveDataModelForDownload operation

func (GenerateSensitiveDataModelForDownloadResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GenerateSensitiveDataModelForDownloadResponse) String ¶

type GenerateUserAssessmentReportDetails ¶

type GenerateUserAssessmentReportDetails struct {

	// Format of the report.
	Format GenerateUserAssessmentReportDetailsFormatEnum `mandatory:"true" json:"format"`
}

GenerateUserAssessmentReportDetails The details used to generate a new user assessment report.

func (GenerateUserAssessmentReportDetails) String ¶

func (GenerateUserAssessmentReportDetails) ValidateEnumValue ¶

func (m GenerateUserAssessmentReportDetails) 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 GenerateUserAssessmentReportDetailsFormatEnum ¶

type GenerateUserAssessmentReportDetailsFormatEnum string

GenerateUserAssessmentReportDetailsFormatEnum Enum with underlying type: string

const (
	GenerateUserAssessmentReportDetailsFormatPdf GenerateUserAssessmentReportDetailsFormatEnum = "PDF"
	GenerateUserAssessmentReportDetailsFormatXls GenerateUserAssessmentReportDetailsFormatEnum = "XLS"
)

Set of constants representing the allowable values for GenerateUserAssessmentReportDetailsFormatEnum

func GetGenerateUserAssessmentReportDetailsFormatEnumValues ¶

func GetGenerateUserAssessmentReportDetailsFormatEnumValues() []GenerateUserAssessmentReportDetailsFormatEnum

GetGenerateUserAssessmentReportDetailsFormatEnumValues Enumerates the set of values for GenerateUserAssessmentReportDetailsFormatEnum

func GetMappingGenerateUserAssessmentReportDetailsFormatEnum ¶

func GetMappingGenerateUserAssessmentReportDetailsFormatEnum(val string) (GenerateUserAssessmentReportDetailsFormatEnum, bool)

GetMappingGenerateUserAssessmentReportDetailsFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type GenerateUserAssessmentReportRequest ¶

type GenerateUserAssessmentReportRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// Details of the report.
	GenerateUserAssessmentReportDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GenerateUserAssessmentReportRequest wrapper for the GenerateUserAssessmentReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GenerateUserAssessmentReport.go.html to see an example of how to use GenerateUserAssessmentReportRequest.

func (GenerateUserAssessmentReportRequest) BinaryRequestBody ¶

func (request GenerateUserAssessmentReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateUserAssessmentReportRequest) HTTPRequest ¶

func (request GenerateUserAssessmentReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateUserAssessmentReportRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateUserAssessmentReportRequest) String ¶

func (GenerateUserAssessmentReportRequest) ValidateEnumValue ¶

func (request GenerateUserAssessmentReportRequest) 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 GenerateUserAssessmentReportResponse ¶

type GenerateUserAssessmentReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

GenerateUserAssessmentReportResponse wrapper for the GenerateUserAssessmentReport operation

func (GenerateUserAssessmentReportResponse) HTTPResponse ¶

func (response GenerateUserAssessmentReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateUserAssessmentReportResponse) String ¶

func (response GenerateUserAssessmentReportResponse) String() string

type GetAlertPolicyRequest ¶

type GetAlertPolicyRequest struct {

	// The OCID of the alert policy.
	AlertPolicyId *string `mandatory:"true" contributesTo:"path" name:"alertPolicyId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetAlertPolicyRequest wrapper for the GetAlertPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetAlertPolicy.go.html to see an example of how to use GetAlertPolicyRequest.

func (GetAlertPolicyRequest) BinaryRequestBody ¶

func (request GetAlertPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAlertPolicyRequest) HTTPRequest ¶

func (request GetAlertPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAlertPolicyRequest) RetryPolicy ¶

func (request GetAlertPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAlertPolicyRequest) String ¶

func (request GetAlertPolicyRequest) String() string

func (GetAlertPolicyRequest) ValidateEnumValue ¶

func (request GetAlertPolicyRequest) 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 GetAlertPolicyResponse ¶

type GetAlertPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AlertPolicy instance
	AlertPolicy `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetAlertPolicyResponse wrapper for the GetAlertPolicy operation

func (GetAlertPolicyResponse) HTTPResponse ¶

func (response GetAlertPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAlertPolicyResponse) String ¶

func (response GetAlertPolicyResponse) String() string

type GetAlertRequest ¶

type GetAlertRequest struct {

	// The OCID of alert.
	AlertId *string `mandatory:"true" contributesTo:"path" name:"alertId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetAlertRequest wrapper for the GetAlert operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetAlert.go.html to see an example of how to use GetAlertRequest.

func (GetAlertRequest) BinaryRequestBody ¶

func (request GetAlertRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAlertRequest) HTTPRequest ¶

func (request GetAlertRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAlertRequest) RetryPolicy ¶

func (request GetAlertRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAlertRequest) String ¶

func (request GetAlertRequest) String() string

func (GetAlertRequest) ValidateEnumValue ¶

func (request GetAlertRequest) 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 GetAlertResponse ¶

type GetAlertResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Alert instance
	Alert `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetAlertResponse wrapper for the GetAlert operation

func (GetAlertResponse) HTTPResponse ¶

func (response GetAlertResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAlertResponse) String ¶

func (response GetAlertResponse) String() string

type GetAuditArchiveRetrievalRequest ¶

type GetAuditArchiveRetrievalRequest struct {

	// OCID of the archive retrieval.
	AuditArchiveRetrievalId *string `mandatory:"true" contributesTo:"path" name:"auditArchiveRetrievalId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetAuditArchiveRetrievalRequest wrapper for the GetAuditArchiveRetrieval operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetAuditArchiveRetrieval.go.html to see an example of how to use GetAuditArchiveRetrievalRequest.

func (GetAuditArchiveRetrievalRequest) BinaryRequestBody ¶

func (request GetAuditArchiveRetrievalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAuditArchiveRetrievalRequest) HTTPRequest ¶

func (request GetAuditArchiveRetrievalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAuditArchiveRetrievalRequest) RetryPolicy ¶

func (request GetAuditArchiveRetrievalRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAuditArchiveRetrievalRequest) String ¶

func (request GetAuditArchiveRetrievalRequest) String() string

func (GetAuditArchiveRetrievalRequest) ValidateEnumValue ¶

func (request GetAuditArchiveRetrievalRequest) 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 GetAuditArchiveRetrievalResponse ¶

type GetAuditArchiveRetrievalResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AuditArchiveRetrieval instance
	AuditArchiveRetrieval `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetAuditArchiveRetrievalResponse wrapper for the GetAuditArchiveRetrieval operation

func (GetAuditArchiveRetrievalResponse) HTTPResponse ¶

func (response GetAuditArchiveRetrievalResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAuditArchiveRetrievalResponse) String ¶

func (response GetAuditArchiveRetrievalResponse) String() string

type GetAuditPolicyRequest ¶

type GetAuditPolicyRequest struct {

	// Unique audit policy identifier.
	AuditPolicyId *string `mandatory:"true" contributesTo:"path" name:"auditPolicyId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetAuditPolicyRequest wrapper for the GetAuditPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetAuditPolicy.go.html to see an example of how to use GetAuditPolicyRequest.

func (GetAuditPolicyRequest) BinaryRequestBody ¶

func (request GetAuditPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAuditPolicyRequest) HTTPRequest ¶

func (request GetAuditPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAuditPolicyRequest) RetryPolicy ¶

func (request GetAuditPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAuditPolicyRequest) String ¶

func (request GetAuditPolicyRequest) String() string

func (GetAuditPolicyRequest) ValidateEnumValue ¶

func (request GetAuditPolicyRequest) 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 GetAuditPolicyResponse ¶

type GetAuditPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AuditPolicy instance
	AuditPolicy `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetAuditPolicyResponse wrapper for the GetAuditPolicy operation

func (GetAuditPolicyResponse) HTTPResponse ¶

func (response GetAuditPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAuditPolicyResponse) String ¶

func (response GetAuditPolicyResponse) String() string

type GetAuditProfileRequest ¶

type GetAuditProfileRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetAuditProfileRequest wrapper for the GetAuditProfile operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetAuditProfile.go.html to see an example of how to use GetAuditProfileRequest.

func (GetAuditProfileRequest) BinaryRequestBody ¶

func (request GetAuditProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAuditProfileRequest) HTTPRequest ¶

func (request GetAuditProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAuditProfileRequest) RetryPolicy ¶

func (request GetAuditProfileRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAuditProfileRequest) String ¶

func (request GetAuditProfileRequest) String() string

func (GetAuditProfileRequest) ValidateEnumValue ¶

func (request GetAuditProfileRequest) 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 GetAuditProfileResponse ¶

type GetAuditProfileResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AuditProfile instance
	AuditProfile `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetAuditProfileResponse wrapper for the GetAuditProfile operation

func (GetAuditProfileResponse) HTTPResponse ¶

func (response GetAuditProfileResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAuditProfileResponse) String ¶

func (response GetAuditProfileResponse) String() string

type GetAuditTrailRequest ¶

type GetAuditTrailRequest struct {

	// The OCID of the audit trail.
	AuditTrailId *string `mandatory:"true" contributesTo:"path" name:"auditTrailId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetAuditTrailRequest wrapper for the GetAuditTrail operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetAuditTrail.go.html to see an example of how to use GetAuditTrailRequest.

func (GetAuditTrailRequest) BinaryRequestBody ¶

func (request GetAuditTrailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAuditTrailRequest) HTTPRequest ¶

func (request GetAuditTrailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAuditTrailRequest) RetryPolicy ¶

func (request GetAuditTrailRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAuditTrailRequest) String ¶

func (request GetAuditTrailRequest) String() string

func (GetAuditTrailRequest) ValidateEnumValue ¶

func (request GetAuditTrailRequest) 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 GetAuditTrailResponse ¶

type GetAuditTrailResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AuditTrail instance
	AuditTrail `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetAuditTrailResponse wrapper for the GetAuditTrail operation

func (GetAuditTrailResponse) HTTPResponse ¶

func (response GetAuditTrailResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAuditTrailResponse) String ¶

func (response GetAuditTrailResponse) String() string

type GetCompatibleFormatsForDataTypesRequest ¶

type GetCompatibleFormatsForDataTypesRequest struct {

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetCompatibleFormatsForDataTypesRequest wrapper for the GetCompatibleFormatsForDataTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetCompatibleFormatsForDataTypes.go.html to see an example of how to use GetCompatibleFormatsForDataTypesRequest.

func (GetCompatibleFormatsForDataTypesRequest) BinaryRequestBody ¶

func (request GetCompatibleFormatsForDataTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCompatibleFormatsForDataTypesRequest) HTTPRequest ¶

func (request GetCompatibleFormatsForDataTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCompatibleFormatsForDataTypesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCompatibleFormatsForDataTypesRequest) String ¶

func (GetCompatibleFormatsForDataTypesRequest) ValidateEnumValue ¶

func (request GetCompatibleFormatsForDataTypesRequest) 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 GetCompatibleFormatsForDataTypesResponse ¶

type GetCompatibleFormatsForDataTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CompatibleFormatsForDataTypes instances
	CompatibleFormatsForDataTypes `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

GetCompatibleFormatsForDataTypesResponse wrapper for the GetCompatibleFormatsForDataTypes operation

func (GetCompatibleFormatsForDataTypesResponse) HTTPResponse ¶

func (response GetCompatibleFormatsForDataTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCompatibleFormatsForDataTypesResponse) String ¶

type GetCompatibleFormatsForSensitiveTypesAccessLevelEnum ¶

type GetCompatibleFormatsForSensitiveTypesAccessLevelEnum string

GetCompatibleFormatsForSensitiveTypesAccessLevelEnum Enum with underlying type: string

const (
	GetCompatibleFormatsForSensitiveTypesAccessLevelRestricted GetCompatibleFormatsForSensitiveTypesAccessLevelEnum = "RESTRICTED"
	GetCompatibleFormatsForSensitiveTypesAccessLevelAccessible GetCompatibleFormatsForSensitiveTypesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for GetCompatibleFormatsForSensitiveTypesAccessLevelEnum

func GetGetCompatibleFormatsForSensitiveTypesAccessLevelEnumValues ¶

func GetGetCompatibleFormatsForSensitiveTypesAccessLevelEnumValues() []GetCompatibleFormatsForSensitiveTypesAccessLevelEnum

GetGetCompatibleFormatsForSensitiveTypesAccessLevelEnumValues Enumerates the set of values for GetCompatibleFormatsForSensitiveTypesAccessLevelEnum

func GetMappingGetCompatibleFormatsForSensitiveTypesAccessLevelEnum ¶

func GetMappingGetCompatibleFormatsForSensitiveTypesAccessLevelEnum(val string) (GetCompatibleFormatsForSensitiveTypesAccessLevelEnum, bool)

GetMappingGetCompatibleFormatsForSensitiveTypesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type GetCompatibleFormatsForSensitiveTypesRequest ¶

type GetCompatibleFormatsForSensitiveTypesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel GetCompatibleFormatsForSensitiveTypesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetCompatibleFormatsForSensitiveTypesRequest wrapper for the GetCompatibleFormatsForSensitiveTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetCompatibleFormatsForSensitiveTypes.go.html to see an example of how to use GetCompatibleFormatsForSensitiveTypesRequest.

func (GetCompatibleFormatsForSensitiveTypesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetCompatibleFormatsForSensitiveTypesRequest) HTTPRequest ¶

func (request GetCompatibleFormatsForSensitiveTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCompatibleFormatsForSensitiveTypesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCompatibleFormatsForSensitiveTypesRequest) String ¶

func (GetCompatibleFormatsForSensitiveTypesRequest) ValidateEnumValue ¶

func (request GetCompatibleFormatsForSensitiveTypesRequest) 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 GetCompatibleFormatsForSensitiveTypesResponse ¶

type GetCompatibleFormatsForSensitiveTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CompatibleFormatsForSensitiveTypes instances
	CompatibleFormatsForSensitiveTypes `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

GetCompatibleFormatsForSensitiveTypesResponse wrapper for the GetCompatibleFormatsForSensitiveTypes operation

func (GetCompatibleFormatsForSensitiveTypesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetCompatibleFormatsForSensitiveTypesResponse) String ¶

type GetDataSafeConfigurationRequest ¶

type GetDataSafeConfigurationRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetDataSafeConfigurationRequest wrapper for the GetDataSafeConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetDataSafeConfiguration.go.html to see an example of how to use GetDataSafeConfigurationRequest.

func (GetDataSafeConfigurationRequest) BinaryRequestBody ¶

func (request GetDataSafeConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDataSafeConfigurationRequest) HTTPRequest ¶

func (request GetDataSafeConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDataSafeConfigurationRequest) RetryPolicy ¶

func (request GetDataSafeConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDataSafeConfigurationRequest) String ¶

func (request GetDataSafeConfigurationRequest) String() string

func (GetDataSafeConfigurationRequest) ValidateEnumValue ¶

func (request GetDataSafeConfigurationRequest) 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 GetDataSafeConfigurationResponse ¶

type GetDataSafeConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataSafeConfiguration instance
	DataSafeConfiguration `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetDataSafeConfigurationResponse wrapper for the GetDataSafeConfiguration operation

func (GetDataSafeConfigurationResponse) HTTPResponse ¶

func (response GetDataSafeConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDataSafeConfigurationResponse) String ¶

func (response GetDataSafeConfigurationResponse) String() string

type GetDataSafePrivateEndpointRequest ¶

type GetDataSafePrivateEndpointRequest struct {

	// The OCID of the private endpoint.
	DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetDataSafePrivateEndpointRequest wrapper for the GetDataSafePrivateEndpoint operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetDataSafePrivateEndpoint.go.html to see an example of how to use GetDataSafePrivateEndpointRequest.

func (GetDataSafePrivateEndpointRequest) BinaryRequestBody ¶

func (request GetDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDataSafePrivateEndpointRequest) HTTPRequest ¶

func (request GetDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDataSafePrivateEndpointRequest) RetryPolicy ¶

func (request GetDataSafePrivateEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDataSafePrivateEndpointRequest) String ¶

func (request GetDataSafePrivateEndpointRequest) String() string

func (GetDataSafePrivateEndpointRequest) ValidateEnumValue ¶

func (request GetDataSafePrivateEndpointRequest) 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 GetDataSafePrivateEndpointResponse ¶

type GetDataSafePrivateEndpointResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataSafePrivateEndpoint instance
	DataSafePrivateEndpoint `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetDataSafePrivateEndpointResponse wrapper for the GetDataSafePrivateEndpoint operation

func (GetDataSafePrivateEndpointResponse) HTTPResponse ¶

func (response GetDataSafePrivateEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDataSafePrivateEndpointResponse) String ¶

func (response GetDataSafePrivateEndpointResponse) String() string

type GetDifferenceColumnRequest ¶ added in v65.35.0

type GetDifferenceColumnRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// The unique key that identifies the difference column.
	DifferenceColumnKey *string `mandatory:"true" contributesTo:"path" name:"differenceColumnKey"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetDifferenceColumnRequest wrapper for the GetDifferenceColumn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetDifferenceColumn.go.html to see an example of how to use GetDifferenceColumnRequest.

func (GetDifferenceColumnRequest) BinaryRequestBody ¶ added in v65.35.0

func (request GetDifferenceColumnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDifferenceColumnRequest) HTTPRequest ¶ added in v65.35.0

func (request GetDifferenceColumnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDifferenceColumnRequest) RetryPolicy ¶ added in v65.35.0

func (request GetDifferenceColumnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDifferenceColumnRequest) String ¶ added in v65.35.0

func (request GetDifferenceColumnRequest) String() string

func (GetDifferenceColumnRequest) ValidateEnumValue ¶ added in v65.35.0

func (request GetDifferenceColumnRequest) 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 GetDifferenceColumnResponse ¶ added in v65.35.0

type GetDifferenceColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DifferenceColumn instance
	DifferenceColumn `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetDifferenceColumnResponse wrapper for the GetDifferenceColumn operation

func (GetDifferenceColumnResponse) HTTPResponse ¶ added in v65.35.0

func (response GetDifferenceColumnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDifferenceColumnResponse) String ¶ added in v65.35.0

func (response GetDifferenceColumnResponse) String() string

type GetDiscoveryJobRequest ¶

type GetDiscoveryJobRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetDiscoveryJobRequest wrapper for the GetDiscoveryJob operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetDiscoveryJob.go.html to see an example of how to use GetDiscoveryJobRequest.

func (GetDiscoveryJobRequest) BinaryRequestBody ¶

func (request GetDiscoveryJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDiscoveryJobRequest) HTTPRequest ¶

func (request GetDiscoveryJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDiscoveryJobRequest) RetryPolicy ¶

func (request GetDiscoveryJobRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDiscoveryJobRequest) String ¶

func (request GetDiscoveryJobRequest) String() string

func (GetDiscoveryJobRequest) ValidateEnumValue ¶

func (request GetDiscoveryJobRequest) 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 GetDiscoveryJobResponse ¶

type GetDiscoveryJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DiscoveryJob instance
	DiscoveryJob `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetDiscoveryJobResponse wrapper for the GetDiscoveryJob operation

func (GetDiscoveryJobResponse) HTTPResponse ¶

func (response GetDiscoveryJobResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDiscoveryJobResponse) String ¶

func (response GetDiscoveryJobResponse) String() string

type GetDiscoveryJobResultRequest ¶

type GetDiscoveryJobResultRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// The unique key that identifies the discovery result.
	ResultKey *string `mandatory:"true" contributesTo:"path" name:"resultKey"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetDiscoveryJobResultRequest wrapper for the GetDiscoveryJobResult operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetDiscoveryJobResult.go.html to see an example of how to use GetDiscoveryJobResultRequest.

func (GetDiscoveryJobResultRequest) BinaryRequestBody ¶

func (request GetDiscoveryJobResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDiscoveryJobResultRequest) HTTPRequest ¶

func (request GetDiscoveryJobResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDiscoveryJobResultRequest) RetryPolicy ¶

func (request GetDiscoveryJobResultRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDiscoveryJobResultRequest) String ¶

func (request GetDiscoveryJobResultRequest) String() string

func (GetDiscoveryJobResultRequest) ValidateEnumValue ¶

func (request GetDiscoveryJobResultRequest) 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 GetDiscoveryJobResultResponse ¶

type GetDiscoveryJobResultResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DiscoveryJobResult instance
	DiscoveryJobResult `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetDiscoveryJobResultResponse wrapper for the GetDiscoveryJobResult operation

func (GetDiscoveryJobResultResponse) HTTPResponse ¶

func (response GetDiscoveryJobResultResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDiscoveryJobResultResponse) String ¶

func (response GetDiscoveryJobResultResponse) String() string

type GetLibraryMaskingFormatRequest ¶

type GetLibraryMaskingFormatRequest struct {

	// The OCID of the library masking format.
	LibraryMaskingFormatId *string `mandatory:"true" contributesTo:"path" name:"libraryMaskingFormatId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetLibraryMaskingFormatRequest wrapper for the GetLibraryMaskingFormat operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetLibraryMaskingFormat.go.html to see an example of how to use GetLibraryMaskingFormatRequest.

func (GetLibraryMaskingFormatRequest) BinaryRequestBody ¶

func (request GetLibraryMaskingFormatRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetLibraryMaskingFormatRequest) HTTPRequest ¶

func (request GetLibraryMaskingFormatRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetLibraryMaskingFormatRequest) RetryPolicy ¶

func (request GetLibraryMaskingFormatRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetLibraryMaskingFormatRequest) String ¶

func (request GetLibraryMaskingFormatRequest) String() string

func (GetLibraryMaskingFormatRequest) ValidateEnumValue ¶

func (request GetLibraryMaskingFormatRequest) 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 GetLibraryMaskingFormatResponse ¶

type GetLibraryMaskingFormatResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LibraryMaskingFormat instance
	LibraryMaskingFormat `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetLibraryMaskingFormatResponse wrapper for the GetLibraryMaskingFormat operation

func (GetLibraryMaskingFormatResponse) HTTPResponse ¶

func (response GetLibraryMaskingFormatResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetLibraryMaskingFormatResponse) String ¶

func (response GetLibraryMaskingFormatResponse) String() string

type GetMaskingColumnRequest ¶

type GetMaskingColumnRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// The unique key that identifies the masking column. It's numeric and unique within a masking policy.
	MaskingColumnKey *string `mandatory:"true" contributesTo:"path" name:"maskingColumnKey"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetMaskingColumnRequest wrapper for the GetMaskingColumn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetMaskingColumn.go.html to see an example of how to use GetMaskingColumnRequest.

func (GetMaskingColumnRequest) BinaryRequestBody ¶

func (request GetMaskingColumnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMaskingColumnRequest) HTTPRequest ¶

func (request GetMaskingColumnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMaskingColumnRequest) RetryPolicy ¶

func (request GetMaskingColumnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMaskingColumnRequest) String ¶

func (request GetMaskingColumnRequest) String() string

func (GetMaskingColumnRequest) ValidateEnumValue ¶

func (request GetMaskingColumnRequest) 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 GetMaskingColumnResponse ¶

type GetMaskingColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MaskingColumn instance
	MaskingColumn `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetMaskingColumnResponse wrapper for the GetMaskingColumn operation

func (GetMaskingColumnResponse) HTTPResponse ¶

func (response GetMaskingColumnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMaskingColumnResponse) String ¶

func (response GetMaskingColumnResponse) String() string

type GetMaskingPolicyRequest ¶

type GetMaskingPolicyRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetMaskingPolicyRequest wrapper for the GetMaskingPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetMaskingPolicy.go.html to see an example of how to use GetMaskingPolicyRequest.

func (GetMaskingPolicyRequest) BinaryRequestBody ¶

func (request GetMaskingPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMaskingPolicyRequest) HTTPRequest ¶

func (request GetMaskingPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMaskingPolicyRequest) RetryPolicy ¶

func (request GetMaskingPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMaskingPolicyRequest) String ¶

func (request GetMaskingPolicyRequest) String() string

func (GetMaskingPolicyRequest) ValidateEnumValue ¶

func (request GetMaskingPolicyRequest) 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 GetMaskingPolicyResponse ¶

type GetMaskingPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MaskingPolicy instance
	MaskingPolicy `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetMaskingPolicyResponse wrapper for the GetMaskingPolicy operation

func (GetMaskingPolicyResponse) HTTPResponse ¶

func (response GetMaskingPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMaskingPolicyResponse) String ¶

func (response GetMaskingPolicyResponse) String() string

type GetMaskingReportRequest ¶

type GetMaskingReportRequest struct {

	// The OCID of the masking report.
	MaskingReportId *string `mandatory:"true" contributesTo:"path" name:"maskingReportId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetMaskingReportRequest wrapper for the GetMaskingReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetMaskingReport.go.html to see an example of how to use GetMaskingReportRequest.

func (GetMaskingReportRequest) BinaryRequestBody ¶

func (request GetMaskingReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMaskingReportRequest) HTTPRequest ¶

func (request GetMaskingReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMaskingReportRequest) RetryPolicy ¶

func (request GetMaskingReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMaskingReportRequest) String ¶

func (request GetMaskingReportRequest) String() string

func (GetMaskingReportRequest) ValidateEnumValue ¶

func (request GetMaskingReportRequest) 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 GetMaskingReportResponse ¶

type GetMaskingReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MaskingReport instance
	MaskingReport `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetMaskingReportResponse wrapper for the GetMaskingReport operation

func (GetMaskingReportResponse) HTTPResponse ¶

func (response GetMaskingReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMaskingReportResponse) String ¶

func (response GetMaskingReportResponse) String() string

type GetOnPremConnectorRequest ¶

type GetOnPremConnectorRequest struct {

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetOnPremConnectorRequest wrapper for the GetOnPremConnector operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetOnPremConnector.go.html to see an example of how to use GetOnPremConnectorRequest.

func (GetOnPremConnectorRequest) BinaryRequestBody ¶

func (request GetOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOnPremConnectorRequest) HTTPRequest ¶

func (request GetOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOnPremConnectorRequest) RetryPolicy ¶

func (request GetOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetOnPremConnectorRequest) String ¶

func (request GetOnPremConnectorRequest) String() string

func (GetOnPremConnectorRequest) ValidateEnumValue ¶

func (request GetOnPremConnectorRequest) 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 GetOnPremConnectorResponse ¶

type GetOnPremConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OnPremConnector instance
	OnPremConnector `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetOnPremConnectorResponse wrapper for the GetOnPremConnector operation

func (GetOnPremConnectorResponse) HTTPResponse ¶

func (response GetOnPremConnectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetOnPremConnectorResponse) String ¶

func (response GetOnPremConnectorResponse) String() string

type GetProfileRequest ¶ added in v65.35.0

type GetProfileRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// Profile name to get detailed information .
	ProfileName *string `mandatory:"true" contributesTo:"path" name:"profileName"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetProfileRequest wrapper for the GetProfile operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetProfile.go.html to see an example of how to use GetProfileRequest.

func (GetProfileRequest) BinaryRequestBody ¶ added in v65.35.0

func (request GetProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetProfileRequest) HTTPRequest ¶ added in v65.35.0

func (request GetProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProfileRequest) RetryPolicy ¶ added in v65.35.0

func (request GetProfileRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetProfileRequest) String ¶ added in v65.35.0

func (request GetProfileRequest) String() string

func (GetProfileRequest) ValidateEnumValue ¶ added in v65.35.0

func (request GetProfileRequest) 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 GetProfileResponse ¶ added in v65.35.0

type GetProfileResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []Profile instance
	Items []Profile `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

GetProfileResponse wrapper for the GetProfile operation

func (GetProfileResponse) HTTPResponse ¶ added in v65.35.0

func (response GetProfileResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetProfileResponse) String ¶ added in v65.35.0

func (response GetProfileResponse) String() string

type GetReportContentRequest ¶

type GetReportContentRequest struct {

	// Unique report identifier
	ReportId *string `mandatory:"true" contributesTo:"path" name:"reportId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetReportContentRequest wrapper for the GetReportContent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetReportContent.go.html to see an example of how to use GetReportContentRequest.

func (GetReportContentRequest) BinaryRequestBody ¶

func (request GetReportContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReportContentRequest) HTTPRequest ¶

func (request GetReportContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReportContentRequest) RetryPolicy ¶

func (request GetReportContentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetReportContentRequest) String ¶

func (request GetReportContentRequest) String() string

func (GetReportContentRequest) ValidateEnumValue ¶

func (request GetReportContentRequest) 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 GetReportContentResponse ¶

type GetReportContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// Size of the file.
	ContentLength *int64 `presentIn:"header" name:"content-length"`

	// The date and time the report was last modified, in the format defined by HTTP-date.
	LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}

GetReportContentResponse wrapper for the GetReportContent operation

func (GetReportContentResponse) HTTPResponse ¶

func (response GetReportContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetReportContentResponse) String ¶

func (response GetReportContentResponse) String() string

type GetReportDefinitionRequest ¶

type GetReportDefinitionRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetReportDefinitionRequest wrapper for the GetReportDefinition operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetReportDefinition.go.html to see an example of how to use GetReportDefinitionRequest.

func (GetReportDefinitionRequest) BinaryRequestBody ¶

func (request GetReportDefinitionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReportDefinitionRequest) HTTPRequest ¶

func (request GetReportDefinitionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReportDefinitionRequest) RetryPolicy ¶

func (request GetReportDefinitionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetReportDefinitionRequest) String ¶

func (request GetReportDefinitionRequest) String() string

func (GetReportDefinitionRequest) ValidateEnumValue ¶

func (request GetReportDefinitionRequest) 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 GetReportDefinitionResponse ¶

type GetReportDefinitionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ReportDefinition instance
	ReportDefinition `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetReportDefinitionResponse wrapper for the GetReportDefinition operation

func (GetReportDefinitionResponse) HTTPResponse ¶

func (response GetReportDefinitionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetReportDefinitionResponse) String ¶

func (response GetReportDefinitionResponse) String() string

type GetReportRequest ¶

type GetReportRequest struct {

	// Unique report identifier
	ReportId *string `mandatory:"true" contributesTo:"path" name:"reportId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetReportRequest wrapper for the GetReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetReport.go.html to see an example of how to use GetReportRequest.

func (GetReportRequest) BinaryRequestBody ¶

func (request GetReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReportRequest) HTTPRequest ¶

func (request GetReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReportRequest) RetryPolicy ¶

func (request GetReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetReportRequest) String ¶

func (request GetReportRequest) String() string

func (GetReportRequest) ValidateEnumValue ¶

func (request GetReportRequest) 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 GetReportResponse ¶

type GetReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Report instance
	Report `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetReportResponse wrapper for the GetReport operation

func (GetReportResponse) HTTPResponse ¶

func (response GetReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetReportResponse) String ¶

func (response GetReportResponse) String() string

type GetSdmMaskingPolicyDifferenceRequest ¶ added in v65.35.0

type GetSdmMaskingPolicyDifferenceRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetSdmMaskingPolicyDifferenceRequest wrapper for the GetSdmMaskingPolicyDifference operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetSdmMaskingPolicyDifference.go.html to see an example of how to use GetSdmMaskingPolicyDifferenceRequest.

func (GetSdmMaskingPolicyDifferenceRequest) BinaryRequestBody ¶ added in v65.35.0

func (request GetSdmMaskingPolicyDifferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSdmMaskingPolicyDifferenceRequest) HTTPRequest ¶ added in v65.35.0

func (request GetSdmMaskingPolicyDifferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSdmMaskingPolicyDifferenceRequest) RetryPolicy ¶ added in v65.35.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSdmMaskingPolicyDifferenceRequest) String ¶ added in v65.35.0

func (GetSdmMaskingPolicyDifferenceRequest) ValidateEnumValue ¶ added in v65.35.0

func (request GetSdmMaskingPolicyDifferenceRequest) 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 GetSdmMaskingPolicyDifferenceResponse ¶ added in v65.35.0

type GetSdmMaskingPolicyDifferenceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SdmMaskingPolicyDifference instance
	SdmMaskingPolicyDifference `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetSdmMaskingPolicyDifferenceResponse wrapper for the GetSdmMaskingPolicyDifference operation

func (GetSdmMaskingPolicyDifferenceResponse) HTTPResponse ¶ added in v65.35.0

func (response GetSdmMaskingPolicyDifferenceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSdmMaskingPolicyDifferenceResponse) String ¶ added in v65.35.0

type GetSecurityAssessmentComparisonRequest ¶

type GetSecurityAssessmentComparisonRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// The OCID of the baseline security assessment.
	ComparisonSecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"comparisonSecurityAssessmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetSecurityAssessmentComparisonRequest wrapper for the GetSecurityAssessmentComparison operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetSecurityAssessmentComparison.go.html to see an example of how to use GetSecurityAssessmentComparisonRequest.

func (GetSecurityAssessmentComparisonRequest) BinaryRequestBody ¶

func (request GetSecurityAssessmentComparisonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityAssessmentComparisonRequest) HTTPRequest ¶

func (request GetSecurityAssessmentComparisonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityAssessmentComparisonRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSecurityAssessmentComparisonRequest) String ¶

func (GetSecurityAssessmentComparisonRequest) ValidateEnumValue ¶

func (request GetSecurityAssessmentComparisonRequest) 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 GetSecurityAssessmentComparisonResponse ¶

type GetSecurityAssessmentComparisonResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityAssessmentComparison instance
	SecurityAssessmentComparison `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 optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`
}

GetSecurityAssessmentComparisonResponse wrapper for the GetSecurityAssessmentComparison operation

func (GetSecurityAssessmentComparisonResponse) HTTPResponse ¶

func (response GetSecurityAssessmentComparisonResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSecurityAssessmentComparisonResponse) String ¶

type GetSecurityAssessmentRequest ¶

type GetSecurityAssessmentRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetSecurityAssessmentRequest wrapper for the GetSecurityAssessment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetSecurityAssessment.go.html to see an example of how to use GetSecurityAssessmentRequest.

func (GetSecurityAssessmentRequest) BinaryRequestBody ¶

func (request GetSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityAssessmentRequest) HTTPRequest ¶

func (request GetSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityAssessmentRequest) RetryPolicy ¶

func (request GetSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSecurityAssessmentRequest) String ¶

func (request GetSecurityAssessmentRequest) String() string

func (GetSecurityAssessmentRequest) ValidateEnumValue ¶

func (request GetSecurityAssessmentRequest) 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 GetSecurityAssessmentResponse ¶

type GetSecurityAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityAssessment instance
	SecurityAssessment `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 optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	Etag *string `presentIn:"header" name:"etag"`
}

GetSecurityAssessmentResponse wrapper for the GetSecurityAssessment operation

func (GetSecurityAssessmentResponse) HTTPResponse ¶

func (response GetSecurityAssessmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSecurityAssessmentResponse) String ¶

func (response GetSecurityAssessmentResponse) String() string

type GetSensitiveColumnRequest ¶

type GetSensitiveColumnRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
	SensitiveColumnKey *string `mandatory:"true" contributesTo:"path" name:"sensitiveColumnKey"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetSensitiveColumnRequest wrapper for the GetSensitiveColumn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetSensitiveColumn.go.html to see an example of how to use GetSensitiveColumnRequest.

func (GetSensitiveColumnRequest) BinaryRequestBody ¶

func (request GetSensitiveColumnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSensitiveColumnRequest) HTTPRequest ¶

func (request GetSensitiveColumnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSensitiveColumnRequest) RetryPolicy ¶

func (request GetSensitiveColumnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSensitiveColumnRequest) String ¶

func (request GetSensitiveColumnRequest) String() string

func (GetSensitiveColumnRequest) ValidateEnumValue ¶

func (request GetSensitiveColumnRequest) 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 GetSensitiveColumnResponse ¶

type GetSensitiveColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SensitiveColumn instance
	SensitiveColumn `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetSensitiveColumnResponse wrapper for the GetSensitiveColumn operation

func (GetSensitiveColumnResponse) HTTPResponse ¶

func (response GetSensitiveColumnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSensitiveColumnResponse) String ¶

func (response GetSensitiveColumnResponse) String() string

type GetSensitiveDataModelRequest ¶

type GetSensitiveDataModelRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetSensitiveDataModelRequest wrapper for the GetSensitiveDataModel operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetSensitiveDataModel.go.html to see an example of how to use GetSensitiveDataModelRequest.

func (GetSensitiveDataModelRequest) BinaryRequestBody ¶

func (request GetSensitiveDataModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSensitiveDataModelRequest) HTTPRequest ¶

func (request GetSensitiveDataModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSensitiveDataModelRequest) RetryPolicy ¶

func (request GetSensitiveDataModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSensitiveDataModelRequest) String ¶

func (request GetSensitiveDataModelRequest) String() string

func (GetSensitiveDataModelRequest) ValidateEnumValue ¶

func (request GetSensitiveDataModelRequest) 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 GetSensitiveDataModelResponse ¶

type GetSensitiveDataModelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SensitiveDataModel instance
	SensitiveDataModel `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetSensitiveDataModelResponse wrapper for the GetSensitiveDataModel operation

func (GetSensitiveDataModelResponse) HTTPResponse ¶

func (response GetSensitiveDataModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSensitiveDataModelResponse) String ¶

func (response GetSensitiveDataModelResponse) String() string

type GetSensitiveTypeRequest ¶

type GetSensitiveTypeRequest struct {

	// The OCID of the sensitive type.
	SensitiveTypeId *string `mandatory:"true" contributesTo:"path" name:"sensitiveTypeId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetSensitiveTypeRequest wrapper for the GetSensitiveType operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetSensitiveType.go.html to see an example of how to use GetSensitiveTypeRequest.

func (GetSensitiveTypeRequest) BinaryRequestBody ¶

func (request GetSensitiveTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSensitiveTypeRequest) HTTPRequest ¶

func (request GetSensitiveTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSensitiveTypeRequest) RetryPolicy ¶

func (request GetSensitiveTypeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSensitiveTypeRequest) String ¶

func (request GetSensitiveTypeRequest) String() string

func (GetSensitiveTypeRequest) ValidateEnumValue ¶

func (request GetSensitiveTypeRequest) 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 GetSensitiveTypeResponse ¶

type GetSensitiveTypeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SensitiveType instance
	SensitiveType `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetSensitiveTypeResponse wrapper for the GetSensitiveType operation

func (GetSensitiveTypeResponse) HTTPResponse ¶

func (response GetSensitiveTypeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSensitiveTypeResponse) String ¶

func (response GetSensitiveTypeResponse) String() string

type GetTargetAlertPolicyAssociationRequest ¶

type GetTargetAlertPolicyAssociationRequest struct {

	// The OCID of the target-alert policy association.
	TargetAlertPolicyAssociationId *string `mandatory:"true" contributesTo:"path" name:"targetAlertPolicyAssociationId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetTargetAlertPolicyAssociationRequest wrapper for the GetTargetAlertPolicyAssociation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetTargetAlertPolicyAssociation.go.html to see an example of how to use GetTargetAlertPolicyAssociationRequest.

func (GetTargetAlertPolicyAssociationRequest) BinaryRequestBody ¶

func (request GetTargetAlertPolicyAssociationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetAlertPolicyAssociationRequest) HTTPRequest ¶

func (request GetTargetAlertPolicyAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetAlertPolicyAssociationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetAlertPolicyAssociationRequest) String ¶

func (GetTargetAlertPolicyAssociationRequest) ValidateEnumValue ¶

func (request GetTargetAlertPolicyAssociationRequest) 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 GetTargetAlertPolicyAssociationResponse ¶

type GetTargetAlertPolicyAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetAlertPolicyAssociation instance
	TargetAlertPolicyAssociation `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetTargetAlertPolicyAssociationResponse wrapper for the GetTargetAlertPolicyAssociation operation

func (GetTargetAlertPolicyAssociationResponse) HTTPResponse ¶

func (response GetTargetAlertPolicyAssociationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetAlertPolicyAssociationResponse) String ¶

type GetTargetDatabaseRequest ¶

type GetTargetDatabaseRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetTargetDatabaseRequest wrapper for the GetTargetDatabase operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetTargetDatabase.go.html to see an example of how to use GetTargetDatabaseRequest.

func (GetTargetDatabaseRequest) BinaryRequestBody ¶

func (request GetTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetDatabaseRequest) HTTPRequest ¶

func (request GetTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDatabaseRequest) RetryPolicy ¶

func (request GetTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDatabaseRequest) String ¶

func (request GetTargetDatabaseRequest) String() string

func (GetTargetDatabaseRequest) ValidateEnumValue ¶

func (request GetTargetDatabaseRequest) 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 GetTargetDatabaseResponse ¶

type GetTargetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDatabase instance
	TargetDatabase `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetTargetDatabaseResponse wrapper for the GetTargetDatabase operation

func (GetTargetDatabaseResponse) HTTPResponse ¶

func (response GetTargetDatabaseResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetDatabaseResponse) String ¶

func (response GetTargetDatabaseResponse) String() string

type GetUserAssessmentComparisonRequest ¶

type GetUserAssessmentComparisonRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// The OCID of the baseline user assessment.
	ComparisonUserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"comparisonUserAssessmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetUserAssessmentComparisonRequest wrapper for the GetUserAssessmentComparison operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetUserAssessmentComparison.go.html to see an example of how to use GetUserAssessmentComparisonRequest.

func (GetUserAssessmentComparisonRequest) BinaryRequestBody ¶

func (request GetUserAssessmentComparisonRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetUserAssessmentComparisonRequest) HTTPRequest ¶

func (request GetUserAssessmentComparisonRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetUserAssessmentComparisonRequest) RetryPolicy ¶

func (request GetUserAssessmentComparisonRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetUserAssessmentComparisonRequest) String ¶

func (request GetUserAssessmentComparisonRequest) String() string

func (GetUserAssessmentComparisonRequest) ValidateEnumValue ¶

func (request GetUserAssessmentComparisonRequest) 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 GetUserAssessmentComparisonResponse ¶

type GetUserAssessmentComparisonResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UserAssessmentComparison instance
	UserAssessmentComparison `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"`
}

GetUserAssessmentComparisonResponse wrapper for the GetUserAssessmentComparison operation

func (GetUserAssessmentComparisonResponse) HTTPResponse ¶

func (response GetUserAssessmentComparisonResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetUserAssessmentComparisonResponse) String ¶

func (response GetUserAssessmentComparisonResponse) String() string

type GetUserAssessmentRequest ¶

type GetUserAssessmentRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetUserAssessmentRequest wrapper for the GetUserAssessment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetUserAssessment.go.html to see an example of how to use GetUserAssessmentRequest.

func (GetUserAssessmentRequest) BinaryRequestBody ¶

func (request GetUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetUserAssessmentRequest) HTTPRequest ¶

func (request GetUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetUserAssessmentRequest) RetryPolicy ¶

func (request GetUserAssessmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetUserAssessmentRequest) String ¶

func (request GetUserAssessmentRequest) String() string

func (GetUserAssessmentRequest) ValidateEnumValue ¶

func (request GetUserAssessmentRequest) 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 GetUserAssessmentResponse ¶

type GetUserAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UserAssessment instance
	UserAssessment `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

GetUserAssessmentResponse wrapper for the GetUserAssessment operation

func (GetUserAssessmentResponse) HTTPResponse ¶

func (response GetUserAssessmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetUserAssessmentResponse) String ¶

func (response GetUserAssessmentResponse) String() string

type GetWorkRequestRequest ¶

type GetWorkRequestRequest struct {

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

func (GetWorkRequestRequest) BinaryRequestBody ¶

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest ¶

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy ¶

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String ¶

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue ¶

func (request GetWorkRequestRequest) 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 GetWorkRequestResponse ¶

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// A non-negative integer representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int `presentIn:"header" name:"retry-after"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse ¶

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String ¶

func (response GetWorkRequestResponse) String() string

type GlobalSettings ¶

type GlobalSettings struct {

	// The paid usage option chosen by the customer admin.
	IsPaidUsage *bool `mandatory:"false" json:"isPaidUsage"`

	// The online retention period in months.
	OnlineRetentionPeriod *int `mandatory:"false" json:"onlineRetentionPeriod"`

	// The offline retention period in months.
	OfflineRetentionPeriod *int `mandatory:"false" json:"offlineRetentionPeriod"`
}

GlobalSettings Details of the tenancy level global settings in Data Safe.

func (GlobalSettings) String ¶

func (m GlobalSettings) String() string

func (GlobalSettings) ValidateEnumValue ¶

func (m GlobalSettings) 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 GrantSummary ¶

type GrantSummary struct {

	// The unique key of a user grant.
	Key *string `mandatory:"true" json:"key"`

	// The name of a user grant.
	GrantName *string `mandatory:"false" json:"grantName"`

	// The type of a user grant.
	PrivilegeType GrantSummaryPrivilegeTypeEnum `mandatory:"false" json:"privilegeType,omitempty"`

	// The privilege category.
	PrivilegeCategory GrantSummaryPrivilegeCategoryEnum `mandatory:"false" json:"privilegeCategory,omitempty"`

	// The grant depth level of the indirect grant.
	// An indirectly granted role/privilege is granted to the user through another role.
	// The depth level indicates how deep a privilege is within the grant hierarchy.
	DepthLevel *int `mandatory:"false" json:"depthLevel"`
}

GrantSummary The summary of user grants.

func (GrantSummary) String ¶

func (m GrantSummary) String() string

func (GrantSummary) ValidateEnumValue ¶

func (m GrantSummary) 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 GrantSummaryPrivilegeCategoryEnum ¶

type GrantSummaryPrivilegeCategoryEnum string

GrantSummaryPrivilegeCategoryEnum Enum with underlying type: string

const (
	GrantSummaryPrivilegeCategoryCritical GrantSummaryPrivilegeCategoryEnum = "CRITICAL"
	GrantSummaryPrivilegeCategoryHigh     GrantSummaryPrivilegeCategoryEnum = "HIGH"
	GrantSummaryPrivilegeCategoryMedium   GrantSummaryPrivilegeCategoryEnum = "MEDIUM"
	GrantSummaryPrivilegeCategoryLow      GrantSummaryPrivilegeCategoryEnum = "LOW"
)

Set of constants representing the allowable values for GrantSummaryPrivilegeCategoryEnum

func GetGrantSummaryPrivilegeCategoryEnumValues ¶

func GetGrantSummaryPrivilegeCategoryEnumValues() []GrantSummaryPrivilegeCategoryEnum

GetGrantSummaryPrivilegeCategoryEnumValues Enumerates the set of values for GrantSummaryPrivilegeCategoryEnum

func GetMappingGrantSummaryPrivilegeCategoryEnum ¶

func GetMappingGrantSummaryPrivilegeCategoryEnum(val string) (GrantSummaryPrivilegeCategoryEnum, bool)

GetMappingGrantSummaryPrivilegeCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type GrantSummaryPrivilegeTypeEnum ¶

type GrantSummaryPrivilegeTypeEnum string

GrantSummaryPrivilegeTypeEnum Enum with underlying type: string

const (
	GrantSummaryPrivilegeTypeSystemPrivilege GrantSummaryPrivilegeTypeEnum = "SYSTEM_PRIVILEGE"
	GrantSummaryPrivilegeTypeObjectPrivilege GrantSummaryPrivilegeTypeEnum = "OBJECT_PRIVILEGE"
	GrantSummaryPrivilegeTypeAdminPrivilege  GrantSummaryPrivilegeTypeEnum = "ADMIN_PRIVILEGE"
	GrantSummaryPrivilegeTypeRole            GrantSummaryPrivilegeTypeEnum = "ROLE"
)

Set of constants representing the allowable values for GrantSummaryPrivilegeTypeEnum

func GetGrantSummaryPrivilegeTypeEnumValues ¶

func GetGrantSummaryPrivilegeTypeEnumValues() []GrantSummaryPrivilegeTypeEnum

GetGrantSummaryPrivilegeTypeEnumValues Enumerates the set of values for GrantSummaryPrivilegeTypeEnum

func GetMappingGrantSummaryPrivilegeTypeEnum ¶

func GetMappingGrantSummaryPrivilegeTypeEnum(val string) (GrantSummaryPrivilegeTypeEnum, bool)

GetMappingGrantSummaryPrivilegeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InfrastructureTypeEnum ¶

type InfrastructureTypeEnum string

InfrastructureTypeEnum Enum with underlying type: string

const (
	InfrastructureTypeOracleCloud     InfrastructureTypeEnum = "ORACLE_CLOUD"
	InfrastructureTypeCloudAtCustomer InfrastructureTypeEnum = "CLOUD_AT_CUSTOMER"
	InfrastructureTypeOnPremises      InfrastructureTypeEnum = "ON_PREMISES"
	InfrastructureTypeNonOracleCloud  InfrastructureTypeEnum = "NON_ORACLE_CLOUD"
)

Set of constants representing the allowable values for InfrastructureTypeEnum

func GetInfrastructureTypeEnumValues ¶

func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum

GetInfrastructureTypeEnumValues Enumerates the set of values for InfrastructureTypeEnum

func GetMappingInfrastructureTypeEnum ¶

func GetMappingInfrastructureTypeEnum(val string) (InfrastructureTypeEnum, bool)

GetMappingInfrastructureTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InitializationParameter ¶

type InitializationParameter struct {

	// The name of the parameter.
	Name *string `mandatory:"true" json:"name"`

	// The value of the parameter.
	Value *string `mandatory:"true" json:"value"`
}

InitializationParameter Encapsulates a parameter name and its value.

func (InitializationParameter) String ¶

func (m InitializationParameter) String() string

func (InitializationParameter) ValidateEnumValue ¶

func (m InitializationParameter) 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 InstalledDatabaseDetails ¶

type InstalledDatabaseDetails struct {

	// The port number of the database listener.
	ListenerPort *int `mandatory:"true" json:"listenerPort"`

	// The service name of the database registered as target database.
	ServiceName *string `mandatory:"true" json:"serviceName"`

	// The OCID of the compute instance on which the database is running.
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'.
	IpAddresses []string `mandatory:"false" json:"ipAddresses"`

	// The infrastructure type the database is running on.
	InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`
}

InstalledDatabaseDetails The details of the database running on-premises or on a compute instance.

func (InstalledDatabaseDetails) GetInfrastructureType ¶

func (m InstalledDatabaseDetails) GetInfrastructureType() InfrastructureTypeEnum

GetInfrastructureType returns InfrastructureType

func (InstalledDatabaseDetails) MarshalJSON ¶

func (m InstalledDatabaseDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InstalledDatabaseDetails) String ¶

func (m InstalledDatabaseDetails) String() string

func (InstalledDatabaseDetails) ValidateEnumValue ¶

func (m InstalledDatabaseDetails) 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 LibraryMaskingFormat ¶

type LibraryMaskingFormat struct {

	// The OCID of the library masking format.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the library masking format.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the library masking format.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the library masking format was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the library masking format was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the library masking format.
	LifecycleState MaskingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Specifies whether the library masking format is user-defined or predefined.
	Source LibraryMaskingFormatSourceEnum `mandatory:"true" json:"source"`

	// The description of the library masking format.
	Description *string `mandatory:"false" json:"description"`

	// An array of OCIDs of the sensitive types compatible with the library masking format.
	SensitiveTypeIds []string `mandatory:"false" json:"sensitiveTypeIds"`

	// An array of format entries. The combined output of all the format entries is used for masking.
	FormatEntries []FormatEntry `mandatory:"false" json:"formatEntries"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

LibraryMaskingFormat A library masking format is a masking format stored in an Oracle Cloud Infrastructure compartment and can be used in multiple masking policies. If you want to use the same masking logic for multiple masking columns or even in multiple masking policies, you can create a library masking format and assign it to masking columns as needed. It helps you avoid defining the same masking logic again and again. Oracle Data Safe provides a set of predefined library masking formats to mask common sensitive and personal data, such as names, national identifiers, credit card numbers, and phone numbers. To meet your specific requirements, you can easily create new library masking formats and use them in your masking policies.

func (LibraryMaskingFormat) String ¶

func (m LibraryMaskingFormat) String() string

func (*LibraryMaskingFormat) UnmarshalJSON ¶

func (m *LibraryMaskingFormat) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (LibraryMaskingFormat) ValidateEnumValue ¶

func (m LibraryMaskingFormat) 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 LibraryMaskingFormatCollection ¶

type LibraryMaskingFormatCollection struct {

	// An array of library masking format summary objects.
	Items []LibraryMaskingFormatSummary `mandatory:"true" json:"items"`
}

LibraryMaskingFormatCollection A collection of library masking format summary objects.

func (LibraryMaskingFormatCollection) String ¶

func (LibraryMaskingFormatCollection) ValidateEnumValue ¶

func (m LibraryMaskingFormatCollection) 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 LibraryMaskingFormatEntry ¶

type LibraryMaskingFormatEntry struct {

	// The OCID of the library masking format.
	LibraryMaskingFormatId *string `mandatory:"true" json:"libraryMaskingFormatId"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

LibraryMaskingFormatEntry A library masking format to be used for masking. It can be either a predefined or a user-defined library masking format. It enables reuse of an existing library masking format and helps avoid defining the masking logic again. Use the ListLibraryMaskingFormats operation to view the existing library masking formats.

func (LibraryMaskingFormatEntry) GetDescription ¶

func (m LibraryMaskingFormatEntry) GetDescription() *string

GetDescription returns Description

func (LibraryMaskingFormatEntry) MarshalJSON ¶

func (m LibraryMaskingFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LibraryMaskingFormatEntry) String ¶

func (m LibraryMaskingFormatEntry) String() string

func (LibraryMaskingFormatEntry) ValidateEnumValue ¶

func (m LibraryMaskingFormatEntry) 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 LibraryMaskingFormatSourceEnum ¶

type LibraryMaskingFormatSourceEnum string

LibraryMaskingFormatSourceEnum Enum with underlying type: string

const (
	LibraryMaskingFormatSourceOracle LibraryMaskingFormatSourceEnum = "ORACLE"
	LibraryMaskingFormatSourceUser   LibraryMaskingFormatSourceEnum = "USER"
)

Set of constants representing the allowable values for LibraryMaskingFormatSourceEnum

func GetLibraryMaskingFormatSourceEnumValues ¶

func GetLibraryMaskingFormatSourceEnumValues() []LibraryMaskingFormatSourceEnum

GetLibraryMaskingFormatSourceEnumValues Enumerates the set of values for LibraryMaskingFormatSourceEnum

func GetMappingLibraryMaskingFormatSourceEnum ¶

func GetMappingLibraryMaskingFormatSourceEnum(val string) (LibraryMaskingFormatSourceEnum, bool)

GetMappingLibraryMaskingFormatSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type LibraryMaskingFormatSummary ¶

type LibraryMaskingFormatSummary struct {

	// The OCID of the library masking format.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the library masking format.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the library masking format.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the library masking format was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the library masking format was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the library masking format.
	LifecycleState MaskingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Indicates whether the library masking format is user-defined or predefined.
	Source LibraryMaskingFormatSourceEnum `mandatory:"true" json:"source"`

	// The description of the library masking format.
	Description *string `mandatory:"false" json:"description"`

	// An array of OCIDs of the sensitive types compatible with the library masking format.
	SensitiveTypeIds []string `mandatory:"false" json:"sensitiveTypeIds"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

LibraryMaskingFormatSummary Summary of a library masking format.

func (LibraryMaskingFormatSummary) String ¶

func (LibraryMaskingFormatSummary) ValidateEnumValue ¶

func (m LibraryMaskingFormatSummary) 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 LifecycleStateEnum ¶

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
	LifecycleStateNa       LifecycleStateEnum = "NA"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues ¶

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum ¶

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertAnalyticsAccessLevelEnum ¶

type ListAlertAnalyticsAccessLevelEnum string

ListAlertAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListAlertAnalyticsAccessLevelRestricted ListAlertAnalyticsAccessLevelEnum = "RESTRICTED"
	ListAlertAnalyticsAccessLevelAccessible ListAlertAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAlertAnalyticsAccessLevelEnum

func GetListAlertAnalyticsAccessLevelEnumValues ¶

func GetListAlertAnalyticsAccessLevelEnumValues() []ListAlertAnalyticsAccessLevelEnum

GetListAlertAnalyticsAccessLevelEnumValues Enumerates the set of values for ListAlertAnalyticsAccessLevelEnum

func GetMappingListAlertAnalyticsAccessLevelEnum ¶

func GetMappingListAlertAnalyticsAccessLevelEnum(val string) (ListAlertAnalyticsAccessLevelEnum, bool)

GetMappingListAlertAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertAnalyticsGroupByEnum ¶

type ListAlertAnalyticsGroupByEnum string

ListAlertAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListAlertAnalyticsGroupByAlerttype     ListAlertAnalyticsGroupByEnum = "alertType"
	ListAlertAnalyticsGroupByTargetids     ListAlertAnalyticsGroupByEnum = "targetIds"
	ListAlertAnalyticsGroupByTargetnames   ListAlertAnalyticsGroupByEnum = "targetNames"
	ListAlertAnalyticsGroupByAlertseverity ListAlertAnalyticsGroupByEnum = "alertSeverity"
	ListAlertAnalyticsGroupByAlertstatus   ListAlertAnalyticsGroupByEnum = "alertStatus"
	ListAlertAnalyticsGroupByTimecreated   ListAlertAnalyticsGroupByEnum = "timeCreated"
	ListAlertAnalyticsGroupByPolicyid      ListAlertAnalyticsGroupByEnum = "policyId"
)

Set of constants representing the allowable values for ListAlertAnalyticsGroupByEnum

func GetListAlertAnalyticsGroupByEnumValues ¶

func GetListAlertAnalyticsGroupByEnumValues() []ListAlertAnalyticsGroupByEnum

GetListAlertAnalyticsGroupByEnumValues Enumerates the set of values for ListAlertAnalyticsGroupByEnum

func GetMappingListAlertAnalyticsGroupByEnum ¶

func GetMappingListAlertAnalyticsGroupByEnum(val string) (ListAlertAnalyticsGroupByEnum, bool)

GetMappingListAlertAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertAnalyticsRequest ¶

type ListAlertAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// An optional filter to return audit events whose creation time in the database is greater than and equal to the date-time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStarted"`

	// An optional filter to return audit events whose creation time in the database is less than and equal to the date-time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeEnded *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnded"`

	// Default time zone is UTC if no time zone provided. The date-time considerations of the resource will be in accordance with the specified time zone.
	QueryTimeZone *string `mandatory:"false" contributesTo:"query" name:"queryTimeZone"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAlertAnalyticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListAlertAnalyticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAlertAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2
	// of the System for Cross-Domain Identity Management (SCIM) specification, which is available
	// at RFC3339 (https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions,
	// text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format.
	// (Numeric and boolean values should not be quoted.)
	// **Example:** |
	// query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1')
	// query=(featureDetails.userName eq "user") and (targetNames eq "target_1")
	// Supported fields:
	// severity
	// status
	// alertType
	// targetIds
	// targetNames
	// operationTime
	// lifecycleState
	// displayName
	// timeCreated
	// timeUpdated
	// featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example -
	// userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)
	ScimQuery *string `mandatory:"false" contributesTo:"query" name:"scimQuery"`

	// Specifies a subset of summarized fields to be returned in the response.
	SummaryField []ListAlertAnalyticsSummaryFieldEnum `contributesTo:"query" name:"summaryField" omitEmpty:"true" collectionFormat:"multi"`

	// A groupBy can only be used in combination with summaryField parameter.
	// A groupBy value has to be a subset of the values mentioned in summaryField parameter.
	GroupBy []ListAlertAnalyticsGroupByEnum `contributesTo:"query" name:"groupBy" omitEmpty:"true" collectionFormat:"multi"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

ListAlertAnalyticsRequest wrapper for the ListAlertAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAlertAnalytics.go.html to see an example of how to use ListAlertAnalyticsRequest.

func (ListAlertAnalyticsRequest) BinaryRequestBody ¶

func (request ListAlertAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAlertAnalyticsRequest) HTTPRequest ¶

func (request ListAlertAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAlertAnalyticsRequest) RetryPolicy ¶

func (request ListAlertAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAlertAnalyticsRequest) String ¶

func (request ListAlertAnalyticsRequest) String() string

func (ListAlertAnalyticsRequest) ValidateEnumValue ¶

func (request ListAlertAnalyticsRequest) 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 ListAlertAnalyticsResponse ¶

type ListAlertAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AlertAnalyticsCollection instances
	AlertAnalyticsCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListAlertAnalyticsResponse wrapper for the ListAlertAnalytics operation

func (ListAlertAnalyticsResponse) HTTPResponse ¶

func (response ListAlertAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAlertAnalyticsResponse) String ¶

func (response ListAlertAnalyticsResponse) String() string

type ListAlertAnalyticsSortByEnum ¶

type ListAlertAnalyticsSortByEnum string

ListAlertAnalyticsSortByEnum Enum with underlying type: string

const (
	ListAlertAnalyticsSortByDisplayname ListAlertAnalyticsSortByEnum = "displayName"
	ListAlertAnalyticsSortByTimecreated ListAlertAnalyticsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListAlertAnalyticsSortByEnum

func GetListAlertAnalyticsSortByEnumValues ¶

func GetListAlertAnalyticsSortByEnumValues() []ListAlertAnalyticsSortByEnum

GetListAlertAnalyticsSortByEnumValues Enumerates the set of values for ListAlertAnalyticsSortByEnum

func GetMappingListAlertAnalyticsSortByEnum ¶

func GetMappingListAlertAnalyticsSortByEnum(val string) (ListAlertAnalyticsSortByEnum, bool)

GetMappingListAlertAnalyticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertAnalyticsSortOrderEnum ¶

type ListAlertAnalyticsSortOrderEnum string

ListAlertAnalyticsSortOrderEnum Enum with underlying type: string

const (
	ListAlertAnalyticsSortOrderAsc  ListAlertAnalyticsSortOrderEnum = "ASC"
	ListAlertAnalyticsSortOrderDesc ListAlertAnalyticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAlertAnalyticsSortOrderEnum

func GetListAlertAnalyticsSortOrderEnumValues ¶

func GetListAlertAnalyticsSortOrderEnumValues() []ListAlertAnalyticsSortOrderEnum

GetListAlertAnalyticsSortOrderEnumValues Enumerates the set of values for ListAlertAnalyticsSortOrderEnum

func GetMappingListAlertAnalyticsSortOrderEnum ¶

func GetMappingListAlertAnalyticsSortOrderEnum(val string) (ListAlertAnalyticsSortOrderEnum, bool)

GetMappingListAlertAnalyticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertAnalyticsSummaryFieldEnum ¶

type ListAlertAnalyticsSummaryFieldEnum string

ListAlertAnalyticsSummaryFieldEnum Enum with underlying type: string

const (
	ListAlertAnalyticsSummaryFieldAlerttype     ListAlertAnalyticsSummaryFieldEnum = "alertType"
	ListAlertAnalyticsSummaryFieldTargetids     ListAlertAnalyticsSummaryFieldEnum = "targetIds"
	ListAlertAnalyticsSummaryFieldTargetnames   ListAlertAnalyticsSummaryFieldEnum = "targetNames"
	ListAlertAnalyticsSummaryFieldAlertseverity ListAlertAnalyticsSummaryFieldEnum = "alertSeverity"
	ListAlertAnalyticsSummaryFieldAlertstatus   ListAlertAnalyticsSummaryFieldEnum = "alertStatus"
	ListAlertAnalyticsSummaryFieldTimecreated   ListAlertAnalyticsSummaryFieldEnum = "timeCreated"
	ListAlertAnalyticsSummaryFieldPolicyid      ListAlertAnalyticsSummaryFieldEnum = "policyId"
	ListAlertAnalyticsSummaryFieldOpen          ListAlertAnalyticsSummaryFieldEnum = "open"
	ListAlertAnalyticsSummaryFieldClosed        ListAlertAnalyticsSummaryFieldEnum = "closed"
	ListAlertAnalyticsSummaryFieldCritical      ListAlertAnalyticsSummaryFieldEnum = "critical"
	ListAlertAnalyticsSummaryFieldHigh          ListAlertAnalyticsSummaryFieldEnum = "high"
	ListAlertAnalyticsSummaryFieldMedium        ListAlertAnalyticsSummaryFieldEnum = "medium"
	ListAlertAnalyticsSummaryFieldLow           ListAlertAnalyticsSummaryFieldEnum = "low"
	ListAlertAnalyticsSummaryFieldAlertcount    ListAlertAnalyticsSummaryFieldEnum = "alertcount"
)

Set of constants representing the allowable values for ListAlertAnalyticsSummaryFieldEnum

func GetListAlertAnalyticsSummaryFieldEnumValues ¶

func GetListAlertAnalyticsSummaryFieldEnumValues() []ListAlertAnalyticsSummaryFieldEnum

GetListAlertAnalyticsSummaryFieldEnumValues Enumerates the set of values for ListAlertAnalyticsSummaryFieldEnum

func GetMappingListAlertAnalyticsSummaryFieldEnum ¶

func GetMappingListAlertAnalyticsSummaryFieldEnum(val string) (ListAlertAnalyticsSummaryFieldEnum, bool)

GetMappingListAlertAnalyticsSummaryFieldEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertPoliciesAccessLevelEnum ¶

type ListAlertPoliciesAccessLevelEnum string

ListAlertPoliciesAccessLevelEnum Enum with underlying type: string

const (
	ListAlertPoliciesAccessLevelRestricted ListAlertPoliciesAccessLevelEnum = "RESTRICTED"
	ListAlertPoliciesAccessLevelAccessible ListAlertPoliciesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAlertPoliciesAccessLevelEnum

func GetListAlertPoliciesAccessLevelEnumValues ¶

func GetListAlertPoliciesAccessLevelEnumValues() []ListAlertPoliciesAccessLevelEnum

GetListAlertPoliciesAccessLevelEnumValues Enumerates the set of values for ListAlertPoliciesAccessLevelEnum

func GetMappingListAlertPoliciesAccessLevelEnum ¶

func GetMappingListAlertPoliciesAccessLevelEnum(val string) (ListAlertPoliciesAccessLevelEnum, bool)

GetMappingListAlertPoliciesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertPoliciesLifecycleStateEnum ¶

type ListAlertPoliciesLifecycleStateEnum string

ListAlertPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListAlertPoliciesLifecycleStateCreating ListAlertPoliciesLifecycleStateEnum = "CREATING"
	ListAlertPoliciesLifecycleStateUpdating ListAlertPoliciesLifecycleStateEnum = "UPDATING"
	ListAlertPoliciesLifecycleStateActive   ListAlertPoliciesLifecycleStateEnum = "ACTIVE"
	ListAlertPoliciesLifecycleStateDeleting ListAlertPoliciesLifecycleStateEnum = "DELETING"
	ListAlertPoliciesLifecycleStateDeleted  ListAlertPoliciesLifecycleStateEnum = "DELETED"
	ListAlertPoliciesLifecycleStateFailed   ListAlertPoliciesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListAlertPoliciesLifecycleStateEnum

func GetListAlertPoliciesLifecycleStateEnumValues ¶

func GetListAlertPoliciesLifecycleStateEnumValues() []ListAlertPoliciesLifecycleStateEnum

GetListAlertPoliciesLifecycleStateEnumValues Enumerates the set of values for ListAlertPoliciesLifecycleStateEnum

func GetMappingListAlertPoliciesLifecycleStateEnum ¶

func GetMappingListAlertPoliciesLifecycleStateEnum(val string) (ListAlertPoliciesLifecycleStateEnum, bool)

GetMappingListAlertPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertPoliciesRequest ¶

type ListAlertPoliciesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return policy by it's OCID.
	AlertPolicyId *string `mandatory:"false" contributesTo:"query" name:"alertPolicyId"`

	// An optional filter to return only alert policies of a certain type.
	Type ListAlertPoliciesTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

	// An optional filter to return only alert policies that are user-defined or not.
	IsUserDefined *bool `mandatory:"false" contributesTo:"query" name:"isUserDefined"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// An optional filter to return only alert policies that have the given life-cycle state.
	LifecycleState ListAlertPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAlertPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort parameter may be provided.
	SortBy ListAlertPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAlertPoliciesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

ListAlertPoliciesRequest wrapper for the ListAlertPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAlertPolicies.go.html to see an example of how to use ListAlertPoliciesRequest.

func (ListAlertPoliciesRequest) BinaryRequestBody ¶

func (request ListAlertPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAlertPoliciesRequest) HTTPRequest ¶

func (request ListAlertPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAlertPoliciesRequest) RetryPolicy ¶

func (request ListAlertPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAlertPoliciesRequest) String ¶

func (request ListAlertPoliciesRequest) String() string

func (ListAlertPoliciesRequest) ValidateEnumValue ¶

func (request ListAlertPoliciesRequest) 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 ListAlertPoliciesResponse ¶

type ListAlertPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AlertPolicyCollection instances
	AlertPolicyCollection `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAlertPoliciesResponse wrapper for the ListAlertPolicies operation

func (ListAlertPoliciesResponse) HTTPResponse ¶

func (response ListAlertPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAlertPoliciesResponse) String ¶

func (response ListAlertPoliciesResponse) String() string

type ListAlertPoliciesSortByEnum ¶

type ListAlertPoliciesSortByEnum string

ListAlertPoliciesSortByEnum Enum with underlying type: string

const (
	ListAlertPoliciesSortByDisplayname ListAlertPoliciesSortByEnum = "displayName"
	ListAlertPoliciesSortByTimecreated ListAlertPoliciesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListAlertPoliciesSortByEnum

func GetListAlertPoliciesSortByEnumValues ¶

func GetListAlertPoliciesSortByEnumValues() []ListAlertPoliciesSortByEnum

GetListAlertPoliciesSortByEnumValues Enumerates the set of values for ListAlertPoliciesSortByEnum

func GetMappingListAlertPoliciesSortByEnum ¶

func GetMappingListAlertPoliciesSortByEnum(val string) (ListAlertPoliciesSortByEnum, bool)

GetMappingListAlertPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertPoliciesSortOrderEnum ¶

type ListAlertPoliciesSortOrderEnum string

ListAlertPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListAlertPoliciesSortOrderAsc  ListAlertPoliciesSortOrderEnum = "ASC"
	ListAlertPoliciesSortOrderDesc ListAlertPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAlertPoliciesSortOrderEnum

func GetListAlertPoliciesSortOrderEnumValues ¶

func GetListAlertPoliciesSortOrderEnumValues() []ListAlertPoliciesSortOrderEnum

GetListAlertPoliciesSortOrderEnumValues Enumerates the set of values for ListAlertPoliciesSortOrderEnum

func GetMappingListAlertPoliciesSortOrderEnum ¶

func GetMappingListAlertPoliciesSortOrderEnum(val string) (ListAlertPoliciesSortOrderEnum, bool)

GetMappingListAlertPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertPoliciesTypeEnum ¶

type ListAlertPoliciesTypeEnum string

ListAlertPoliciesTypeEnum Enum with underlying type: string

const (
	ListAlertPoliciesTypeAuditing           ListAlertPoliciesTypeEnum = "AUDITING"
	ListAlertPoliciesTypeSecurityAssessment ListAlertPoliciesTypeEnum = "SECURITY_ASSESSMENT"
	ListAlertPoliciesTypeUserAssessment     ListAlertPoliciesTypeEnum = "USER_ASSESSMENT"
)

Set of constants representing the allowable values for ListAlertPoliciesTypeEnum

func GetListAlertPoliciesTypeEnumValues ¶

func GetListAlertPoliciesTypeEnumValues() []ListAlertPoliciesTypeEnum

GetListAlertPoliciesTypeEnumValues Enumerates the set of values for ListAlertPoliciesTypeEnum

func GetMappingListAlertPoliciesTypeEnum ¶

func GetMappingListAlertPoliciesTypeEnum(val string) (ListAlertPoliciesTypeEnum, bool)

GetMappingListAlertPoliciesTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertPolicyRulesRequest ¶

type ListAlertPolicyRulesRequest struct {

	// The OCID of the alert policy.
	AlertPolicyId *string `mandatory:"true" contributesTo:"path" name:"alertPolicyId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	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
}

ListAlertPolicyRulesRequest wrapper for the ListAlertPolicyRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAlertPolicyRules.go.html to see an example of how to use ListAlertPolicyRulesRequest.

func (ListAlertPolicyRulesRequest) BinaryRequestBody ¶

func (request ListAlertPolicyRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAlertPolicyRulesRequest) HTTPRequest ¶

func (request ListAlertPolicyRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAlertPolicyRulesRequest) RetryPolicy ¶

func (request ListAlertPolicyRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAlertPolicyRulesRequest) String ¶

func (request ListAlertPolicyRulesRequest) String() string

func (ListAlertPolicyRulesRequest) ValidateEnumValue ¶

func (request ListAlertPolicyRulesRequest) 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 ListAlertPolicyRulesResponse ¶

type ListAlertPolicyRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AlertPolicyRuleCollection instances
	AlertPolicyRuleCollection `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAlertPolicyRulesResponse wrapper for the ListAlertPolicyRules operation

func (ListAlertPolicyRulesResponse) HTTPResponse ¶

func (response ListAlertPolicyRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAlertPolicyRulesResponse) String ¶

func (response ListAlertPolicyRulesResponse) String() string

type ListAlertsAccessLevelEnum ¶

type ListAlertsAccessLevelEnum string

ListAlertsAccessLevelEnum Enum with underlying type: string

const (
	ListAlertsAccessLevelRestricted ListAlertsAccessLevelEnum = "RESTRICTED"
	ListAlertsAccessLevelAccessible ListAlertsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAlertsAccessLevelEnum

func GetListAlertsAccessLevelEnumValues ¶

func GetListAlertsAccessLevelEnumValues() []ListAlertsAccessLevelEnum

GetListAlertsAccessLevelEnumValues Enumerates the set of values for ListAlertsAccessLevelEnum

func GetMappingListAlertsAccessLevelEnum ¶

func GetMappingListAlertsAccessLevelEnum(val string) (ListAlertsAccessLevelEnum, bool)

GetMappingListAlertsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertsFieldEnum ¶

type ListAlertsFieldEnum string

ListAlertsFieldEnum Enum with underlying type: string

const (
	ListAlertsFieldId              ListAlertsFieldEnum = "id"
	ListAlertsFieldDisplayname     ListAlertsFieldEnum = "displayName"
	ListAlertsFieldAlerttype       ListAlertsFieldEnum = "alertType"
	ListAlertsFieldTargetids       ListAlertsFieldEnum = "targetIds"
	ListAlertsFieldTargetnames     ListAlertsFieldEnum = "targetNames"
	ListAlertsFieldSeverity        ListAlertsFieldEnum = "severity"
	ListAlertsFieldStatus          ListAlertsFieldEnum = "status"
	ListAlertsFieldOperationtime   ListAlertsFieldEnum = "operationTime"
	ListAlertsFieldOperation       ListAlertsFieldEnum = "operation"
	ListAlertsFieldOperationstatus ListAlertsFieldEnum = "operationStatus"
	ListAlertsFieldTimecreated     ListAlertsFieldEnum = "timeCreated"
	ListAlertsFieldTimeupdated     ListAlertsFieldEnum = "timeUpdated"
	ListAlertsFieldPolicyid        ListAlertsFieldEnum = "policyId"
	ListAlertsFieldLifecyclestate  ListAlertsFieldEnum = "lifecycleState"
)

Set of constants representing the allowable values for ListAlertsFieldEnum

func GetListAlertsFieldEnumValues ¶

func GetListAlertsFieldEnumValues() []ListAlertsFieldEnum

GetListAlertsFieldEnumValues Enumerates the set of values for ListAlertsFieldEnum

func GetMappingListAlertsFieldEnum ¶

func GetMappingListAlertsFieldEnum(val string) (ListAlertsFieldEnum, bool)

GetMappingListAlertsFieldEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertsRequest ¶

type ListAlertsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return alert by it's OCID.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAlertsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAlertsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListAlertsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2
	// of the System for Cross-Domain Identity Management (SCIM) specification, which is available
	// at RFC3339 (https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions,
	// text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format.
	// (Numeric and boolean values should not be quoted.)
	// **Example:** |
	// query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1')
	// query=(featureDetails.userName eq "user") and (targetNames eq "target_1")
	// Supported fields:
	// severity
	// status
	// alertType
	// targetIds
	// targetNames
	// operationTime
	// lifecycleState
	// displayName
	// timeCreated
	// timeUpdated
	// featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example -
	// userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)
	ScimQuery *string `mandatory:"false" contributesTo:"query" name:"scimQuery"`

	// Specifies a subset of fields to be returned in the response.
	Field []ListAlertsFieldEnum `contributesTo:"query" name:"field" omitEmpty:"true" collectionFormat:"multi"`

	// 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
}

ListAlertsRequest wrapper for the ListAlerts operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAlerts.go.html to see an example of how to use ListAlertsRequest.

func (ListAlertsRequest) BinaryRequestBody ¶

func (request ListAlertsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAlertsRequest) HTTPRequest ¶

func (request ListAlertsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAlertsRequest) RetryPolicy ¶

func (request ListAlertsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAlertsRequest) String ¶

func (request ListAlertsRequest) String() string

func (ListAlertsRequest) ValidateEnumValue ¶

func (request ListAlertsRequest) 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 ListAlertsResponse ¶

type ListAlertsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AlertCollection instances
	AlertCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAlertsResponse wrapper for the ListAlerts operation

func (ListAlertsResponse) HTTPResponse ¶

func (response ListAlertsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAlertsResponse) String ¶

func (response ListAlertsResponse) String() string

type ListAlertsSortByEnum ¶

type ListAlertsSortByEnum string

ListAlertsSortByEnum Enum with underlying type: string

const (
	ListAlertsSortByDisplayname ListAlertsSortByEnum = "displayName"
	ListAlertsSortByTimecreated ListAlertsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListAlertsSortByEnum

func GetListAlertsSortByEnumValues ¶

func GetListAlertsSortByEnumValues() []ListAlertsSortByEnum

GetListAlertsSortByEnumValues Enumerates the set of values for ListAlertsSortByEnum

func GetMappingListAlertsSortByEnum ¶

func GetMappingListAlertsSortByEnum(val string) (ListAlertsSortByEnum, bool)

GetMappingListAlertsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAlertsSortOrderEnum ¶

type ListAlertsSortOrderEnum string

ListAlertsSortOrderEnum Enum with underlying type: string

const (
	ListAlertsSortOrderAsc  ListAlertsSortOrderEnum = "ASC"
	ListAlertsSortOrderDesc ListAlertsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAlertsSortOrderEnum

func GetListAlertsSortOrderEnumValues ¶

func GetListAlertsSortOrderEnumValues() []ListAlertsSortOrderEnum

GetListAlertsSortOrderEnumValues Enumerates the set of values for ListAlertsSortOrderEnum

func GetMappingListAlertsSortOrderEnum ¶

func GetMappingListAlertsSortOrderEnum(val string) (ListAlertsSortOrderEnum, bool)

GetMappingListAlertsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditArchiveRetrievalsAccessLevelEnum ¶

type ListAuditArchiveRetrievalsAccessLevelEnum string

ListAuditArchiveRetrievalsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditArchiveRetrievalsAccessLevelRestricted ListAuditArchiveRetrievalsAccessLevelEnum = "RESTRICTED"
	ListAuditArchiveRetrievalsAccessLevelAccessible ListAuditArchiveRetrievalsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditArchiveRetrievalsAccessLevelEnum

func GetListAuditArchiveRetrievalsAccessLevelEnumValues ¶

func GetListAuditArchiveRetrievalsAccessLevelEnumValues() []ListAuditArchiveRetrievalsAccessLevelEnum

GetListAuditArchiveRetrievalsAccessLevelEnumValues Enumerates the set of values for ListAuditArchiveRetrievalsAccessLevelEnum

func GetMappingListAuditArchiveRetrievalsAccessLevelEnum ¶

func GetMappingListAuditArchiveRetrievalsAccessLevelEnum(val string) (ListAuditArchiveRetrievalsAccessLevelEnum, bool)

GetMappingListAuditArchiveRetrievalsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditArchiveRetrievalsLifecycleStateEnum ¶

type ListAuditArchiveRetrievalsLifecycleStateEnum string

ListAuditArchiveRetrievalsLifecycleStateEnum Enum with underlying type: string

const (
	ListAuditArchiveRetrievalsLifecycleStateCreating       ListAuditArchiveRetrievalsLifecycleStateEnum = "CREATING"
	ListAuditArchiveRetrievalsLifecycleStateActive         ListAuditArchiveRetrievalsLifecycleStateEnum = "ACTIVE"
	ListAuditArchiveRetrievalsLifecycleStateNeedsAttention ListAuditArchiveRetrievalsLifecycleStateEnum = "NEEDS_ATTENTION"
	ListAuditArchiveRetrievalsLifecycleStateFailed         ListAuditArchiveRetrievalsLifecycleStateEnum = "FAILED"
	ListAuditArchiveRetrievalsLifecycleStateDeleting       ListAuditArchiveRetrievalsLifecycleStateEnum = "DELETING"
	ListAuditArchiveRetrievalsLifecycleStateDeleted        ListAuditArchiveRetrievalsLifecycleStateEnum = "DELETED"
	ListAuditArchiveRetrievalsLifecycleStateUpdating       ListAuditArchiveRetrievalsLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ListAuditArchiveRetrievalsLifecycleStateEnum

func GetListAuditArchiveRetrievalsLifecycleStateEnumValues ¶

func GetListAuditArchiveRetrievalsLifecycleStateEnumValues() []ListAuditArchiveRetrievalsLifecycleStateEnum

GetListAuditArchiveRetrievalsLifecycleStateEnumValues Enumerates the set of values for ListAuditArchiveRetrievalsLifecycleStateEnum

func GetMappingListAuditArchiveRetrievalsLifecycleStateEnum ¶

func GetMappingListAuditArchiveRetrievalsLifecycleStateEnum(val string) (ListAuditArchiveRetrievalsLifecycleStateEnum, bool)

GetMappingListAuditArchiveRetrievalsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditArchiveRetrievalsRequest ¶

type ListAuditArchiveRetrievalsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditArchiveRetrievalsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// OCID of the archive retrieval.
	AuditArchiveRetrievalId *string `mandatory:"false" contributesTo:"query" name:"auditArchiveRetrievalId"`

	// The OCID of the target associated with the archive retrieval.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that matches the specified lifecycle state.
	LifecycleState ListAuditArchiveRetrievalsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
	TimeOfExpiry *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeOfExpiry"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAuditArchiveRetrievalsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListAuditArchiveRetrievalsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditArchiveRetrievalsRequest wrapper for the ListAuditArchiveRetrievals operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditArchiveRetrievals.go.html to see an example of how to use ListAuditArchiveRetrievalsRequest.

func (ListAuditArchiveRetrievalsRequest) BinaryRequestBody ¶

func (request ListAuditArchiveRetrievalsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditArchiveRetrievalsRequest) HTTPRequest ¶

func (request ListAuditArchiveRetrievalsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditArchiveRetrievalsRequest) RetryPolicy ¶

func (request ListAuditArchiveRetrievalsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditArchiveRetrievalsRequest) String ¶

func (request ListAuditArchiveRetrievalsRequest) String() string

func (ListAuditArchiveRetrievalsRequest) ValidateEnumValue ¶

func (request ListAuditArchiveRetrievalsRequest) 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 ListAuditArchiveRetrievalsResponse ¶

type ListAuditArchiveRetrievalsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditArchiveRetrievalCollection instances
	AuditArchiveRetrievalCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditArchiveRetrievalsResponse wrapper for the ListAuditArchiveRetrievals operation

func (ListAuditArchiveRetrievalsResponse) HTTPResponse ¶

func (response ListAuditArchiveRetrievalsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditArchiveRetrievalsResponse) String ¶

func (response ListAuditArchiveRetrievalsResponse) String() string

type ListAuditArchiveRetrievalsSortByEnum ¶

type ListAuditArchiveRetrievalsSortByEnum string

ListAuditArchiveRetrievalsSortByEnum Enum with underlying type: string

const (
	ListAuditArchiveRetrievalsSortByTimecreated ListAuditArchiveRetrievalsSortByEnum = "TIMECREATED"
	ListAuditArchiveRetrievalsSortByDisplayname ListAuditArchiveRetrievalsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAuditArchiveRetrievalsSortByEnum

func GetListAuditArchiveRetrievalsSortByEnumValues ¶

func GetListAuditArchiveRetrievalsSortByEnumValues() []ListAuditArchiveRetrievalsSortByEnum

GetListAuditArchiveRetrievalsSortByEnumValues Enumerates the set of values for ListAuditArchiveRetrievalsSortByEnum

func GetMappingListAuditArchiveRetrievalsSortByEnum ¶

func GetMappingListAuditArchiveRetrievalsSortByEnum(val string) (ListAuditArchiveRetrievalsSortByEnum, bool)

GetMappingListAuditArchiveRetrievalsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditArchiveRetrievalsSortOrderEnum ¶

type ListAuditArchiveRetrievalsSortOrderEnum string

ListAuditArchiveRetrievalsSortOrderEnum Enum with underlying type: string

const (
	ListAuditArchiveRetrievalsSortOrderAsc  ListAuditArchiveRetrievalsSortOrderEnum = "ASC"
	ListAuditArchiveRetrievalsSortOrderDesc ListAuditArchiveRetrievalsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAuditArchiveRetrievalsSortOrderEnum

func GetListAuditArchiveRetrievalsSortOrderEnumValues ¶

func GetListAuditArchiveRetrievalsSortOrderEnumValues() []ListAuditArchiveRetrievalsSortOrderEnum

GetListAuditArchiveRetrievalsSortOrderEnumValues Enumerates the set of values for ListAuditArchiveRetrievalsSortOrderEnum

func GetMappingListAuditArchiveRetrievalsSortOrderEnum ¶

func GetMappingListAuditArchiveRetrievalsSortOrderEnum(val string) (ListAuditArchiveRetrievalsSortOrderEnum, bool)

GetMappingListAuditArchiveRetrievalsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventAnalyticsAccessLevelEnum ¶

type ListAuditEventAnalyticsAccessLevelEnum string

ListAuditEventAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditEventAnalyticsAccessLevelRestricted ListAuditEventAnalyticsAccessLevelEnum = "RESTRICTED"
	ListAuditEventAnalyticsAccessLevelAccessible ListAuditEventAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditEventAnalyticsAccessLevelEnum

func GetListAuditEventAnalyticsAccessLevelEnumValues ¶

func GetListAuditEventAnalyticsAccessLevelEnumValues() []ListAuditEventAnalyticsAccessLevelEnum

GetListAuditEventAnalyticsAccessLevelEnumValues Enumerates the set of values for ListAuditEventAnalyticsAccessLevelEnum

func GetMappingListAuditEventAnalyticsAccessLevelEnum ¶

func GetMappingListAuditEventAnalyticsAccessLevelEnum(val string) (ListAuditEventAnalyticsAccessLevelEnum, bool)

GetMappingListAuditEventAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventAnalyticsGroupByEnum ¶

type ListAuditEventAnalyticsGroupByEnum string

ListAuditEventAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListAuditEventAnalyticsGroupByAuditeventtime ListAuditEventAnalyticsGroupByEnum = "auditEventTime"
	ListAuditEventAnalyticsGroupByDbusername     ListAuditEventAnalyticsGroupByEnum = "dbUserName"
	ListAuditEventAnalyticsGroupByTargetid       ListAuditEventAnalyticsGroupByEnum = "targetId"
	ListAuditEventAnalyticsGroupByTargetname     ListAuditEventAnalyticsGroupByEnum = "targetName"
	ListAuditEventAnalyticsGroupByTargetclass    ListAuditEventAnalyticsGroupByEnum = "targetClass"
	ListAuditEventAnalyticsGroupByObjecttype     ListAuditEventAnalyticsGroupByEnum = "objectType"
	ListAuditEventAnalyticsGroupByClienthostname ListAuditEventAnalyticsGroupByEnum = "clientHostname"
	ListAuditEventAnalyticsGroupByClientprogram  ListAuditEventAnalyticsGroupByEnum = "clientProgram"
	ListAuditEventAnalyticsGroupByClientid       ListAuditEventAnalyticsGroupByEnum = "clientId"
	ListAuditEventAnalyticsGroupByAudittype      ListAuditEventAnalyticsGroupByEnum = "auditType"
	ListAuditEventAnalyticsGroupByEventname      ListAuditEventAnalyticsGroupByEnum = "eventName"
)

Set of constants representing the allowable values for ListAuditEventAnalyticsGroupByEnum

func GetListAuditEventAnalyticsGroupByEnumValues ¶

func GetListAuditEventAnalyticsGroupByEnumValues() []ListAuditEventAnalyticsGroupByEnum

GetListAuditEventAnalyticsGroupByEnumValues Enumerates the set of values for ListAuditEventAnalyticsGroupByEnum

func GetMappingListAuditEventAnalyticsGroupByEnum ¶

func GetMappingListAuditEventAnalyticsGroupByEnum(val string) (ListAuditEventAnalyticsGroupByEnum, bool)

GetMappingListAuditEventAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventAnalyticsRequest ¶

type ListAuditEventAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// It is usually retrieved from a previous "List" call. For details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditEventAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2
	// of the System for Cross-Domain Identity Management (SCIM) specification, which is available
	// at RFC3339 (https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions,
	// text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format.
	// (Numeric and boolean values should not be quoted.)
	// **Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON')
	ScimQuery *string `mandatory:"false" contributesTo:"query" name:"scimQuery"`

	// Specifies a subset of summarized fields to be returned in the response.
	SummaryField []ListAuditEventAnalyticsSummaryFieldEnum `contributesTo:"query" name:"summaryField" omitEmpty:"true" collectionFormat:"multi"`

	// An optional filter to return audit events whose creation time in the database is greater than and equal to the date-time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStarted"`

	// An optional filter to return audit events whose creation time in the database is less than and equal to the date-time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeEnded *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnded"`

	// Default time zone is UTC if no time zone provided. The date-time considerations of the resource will be in accordance with the specified time zone.
	QueryTimeZone *string `mandatory:"false" contributesTo:"query" name:"queryTimeZone"`

	// A groupBy can only be used in combination with summaryField parameter.
	// A groupBy value has to be a subset of the values mentioned in summaryField parameter.
	GroupBy []ListAuditEventAnalyticsGroupByEnum `contributesTo:"query" name:"groupBy" omitEmpty:"true" collectionFormat:"multi"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAuditEventAnalyticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// If this query parameter is specified, the result is ordered based on this query parameter value.
	SortBy ListAuditEventAnalyticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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
}

ListAuditEventAnalyticsRequest wrapper for the ListAuditEventAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditEventAnalytics.go.html to see an example of how to use ListAuditEventAnalyticsRequest.

func (ListAuditEventAnalyticsRequest) BinaryRequestBody ¶

func (request ListAuditEventAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditEventAnalyticsRequest) HTTPRequest ¶

func (request ListAuditEventAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditEventAnalyticsRequest) RetryPolicy ¶

func (request ListAuditEventAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditEventAnalyticsRequest) String ¶

func (request ListAuditEventAnalyticsRequest) String() string

func (ListAuditEventAnalyticsRequest) ValidateEnumValue ¶

func (request ListAuditEventAnalyticsRequest) 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 ListAuditEventAnalyticsResponse ¶

type ListAuditEventAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditEventAnalyticsCollection instances
	AuditEventAnalyticsCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditEventAnalyticsResponse wrapper for the ListAuditEventAnalytics operation

func (ListAuditEventAnalyticsResponse) HTTPResponse ¶

func (response ListAuditEventAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditEventAnalyticsResponse) String ¶

func (response ListAuditEventAnalyticsResponse) String() string

type ListAuditEventAnalyticsSortByEnum ¶

type ListAuditEventAnalyticsSortByEnum string

ListAuditEventAnalyticsSortByEnum Enum with underlying type: string

const (
	ListAuditEventAnalyticsSortByTargetid       ListAuditEventAnalyticsSortByEnum = "targetId"
	ListAuditEventAnalyticsSortByTargetclass    ListAuditEventAnalyticsSortByEnum = "targetClass"
	ListAuditEventAnalyticsSortByTargetname     ListAuditEventAnalyticsSortByEnum = "targetName"
	ListAuditEventAnalyticsSortByObjecttype     ListAuditEventAnalyticsSortByEnum = "objectType"
	ListAuditEventAnalyticsSortByDbusername     ListAuditEventAnalyticsSortByEnum = "dbUserName"
	ListAuditEventAnalyticsSortByEventname      ListAuditEventAnalyticsSortByEnum = "eventName"
	ListAuditEventAnalyticsSortByAuditeventtime ListAuditEventAnalyticsSortByEnum = "auditEventTime"
	ListAuditEventAnalyticsSortByClienthostname ListAuditEventAnalyticsSortByEnum = "clientHostname"
	ListAuditEventAnalyticsSortByClientprogram  ListAuditEventAnalyticsSortByEnum = "clientProgram"
	ListAuditEventAnalyticsSortByClientid       ListAuditEventAnalyticsSortByEnum = "clientId"
	ListAuditEventAnalyticsSortByAudittype      ListAuditEventAnalyticsSortByEnum = "auditType"
)

Set of constants representing the allowable values for ListAuditEventAnalyticsSortByEnum

func GetListAuditEventAnalyticsSortByEnumValues ¶

func GetListAuditEventAnalyticsSortByEnumValues() []ListAuditEventAnalyticsSortByEnum

GetListAuditEventAnalyticsSortByEnumValues Enumerates the set of values for ListAuditEventAnalyticsSortByEnum

func GetMappingListAuditEventAnalyticsSortByEnum ¶

func GetMappingListAuditEventAnalyticsSortByEnum(val string) (ListAuditEventAnalyticsSortByEnum, bool)

GetMappingListAuditEventAnalyticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventAnalyticsSortOrderEnum ¶

type ListAuditEventAnalyticsSortOrderEnum string

ListAuditEventAnalyticsSortOrderEnum Enum with underlying type: string

const (
	ListAuditEventAnalyticsSortOrderAsc  ListAuditEventAnalyticsSortOrderEnum = "ASC"
	ListAuditEventAnalyticsSortOrderDesc ListAuditEventAnalyticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAuditEventAnalyticsSortOrderEnum

func GetListAuditEventAnalyticsSortOrderEnumValues ¶

func GetListAuditEventAnalyticsSortOrderEnumValues() []ListAuditEventAnalyticsSortOrderEnum

GetListAuditEventAnalyticsSortOrderEnumValues Enumerates the set of values for ListAuditEventAnalyticsSortOrderEnum

func GetMappingListAuditEventAnalyticsSortOrderEnum ¶

func GetMappingListAuditEventAnalyticsSortOrderEnum(val string) (ListAuditEventAnalyticsSortOrderEnum, bool)

GetMappingListAuditEventAnalyticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventAnalyticsSummaryFieldEnum ¶

type ListAuditEventAnalyticsSummaryFieldEnum string

ListAuditEventAnalyticsSummaryFieldEnum Enum with underlying type: string

const (
	ListAuditEventAnalyticsSummaryFieldAuditeventtime        ListAuditEventAnalyticsSummaryFieldEnum = "auditEventTime"
	ListAuditEventAnalyticsSummaryFieldDbusername            ListAuditEventAnalyticsSummaryFieldEnum = "dbUserName"
	ListAuditEventAnalyticsSummaryFieldTargetid              ListAuditEventAnalyticsSummaryFieldEnum = "targetId"
	ListAuditEventAnalyticsSummaryFieldTargetname            ListAuditEventAnalyticsSummaryFieldEnum = "targetName"
	ListAuditEventAnalyticsSummaryFieldTargetclass           ListAuditEventAnalyticsSummaryFieldEnum = "targetClass"
	ListAuditEventAnalyticsSummaryFieldObjecttype            ListAuditEventAnalyticsSummaryFieldEnum = "objectType"
	ListAuditEventAnalyticsSummaryFieldClienthostname        ListAuditEventAnalyticsSummaryFieldEnum = "clientHostname"
	ListAuditEventAnalyticsSummaryFieldClientprogram         ListAuditEventAnalyticsSummaryFieldEnum = "clientProgram"
	ListAuditEventAnalyticsSummaryFieldClientid              ListAuditEventAnalyticsSummaryFieldEnum = "clientId"
	ListAuditEventAnalyticsSummaryFieldAudittype             ListAuditEventAnalyticsSummaryFieldEnum = "auditType"
	ListAuditEventAnalyticsSummaryFieldEventname             ListAuditEventAnalyticsSummaryFieldEnum = "eventName"
	ListAuditEventAnalyticsSummaryFieldAllrecord             ListAuditEventAnalyticsSummaryFieldEnum = "allRecord"
	ListAuditEventAnalyticsSummaryFieldAuditsettingschange   ListAuditEventAnalyticsSummaryFieldEnum = "auditSettingsChange"
	ListAuditEventAnalyticsSummaryFieldDbschemachange        ListAuditEventAnalyticsSummaryFieldEnum = "dbSchemaChange"
	ListAuditEventAnalyticsSummaryFieldEntitlementchange     ListAuditEventAnalyticsSummaryFieldEnum = "entitlementChange"
	ListAuditEventAnalyticsSummaryFieldLoginfailure          ListAuditEventAnalyticsSummaryFieldEnum = "loginFailure"
	ListAuditEventAnalyticsSummaryFieldLoginsuccess          ListAuditEventAnalyticsSummaryFieldEnum = "loginSuccess"
	ListAuditEventAnalyticsSummaryFieldAllviolations         ListAuditEventAnalyticsSummaryFieldEnum = "allViolations"
	ListAuditEventAnalyticsSummaryFieldRealmviolations       ListAuditEventAnalyticsSummaryFieldEnum = "realmViolations"
	ListAuditEventAnalyticsSummaryFieldRuleviolations        ListAuditEventAnalyticsSummaryFieldEnum = "ruleViolations"
	ListAuditEventAnalyticsSummaryFieldDvconfigactivities    ListAuditEventAnalyticsSummaryFieldEnum = "dvconfigActivities"
	ListAuditEventAnalyticsSummaryFieldDdls                  ListAuditEventAnalyticsSummaryFieldEnum = "ddls"
	ListAuditEventAnalyticsSummaryFieldDmls                  ListAuditEventAnalyticsSummaryFieldEnum = "dmls"
	ListAuditEventAnalyticsSummaryFieldPrivilegechanges      ListAuditEventAnalyticsSummaryFieldEnum = "privilegeChanges"
	ListAuditEventAnalyticsSummaryFieldAuditsettingsenables  ListAuditEventAnalyticsSummaryFieldEnum = "auditSettingsEnables"
	ListAuditEventAnalyticsSummaryFieldAuditsettingsdisables ListAuditEventAnalyticsSummaryFieldEnum = "auditSettingsDisables"
	ListAuditEventAnalyticsSummaryFieldSelects               ListAuditEventAnalyticsSummaryFieldEnum = "selects"
	ListAuditEventAnalyticsSummaryFieldCreates               ListAuditEventAnalyticsSummaryFieldEnum = "creates"
	ListAuditEventAnalyticsSummaryFieldAlters                ListAuditEventAnalyticsSummaryFieldEnum = "alters"
	ListAuditEventAnalyticsSummaryFieldDrops                 ListAuditEventAnalyticsSummaryFieldEnum = "drops"
	ListAuditEventAnalyticsSummaryFieldGrants                ListAuditEventAnalyticsSummaryFieldEnum = "grants"
	ListAuditEventAnalyticsSummaryFieldRevokes               ListAuditEventAnalyticsSummaryFieldEnum = "revokes"
)

Set of constants representing the allowable values for ListAuditEventAnalyticsSummaryFieldEnum

func GetListAuditEventAnalyticsSummaryFieldEnumValues ¶

func GetListAuditEventAnalyticsSummaryFieldEnumValues() []ListAuditEventAnalyticsSummaryFieldEnum

GetListAuditEventAnalyticsSummaryFieldEnumValues Enumerates the set of values for ListAuditEventAnalyticsSummaryFieldEnum

func GetMappingListAuditEventAnalyticsSummaryFieldEnum ¶

func GetMappingListAuditEventAnalyticsSummaryFieldEnum(val string) (ListAuditEventAnalyticsSummaryFieldEnum, bool)

GetMappingListAuditEventAnalyticsSummaryFieldEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventsAccessLevelEnum ¶

type ListAuditEventsAccessLevelEnum string

ListAuditEventsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditEventsAccessLevelRestricted ListAuditEventsAccessLevelEnum = "RESTRICTED"
	ListAuditEventsAccessLevelAccessible ListAuditEventsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditEventsAccessLevelEnum

func GetListAuditEventsAccessLevelEnumValues ¶

func GetListAuditEventsAccessLevelEnumValues() []ListAuditEventsAccessLevelEnum

GetListAuditEventsAccessLevelEnumValues Enumerates the set of values for ListAuditEventsAccessLevelEnum

func GetMappingListAuditEventsAccessLevelEnum ¶

func GetMappingListAuditEventsAccessLevelEnum(val string) (ListAuditEventsAccessLevelEnum, bool)

GetMappingListAuditEventsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventsRequest ¶

type ListAuditEventsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditEventsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// It is usually retrieved from a previous "List" call. For details about how pagination works,
	// see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2
	// of the System for Cross-Domain Identity Management (SCIM) specification, which is available
	// at RFC3339 (https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions,
	// text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format.
	// (Numeric and boolean values should not be quoted.)
	// **Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON')
	ScimQuery *string `mandatory:"false" contributesTo:"query" name:"scimQuery"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAuditEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// If this query parameter is specified, the result is sorted by this query parameter value.
	SortBy ListAuditEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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
}

ListAuditEventsRequest wrapper for the ListAuditEvents operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditEvents.go.html to see an example of how to use ListAuditEventsRequest.

func (ListAuditEventsRequest) BinaryRequestBody ¶

func (request ListAuditEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditEventsRequest) HTTPRequest ¶

func (request ListAuditEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditEventsRequest) RetryPolicy ¶

func (request ListAuditEventsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditEventsRequest) String ¶

func (request ListAuditEventsRequest) String() string

func (ListAuditEventsRequest) ValidateEnumValue ¶

func (request ListAuditEventsRequest) 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 ListAuditEventsResponse ¶

type ListAuditEventsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditEventCollection instances
	AuditEventCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditEventsResponse wrapper for the ListAuditEvents operation

func (ListAuditEventsResponse) HTTPResponse ¶

func (response ListAuditEventsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditEventsResponse) String ¶

func (response ListAuditEventsResponse) String() string

type ListAuditEventsSortByEnum ¶

type ListAuditEventsSortByEnum string

ListAuditEventsSortByEnum Enum with underlying type: string

const (
	ListAuditEventsSortByDbusername              ListAuditEventsSortByEnum = "dbUserName"
	ListAuditEventsSortByTargetname              ListAuditEventsSortByEnum = "targetName"
	ListAuditEventsSortByDatabasetype            ListAuditEventsSortByEnum = "databaseType"
	ListAuditEventsSortByTargetclass             ListAuditEventsSortByEnum = "targetClass"
	ListAuditEventsSortByAuditeventtime          ListAuditEventsSortByEnum = "auditEventTime"
	ListAuditEventsSortByTimecollected           ListAuditEventsSortByEnum = "timeCollected"
	ListAuditEventsSortByOsusername              ListAuditEventsSortByEnum = "osUserName"
	ListAuditEventsSortByOperation               ListAuditEventsSortByEnum = "operation"
	ListAuditEventsSortByOperationstatus         ListAuditEventsSortByEnum = "operationStatus"
	ListAuditEventsSortByEventname               ListAuditEventsSortByEnum = "eventName"
	ListAuditEventsSortByErrorcode               ListAuditEventsSortByEnum = "errorCode"
	ListAuditEventsSortByErrormessage            ListAuditEventsSortByEnum = "errorMessage"
	ListAuditEventsSortByObjecttype              ListAuditEventsSortByEnum = "objectType"
	ListAuditEventsSortByObjectname              ListAuditEventsSortByEnum = "objectName"
	ListAuditEventsSortByObjectowner             ListAuditEventsSortByEnum = "objectOwner"
	ListAuditEventsSortByClienthostname          ListAuditEventsSortByEnum = "clientHostname"
	ListAuditEventsSortByClientip                ListAuditEventsSortByEnum = "clientIp"
	ListAuditEventsSortByIsalerted               ListAuditEventsSortByEnum = "isAlerted"
	ListAuditEventsSortByActiontaken             ListAuditEventsSortByEnum = "actionTaken"
	ListAuditEventsSortByClientprogram           ListAuditEventsSortByEnum = "clientProgram"
	ListAuditEventsSortByCommandtext             ListAuditEventsSortByEnum = "commandText"
	ListAuditEventsSortByCommandparam            ListAuditEventsSortByEnum = "commandParam"
	ListAuditEventsSortByExtendedeventattributes ListAuditEventsSortByEnum = "extendedEventAttributes"
	ListAuditEventsSortByAuditlocation           ListAuditEventsSortByEnum = "auditLocation"
	ListAuditEventsSortByOsterminal              ListAuditEventsSortByEnum = "osTerminal"
	ListAuditEventsSortByClientid                ListAuditEventsSortByEnum = "clientId"
	ListAuditEventsSortByAuditpolicies           ListAuditEventsSortByEnum = "auditPolicies"
	ListAuditEventsSortByAudittype               ListAuditEventsSortByEnum = "auditType"
)

Set of constants representing the allowable values for ListAuditEventsSortByEnum

func GetListAuditEventsSortByEnumValues ¶

func GetListAuditEventsSortByEnumValues() []ListAuditEventsSortByEnum

GetListAuditEventsSortByEnumValues Enumerates the set of values for ListAuditEventsSortByEnum

func GetMappingListAuditEventsSortByEnum ¶

func GetMappingListAuditEventsSortByEnum(val string) (ListAuditEventsSortByEnum, bool)

GetMappingListAuditEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditEventsSortOrderEnum ¶

type ListAuditEventsSortOrderEnum string

ListAuditEventsSortOrderEnum Enum with underlying type: string

const (
	ListAuditEventsSortOrderAsc  ListAuditEventsSortOrderEnum = "ASC"
	ListAuditEventsSortOrderDesc ListAuditEventsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAuditEventsSortOrderEnum

func GetListAuditEventsSortOrderEnumValues ¶

func GetListAuditEventsSortOrderEnumValues() []ListAuditEventsSortOrderEnum

GetListAuditEventsSortOrderEnumValues Enumerates the set of values for ListAuditEventsSortOrderEnum

func GetMappingListAuditEventsSortOrderEnum ¶

func GetMappingListAuditEventsSortOrderEnum(val string) (ListAuditEventsSortOrderEnum, bool)

GetMappingListAuditEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPoliciesAccessLevelEnum ¶

type ListAuditPoliciesAccessLevelEnum string

ListAuditPoliciesAccessLevelEnum Enum with underlying type: string

const (
	ListAuditPoliciesAccessLevelRestricted ListAuditPoliciesAccessLevelEnum = "RESTRICTED"
	ListAuditPoliciesAccessLevelAccessible ListAuditPoliciesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditPoliciesAccessLevelEnum

func GetListAuditPoliciesAccessLevelEnumValues ¶

func GetListAuditPoliciesAccessLevelEnumValues() []ListAuditPoliciesAccessLevelEnum

GetListAuditPoliciesAccessLevelEnumValues Enumerates the set of values for ListAuditPoliciesAccessLevelEnum

func GetMappingListAuditPoliciesAccessLevelEnum ¶

func GetMappingListAuditPoliciesAccessLevelEnum(val string) (ListAuditPoliciesAccessLevelEnum, bool)

GetMappingListAuditPoliciesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPoliciesLifecycleStateEnum ¶

type ListAuditPoliciesLifecycleStateEnum string

ListAuditPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListAuditPoliciesLifecycleStateCreating       ListAuditPoliciesLifecycleStateEnum = "CREATING"
	ListAuditPoliciesLifecycleStateUpdating       ListAuditPoliciesLifecycleStateEnum = "UPDATING"
	ListAuditPoliciesLifecycleStateActive         ListAuditPoliciesLifecycleStateEnum = "ACTIVE"
	ListAuditPoliciesLifecycleStateFailed         ListAuditPoliciesLifecycleStateEnum = "FAILED"
	ListAuditPoliciesLifecycleStateNeedsAttention ListAuditPoliciesLifecycleStateEnum = "NEEDS_ATTENTION"
	ListAuditPoliciesLifecycleStateDeleting       ListAuditPoliciesLifecycleStateEnum = "DELETING"
	ListAuditPoliciesLifecycleStateDeleted        ListAuditPoliciesLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListAuditPoliciesLifecycleStateEnum

func GetListAuditPoliciesLifecycleStateEnumValues ¶

func GetListAuditPoliciesLifecycleStateEnumValues() []ListAuditPoliciesLifecycleStateEnum

GetListAuditPoliciesLifecycleStateEnumValues Enumerates the set of values for ListAuditPoliciesLifecycleStateEnum

func GetMappingListAuditPoliciesLifecycleStateEnum ¶

func GetMappingListAuditPoliciesLifecycleStateEnum(val string) (ListAuditPoliciesLifecycleStateEnum, bool)

GetMappingListAuditPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPoliciesRequest ¶

type ListAuditPoliciesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditPoliciesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// The current state of the audit policy.
	LifecycleState ListAuditPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// An optional filter to return only resources that match the specified id.
	AuditPolicyId *string `mandatory:"false" contributesTo:"query" name:"auditPolicyId"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAuditPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListAuditPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditPoliciesRequest wrapper for the ListAuditPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditPolicies.go.html to see an example of how to use ListAuditPoliciesRequest.

func (ListAuditPoliciesRequest) BinaryRequestBody ¶

func (request ListAuditPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditPoliciesRequest) HTTPRequest ¶

func (request ListAuditPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditPoliciesRequest) RetryPolicy ¶

func (request ListAuditPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditPoliciesRequest) String ¶

func (request ListAuditPoliciesRequest) String() string

func (ListAuditPoliciesRequest) ValidateEnumValue ¶

func (request ListAuditPoliciesRequest) 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 ListAuditPoliciesResponse ¶

type ListAuditPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditPolicyCollection instances
	AuditPolicyCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditPoliciesResponse wrapper for the ListAuditPolicies operation

func (ListAuditPoliciesResponse) HTTPResponse ¶

func (response ListAuditPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditPoliciesResponse) String ¶

func (response ListAuditPoliciesResponse) String() string

type ListAuditPoliciesSortByEnum ¶

type ListAuditPoliciesSortByEnum string

ListAuditPoliciesSortByEnum Enum with underlying type: string

const (
	ListAuditPoliciesSortByTimecreated ListAuditPoliciesSortByEnum = "TIMECREATED"
	ListAuditPoliciesSortByDisplayname ListAuditPoliciesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAuditPoliciesSortByEnum

func GetListAuditPoliciesSortByEnumValues ¶

func GetListAuditPoliciesSortByEnumValues() []ListAuditPoliciesSortByEnum

GetListAuditPoliciesSortByEnumValues Enumerates the set of values for ListAuditPoliciesSortByEnum

func GetMappingListAuditPoliciesSortByEnum ¶

func GetMappingListAuditPoliciesSortByEnum(val string) (ListAuditPoliciesSortByEnum, bool)

GetMappingListAuditPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPoliciesSortOrderEnum ¶

type ListAuditPoliciesSortOrderEnum string

ListAuditPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListAuditPoliciesSortOrderAsc  ListAuditPoliciesSortOrderEnum = "ASC"
	ListAuditPoliciesSortOrderDesc ListAuditPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAuditPoliciesSortOrderEnum

func GetListAuditPoliciesSortOrderEnumValues ¶

func GetListAuditPoliciesSortOrderEnumValues() []ListAuditPoliciesSortOrderEnum

GetListAuditPoliciesSortOrderEnumValues Enumerates the set of values for ListAuditPoliciesSortOrderEnum

func GetMappingListAuditPoliciesSortOrderEnum ¶

func GetMappingListAuditPoliciesSortOrderEnum(val string) (ListAuditPoliciesSortOrderEnum, bool)

GetMappingListAuditPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPolicyAnalyticsAccessLevelEnum ¶ added in v65.35.0

type ListAuditPolicyAnalyticsAccessLevelEnum string

ListAuditPolicyAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditPolicyAnalyticsAccessLevelRestricted ListAuditPolicyAnalyticsAccessLevelEnum = "RESTRICTED"
	ListAuditPolicyAnalyticsAccessLevelAccessible ListAuditPolicyAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditPolicyAnalyticsAccessLevelEnum

func GetListAuditPolicyAnalyticsAccessLevelEnumValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsAccessLevelEnumValues() []ListAuditPolicyAnalyticsAccessLevelEnum

GetListAuditPolicyAnalyticsAccessLevelEnumValues Enumerates the set of values for ListAuditPolicyAnalyticsAccessLevelEnum

func GetMappingListAuditPolicyAnalyticsAccessLevelEnum ¶ added in v65.35.0

func GetMappingListAuditPolicyAnalyticsAccessLevelEnum(val string) (ListAuditPolicyAnalyticsAccessLevelEnum, bool)

GetMappingListAuditPolicyAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPolicyAnalyticsAuditPolicyCategoryEnum ¶ added in v65.35.0

type ListAuditPolicyAnalyticsAuditPolicyCategoryEnum string

ListAuditPolicyAnalyticsAuditPolicyCategoryEnum Enum with underlying type: string

const (
	ListAuditPolicyAnalyticsAuditPolicyCategoryBasicActivity      ListAuditPolicyAnalyticsAuditPolicyCategoryEnum = "BASIC_ACTIVITY"
	ListAuditPolicyAnalyticsAuditPolicyCategoryAdminUserActivity  ListAuditPolicyAnalyticsAuditPolicyCategoryEnum = "ADMIN_USER_ACTIVITY"
	ListAuditPolicyAnalyticsAuditPolicyCategoryUserActivity       ListAuditPolicyAnalyticsAuditPolicyCategoryEnum = "USER_ACTIVITY"
	ListAuditPolicyAnalyticsAuditPolicyCategoryOraclePredefined   ListAuditPolicyAnalyticsAuditPolicyCategoryEnum = "ORACLE_PREDEFINED"
	ListAuditPolicyAnalyticsAuditPolicyCategoryComplianceStandard ListAuditPolicyAnalyticsAuditPolicyCategoryEnum = "COMPLIANCE_STANDARD"
	ListAuditPolicyAnalyticsAuditPolicyCategoryCustom             ListAuditPolicyAnalyticsAuditPolicyCategoryEnum = "CUSTOM"
)

Set of constants representing the allowable values for ListAuditPolicyAnalyticsAuditPolicyCategoryEnum

func GetListAuditPolicyAnalyticsAuditPolicyCategoryEnumValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsAuditPolicyCategoryEnumValues() []ListAuditPolicyAnalyticsAuditPolicyCategoryEnum

GetListAuditPolicyAnalyticsAuditPolicyCategoryEnumValues Enumerates the set of values for ListAuditPolicyAnalyticsAuditPolicyCategoryEnum

func GetMappingListAuditPolicyAnalyticsAuditPolicyCategoryEnum ¶ added in v65.35.0

func GetMappingListAuditPolicyAnalyticsAuditPolicyCategoryEnum(val string) (ListAuditPolicyAnalyticsAuditPolicyCategoryEnum, bool)

GetMappingListAuditPolicyAnalyticsAuditPolicyCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPolicyAnalyticsGroupByEnum ¶ added in v65.35.0

type ListAuditPolicyAnalyticsGroupByEnum string

ListAuditPolicyAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListAuditPolicyAnalyticsGroupByAuditpolicycategory ListAuditPolicyAnalyticsGroupByEnum = "auditPolicyCategory"
	ListAuditPolicyAnalyticsGroupByAuditpolicyname     ListAuditPolicyAnalyticsGroupByEnum = "auditPolicyName"
	ListAuditPolicyAnalyticsGroupByTargetid            ListAuditPolicyAnalyticsGroupByEnum = "targetId"
)

Set of constants representing the allowable values for ListAuditPolicyAnalyticsGroupByEnum

func GetListAuditPolicyAnalyticsGroupByEnumValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsGroupByEnumValues() []ListAuditPolicyAnalyticsGroupByEnum

GetListAuditPolicyAnalyticsGroupByEnumValues Enumerates the set of values for ListAuditPolicyAnalyticsGroupByEnum

func GetMappingListAuditPolicyAnalyticsGroupByEnum ¶ added in v65.35.0

func GetMappingListAuditPolicyAnalyticsGroupByEnum(val string) (ListAuditPolicyAnalyticsGroupByEnum, bool)

GetMappingListAuditPolicyAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPolicyAnalyticsLifecycleStateEnum ¶ added in v65.35.0

type ListAuditPolicyAnalyticsLifecycleStateEnum string

ListAuditPolicyAnalyticsLifecycleStateEnum Enum with underlying type: string

const (
	ListAuditPolicyAnalyticsLifecycleStateCreating       ListAuditPolicyAnalyticsLifecycleStateEnum = "CREATING"
	ListAuditPolicyAnalyticsLifecycleStateUpdating       ListAuditPolicyAnalyticsLifecycleStateEnum = "UPDATING"
	ListAuditPolicyAnalyticsLifecycleStateActive         ListAuditPolicyAnalyticsLifecycleStateEnum = "ACTIVE"
	ListAuditPolicyAnalyticsLifecycleStateFailed         ListAuditPolicyAnalyticsLifecycleStateEnum = "FAILED"
	ListAuditPolicyAnalyticsLifecycleStateNeedsAttention ListAuditPolicyAnalyticsLifecycleStateEnum = "NEEDS_ATTENTION"
	ListAuditPolicyAnalyticsLifecycleStateDeleting       ListAuditPolicyAnalyticsLifecycleStateEnum = "DELETING"
	ListAuditPolicyAnalyticsLifecycleStateDeleted        ListAuditPolicyAnalyticsLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListAuditPolicyAnalyticsLifecycleStateEnum

func GetListAuditPolicyAnalyticsLifecycleStateEnumValues ¶ added in v65.35.0

func GetListAuditPolicyAnalyticsLifecycleStateEnumValues() []ListAuditPolicyAnalyticsLifecycleStateEnum

GetListAuditPolicyAnalyticsLifecycleStateEnumValues Enumerates the set of values for ListAuditPolicyAnalyticsLifecycleStateEnum

func GetMappingListAuditPolicyAnalyticsLifecycleStateEnum ¶ added in v65.35.0

func GetMappingListAuditPolicyAnalyticsLifecycleStateEnum(val string) (ListAuditPolicyAnalyticsLifecycleStateEnum, bool)

GetMappingListAuditPolicyAnalyticsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditPolicyAnalyticsRequest ¶ added in v65.35.0

type ListAuditPolicyAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditPolicyAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The group by parameter to summarize audit policy aggregation.
	GroupBy []ListAuditPolicyAnalyticsGroupByEnum `contributesTo:"query" name:"groupBy" omitEmpty:"true" collectionFormat:"multi"`

	// The category to which the audit policy belongs to.
	AuditPolicyCategory ListAuditPolicyAnalyticsAuditPolicyCategoryEnum `mandatory:"false" contributesTo:"query" name:"auditPolicyCategory" omitEmpty:"true"`

	// In case of seeded policies, it is the policy name defined by Data Safe.
	// In case of custom Policies, it is the policy name that is used to create the policies on the target database.
	// In case of Oracle Pre-seeded policies, it is the default policy name of the same.
	AuditPolicyName *string `mandatory:"false" contributesTo:"query" name:"auditPolicyName"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// The current state of the audit policy.
	LifecycleState ListAuditPolicyAnalyticsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditPolicyAnalyticsRequest wrapper for the ListAuditPolicyAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditPolicyAnalytics.go.html to see an example of how to use ListAuditPolicyAnalyticsRequest.

func (ListAuditPolicyAnalyticsRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListAuditPolicyAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditPolicyAnalyticsRequest) HTTPRequest ¶ added in v65.35.0

func (request ListAuditPolicyAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditPolicyAnalyticsRequest) RetryPolicy ¶ added in v65.35.0

func (request ListAuditPolicyAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditPolicyAnalyticsRequest) String ¶ added in v65.35.0

func (request ListAuditPolicyAnalyticsRequest) String() string

func (ListAuditPolicyAnalyticsRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListAuditPolicyAnalyticsRequest) 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 ListAuditPolicyAnalyticsResponse ¶ added in v65.35.0

type ListAuditPolicyAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditPolicyAnalyticCollection instances
	AuditPolicyAnalyticCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditPolicyAnalyticsResponse wrapper for the ListAuditPolicyAnalytics operation

func (ListAuditPolicyAnalyticsResponse) HTTPResponse ¶ added in v65.35.0

func (response ListAuditPolicyAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditPolicyAnalyticsResponse) String ¶ added in v65.35.0

func (response ListAuditPolicyAnalyticsResponse) String() string

type ListAuditProfileAnalyticsAccessLevelEnum ¶

type ListAuditProfileAnalyticsAccessLevelEnum string

ListAuditProfileAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditProfileAnalyticsAccessLevelRestricted ListAuditProfileAnalyticsAccessLevelEnum = "RESTRICTED"
	ListAuditProfileAnalyticsAccessLevelAccessible ListAuditProfileAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditProfileAnalyticsAccessLevelEnum

func GetListAuditProfileAnalyticsAccessLevelEnumValues ¶

func GetListAuditProfileAnalyticsAccessLevelEnumValues() []ListAuditProfileAnalyticsAccessLevelEnum

GetListAuditProfileAnalyticsAccessLevelEnumValues Enumerates the set of values for ListAuditProfileAnalyticsAccessLevelEnum

func GetMappingListAuditProfileAnalyticsAccessLevelEnum ¶

func GetMappingListAuditProfileAnalyticsAccessLevelEnum(val string) (ListAuditProfileAnalyticsAccessLevelEnum, bool)

GetMappingListAuditProfileAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditProfileAnalyticsGroupByEnum ¶

type ListAuditProfileAnalyticsGroupByEnum string

ListAuditProfileAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListAuditProfileAnalyticsGroupByIspaidusageenabled ListAuditProfileAnalyticsGroupByEnum = "isPaidUsageEnabled"
)

Set of constants representing the allowable values for ListAuditProfileAnalyticsGroupByEnum

func GetListAuditProfileAnalyticsGroupByEnumValues ¶

func GetListAuditProfileAnalyticsGroupByEnumValues() []ListAuditProfileAnalyticsGroupByEnum

GetListAuditProfileAnalyticsGroupByEnumValues Enumerates the set of values for ListAuditProfileAnalyticsGroupByEnum

func GetMappingListAuditProfileAnalyticsGroupByEnum ¶

func GetMappingListAuditProfileAnalyticsGroupByEnum(val string) (ListAuditProfileAnalyticsGroupByEnum, bool)

GetMappingListAuditProfileAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditProfileAnalyticsRequest ¶

type ListAuditProfileAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditProfileAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The group by parameter for summarize operation on audit.
	GroupBy []ListAuditProfileAnalyticsGroupByEnum `contributesTo:"query" name:"groupBy" omitEmpty:"true" collectionFormat:"multi"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditProfileAnalyticsRequest wrapper for the ListAuditProfileAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditProfileAnalytics.go.html to see an example of how to use ListAuditProfileAnalyticsRequest.

func (ListAuditProfileAnalyticsRequest) BinaryRequestBody ¶

func (request ListAuditProfileAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditProfileAnalyticsRequest) HTTPRequest ¶

func (request ListAuditProfileAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditProfileAnalyticsRequest) RetryPolicy ¶

func (request ListAuditProfileAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditProfileAnalyticsRequest) String ¶

func (request ListAuditProfileAnalyticsRequest) String() string

func (ListAuditProfileAnalyticsRequest) ValidateEnumValue ¶

func (request ListAuditProfileAnalyticsRequest) 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 ListAuditProfileAnalyticsResponse ¶

type ListAuditProfileAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditProfileAnalyticCollection instances
	AuditProfileAnalyticCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditProfileAnalyticsResponse wrapper for the ListAuditProfileAnalytics operation

func (ListAuditProfileAnalyticsResponse) HTTPResponse ¶

func (response ListAuditProfileAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditProfileAnalyticsResponse) String ¶

func (response ListAuditProfileAnalyticsResponse) String() string

type ListAuditProfilesAccessLevelEnum ¶

type ListAuditProfilesAccessLevelEnum string

ListAuditProfilesAccessLevelEnum Enum with underlying type: string

const (
	ListAuditProfilesAccessLevelRestricted ListAuditProfilesAccessLevelEnum = "RESTRICTED"
	ListAuditProfilesAccessLevelAccessible ListAuditProfilesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditProfilesAccessLevelEnum

func GetListAuditProfilesAccessLevelEnumValues ¶

func GetListAuditProfilesAccessLevelEnumValues() []ListAuditProfilesAccessLevelEnum

GetListAuditProfilesAccessLevelEnumValues Enumerates the set of values for ListAuditProfilesAccessLevelEnum

func GetMappingListAuditProfilesAccessLevelEnum ¶

func GetMappingListAuditProfilesAccessLevelEnum(val string) (ListAuditProfilesAccessLevelEnum, bool)

GetMappingListAuditProfilesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditProfilesLifecycleStateEnum ¶

type ListAuditProfilesLifecycleStateEnum string

ListAuditProfilesLifecycleStateEnum Enum with underlying type: string

const (
	ListAuditProfilesLifecycleStateCreating       ListAuditProfilesLifecycleStateEnum = "CREATING"
	ListAuditProfilesLifecycleStateUpdating       ListAuditProfilesLifecycleStateEnum = "UPDATING"
	ListAuditProfilesLifecycleStateActive         ListAuditProfilesLifecycleStateEnum = "ACTIVE"
	ListAuditProfilesLifecycleStateDeleting       ListAuditProfilesLifecycleStateEnum = "DELETING"
	ListAuditProfilesLifecycleStateFailed         ListAuditProfilesLifecycleStateEnum = "FAILED"
	ListAuditProfilesLifecycleStateNeedsAttention ListAuditProfilesLifecycleStateEnum = "NEEDS_ATTENTION"
	ListAuditProfilesLifecycleStateDeleted        ListAuditProfilesLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListAuditProfilesLifecycleStateEnum

func GetListAuditProfilesLifecycleStateEnumValues ¶

func GetListAuditProfilesLifecycleStateEnumValues() []ListAuditProfilesLifecycleStateEnum

GetListAuditProfilesLifecycleStateEnumValues Enumerates the set of values for ListAuditProfilesLifecycleStateEnum

func GetMappingListAuditProfilesLifecycleStateEnum ¶

func GetMappingListAuditProfilesLifecycleStateEnum(val string) (ListAuditProfilesLifecycleStateEnum, bool)

GetMappingListAuditProfilesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditProfilesRequest ¶

type ListAuditProfilesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditProfilesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A optional filter to return only resources that match the specified id.
	AuditProfileId *string `mandatory:"false" contributesTo:"query" name:"auditProfileId"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A optional filter to return only resources that match the specified lifecycle state.
	LifecycleState ListAuditProfilesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A optional filter to return only resources that match the specified retention configured value.
	IsOverrideGlobalRetentionSetting *bool `mandatory:"false" contributesTo:"query" name:"isOverrideGlobalRetentionSetting"`

	// Indicates if you want to continue audit record collection beyond the free limit
	// of one million audit records per month per target database, incurring additional charges.
	// The default value is inherited from the global settings. You can change at the global level
	// or at the target level.
	IsPaidUsageEnabled *bool `mandatory:"false" contributesTo:"query" name:"isPaidUsageEnabled"`

	// A filter to return only items that have count of audit records collected greater than or equal to the specified value.
	AuditCollectedVolumeGreaterThanOrEqualTo *int64 `mandatory:"false" contributesTo:"query" name:"auditCollectedVolumeGreaterThanOrEqualTo"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAuditProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListAuditProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditProfilesRequest wrapper for the ListAuditProfiles operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditProfiles.go.html to see an example of how to use ListAuditProfilesRequest.

func (ListAuditProfilesRequest) BinaryRequestBody ¶

func (request ListAuditProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditProfilesRequest) HTTPRequest ¶

func (request ListAuditProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditProfilesRequest) RetryPolicy ¶

func (request ListAuditProfilesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditProfilesRequest) String ¶

func (request ListAuditProfilesRequest) String() string

func (ListAuditProfilesRequest) ValidateEnumValue ¶

func (request ListAuditProfilesRequest) 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 ListAuditProfilesResponse ¶

type ListAuditProfilesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditProfileCollection instances
	AuditProfileCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditProfilesResponse wrapper for the ListAuditProfiles operation

func (ListAuditProfilesResponse) HTTPResponse ¶

func (response ListAuditProfilesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditProfilesResponse) String ¶

func (response ListAuditProfilesResponse) String() string

type ListAuditProfilesSortByEnum ¶

type ListAuditProfilesSortByEnum string

ListAuditProfilesSortByEnum Enum with underlying type: string

const (
	ListAuditProfilesSortByTimecreated ListAuditProfilesSortByEnum = "TIMECREATED"
	ListAuditProfilesSortByDisplayname ListAuditProfilesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAuditProfilesSortByEnum

func GetListAuditProfilesSortByEnumValues ¶

func GetListAuditProfilesSortByEnumValues() []ListAuditProfilesSortByEnum

GetListAuditProfilesSortByEnumValues Enumerates the set of values for ListAuditProfilesSortByEnum

func GetMappingListAuditProfilesSortByEnum ¶

func GetMappingListAuditProfilesSortByEnum(val string) (ListAuditProfilesSortByEnum, bool)

GetMappingListAuditProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditProfilesSortOrderEnum ¶

type ListAuditProfilesSortOrderEnum string

ListAuditProfilesSortOrderEnum Enum with underlying type: string

const (
	ListAuditProfilesSortOrderAsc  ListAuditProfilesSortOrderEnum = "ASC"
	ListAuditProfilesSortOrderDesc ListAuditProfilesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAuditProfilesSortOrderEnum

func GetListAuditProfilesSortOrderEnumValues ¶

func GetListAuditProfilesSortOrderEnumValues() []ListAuditProfilesSortOrderEnum

GetListAuditProfilesSortOrderEnumValues Enumerates the set of values for ListAuditProfilesSortOrderEnum

func GetMappingListAuditProfilesSortOrderEnum ¶

func GetMappingListAuditProfilesSortOrderEnum(val string) (ListAuditProfilesSortOrderEnum, bool)

GetMappingListAuditProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailAnalyticsAccessLevelEnum ¶

type ListAuditTrailAnalyticsAccessLevelEnum string

ListAuditTrailAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditTrailAnalyticsAccessLevelRestricted ListAuditTrailAnalyticsAccessLevelEnum = "RESTRICTED"
	ListAuditTrailAnalyticsAccessLevelAccessible ListAuditTrailAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditTrailAnalyticsAccessLevelEnum

func GetListAuditTrailAnalyticsAccessLevelEnumValues ¶

func GetListAuditTrailAnalyticsAccessLevelEnumValues() []ListAuditTrailAnalyticsAccessLevelEnum

GetListAuditTrailAnalyticsAccessLevelEnumValues Enumerates the set of values for ListAuditTrailAnalyticsAccessLevelEnum

func GetMappingListAuditTrailAnalyticsAccessLevelEnum ¶

func GetMappingListAuditTrailAnalyticsAccessLevelEnum(val string) (ListAuditTrailAnalyticsAccessLevelEnum, bool)

GetMappingListAuditTrailAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailAnalyticsGroupByEnum ¶

type ListAuditTrailAnalyticsGroupByEnum string

ListAuditTrailAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListAuditTrailAnalyticsGroupByLocation       ListAuditTrailAnalyticsGroupByEnum = "location"
	ListAuditTrailAnalyticsGroupByLifecyclestate ListAuditTrailAnalyticsGroupByEnum = "lifecycleState"
	ListAuditTrailAnalyticsGroupByStatus         ListAuditTrailAnalyticsGroupByEnum = "status"
	ListAuditTrailAnalyticsGroupByTargetid       ListAuditTrailAnalyticsGroupByEnum = "targetId"
)

Set of constants representing the allowable values for ListAuditTrailAnalyticsGroupByEnum

func GetListAuditTrailAnalyticsGroupByEnumValues ¶

func GetListAuditTrailAnalyticsGroupByEnumValues() []ListAuditTrailAnalyticsGroupByEnum

GetListAuditTrailAnalyticsGroupByEnumValues Enumerates the set of values for ListAuditTrailAnalyticsGroupByEnum

func GetMappingListAuditTrailAnalyticsGroupByEnum ¶

func GetMappingListAuditTrailAnalyticsGroupByEnum(val string) (ListAuditTrailAnalyticsGroupByEnum, bool)

GetMappingListAuditTrailAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailAnalyticsRequest ¶

type ListAuditTrailAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditTrailAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The group by parameter for summarize operation on audit trail.
	GroupBy []ListAuditTrailAnalyticsGroupByEnum `contributesTo:"query" name:"groupBy" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditTrailAnalyticsRequest wrapper for the ListAuditTrailAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditTrailAnalytics.go.html to see an example of how to use ListAuditTrailAnalyticsRequest.

func (ListAuditTrailAnalyticsRequest) BinaryRequestBody ¶

func (request ListAuditTrailAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditTrailAnalyticsRequest) HTTPRequest ¶

func (request ListAuditTrailAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditTrailAnalyticsRequest) RetryPolicy ¶

func (request ListAuditTrailAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditTrailAnalyticsRequest) String ¶

func (request ListAuditTrailAnalyticsRequest) String() string

func (ListAuditTrailAnalyticsRequest) ValidateEnumValue ¶

func (request ListAuditTrailAnalyticsRequest) 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 ListAuditTrailAnalyticsResponse ¶

type ListAuditTrailAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditTrailAnalyticCollection instances
	AuditTrailAnalyticCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditTrailAnalyticsResponse wrapper for the ListAuditTrailAnalytics operation

func (ListAuditTrailAnalyticsResponse) HTTPResponse ¶

func (response ListAuditTrailAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditTrailAnalyticsResponse) String ¶

func (response ListAuditTrailAnalyticsResponse) String() string

type ListAuditTrailsAccessLevelEnum ¶

type ListAuditTrailsAccessLevelEnum string

ListAuditTrailsAccessLevelEnum Enum with underlying type: string

const (
	ListAuditTrailsAccessLevelRestricted ListAuditTrailsAccessLevelEnum = "RESTRICTED"
	ListAuditTrailsAccessLevelAccessible ListAuditTrailsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListAuditTrailsAccessLevelEnum

func GetListAuditTrailsAccessLevelEnumValues ¶

func GetListAuditTrailsAccessLevelEnumValues() []ListAuditTrailsAccessLevelEnum

GetListAuditTrailsAccessLevelEnumValues Enumerates the set of values for ListAuditTrailsAccessLevelEnum

func GetMappingListAuditTrailsAccessLevelEnum ¶

func GetMappingListAuditTrailsAccessLevelEnum(val string) (ListAuditTrailsAccessLevelEnum, bool)

GetMappingListAuditTrailsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailsLifecycleStateEnum ¶

type ListAuditTrailsLifecycleStateEnum string

ListAuditTrailsLifecycleStateEnum Enum with underlying type: string

const (
	ListAuditTrailsLifecycleStateInactive       ListAuditTrailsLifecycleStateEnum = "INACTIVE"
	ListAuditTrailsLifecycleStateUpdating       ListAuditTrailsLifecycleStateEnum = "UPDATING"
	ListAuditTrailsLifecycleStateActive         ListAuditTrailsLifecycleStateEnum = "ACTIVE"
	ListAuditTrailsLifecycleStateDeleting       ListAuditTrailsLifecycleStateEnum = "DELETING"
	ListAuditTrailsLifecycleStateFailed         ListAuditTrailsLifecycleStateEnum = "FAILED"
	ListAuditTrailsLifecycleStateNeedsAttention ListAuditTrailsLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for ListAuditTrailsLifecycleStateEnum

func GetListAuditTrailsLifecycleStateEnumValues ¶

func GetListAuditTrailsLifecycleStateEnumValues() []ListAuditTrailsLifecycleStateEnum

GetListAuditTrailsLifecycleStateEnumValues Enumerates the set of values for ListAuditTrailsLifecycleStateEnum

func GetMappingListAuditTrailsLifecycleStateEnum ¶

func GetMappingListAuditTrailsLifecycleStateEnum(val string) (ListAuditTrailsLifecycleStateEnum, bool)

GetMappingListAuditTrailsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailsRequest ¶

type ListAuditTrailsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListAuditTrailsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A optional filter to return only resources that match the specified id.
	AuditTrailId *string `mandatory:"false" contributesTo:"query" name:"auditTrailId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A optional filter to return only resources that match the specified lifecycle state.
	LifecycleState ListAuditTrailsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A optional filter to return only resources that match the specified sub-state of audit trail.
	Status ListAuditTrailsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAuditTrailsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListAuditTrailsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAuditTrailsRequest wrapper for the ListAuditTrails operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAuditTrails.go.html to see an example of how to use ListAuditTrailsRequest.

func (ListAuditTrailsRequest) BinaryRequestBody ¶

func (request ListAuditTrailsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAuditTrailsRequest) HTTPRequest ¶

func (request ListAuditTrailsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAuditTrailsRequest) RetryPolicy ¶

func (request ListAuditTrailsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAuditTrailsRequest) String ¶

func (request ListAuditTrailsRequest) String() string

func (ListAuditTrailsRequest) ValidateEnumValue ¶

func (request ListAuditTrailsRequest) 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 ListAuditTrailsResponse ¶

type ListAuditTrailsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AuditTrailCollection instances
	AuditTrailCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAuditTrailsResponse wrapper for the ListAuditTrails operation

func (ListAuditTrailsResponse) HTTPResponse ¶

func (response ListAuditTrailsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAuditTrailsResponse) String ¶

func (response ListAuditTrailsResponse) String() string

type ListAuditTrailsSortByEnum ¶

type ListAuditTrailsSortByEnum string

ListAuditTrailsSortByEnum Enum with underlying type: string

const (
	ListAuditTrailsSortByTimecreated ListAuditTrailsSortByEnum = "TIMECREATED"
	ListAuditTrailsSortByDisplayname ListAuditTrailsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAuditTrailsSortByEnum

func GetListAuditTrailsSortByEnumValues ¶

func GetListAuditTrailsSortByEnumValues() []ListAuditTrailsSortByEnum

GetListAuditTrailsSortByEnumValues Enumerates the set of values for ListAuditTrailsSortByEnum

func GetMappingListAuditTrailsSortByEnum ¶

func GetMappingListAuditTrailsSortByEnum(val string) (ListAuditTrailsSortByEnum, bool)

GetMappingListAuditTrailsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailsSortOrderEnum ¶

type ListAuditTrailsSortOrderEnum string

ListAuditTrailsSortOrderEnum Enum with underlying type: string

const (
	ListAuditTrailsSortOrderAsc  ListAuditTrailsSortOrderEnum = "ASC"
	ListAuditTrailsSortOrderDesc ListAuditTrailsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAuditTrailsSortOrderEnum

func GetListAuditTrailsSortOrderEnumValues ¶

func GetListAuditTrailsSortOrderEnumValues() []ListAuditTrailsSortOrderEnum

GetListAuditTrailsSortOrderEnumValues Enumerates the set of values for ListAuditTrailsSortOrderEnum

func GetMappingListAuditTrailsSortOrderEnum ¶

func GetMappingListAuditTrailsSortOrderEnum(val string) (ListAuditTrailsSortOrderEnum, bool)

GetMappingListAuditTrailsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAuditTrailsStatusEnum ¶

type ListAuditTrailsStatusEnum string

ListAuditTrailsStatusEnum Enum with underlying type: string

const (
	ListAuditTrailsStatusStarting         ListAuditTrailsStatusEnum = "STARTING"
	ListAuditTrailsStatusCollecting       ListAuditTrailsStatusEnum = "COLLECTING"
	ListAuditTrailsStatusRecovering       ListAuditTrailsStatusEnum = "RECOVERING"
	ListAuditTrailsStatusIdle             ListAuditTrailsStatusEnum = "IDLE"
	ListAuditTrailsStatusStopping         ListAuditTrailsStatusEnum = "STOPPING"
	ListAuditTrailsStatusStopped          ListAuditTrailsStatusEnum = "STOPPED"
	ListAuditTrailsStatusResuming         ListAuditTrailsStatusEnum = "RESUMING"
	ListAuditTrailsStatusRetrying         ListAuditTrailsStatusEnum = "RETRYING"
	ListAuditTrailsStatusNotStarted       ListAuditTrailsStatusEnum = "NOT_STARTED"
	ListAuditTrailsStatusStoppedNeedsAttn ListAuditTrailsStatusEnum = "STOPPED_NEEDS_ATTN"
	ListAuditTrailsStatusStoppedFailed    ListAuditTrailsStatusEnum = "STOPPED_FAILED"
)

Set of constants representing the allowable values for ListAuditTrailsStatusEnum

func GetListAuditTrailsStatusEnumValues ¶

func GetListAuditTrailsStatusEnumValues() []ListAuditTrailsStatusEnum

GetListAuditTrailsStatusEnumValues Enumerates the set of values for ListAuditTrailsStatusEnum

func GetMappingListAuditTrailsStatusEnum ¶

func GetMappingListAuditTrailsStatusEnum(val string) (ListAuditTrailsStatusEnum, bool)

GetMappingListAuditTrailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableAuditVolumesRequest ¶

type ListAvailableAuditVolumesRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"query" name:"workRequestId"`

	// The audit trail location.
	TrailLocation *string `mandatory:"false" contributesTo:"query" name:"trailLocation"`

	// Specifying `monthInConsiderationGreaterThan` parameter
	// will retrieve all items for which the event month is
	// greater than the date and time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T00:00:00.000Z
	MonthInConsiderationGreaterThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"monthInConsiderationGreaterThan"`

	// Specifying `monthInConsiderationLessThan` parameter
	// will retrieve all items for which the event month is
	// less than the date and time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T00:00:00.000Z
	MonthInConsiderationLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"monthInConsiderationLessThan"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListAvailableAuditVolumesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order(sortOrder). The default order for all fields is ascending.
	SortBy ListAvailableAuditVolumesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListAvailableAuditVolumesRequest wrapper for the ListAvailableAuditVolumes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListAvailableAuditVolumes.go.html to see an example of how to use ListAvailableAuditVolumesRequest.

func (ListAvailableAuditVolumesRequest) BinaryRequestBody ¶

func (request ListAvailableAuditVolumesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAvailableAuditVolumesRequest) HTTPRequest ¶

func (request ListAvailableAuditVolumesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAvailableAuditVolumesRequest) RetryPolicy ¶

func (request ListAvailableAuditVolumesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAvailableAuditVolumesRequest) String ¶

func (request ListAvailableAuditVolumesRequest) String() string

func (ListAvailableAuditVolumesRequest) ValidateEnumValue ¶

func (request ListAvailableAuditVolumesRequest) 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 ListAvailableAuditVolumesResponse ¶

type ListAvailableAuditVolumesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AvailableAuditVolumeCollection instances
	AvailableAuditVolumeCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListAvailableAuditVolumesResponse wrapper for the ListAvailableAuditVolumes operation

func (ListAvailableAuditVolumesResponse) HTTPResponse ¶

func (response ListAvailableAuditVolumesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAvailableAuditVolumesResponse) String ¶

func (response ListAvailableAuditVolumesResponse) String() string

type ListAvailableAuditVolumesSortByEnum ¶

type ListAvailableAuditVolumesSortByEnum string

ListAvailableAuditVolumesSortByEnum Enum with underlying type: string

const (
	ListAvailableAuditVolumesSortByMonthinconsideration ListAvailableAuditVolumesSortByEnum = "monthInConsideration"
	ListAvailableAuditVolumesSortByVolume               ListAvailableAuditVolumesSortByEnum = "volume"
	ListAvailableAuditVolumesSortByTraillocation        ListAvailableAuditVolumesSortByEnum = "trailLocation"
)

Set of constants representing the allowable values for ListAvailableAuditVolumesSortByEnum

func GetListAvailableAuditVolumesSortByEnumValues ¶

func GetListAvailableAuditVolumesSortByEnumValues() []ListAvailableAuditVolumesSortByEnum

GetListAvailableAuditVolumesSortByEnumValues Enumerates the set of values for ListAvailableAuditVolumesSortByEnum

func GetMappingListAvailableAuditVolumesSortByEnum ¶

func GetMappingListAvailableAuditVolumesSortByEnum(val string) (ListAvailableAuditVolumesSortByEnum, bool)

GetMappingListAvailableAuditVolumesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableAuditVolumesSortOrderEnum ¶

type ListAvailableAuditVolumesSortOrderEnum string

ListAvailableAuditVolumesSortOrderEnum Enum with underlying type: string

const (
	ListAvailableAuditVolumesSortOrderAsc  ListAvailableAuditVolumesSortOrderEnum = "ASC"
	ListAvailableAuditVolumesSortOrderDesc ListAvailableAuditVolumesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAvailableAuditVolumesSortOrderEnum

func GetListAvailableAuditVolumesSortOrderEnumValues ¶

func GetListAvailableAuditVolumesSortOrderEnumValues() []ListAvailableAuditVolumesSortOrderEnum

GetListAvailableAuditVolumesSortOrderEnumValues Enumerates the set of values for ListAvailableAuditVolumesSortOrderEnum

func GetMappingListAvailableAuditVolumesSortOrderEnum ¶

func GetMappingListAvailableAuditVolumesSortOrderEnum(val string) (ListAvailableAuditVolumesSortOrderEnum, bool)

GetMappingListAvailableAuditVolumesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCollectedAuditVolumesRequest ¶

type ListCollectedAuditVolumesRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"query" name:"workRequestId"`

	// Specifying `monthInConsiderationGreaterThan` parameter
	// will retrieve all items for which the event month is
	// greater than the date and time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T00:00:00.000Z
	MonthInConsiderationGreaterThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"monthInConsiderationGreaterThan"`

	// Specifying `monthInConsiderationLessThan` parameter
	// will retrieve all items for which the event month is
	// less than the date and time specified,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T00:00:00.000Z
	MonthInConsiderationLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"monthInConsiderationLessThan"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListCollectedAuditVolumesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order(sortOrder). The default order for all fields is ascending.
	SortBy ListCollectedAuditVolumesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListCollectedAuditVolumesRequest wrapper for the ListCollectedAuditVolumes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListCollectedAuditVolumes.go.html to see an example of how to use ListCollectedAuditVolumesRequest.

func (ListCollectedAuditVolumesRequest) BinaryRequestBody ¶

func (request ListCollectedAuditVolumesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCollectedAuditVolumesRequest) HTTPRequest ¶

func (request ListCollectedAuditVolumesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCollectedAuditVolumesRequest) RetryPolicy ¶

func (request ListCollectedAuditVolumesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCollectedAuditVolumesRequest) String ¶

func (request ListCollectedAuditVolumesRequest) String() string

func (ListCollectedAuditVolumesRequest) ValidateEnumValue ¶

func (request ListCollectedAuditVolumesRequest) 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 ListCollectedAuditVolumesResponse ¶

type ListCollectedAuditVolumesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CollectedAuditVolumeCollection instances
	CollectedAuditVolumeCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListCollectedAuditVolumesResponse wrapper for the ListCollectedAuditVolumes operation

func (ListCollectedAuditVolumesResponse) HTTPResponse ¶

func (response ListCollectedAuditVolumesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCollectedAuditVolumesResponse) String ¶

func (response ListCollectedAuditVolumesResponse) String() string

type ListCollectedAuditVolumesSortByEnum ¶

type ListCollectedAuditVolumesSortByEnum string

ListCollectedAuditVolumesSortByEnum Enum with underlying type: string

const (
	ListCollectedAuditVolumesSortByMonthinconsideration ListCollectedAuditVolumesSortByEnum = "monthInConsideration"
	ListCollectedAuditVolumesSortByOnlinevolume         ListCollectedAuditVolumesSortByEnum = "onlineVolume"
	ListCollectedAuditVolumesSortByArchivedvolume       ListCollectedAuditVolumesSortByEnum = "archivedVolume"
)

Set of constants representing the allowable values for ListCollectedAuditVolumesSortByEnum

func GetListCollectedAuditVolumesSortByEnumValues ¶

func GetListCollectedAuditVolumesSortByEnumValues() []ListCollectedAuditVolumesSortByEnum

GetListCollectedAuditVolumesSortByEnumValues Enumerates the set of values for ListCollectedAuditVolumesSortByEnum

func GetMappingListCollectedAuditVolumesSortByEnum ¶

func GetMappingListCollectedAuditVolumesSortByEnum(val string) (ListCollectedAuditVolumesSortByEnum, bool)

GetMappingListCollectedAuditVolumesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCollectedAuditVolumesSortOrderEnum ¶

type ListCollectedAuditVolumesSortOrderEnum string

ListCollectedAuditVolumesSortOrderEnum Enum with underlying type: string

const (
	ListCollectedAuditVolumesSortOrderAsc  ListCollectedAuditVolumesSortOrderEnum = "ASC"
	ListCollectedAuditVolumesSortOrderDesc ListCollectedAuditVolumesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCollectedAuditVolumesSortOrderEnum

func GetListCollectedAuditVolumesSortOrderEnumValues ¶

func GetListCollectedAuditVolumesSortOrderEnumValues() []ListCollectedAuditVolumesSortOrderEnum

GetListCollectedAuditVolumesSortOrderEnumValues Enumerates the set of values for ListCollectedAuditVolumesSortOrderEnum

func GetMappingListCollectedAuditVolumesSortOrderEnum ¶

func GetMappingListCollectedAuditVolumesSortOrderEnum(val string) (ListCollectedAuditVolumesSortOrderEnum, bool)

GetMappingListCollectedAuditVolumesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListColumnsRequest ¶

type ListColumnsRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to specific table name.
	TableName []string `contributesTo:"query" name:"tableName" collectionFormat:"multi"`

	// A filter to return only a specific column based on column name.
	ColumnName []string `contributesTo:"query" name:"columnName" collectionFormat:"multi"`

	// A filter to return only items related to specific datatype.
	Datatype []string `contributesTo:"query" name:"datatype" collectionFormat:"multi"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListColumnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	SortBy ListColumnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items if schema name contains a specific string.
	SchemaNameContains *string `mandatory:"false" contributesTo:"query" name:"schemaNameContains"`

	// A filter to return only items if table name contains a specific string.
	TableNameContains *string `mandatory:"false" contributesTo:"query" name:"tableNameContains"`

	// A filter to return only items if column name contains a specific string.
	ColumnNameContains *string `mandatory:"false" contributesTo:"query" name:"columnNameContains"`

	// 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
}

ListColumnsRequest wrapper for the ListColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListColumns.go.html to see an example of how to use ListColumnsRequest.

func (ListColumnsRequest) BinaryRequestBody ¶

func (request ListColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListColumnsRequest) HTTPRequest ¶

func (request ListColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListColumnsRequest) RetryPolicy ¶

func (request ListColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListColumnsRequest) String ¶

func (request ListColumnsRequest) String() string

func (ListColumnsRequest) ValidateEnumValue ¶

func (request ListColumnsRequest) 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 ListColumnsResponse ¶

type ListColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ColumnSummary instances
	Items []ColumnSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListColumnsResponse wrapper for the ListColumns operation

func (ListColumnsResponse) HTTPResponse ¶

func (response ListColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListColumnsResponse) String ¶

func (response ListColumnsResponse) String() string

type ListColumnsSortByEnum ¶

type ListColumnsSortByEnum string

ListColumnsSortByEnum Enum with underlying type: string

const (
	ListColumnsSortBySchemaname ListColumnsSortByEnum = "SCHEMANAME"
	ListColumnsSortByTablename  ListColumnsSortByEnum = "TABLENAME"
	ListColumnsSortByColumnname ListColumnsSortByEnum = "COLUMNNAME"
	ListColumnsSortByDatatype   ListColumnsSortByEnum = "DATATYPE"
)

Set of constants representing the allowable values for ListColumnsSortByEnum

func GetListColumnsSortByEnumValues ¶

func GetListColumnsSortByEnumValues() []ListColumnsSortByEnum

GetListColumnsSortByEnumValues Enumerates the set of values for ListColumnsSortByEnum

func GetMappingListColumnsSortByEnum ¶

func GetMappingListColumnsSortByEnum(val string) (ListColumnsSortByEnum, bool)

GetMappingListColumnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListColumnsSortOrderEnum ¶

type ListColumnsSortOrderEnum string

ListColumnsSortOrderEnum Enum with underlying type: string

const (
	ListColumnsSortOrderAsc  ListColumnsSortOrderEnum = "ASC"
	ListColumnsSortOrderDesc ListColumnsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListColumnsSortOrderEnum

func GetListColumnsSortOrderEnumValues ¶

func GetListColumnsSortOrderEnumValues() []ListColumnsSortOrderEnum

GetListColumnsSortOrderEnumValues Enumerates the set of values for ListColumnsSortOrderEnum

func GetMappingListColumnsSortOrderEnum ¶

func GetMappingListColumnsSortOrderEnum(val string) (ListColumnsSortOrderEnum, bool)

GetMappingListColumnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSafePrivateEndpointsAccessLevelEnum ¶

type ListDataSafePrivateEndpointsAccessLevelEnum string

ListDataSafePrivateEndpointsAccessLevelEnum Enum with underlying type: string

const (
	ListDataSafePrivateEndpointsAccessLevelRestricted ListDataSafePrivateEndpointsAccessLevelEnum = "RESTRICTED"
	ListDataSafePrivateEndpointsAccessLevelAccessible ListDataSafePrivateEndpointsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDataSafePrivateEndpointsAccessLevelEnum

func GetListDataSafePrivateEndpointsAccessLevelEnumValues ¶

func GetListDataSafePrivateEndpointsAccessLevelEnumValues() []ListDataSafePrivateEndpointsAccessLevelEnum

GetListDataSafePrivateEndpointsAccessLevelEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsAccessLevelEnum

func GetMappingListDataSafePrivateEndpointsAccessLevelEnum ¶

func GetMappingListDataSafePrivateEndpointsAccessLevelEnum(val string) (ListDataSafePrivateEndpointsAccessLevelEnum, bool)

GetMappingListDataSafePrivateEndpointsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSafePrivateEndpointsLifecycleStateEnum ¶

type ListDataSafePrivateEndpointsLifecycleStateEnum string

ListDataSafePrivateEndpointsLifecycleStateEnum Enum with underlying type: string

const (
	ListDataSafePrivateEndpointsLifecycleStateCreating ListDataSafePrivateEndpointsLifecycleStateEnum = "CREATING"
	ListDataSafePrivateEndpointsLifecycleStateUpdating ListDataSafePrivateEndpointsLifecycleStateEnum = "UPDATING"
	ListDataSafePrivateEndpointsLifecycleStateActive   ListDataSafePrivateEndpointsLifecycleStateEnum = "ACTIVE"
	ListDataSafePrivateEndpointsLifecycleStateDeleting ListDataSafePrivateEndpointsLifecycleStateEnum = "DELETING"
	ListDataSafePrivateEndpointsLifecycleStateDeleted  ListDataSafePrivateEndpointsLifecycleStateEnum = "DELETED"
	ListDataSafePrivateEndpointsLifecycleStateFailed   ListDataSafePrivateEndpointsLifecycleStateEnum = "FAILED"
	ListDataSafePrivateEndpointsLifecycleStateNa       ListDataSafePrivateEndpointsLifecycleStateEnum = "NA"
)

Set of constants representing the allowable values for ListDataSafePrivateEndpointsLifecycleStateEnum

func GetListDataSafePrivateEndpointsLifecycleStateEnumValues ¶

func GetListDataSafePrivateEndpointsLifecycleStateEnumValues() []ListDataSafePrivateEndpointsLifecycleStateEnum

GetListDataSafePrivateEndpointsLifecycleStateEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsLifecycleStateEnum

func GetMappingListDataSafePrivateEndpointsLifecycleStateEnum ¶

func GetMappingListDataSafePrivateEndpointsLifecycleStateEnum(val string) (ListDataSafePrivateEndpointsLifecycleStateEnum, bool)

GetMappingListDataSafePrivateEndpointsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSafePrivateEndpointsRequest ¶

type ListDataSafePrivateEndpointsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that match the specified VCN OCID.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// A filter to return only resources that match the specified lifecycle state.
	LifecycleState ListDataSafePrivateEndpointsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListDataSafePrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListDataSafePrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListDataSafePrivateEndpointsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

ListDataSafePrivateEndpointsRequest wrapper for the ListDataSafePrivateEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListDataSafePrivateEndpoints.go.html to see an example of how to use ListDataSafePrivateEndpointsRequest.

func (ListDataSafePrivateEndpointsRequest) BinaryRequestBody ¶

func (request ListDataSafePrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataSafePrivateEndpointsRequest) HTTPRequest ¶

func (request ListDataSafePrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataSafePrivateEndpointsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataSafePrivateEndpointsRequest) String ¶

func (ListDataSafePrivateEndpointsRequest) ValidateEnumValue ¶

func (request ListDataSafePrivateEndpointsRequest) 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 ListDataSafePrivateEndpointsResponse ¶

type ListDataSafePrivateEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DataSafePrivateEndpointSummary instances
	Items []DataSafePrivateEndpointSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListDataSafePrivateEndpointsResponse wrapper for the ListDataSafePrivateEndpoints operation

func (ListDataSafePrivateEndpointsResponse) HTTPResponse ¶

func (response ListDataSafePrivateEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataSafePrivateEndpointsResponse) String ¶

func (response ListDataSafePrivateEndpointsResponse) String() string

type ListDataSafePrivateEndpointsSortByEnum ¶

type ListDataSafePrivateEndpointsSortByEnum string

ListDataSafePrivateEndpointsSortByEnum Enum with underlying type: string

const (
	ListDataSafePrivateEndpointsSortByTimecreated ListDataSafePrivateEndpointsSortByEnum = "TIMECREATED"
	ListDataSafePrivateEndpointsSortByDisplayname ListDataSafePrivateEndpointsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDataSafePrivateEndpointsSortByEnum

func GetListDataSafePrivateEndpointsSortByEnumValues ¶

func GetListDataSafePrivateEndpointsSortByEnumValues() []ListDataSafePrivateEndpointsSortByEnum

GetListDataSafePrivateEndpointsSortByEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsSortByEnum

func GetMappingListDataSafePrivateEndpointsSortByEnum ¶

func GetMappingListDataSafePrivateEndpointsSortByEnum(val string) (ListDataSafePrivateEndpointsSortByEnum, bool)

GetMappingListDataSafePrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSafePrivateEndpointsSortOrderEnum ¶

type ListDataSafePrivateEndpointsSortOrderEnum string

ListDataSafePrivateEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListDataSafePrivateEndpointsSortOrderAsc  ListDataSafePrivateEndpointsSortOrderEnum = "ASC"
	ListDataSafePrivateEndpointsSortOrderDesc ListDataSafePrivateEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataSafePrivateEndpointsSortOrderEnum

func GetListDataSafePrivateEndpointsSortOrderEnumValues ¶

func GetListDataSafePrivateEndpointsSortOrderEnumValues() []ListDataSafePrivateEndpointsSortOrderEnum

GetListDataSafePrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDataSafePrivateEndpointsSortOrderEnum

func GetMappingListDataSafePrivateEndpointsSortOrderEnum ¶

func GetMappingListDataSafePrivateEndpointsSortOrderEnum(val string) (ListDataSafePrivateEndpointsSortOrderEnum, bool)

GetMappingListDataSafePrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDifferenceColumnsRequest ¶ added in v65.35.0

type ListDifferenceColumnsRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// A filter to return only the SDM masking policy difference columns that match the specified difference type
	DifferenceType SdmMaskingPolicyDifferenceDifferenceTypeEnum `mandatory:"false" contributesTo:"query" name:"differenceType" omitEmpty:"true"`

	// A filter to return only the SDM masking policy difference columns that match the specified planned action.
	PlannedAction DifferenceColumnPlannedActionEnum `mandatory:"false" contributesTo:"query" name:"plannedAction" omitEmpty:"true"`

	// A filter to return the SDM masking policy difference columns based on the value of their syncStatus attribute.
	SyncStatus DifferenceColumnSyncStatusEnum `mandatory:"false" contributesTo:"query" name:"syncStatus" omitEmpty:"true"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only a specific column based on column name.
	ColumnName []string `contributesTo:"query" name:"columnName" collectionFormat:"multi"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListDifferenceColumnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for schemaName is descending.
	// The default order for differenceType, schemaName, objectName, columnName and plannedAction is ascending.
	SortBy ListDifferenceColumnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	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
}

ListDifferenceColumnsRequest wrapper for the ListDifferenceColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListDifferenceColumns.go.html to see an example of how to use ListDifferenceColumnsRequest.

func (ListDifferenceColumnsRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListDifferenceColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDifferenceColumnsRequest) HTTPRequest ¶ added in v65.35.0

func (request ListDifferenceColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDifferenceColumnsRequest) RetryPolicy ¶ added in v65.35.0

func (request ListDifferenceColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDifferenceColumnsRequest) String ¶ added in v65.35.0

func (request ListDifferenceColumnsRequest) String() string

func (ListDifferenceColumnsRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListDifferenceColumnsRequest) 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 ListDifferenceColumnsResponse ¶ added in v65.35.0

type ListDifferenceColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SdmMaskingPolicyDifferenceColumnCollection instances
	SdmMaskingPolicyDifferenceColumnCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListDifferenceColumnsResponse wrapper for the ListDifferenceColumns operation

func (ListDifferenceColumnsResponse) HTTPResponse ¶ added in v65.35.0

func (response ListDifferenceColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDifferenceColumnsResponse) String ¶ added in v65.35.0

func (response ListDifferenceColumnsResponse) String() string

type ListDifferenceColumnsSortByEnum ¶ added in v65.35.0

type ListDifferenceColumnsSortByEnum string

ListDifferenceColumnsSortByEnum Enum with underlying type: string

const (
	ListDifferenceColumnsSortByDifferencetype ListDifferenceColumnsSortByEnum = "differenceType"
	ListDifferenceColumnsSortBySchemaname     ListDifferenceColumnsSortByEnum = "schemaName"
	ListDifferenceColumnsSortByObjectname     ListDifferenceColumnsSortByEnum = "objectName"
	ListDifferenceColumnsSortByColumnname     ListDifferenceColumnsSortByEnum = "columnName"
	ListDifferenceColumnsSortByPlannedaction  ListDifferenceColumnsSortByEnum = "plannedAction"
)

Set of constants representing the allowable values for ListDifferenceColumnsSortByEnum

func GetListDifferenceColumnsSortByEnumValues ¶ added in v65.35.0

func GetListDifferenceColumnsSortByEnumValues() []ListDifferenceColumnsSortByEnum

GetListDifferenceColumnsSortByEnumValues Enumerates the set of values for ListDifferenceColumnsSortByEnum

func GetMappingListDifferenceColumnsSortByEnum ¶ added in v65.35.0

func GetMappingListDifferenceColumnsSortByEnum(val string) (ListDifferenceColumnsSortByEnum, bool)

GetMappingListDifferenceColumnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDifferenceColumnsSortOrderEnum ¶ added in v65.35.0

type ListDifferenceColumnsSortOrderEnum string

ListDifferenceColumnsSortOrderEnum Enum with underlying type: string

const (
	ListDifferenceColumnsSortOrderAsc  ListDifferenceColumnsSortOrderEnum = "ASC"
	ListDifferenceColumnsSortOrderDesc ListDifferenceColumnsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDifferenceColumnsSortOrderEnum

func GetListDifferenceColumnsSortOrderEnumValues ¶ added in v65.35.0

func GetListDifferenceColumnsSortOrderEnumValues() []ListDifferenceColumnsSortOrderEnum

GetListDifferenceColumnsSortOrderEnumValues Enumerates the set of values for ListDifferenceColumnsSortOrderEnum

func GetMappingListDifferenceColumnsSortOrderEnum ¶ added in v65.35.0

func GetMappingListDifferenceColumnsSortOrderEnum(val string) (ListDifferenceColumnsSortOrderEnum, bool)

GetMappingListDifferenceColumnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryAnalyticsGroupByEnum ¶

type ListDiscoveryAnalyticsGroupByEnum string

ListDiscoveryAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListDiscoveryAnalyticsGroupByTargetid             ListDiscoveryAnalyticsGroupByEnum = "targetId"
	ListDiscoveryAnalyticsGroupBySensitivedatamodelid ListDiscoveryAnalyticsGroupByEnum = "sensitiveDataModelId"
)

Set of constants representing the allowable values for ListDiscoveryAnalyticsGroupByEnum

func GetListDiscoveryAnalyticsGroupByEnumValues ¶

func GetListDiscoveryAnalyticsGroupByEnumValues() []ListDiscoveryAnalyticsGroupByEnum

GetListDiscoveryAnalyticsGroupByEnumValues Enumerates the set of values for ListDiscoveryAnalyticsGroupByEnum

func GetMappingListDiscoveryAnalyticsGroupByEnum ¶

func GetMappingListDiscoveryAnalyticsGroupByEnum(val string) (ListDiscoveryAnalyticsGroupByEnum, bool)

GetMappingListDiscoveryAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryAnalyticsRequest ¶

type ListDiscoveryAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Attribute by which the discovery analytics data should be grouped.
	GroupBy ListDiscoveryAnalyticsGroupByEnum `mandatory:"false" contributesTo:"query" name:"groupBy" omitEmpty:"true"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return only the resources that match the specified sensitive data model OCID.
	SensitiveDataModelId *string `mandatory:"false" contributesTo:"query" name:"sensitiveDataModelId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListDiscoveryAnalyticsRequest wrapper for the ListDiscoveryAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListDiscoveryAnalytics.go.html to see an example of how to use ListDiscoveryAnalyticsRequest.

func (ListDiscoveryAnalyticsRequest) BinaryRequestBody ¶

func (request ListDiscoveryAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDiscoveryAnalyticsRequest) HTTPRequest ¶

func (request ListDiscoveryAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDiscoveryAnalyticsRequest) RetryPolicy ¶

func (request ListDiscoveryAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDiscoveryAnalyticsRequest) String ¶

func (request ListDiscoveryAnalyticsRequest) String() string

func (ListDiscoveryAnalyticsRequest) ValidateEnumValue ¶

func (request ListDiscoveryAnalyticsRequest) 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 ListDiscoveryAnalyticsResponse ¶

type ListDiscoveryAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DiscoveryAnalyticsCollection instances
	DiscoveryAnalyticsCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListDiscoveryAnalyticsResponse wrapper for the ListDiscoveryAnalytics operation

func (ListDiscoveryAnalyticsResponse) HTTPResponse ¶

func (response ListDiscoveryAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDiscoveryAnalyticsResponse) String ¶

func (response ListDiscoveryAnalyticsResponse) String() string

type ListDiscoveryJobResultsRequest ¶

type ListDiscoveryJobResultsRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// A filter to return only the resources that match the specified discovery type.
	DiscoveryType DiscoveryJobDiscoveryTypeEnum `mandatory:"false" contributesTo:"query" name:"discoveryType" omitEmpty:"true"`

	// A filter to return only the resources that match the specified planned action.
	PlannedAction DiscoveryJobResultPlannedActionEnum `mandatory:"false" contributesTo:"query" name:"plannedAction" omitEmpty:"true"`

	// A filter to return the discovery result resources based on the value of their isResultApplied attribute.
	IsResultApplied *bool `mandatory:"false" contributesTo:"query" name:"isResultApplied"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only a specific column based on column name.
	ColumnName []string `contributesTo:"query" name:"columnName" collectionFormat:"multi"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListDiscoveryJobResultsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeFinished is descending.
	// The default order for discoveryType, schemaName, objectName, columnName and plannedAction is ascending.
	SortBy ListDiscoveryJobResultsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	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
}

ListDiscoveryJobResultsRequest wrapper for the ListDiscoveryJobResults operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListDiscoveryJobResults.go.html to see an example of how to use ListDiscoveryJobResultsRequest.

func (ListDiscoveryJobResultsRequest) BinaryRequestBody ¶

func (request ListDiscoveryJobResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDiscoveryJobResultsRequest) HTTPRequest ¶

func (request ListDiscoveryJobResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDiscoveryJobResultsRequest) RetryPolicy ¶

func (request ListDiscoveryJobResultsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDiscoveryJobResultsRequest) String ¶

func (request ListDiscoveryJobResultsRequest) String() string

func (ListDiscoveryJobResultsRequest) ValidateEnumValue ¶

func (request ListDiscoveryJobResultsRequest) 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 ListDiscoveryJobResultsResponse ¶

type ListDiscoveryJobResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DiscoveryJobResultCollection instances
	DiscoveryJobResultCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListDiscoveryJobResultsResponse wrapper for the ListDiscoveryJobResults operation

func (ListDiscoveryJobResultsResponse) HTTPResponse ¶

func (response ListDiscoveryJobResultsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDiscoveryJobResultsResponse) String ¶

func (response ListDiscoveryJobResultsResponse) String() string

type ListDiscoveryJobResultsSortByEnum ¶

type ListDiscoveryJobResultsSortByEnum string

ListDiscoveryJobResultsSortByEnum Enum with underlying type: string

const (
	ListDiscoveryJobResultsSortByDiscoverytype ListDiscoveryJobResultsSortByEnum = "discoveryType"
	ListDiscoveryJobResultsSortByTimefinished  ListDiscoveryJobResultsSortByEnum = "timeFinished"
	ListDiscoveryJobResultsSortBySchemaname    ListDiscoveryJobResultsSortByEnum = "schemaName"
	ListDiscoveryJobResultsSortByObjectname    ListDiscoveryJobResultsSortByEnum = "objectName"
	ListDiscoveryJobResultsSortByColumnname    ListDiscoveryJobResultsSortByEnum = "columnName"
	ListDiscoveryJobResultsSortByPlannedaction ListDiscoveryJobResultsSortByEnum = "plannedAction"
)

Set of constants representing the allowable values for ListDiscoveryJobResultsSortByEnum

func GetListDiscoveryJobResultsSortByEnumValues ¶

func GetListDiscoveryJobResultsSortByEnumValues() []ListDiscoveryJobResultsSortByEnum

GetListDiscoveryJobResultsSortByEnumValues Enumerates the set of values for ListDiscoveryJobResultsSortByEnum

func GetMappingListDiscoveryJobResultsSortByEnum ¶

func GetMappingListDiscoveryJobResultsSortByEnum(val string) (ListDiscoveryJobResultsSortByEnum, bool)

GetMappingListDiscoveryJobResultsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryJobResultsSortOrderEnum ¶

type ListDiscoveryJobResultsSortOrderEnum string

ListDiscoveryJobResultsSortOrderEnum Enum with underlying type: string

const (
	ListDiscoveryJobResultsSortOrderAsc  ListDiscoveryJobResultsSortOrderEnum = "ASC"
	ListDiscoveryJobResultsSortOrderDesc ListDiscoveryJobResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDiscoveryJobResultsSortOrderEnum

func GetListDiscoveryJobResultsSortOrderEnumValues ¶

func GetListDiscoveryJobResultsSortOrderEnumValues() []ListDiscoveryJobResultsSortOrderEnum

GetListDiscoveryJobResultsSortOrderEnumValues Enumerates the set of values for ListDiscoveryJobResultsSortOrderEnum

func GetMappingListDiscoveryJobResultsSortOrderEnum ¶

func GetMappingListDiscoveryJobResultsSortOrderEnum(val string) (ListDiscoveryJobResultsSortOrderEnum, bool)

GetMappingListDiscoveryJobResultsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryJobsAccessLevelEnum ¶

type ListDiscoveryJobsAccessLevelEnum string

ListDiscoveryJobsAccessLevelEnum Enum with underlying type: string

const (
	ListDiscoveryJobsAccessLevelRestricted ListDiscoveryJobsAccessLevelEnum = "RESTRICTED"
	ListDiscoveryJobsAccessLevelAccessible ListDiscoveryJobsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDiscoveryJobsAccessLevelEnum

func GetListDiscoveryJobsAccessLevelEnumValues ¶

func GetListDiscoveryJobsAccessLevelEnumValues() []ListDiscoveryJobsAccessLevelEnum

GetListDiscoveryJobsAccessLevelEnumValues Enumerates the set of values for ListDiscoveryJobsAccessLevelEnum

func GetMappingListDiscoveryJobsAccessLevelEnum ¶

func GetMappingListDiscoveryJobsAccessLevelEnum(val string) (ListDiscoveryJobsAccessLevelEnum, bool)

GetMappingListDiscoveryJobsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryJobsLifecycleStateEnum ¶

type ListDiscoveryJobsLifecycleStateEnum string

ListDiscoveryJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListDiscoveryJobsLifecycleStateCreating ListDiscoveryJobsLifecycleStateEnum = "CREATING"
	ListDiscoveryJobsLifecycleStateActive   ListDiscoveryJobsLifecycleStateEnum = "ACTIVE"
	ListDiscoveryJobsLifecycleStateUpdating ListDiscoveryJobsLifecycleStateEnum = "UPDATING"
	ListDiscoveryJobsLifecycleStateDeleting ListDiscoveryJobsLifecycleStateEnum = "DELETING"
	ListDiscoveryJobsLifecycleStateDeleted  ListDiscoveryJobsLifecycleStateEnum = "DELETED"
	ListDiscoveryJobsLifecycleStateFailed   ListDiscoveryJobsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDiscoveryJobsLifecycleStateEnum

func GetListDiscoveryJobsLifecycleStateEnumValues ¶

func GetListDiscoveryJobsLifecycleStateEnumValues() []ListDiscoveryJobsLifecycleStateEnum

GetListDiscoveryJobsLifecycleStateEnumValues Enumerates the set of values for ListDiscoveryJobsLifecycleStateEnum

func GetMappingListDiscoveryJobsLifecycleStateEnum ¶

func GetMappingListDiscoveryJobsLifecycleStateEnum(val string) (ListDiscoveryJobsLifecycleStateEnum, bool)

GetMappingListDiscoveryJobsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryJobsRequest ¶

type ListDiscoveryJobsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListDiscoveryJobsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only the resources that match the specified discovery job OCID.
	DiscoveryJobId *string `mandatory:"false" contributesTo:"query" name:"discoveryJobId"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return only the resources that match the specified lifecycle state.
	LifecycleState ListDiscoveryJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only the resources that match the specified sensitive data model OCID.
	SensitiveDataModelId *string `mandatory:"false" contributesTo:"query" name:"sensitiveDataModelId"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListDiscoveryJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeFinished is descending.
	// The default order for displayName is ascending.
	SortBy ListDiscoveryJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	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
}

ListDiscoveryJobsRequest wrapper for the ListDiscoveryJobs operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListDiscoveryJobs.go.html to see an example of how to use ListDiscoveryJobsRequest.

func (ListDiscoveryJobsRequest) BinaryRequestBody ¶

func (request ListDiscoveryJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDiscoveryJobsRequest) HTTPRequest ¶

func (request ListDiscoveryJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDiscoveryJobsRequest) RetryPolicy ¶

func (request ListDiscoveryJobsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDiscoveryJobsRequest) String ¶

func (request ListDiscoveryJobsRequest) String() string

func (ListDiscoveryJobsRequest) ValidateEnumValue ¶

func (request ListDiscoveryJobsRequest) 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 ListDiscoveryJobsResponse ¶

type ListDiscoveryJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DiscoveryJobCollection instances
	DiscoveryJobCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListDiscoveryJobsResponse wrapper for the ListDiscoveryJobs operation

func (ListDiscoveryJobsResponse) HTTPResponse ¶

func (response ListDiscoveryJobsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDiscoveryJobsResponse) String ¶

func (response ListDiscoveryJobsResponse) String() string

type ListDiscoveryJobsSortByEnum ¶

type ListDiscoveryJobsSortByEnum string

ListDiscoveryJobsSortByEnum Enum with underlying type: string

const (
	ListDiscoveryJobsSortByTimestarted ListDiscoveryJobsSortByEnum = "timeStarted"
	ListDiscoveryJobsSortByDisplayname ListDiscoveryJobsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDiscoveryJobsSortByEnum

func GetListDiscoveryJobsSortByEnumValues ¶

func GetListDiscoveryJobsSortByEnumValues() []ListDiscoveryJobsSortByEnum

GetListDiscoveryJobsSortByEnumValues Enumerates the set of values for ListDiscoveryJobsSortByEnum

func GetMappingListDiscoveryJobsSortByEnum ¶

func GetMappingListDiscoveryJobsSortByEnum(val string) (ListDiscoveryJobsSortByEnum, bool)

GetMappingListDiscoveryJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDiscoveryJobsSortOrderEnum ¶

type ListDiscoveryJobsSortOrderEnum string

ListDiscoveryJobsSortOrderEnum Enum with underlying type: string

const (
	ListDiscoveryJobsSortOrderAsc  ListDiscoveryJobsSortOrderEnum = "ASC"
	ListDiscoveryJobsSortOrderDesc ListDiscoveryJobsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDiscoveryJobsSortOrderEnum

func GetListDiscoveryJobsSortOrderEnumValues ¶

func GetListDiscoveryJobsSortOrderEnumValues() []ListDiscoveryJobsSortOrderEnum

GetListDiscoveryJobsSortOrderEnumValues Enumerates the set of values for ListDiscoveryJobsSortOrderEnum

func GetMappingListDiscoveryJobsSortOrderEnum ¶

func GetMappingListDiscoveryJobsSortOrderEnum(val string) (ListDiscoveryJobsSortOrderEnum, bool)

GetMappingListDiscoveryJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFindingsAccessLevelEnum ¶

type ListFindingsAccessLevelEnum string

ListFindingsAccessLevelEnum Enum with underlying type: string

const (
	ListFindingsAccessLevelRestricted ListFindingsAccessLevelEnum = "RESTRICTED"
	ListFindingsAccessLevelAccessible ListFindingsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListFindingsAccessLevelEnum

func GetListFindingsAccessLevelEnumValues ¶

func GetListFindingsAccessLevelEnumValues() []ListFindingsAccessLevelEnum

GetListFindingsAccessLevelEnumValues Enumerates the set of values for ListFindingsAccessLevelEnum

func GetMappingListFindingsAccessLevelEnum ¶

func GetMappingListFindingsAccessLevelEnum(val string) (ListFindingsAccessLevelEnum, bool)

GetMappingListFindingsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFindingsReferencesEnum ¶ added in v65.35.0

type ListFindingsReferencesEnum string

ListFindingsReferencesEnum Enum with underlying type: string

const (
	ListFindingsReferencesStig ListFindingsReferencesEnum = "STIG"
	ListFindingsReferencesCis  ListFindingsReferencesEnum = "CIS"
	ListFindingsReferencesGdpr ListFindingsReferencesEnum = "GDPR"
)

Set of constants representing the allowable values for ListFindingsReferencesEnum

func GetListFindingsReferencesEnumValues ¶ added in v65.35.0

func GetListFindingsReferencesEnumValues() []ListFindingsReferencesEnum

GetListFindingsReferencesEnumValues Enumerates the set of values for ListFindingsReferencesEnum

func GetMappingListFindingsReferencesEnum ¶ added in v65.35.0

func GetMappingListFindingsReferencesEnum(val string) (ListFindingsReferencesEnum, bool)

GetMappingListFindingsReferencesEnum performs case Insensitive comparison on enum value and return the desired enum

type ListFindingsRequest ¶

type ListFindingsRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only findings of a particular risk level.
	Severity ListFindingsSeverityEnum `mandatory:"false" contributesTo:"query" name:"severity" omitEmpty:"true"`

	// An optional filter to return only findings containing the specified reference.
	References ListFindingsReferencesEnum `mandatory:"false" contributesTo:"query" name:"references" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListFindingsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// Each finding has a key. This key is same for the finding across targets
	FindingKey *string `mandatory:"false" contributesTo:"query" name:"findingKey"`

	// 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
}

ListFindingsRequest wrapper for the ListFindings operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListFindings.go.html to see an example of how to use ListFindingsRequest.

func (ListFindingsRequest) BinaryRequestBody ¶

func (request ListFindingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListFindingsRequest) HTTPRequest ¶

func (request ListFindingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListFindingsRequest) RetryPolicy ¶

func (request ListFindingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListFindingsRequest) String ¶

func (request ListFindingsRequest) String() string

func (ListFindingsRequest) ValidateEnumValue ¶

func (request ListFindingsRequest) 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 ListFindingsResponse ¶

type ListFindingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []FindingSummary instances
	Items []FindingSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListFindingsResponse wrapper for the ListFindings operation

func (ListFindingsResponse) HTTPResponse ¶

func (response ListFindingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListFindingsResponse) String ¶

func (response ListFindingsResponse) String() string

type ListFindingsSeverityEnum ¶

type ListFindingsSeverityEnum string

ListFindingsSeverityEnum Enum with underlying type: string

const (
	ListFindingsSeverityHigh     ListFindingsSeverityEnum = "HIGH"
	ListFindingsSeverityMedium   ListFindingsSeverityEnum = "MEDIUM"
	ListFindingsSeverityLow      ListFindingsSeverityEnum = "LOW"
	ListFindingsSeverityEvaluate ListFindingsSeverityEnum = "EVALUATE"
	ListFindingsSeverityAdvisory ListFindingsSeverityEnum = "ADVISORY"
	ListFindingsSeverityPass     ListFindingsSeverityEnum = "PASS"
)

Set of constants representing the allowable values for ListFindingsSeverityEnum

func GetListFindingsSeverityEnumValues ¶

func GetListFindingsSeverityEnumValues() []ListFindingsSeverityEnum

GetListFindingsSeverityEnumValues Enumerates the set of values for ListFindingsSeverityEnum

func GetMappingListFindingsSeverityEnum ¶

func GetMappingListFindingsSeverityEnum(val string) (ListFindingsSeverityEnum, bool)

GetMappingListFindingsSeverityEnum performs case Insensitive comparison on enum value and return the desired enum

type ListGrantsRequest ¶

type ListGrantsRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// The unique user key. This is a system-generated identifier. ListUsers gets the user key for a user.
	UserKey *string `mandatory:"true" contributesTo:"path" name:"userKey"`

	// A filter to return only items that match the specified user grant key.
	GrantKey *string `mandatory:"false" contributesTo:"query" name:"grantKey"`

	// A filter to return only items that match the specified user grant name.
	GrantName *string `mandatory:"false" contributesTo:"query" name:"grantName"`

	// A filter to return only items that match the specified privilege grant type.
	PrivilegeType *string `mandatory:"false" contributesTo:"query" name:"privilegeType"`

	// A filter to return only items that match the specified user privilege category.
	PrivilegeCategory *string `mandatory:"false" contributesTo:"query" name:"privilegeCategory"`

	// A filter to return only items that match the specified user grant depth level.
	DepthLevel *int `mandatory:"false" contributesTo:"query" name:"depthLevel"`

	// A filter to return only items that are at a level greater than or equal to the specified user grant depth level.
	DepthLevelGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"depthLevelGreaterThanOrEqualTo"`

	// A filter to return only items that are at a level less than the specified user grant depth level.
	DepthLevelLessThan *int `mandatory:"false" contributesTo:"query" name:"depthLevelLessThan"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListGrantsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for grantName is ascending.
	SortBy ListGrantsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListGrantsRequest wrapper for the ListGrants operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListGrants.go.html to see an example of how to use ListGrantsRequest.

func (ListGrantsRequest) BinaryRequestBody ¶

func (request ListGrantsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListGrantsRequest) HTTPRequest ¶

func (request ListGrantsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListGrantsRequest) RetryPolicy ¶

func (request ListGrantsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListGrantsRequest) String ¶

func (request ListGrantsRequest) String() string

func (ListGrantsRequest) ValidateEnumValue ¶

func (request ListGrantsRequest) 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 ListGrantsResponse ¶

type ListGrantsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []GrantSummary instances
	Items []GrantSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListGrantsResponse wrapper for the ListGrants operation

func (ListGrantsResponse) HTTPResponse ¶

func (response ListGrantsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListGrantsResponse) String ¶

func (response ListGrantsResponse) String() string

type ListGrantsSortByEnum ¶

type ListGrantsSortByEnum string

ListGrantsSortByEnum Enum with underlying type: string

const (
	ListGrantsSortByGrantname         ListGrantsSortByEnum = "grantName"
	ListGrantsSortByGranttype         ListGrantsSortByEnum = "grantType"
	ListGrantsSortByPrivilegecategory ListGrantsSortByEnum = "privilegeCategory"
	ListGrantsSortByDepthlevel        ListGrantsSortByEnum = "depthLevel"
	ListGrantsSortByKey               ListGrantsSortByEnum = "key"
)

Set of constants representing the allowable values for ListGrantsSortByEnum

func GetListGrantsSortByEnumValues ¶

func GetListGrantsSortByEnumValues() []ListGrantsSortByEnum

GetListGrantsSortByEnumValues Enumerates the set of values for ListGrantsSortByEnum

func GetMappingListGrantsSortByEnum ¶

func GetMappingListGrantsSortByEnum(val string) (ListGrantsSortByEnum, bool)

GetMappingListGrantsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListGrantsSortOrderEnum ¶

type ListGrantsSortOrderEnum string

ListGrantsSortOrderEnum Enum with underlying type: string

const (
	ListGrantsSortOrderAsc  ListGrantsSortOrderEnum = "ASC"
	ListGrantsSortOrderDesc ListGrantsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListGrantsSortOrderEnum

func GetListGrantsSortOrderEnumValues ¶

func GetListGrantsSortOrderEnumValues() []ListGrantsSortOrderEnum

GetListGrantsSortOrderEnumValues Enumerates the set of values for ListGrantsSortOrderEnum

func GetMappingListGrantsSortOrderEnum ¶

func GetMappingListGrantsSortOrderEnum(val string) (ListGrantsSortOrderEnum, bool)

GetMappingListGrantsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLibraryMaskingFormatsAccessLevelEnum ¶

type ListLibraryMaskingFormatsAccessLevelEnum string

ListLibraryMaskingFormatsAccessLevelEnum Enum with underlying type: string

const (
	ListLibraryMaskingFormatsAccessLevelRestricted ListLibraryMaskingFormatsAccessLevelEnum = "RESTRICTED"
	ListLibraryMaskingFormatsAccessLevelAccessible ListLibraryMaskingFormatsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListLibraryMaskingFormatsAccessLevelEnum

func GetListLibraryMaskingFormatsAccessLevelEnumValues ¶

func GetListLibraryMaskingFormatsAccessLevelEnumValues() []ListLibraryMaskingFormatsAccessLevelEnum

GetListLibraryMaskingFormatsAccessLevelEnumValues Enumerates the set of values for ListLibraryMaskingFormatsAccessLevelEnum

func GetMappingListLibraryMaskingFormatsAccessLevelEnum ¶

func GetMappingListLibraryMaskingFormatsAccessLevelEnum(val string) (ListLibraryMaskingFormatsAccessLevelEnum, bool)

GetMappingListLibraryMaskingFormatsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum ¶

type ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum string

ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum Enum with underlying type: string

const (
	ListLibraryMaskingFormatsLibraryMaskingFormatSourceOracle ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum = "ORACLE"
	ListLibraryMaskingFormatsLibraryMaskingFormatSourceUser   ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum = "USER"
)

Set of constants representing the allowable values for ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum

func GetListLibraryMaskingFormatsLibraryMaskingFormatSourceEnumValues ¶

func GetListLibraryMaskingFormatsLibraryMaskingFormatSourceEnumValues() []ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum

GetListLibraryMaskingFormatsLibraryMaskingFormatSourceEnumValues Enumerates the set of values for ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum

func GetMappingListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum ¶

func GetMappingListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum(val string) (ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum, bool)

GetMappingListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLibraryMaskingFormatsLifecycleStateEnum ¶

type ListLibraryMaskingFormatsLifecycleStateEnum string

ListLibraryMaskingFormatsLifecycleStateEnum Enum with underlying type: string

const (
	ListLibraryMaskingFormatsLifecycleStateCreating       ListLibraryMaskingFormatsLifecycleStateEnum = "CREATING"
	ListLibraryMaskingFormatsLifecycleStateActive         ListLibraryMaskingFormatsLifecycleStateEnum = "ACTIVE"
	ListLibraryMaskingFormatsLifecycleStateUpdating       ListLibraryMaskingFormatsLifecycleStateEnum = "UPDATING"
	ListLibraryMaskingFormatsLifecycleStateDeleting       ListLibraryMaskingFormatsLifecycleStateEnum = "DELETING"
	ListLibraryMaskingFormatsLifecycleStateDeleted        ListLibraryMaskingFormatsLifecycleStateEnum = "DELETED"
	ListLibraryMaskingFormatsLifecycleStateNeedsAttention ListLibraryMaskingFormatsLifecycleStateEnum = "NEEDS_ATTENTION"
	ListLibraryMaskingFormatsLifecycleStateFailed         ListLibraryMaskingFormatsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListLibraryMaskingFormatsLifecycleStateEnum

func GetListLibraryMaskingFormatsLifecycleStateEnumValues ¶

func GetListLibraryMaskingFormatsLifecycleStateEnumValues() []ListLibraryMaskingFormatsLifecycleStateEnum

GetListLibraryMaskingFormatsLifecycleStateEnumValues Enumerates the set of values for ListLibraryMaskingFormatsLifecycleStateEnum

func GetMappingListLibraryMaskingFormatsLifecycleStateEnum ¶

func GetMappingListLibraryMaskingFormatsLifecycleStateEnum(val string) (ListLibraryMaskingFormatsLifecycleStateEnum, bool)

GetMappingListLibraryMaskingFormatsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLibraryMaskingFormatsRequest ¶

type ListLibraryMaskingFormatsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only the resources that match the specified library masking format OCID.
	LibraryMaskingFormatId *string `mandatory:"false" contributesTo:"query" name:"libraryMaskingFormatId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListLibraryMaskingFormatsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only the resources that match the specified lifecycle states.
	LifecycleState ListLibraryMaskingFormatsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// A filter to return the library masking format resources based on the value of their source attribute.
	LibraryMaskingFormatSource ListLibraryMaskingFormatsLibraryMaskingFormatSourceEnum `mandatory:"false" contributesTo:"query" name:"libraryMaskingFormatSource" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListLibraryMaskingFormatsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	// The default order for displayName is ascending. The displayName sort order is case sensitive.
	SortBy ListLibraryMaskingFormatsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListLibraryMaskingFormatsRequest wrapper for the ListLibraryMaskingFormats operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListLibraryMaskingFormats.go.html to see an example of how to use ListLibraryMaskingFormatsRequest.

func (ListLibraryMaskingFormatsRequest) BinaryRequestBody ¶

func (request ListLibraryMaskingFormatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListLibraryMaskingFormatsRequest) HTTPRequest ¶

func (request ListLibraryMaskingFormatsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListLibraryMaskingFormatsRequest) RetryPolicy ¶

func (request ListLibraryMaskingFormatsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListLibraryMaskingFormatsRequest) String ¶

func (request ListLibraryMaskingFormatsRequest) String() string

func (ListLibraryMaskingFormatsRequest) ValidateEnumValue ¶

func (request ListLibraryMaskingFormatsRequest) 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 ListLibraryMaskingFormatsResponse ¶

type ListLibraryMaskingFormatsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of LibraryMaskingFormatCollection instances
	LibraryMaskingFormatCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListLibraryMaskingFormatsResponse wrapper for the ListLibraryMaskingFormats operation

func (ListLibraryMaskingFormatsResponse) HTTPResponse ¶

func (response ListLibraryMaskingFormatsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListLibraryMaskingFormatsResponse) String ¶

func (response ListLibraryMaskingFormatsResponse) String() string

type ListLibraryMaskingFormatsSortByEnum ¶

type ListLibraryMaskingFormatsSortByEnum string

ListLibraryMaskingFormatsSortByEnum Enum with underlying type: string

const (
	ListLibraryMaskingFormatsSortByDisplayname ListLibraryMaskingFormatsSortByEnum = "displayName"
	ListLibraryMaskingFormatsSortByTimecreated ListLibraryMaskingFormatsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListLibraryMaskingFormatsSortByEnum

func GetListLibraryMaskingFormatsSortByEnumValues ¶

func GetListLibraryMaskingFormatsSortByEnumValues() []ListLibraryMaskingFormatsSortByEnum

GetListLibraryMaskingFormatsSortByEnumValues Enumerates the set of values for ListLibraryMaskingFormatsSortByEnum

func GetMappingListLibraryMaskingFormatsSortByEnum ¶

func GetMappingListLibraryMaskingFormatsSortByEnum(val string) (ListLibraryMaskingFormatsSortByEnum, bool)

GetMappingListLibraryMaskingFormatsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLibraryMaskingFormatsSortOrderEnum ¶

type ListLibraryMaskingFormatsSortOrderEnum string

ListLibraryMaskingFormatsSortOrderEnum Enum with underlying type: string

const (
	ListLibraryMaskingFormatsSortOrderAsc  ListLibraryMaskingFormatsSortOrderEnum = "ASC"
	ListLibraryMaskingFormatsSortOrderDesc ListLibraryMaskingFormatsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLibraryMaskingFormatsSortOrderEnum

func GetListLibraryMaskingFormatsSortOrderEnumValues ¶

func GetListLibraryMaskingFormatsSortOrderEnumValues() []ListLibraryMaskingFormatsSortOrderEnum

GetListLibraryMaskingFormatsSortOrderEnumValues Enumerates the set of values for ListLibraryMaskingFormatsSortOrderEnum

func GetMappingListLibraryMaskingFormatsSortOrderEnum ¶

func GetMappingListLibraryMaskingFormatsSortOrderEnum(val string) (ListLibraryMaskingFormatsSortOrderEnum, bool)

GetMappingListLibraryMaskingFormatsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskedColumnsObjectTypeEnum ¶

type ListMaskedColumnsObjectTypeEnum string

ListMaskedColumnsObjectTypeEnum Enum with underlying type: string

const (
	ListMaskedColumnsObjectTypeAll            ListMaskedColumnsObjectTypeEnum = "ALL"
	ListMaskedColumnsObjectTypeTable          ListMaskedColumnsObjectTypeEnum = "TABLE"
	ListMaskedColumnsObjectTypeEditioningView ListMaskedColumnsObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for ListMaskedColumnsObjectTypeEnum

func GetListMaskedColumnsObjectTypeEnumValues ¶

func GetListMaskedColumnsObjectTypeEnumValues() []ListMaskedColumnsObjectTypeEnum

GetListMaskedColumnsObjectTypeEnumValues Enumerates the set of values for ListMaskedColumnsObjectTypeEnum

func GetMappingListMaskedColumnsObjectTypeEnum ¶

func GetMappingListMaskedColumnsObjectTypeEnum(val string) (ListMaskedColumnsObjectTypeEnum, bool)

GetMappingListMaskedColumnsObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskedColumnsRequest ¶

type ListMaskedColumnsRequest struct {

	// The OCID of the masking report.
	MaskingReportId *string `mandatory:"true" contributesTo:"path" name:"maskingReportId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListMaskedColumnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for all the fields is ascending.
	SortBy ListMaskedColumnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only a specific column based on column name.
	ColumnName []string `contributesTo:"query" name:"columnName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object type.
	ObjectType []ListMaskedColumnsObjectTypeEnum `contributesTo:"query" name:"objectType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only the resources that match the specified masking column group.
	MaskingColumnGroup []string `contributesTo:"query" name:"maskingColumnGroup" collectionFormat:"multi"`

	// A filter to return only items related to a specific sensitive type OCID.
	SensitiveTypeId *string `mandatory:"false" contributesTo:"query" name:"sensitiveTypeId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListMaskedColumnsRequest wrapper for the ListMaskedColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskedColumns.go.html to see an example of how to use ListMaskedColumnsRequest.

func (ListMaskedColumnsRequest) BinaryRequestBody ¶

func (request ListMaskedColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskedColumnsRequest) HTTPRequest ¶

func (request ListMaskedColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskedColumnsRequest) RetryPolicy ¶

func (request ListMaskedColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskedColumnsRequest) String ¶

func (request ListMaskedColumnsRequest) String() string

func (ListMaskedColumnsRequest) ValidateEnumValue ¶

func (request ListMaskedColumnsRequest) 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 ListMaskedColumnsResponse ¶

type ListMaskedColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskedColumnCollection instances
	MaskedColumnCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskedColumnsResponse wrapper for the ListMaskedColumns operation

func (ListMaskedColumnsResponse) HTTPResponse ¶

func (response ListMaskedColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskedColumnsResponse) String ¶

func (response ListMaskedColumnsResponse) String() string

type ListMaskedColumnsSortByEnum ¶

type ListMaskedColumnsSortByEnum string

ListMaskedColumnsSortByEnum Enum with underlying type: string

const (
	ListMaskedColumnsSortBySchemaname ListMaskedColumnsSortByEnum = "schemaName"
	ListMaskedColumnsSortByObjectname ListMaskedColumnsSortByEnum = "objectName"
)

Set of constants representing the allowable values for ListMaskedColumnsSortByEnum

func GetListMaskedColumnsSortByEnumValues ¶

func GetListMaskedColumnsSortByEnumValues() []ListMaskedColumnsSortByEnum

GetListMaskedColumnsSortByEnumValues Enumerates the set of values for ListMaskedColumnsSortByEnum

func GetMappingListMaskedColumnsSortByEnum ¶

func GetMappingListMaskedColumnsSortByEnum(val string) (ListMaskedColumnsSortByEnum, bool)

GetMappingListMaskedColumnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskedColumnsSortOrderEnum ¶

type ListMaskedColumnsSortOrderEnum string

ListMaskedColumnsSortOrderEnum Enum with underlying type: string

const (
	ListMaskedColumnsSortOrderAsc  ListMaskedColumnsSortOrderEnum = "ASC"
	ListMaskedColumnsSortOrderDesc ListMaskedColumnsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMaskedColumnsSortOrderEnum

func GetListMaskedColumnsSortOrderEnumValues ¶

func GetListMaskedColumnsSortOrderEnumValues() []ListMaskedColumnsSortOrderEnum

GetListMaskedColumnsSortOrderEnumValues Enumerates the set of values for ListMaskedColumnsSortOrderEnum

func GetMappingListMaskedColumnsSortOrderEnum ¶

func GetMappingListMaskedColumnsSortOrderEnum(val string) (ListMaskedColumnsSortOrderEnum, bool)

GetMappingListMaskedColumnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingAnalyticsGroupByEnum ¶

type ListMaskingAnalyticsGroupByEnum string

ListMaskingAnalyticsGroupByEnum Enum with underlying type: string

const (
	ListMaskingAnalyticsGroupByTargetid ListMaskingAnalyticsGroupByEnum = "targetId"
	ListMaskingAnalyticsGroupByPolicyid ListMaskingAnalyticsGroupByEnum = "policyId"
)

Set of constants representing the allowable values for ListMaskingAnalyticsGroupByEnum

func GetListMaskingAnalyticsGroupByEnumValues ¶

func GetListMaskingAnalyticsGroupByEnumValues() []ListMaskingAnalyticsGroupByEnum

GetListMaskingAnalyticsGroupByEnumValues Enumerates the set of values for ListMaskingAnalyticsGroupByEnum

func GetMappingListMaskingAnalyticsGroupByEnum ¶

func GetMappingListMaskingAnalyticsGroupByEnum(val string) (ListMaskingAnalyticsGroupByEnum, bool)

GetMappingListMaskingAnalyticsGroupByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingAnalyticsRequest ¶

type ListMaskingAnalyticsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Attribute by which the masking analytics data should be grouped.
	GroupBy ListMaskingAnalyticsGroupByEnum `mandatory:"false" contributesTo:"query" name:"groupBy" omitEmpty:"true"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return only the resources that match the specified masking policy OCID.
	MaskingPolicyId *string `mandatory:"false" contributesTo:"query" name:"maskingPolicyId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListMaskingAnalyticsRequest wrapper for the ListMaskingAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskingAnalytics.go.html to see an example of how to use ListMaskingAnalyticsRequest.

func (ListMaskingAnalyticsRequest) BinaryRequestBody ¶

func (request ListMaskingAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskingAnalyticsRequest) HTTPRequest ¶

func (request ListMaskingAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskingAnalyticsRequest) RetryPolicy ¶

func (request ListMaskingAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskingAnalyticsRequest) String ¶

func (request ListMaskingAnalyticsRequest) String() string

func (ListMaskingAnalyticsRequest) ValidateEnumValue ¶

func (request ListMaskingAnalyticsRequest) 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 ListMaskingAnalyticsResponse ¶

type ListMaskingAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskingAnalyticsCollection instances
	MaskingAnalyticsCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskingAnalyticsResponse wrapper for the ListMaskingAnalytics operation

func (ListMaskingAnalyticsResponse) HTTPResponse ¶

func (response ListMaskingAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskingAnalyticsResponse) String ¶

func (response ListMaskingAnalyticsResponse) String() string

type ListMaskingColumnsDataTypeEnum ¶

type ListMaskingColumnsDataTypeEnum string

ListMaskingColumnsDataTypeEnum Enum with underlying type: string

const (
	ListMaskingColumnsDataTypeCharacter ListMaskingColumnsDataTypeEnum = "CHARACTER"
	ListMaskingColumnsDataTypeDate      ListMaskingColumnsDataTypeEnum = "DATE"
	ListMaskingColumnsDataTypeLob       ListMaskingColumnsDataTypeEnum = "LOB"
	ListMaskingColumnsDataTypeNumeric   ListMaskingColumnsDataTypeEnum = "NUMERIC"
)

Set of constants representing the allowable values for ListMaskingColumnsDataTypeEnum

func GetListMaskingColumnsDataTypeEnumValues ¶

func GetListMaskingColumnsDataTypeEnumValues() []ListMaskingColumnsDataTypeEnum

GetListMaskingColumnsDataTypeEnumValues Enumerates the set of values for ListMaskingColumnsDataTypeEnum

func GetMappingListMaskingColumnsDataTypeEnum ¶

func GetMappingListMaskingColumnsDataTypeEnum(val string) (ListMaskingColumnsDataTypeEnum, bool)

GetMappingListMaskingColumnsDataTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingColumnsMaskingColumnLifecycleStateEnum ¶

type ListMaskingColumnsMaskingColumnLifecycleStateEnum string

ListMaskingColumnsMaskingColumnLifecycleStateEnum Enum with underlying type: string

const (
	ListMaskingColumnsMaskingColumnLifecycleStateCreating       ListMaskingColumnsMaskingColumnLifecycleStateEnum = "CREATING"
	ListMaskingColumnsMaskingColumnLifecycleStateActive         ListMaskingColumnsMaskingColumnLifecycleStateEnum = "ACTIVE"
	ListMaskingColumnsMaskingColumnLifecycleStateUpdating       ListMaskingColumnsMaskingColumnLifecycleStateEnum = "UPDATING"
	ListMaskingColumnsMaskingColumnLifecycleStateDeleting       ListMaskingColumnsMaskingColumnLifecycleStateEnum = "DELETING"
	ListMaskingColumnsMaskingColumnLifecycleStateNeedsAttention ListMaskingColumnsMaskingColumnLifecycleStateEnum = "NEEDS_ATTENTION"
	ListMaskingColumnsMaskingColumnLifecycleStateFailed         ListMaskingColumnsMaskingColumnLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListMaskingColumnsMaskingColumnLifecycleStateEnum

func GetListMaskingColumnsMaskingColumnLifecycleStateEnumValues ¶

func GetListMaskingColumnsMaskingColumnLifecycleStateEnumValues() []ListMaskingColumnsMaskingColumnLifecycleStateEnum

GetListMaskingColumnsMaskingColumnLifecycleStateEnumValues Enumerates the set of values for ListMaskingColumnsMaskingColumnLifecycleStateEnum

func GetMappingListMaskingColumnsMaskingColumnLifecycleStateEnum ¶

func GetMappingListMaskingColumnsMaskingColumnLifecycleStateEnum(val string) (ListMaskingColumnsMaskingColumnLifecycleStateEnum, bool)

GetMappingListMaskingColumnsMaskingColumnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingColumnsObjectTypeEnum ¶

type ListMaskingColumnsObjectTypeEnum string

ListMaskingColumnsObjectTypeEnum Enum with underlying type: string

const (
	ListMaskingColumnsObjectTypeAll            ListMaskingColumnsObjectTypeEnum = "ALL"
	ListMaskingColumnsObjectTypeTable          ListMaskingColumnsObjectTypeEnum = "TABLE"
	ListMaskingColumnsObjectTypeEditioningView ListMaskingColumnsObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for ListMaskingColumnsObjectTypeEnum

func GetListMaskingColumnsObjectTypeEnumValues ¶

func GetListMaskingColumnsObjectTypeEnumValues() []ListMaskingColumnsObjectTypeEnum

GetListMaskingColumnsObjectTypeEnumValues Enumerates the set of values for ListMaskingColumnsObjectTypeEnum

func GetMappingListMaskingColumnsObjectTypeEnum ¶

func GetMappingListMaskingColumnsObjectTypeEnum(val string) (ListMaskingColumnsObjectTypeEnum, bool)

GetMappingListMaskingColumnsObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingColumnsRequest ¶

type ListMaskingColumnsRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListMaskingColumnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	// The default order for other fields is ascending.
	SortBy ListMaskingColumnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only the resources that match the specified lifecycle states.
	MaskingColumnLifecycleState ListMaskingColumnsMaskingColumnLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"maskingColumnLifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the specified data types.
	DataType []ListMaskingColumnsDataTypeEnum `contributesTo:"query" name:"dataType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only a specific column based on column name.
	ColumnName []string `contributesTo:"query" name:"columnName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object type.
	ObjectType []ListMaskingColumnsObjectTypeEnum `contributesTo:"query" name:"objectType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only the resources that match the specified masking column group.
	MaskingColumnGroup []string `contributesTo:"query" name:"maskingColumnGroup" collectionFormat:"multi"`

	// A filter to return only items related to a specific sensitive type OCID.
	SensitiveTypeId *string `mandatory:"false" contributesTo:"query" name:"sensitiveTypeId"`

	// A filter to return the masking column resources based on the value of their isMaskingEnabled attribute.
	// A value of true returns only those columns for which masking is enabled. A value of false returns only those columns
	// for which masking is disabled. Omitting this parameter returns all the masking columns in a masking policy.
	IsMaskingEnabled *bool `mandatory:"false" contributesTo:"query" name:"isMaskingEnabled"`

	// A filter to return masking columns based on whether the assigned masking formats need a
	// seed value for masking. A value of true returns those masking columns that are using
	// Deterministic Encryption or Deterministic Substitution masking format.
	IsSeedRequired *bool `mandatory:"false" contributesTo:"query" name:"isSeedRequired"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// Search for resources that were updated after a specific date.
	// Specifying this parameter corresponding `timeUpdatedGreaterThanOrEqualTo`
	// parameter will retrieve all resources updated after the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	TimeUpdatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUpdatedGreaterThanOrEqualTo"`

	// Search for resources that were updated before a specific date.
	// Specifying this parameter corresponding `timeUpdatedLessThan`
	// parameter will retrieve all resources updated before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	TimeUpdatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUpdatedLessThan"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListMaskingColumnsRequest wrapper for the ListMaskingColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskingColumns.go.html to see an example of how to use ListMaskingColumnsRequest.

func (ListMaskingColumnsRequest) BinaryRequestBody ¶

func (request ListMaskingColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskingColumnsRequest) HTTPRequest ¶

func (request ListMaskingColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskingColumnsRequest) RetryPolicy ¶

func (request ListMaskingColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskingColumnsRequest) String ¶

func (request ListMaskingColumnsRequest) String() string

func (ListMaskingColumnsRequest) ValidateEnumValue ¶

func (request ListMaskingColumnsRequest) 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 ListMaskingColumnsResponse ¶

type ListMaskingColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskingColumnCollection instances
	MaskingColumnCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskingColumnsResponse wrapper for the ListMaskingColumns operation

func (ListMaskingColumnsResponse) HTTPResponse ¶

func (response ListMaskingColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskingColumnsResponse) String ¶

func (response ListMaskingColumnsResponse) String() string

type ListMaskingColumnsSortByEnum ¶

type ListMaskingColumnsSortByEnum string

ListMaskingColumnsSortByEnum Enum with underlying type: string

const (
	ListMaskingColumnsSortByTimecreated ListMaskingColumnsSortByEnum = "timeCreated"
	ListMaskingColumnsSortBySchemaname  ListMaskingColumnsSortByEnum = "schemaName"
	ListMaskingColumnsSortByObjectname  ListMaskingColumnsSortByEnum = "objectName"
	ListMaskingColumnsSortByDatatype    ListMaskingColumnsSortByEnum = "dataType"
)

Set of constants representing the allowable values for ListMaskingColumnsSortByEnum

func GetListMaskingColumnsSortByEnumValues ¶

func GetListMaskingColumnsSortByEnumValues() []ListMaskingColumnsSortByEnum

GetListMaskingColumnsSortByEnumValues Enumerates the set of values for ListMaskingColumnsSortByEnum

func GetMappingListMaskingColumnsSortByEnum ¶

func GetMappingListMaskingColumnsSortByEnum(val string) (ListMaskingColumnsSortByEnum, bool)

GetMappingListMaskingColumnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingColumnsSortOrderEnum ¶

type ListMaskingColumnsSortOrderEnum string

ListMaskingColumnsSortOrderEnum Enum with underlying type: string

const (
	ListMaskingColumnsSortOrderAsc  ListMaskingColumnsSortOrderEnum = "ASC"
	ListMaskingColumnsSortOrderDesc ListMaskingColumnsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMaskingColumnsSortOrderEnum

func GetListMaskingColumnsSortOrderEnumValues ¶

func GetListMaskingColumnsSortOrderEnumValues() []ListMaskingColumnsSortOrderEnum

GetListMaskingColumnsSortOrderEnumValues Enumerates the set of values for ListMaskingColumnsSortOrderEnum

func GetMappingListMaskingColumnsSortOrderEnum ¶

func GetMappingListMaskingColumnsSortOrderEnum(val string) (ListMaskingColumnsSortOrderEnum, bool)

GetMappingListMaskingColumnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingObjectsObjectTypeEnum ¶ added in v65.35.0

type ListMaskingObjectsObjectTypeEnum string

ListMaskingObjectsObjectTypeEnum Enum with underlying type: string

const (
	ListMaskingObjectsObjectTypeAll            ListMaskingObjectsObjectTypeEnum = "ALL"
	ListMaskingObjectsObjectTypeTable          ListMaskingObjectsObjectTypeEnum = "TABLE"
	ListMaskingObjectsObjectTypeEditioningView ListMaskingObjectsObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for ListMaskingObjectsObjectTypeEnum

func GetListMaskingObjectsObjectTypeEnumValues ¶ added in v65.35.0

func GetListMaskingObjectsObjectTypeEnumValues() []ListMaskingObjectsObjectTypeEnum

GetListMaskingObjectsObjectTypeEnumValues Enumerates the set of values for ListMaskingObjectsObjectTypeEnum

func GetMappingListMaskingObjectsObjectTypeEnum ¶ added in v65.35.0

func GetMappingListMaskingObjectsObjectTypeEnum(val string) (ListMaskingObjectsObjectTypeEnum, bool)

GetMappingListMaskingObjectsObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingObjectsRequest ¶ added in v65.35.0

type ListMaskingObjectsRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListMaskingObjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder).
	// The default order is ascending.
	SortBy ListMaskingObjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object type.
	ObjectType []ListMaskingObjectsObjectTypeEnum `contributesTo:"query" name:"objectType" omitEmpty:"true" collectionFormat:"multi"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListMaskingObjectsRequest wrapper for the ListMaskingObjects operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskingObjects.go.html to see an example of how to use ListMaskingObjectsRequest.

func (ListMaskingObjectsRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListMaskingObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskingObjectsRequest) HTTPRequest ¶ added in v65.35.0

func (request ListMaskingObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskingObjectsRequest) RetryPolicy ¶ added in v65.35.0

func (request ListMaskingObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskingObjectsRequest) String ¶ added in v65.35.0

func (request ListMaskingObjectsRequest) String() string

func (ListMaskingObjectsRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListMaskingObjectsRequest) 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 ListMaskingObjectsResponse ¶ added in v65.35.0

type ListMaskingObjectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskingObjectCollection instances
	MaskingObjectCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskingObjectsResponse wrapper for the ListMaskingObjects operation

func (ListMaskingObjectsResponse) HTTPResponse ¶ added in v65.35.0

func (response ListMaskingObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskingObjectsResponse) String ¶ added in v65.35.0

func (response ListMaskingObjectsResponse) String() string

type ListMaskingObjectsSortByEnum ¶ added in v65.35.0

type ListMaskingObjectsSortByEnum string

ListMaskingObjectsSortByEnum Enum with underlying type: string

const (
	ListMaskingObjectsSortBySchemaname ListMaskingObjectsSortByEnum = "schemaName"
	ListMaskingObjectsSortByObjectname ListMaskingObjectsSortByEnum = "objectName"
	ListMaskingObjectsSortByObjecttype ListMaskingObjectsSortByEnum = "objectType"
)

Set of constants representing the allowable values for ListMaskingObjectsSortByEnum

func GetListMaskingObjectsSortByEnumValues ¶ added in v65.35.0

func GetListMaskingObjectsSortByEnumValues() []ListMaskingObjectsSortByEnum

GetListMaskingObjectsSortByEnumValues Enumerates the set of values for ListMaskingObjectsSortByEnum

func GetMappingListMaskingObjectsSortByEnum ¶ added in v65.35.0

func GetMappingListMaskingObjectsSortByEnum(val string) (ListMaskingObjectsSortByEnum, bool)

GetMappingListMaskingObjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingObjectsSortOrderEnum ¶ added in v65.35.0

type ListMaskingObjectsSortOrderEnum string

ListMaskingObjectsSortOrderEnum Enum with underlying type: string

const (
	ListMaskingObjectsSortOrderAsc  ListMaskingObjectsSortOrderEnum = "ASC"
	ListMaskingObjectsSortOrderDesc ListMaskingObjectsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMaskingObjectsSortOrderEnum

func GetListMaskingObjectsSortOrderEnumValues ¶ added in v65.35.0

func GetListMaskingObjectsSortOrderEnumValues() []ListMaskingObjectsSortOrderEnum

GetListMaskingObjectsSortOrderEnumValues Enumerates the set of values for ListMaskingObjectsSortOrderEnum

func GetMappingListMaskingObjectsSortOrderEnum ¶ added in v65.35.0

func GetMappingListMaskingObjectsSortOrderEnum(val string) (ListMaskingObjectsSortOrderEnum, bool)

GetMappingListMaskingObjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingPoliciesAccessLevelEnum ¶

type ListMaskingPoliciesAccessLevelEnum string

ListMaskingPoliciesAccessLevelEnum Enum with underlying type: string

const (
	ListMaskingPoliciesAccessLevelRestricted ListMaskingPoliciesAccessLevelEnum = "RESTRICTED"
	ListMaskingPoliciesAccessLevelAccessible ListMaskingPoliciesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListMaskingPoliciesAccessLevelEnum

func GetListMaskingPoliciesAccessLevelEnumValues ¶

func GetListMaskingPoliciesAccessLevelEnumValues() []ListMaskingPoliciesAccessLevelEnum

GetListMaskingPoliciesAccessLevelEnumValues Enumerates the set of values for ListMaskingPoliciesAccessLevelEnum

func GetMappingListMaskingPoliciesAccessLevelEnum ¶

func GetMappingListMaskingPoliciesAccessLevelEnum(val string) (ListMaskingPoliciesAccessLevelEnum, bool)

GetMappingListMaskingPoliciesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingPoliciesLifecycleStateEnum ¶

type ListMaskingPoliciesLifecycleStateEnum string

ListMaskingPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListMaskingPoliciesLifecycleStateCreating       ListMaskingPoliciesLifecycleStateEnum = "CREATING"
	ListMaskingPoliciesLifecycleStateActive         ListMaskingPoliciesLifecycleStateEnum = "ACTIVE"
	ListMaskingPoliciesLifecycleStateUpdating       ListMaskingPoliciesLifecycleStateEnum = "UPDATING"
	ListMaskingPoliciesLifecycleStateDeleting       ListMaskingPoliciesLifecycleStateEnum = "DELETING"
	ListMaskingPoliciesLifecycleStateDeleted        ListMaskingPoliciesLifecycleStateEnum = "DELETED"
	ListMaskingPoliciesLifecycleStateNeedsAttention ListMaskingPoliciesLifecycleStateEnum = "NEEDS_ATTENTION"
	ListMaskingPoliciesLifecycleStateFailed         ListMaskingPoliciesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListMaskingPoliciesLifecycleStateEnum

func GetListMaskingPoliciesLifecycleStateEnumValues ¶

func GetListMaskingPoliciesLifecycleStateEnumValues() []ListMaskingPoliciesLifecycleStateEnum

GetListMaskingPoliciesLifecycleStateEnumValues Enumerates the set of values for ListMaskingPoliciesLifecycleStateEnum

func GetMappingListMaskingPoliciesLifecycleStateEnum ¶

func GetMappingListMaskingPoliciesLifecycleStateEnum(val string) (ListMaskingPoliciesLifecycleStateEnum, bool)

GetMappingListMaskingPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingPoliciesRequest ¶

type ListMaskingPoliciesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only the resources that match the specified masking policy OCID.
	MaskingPolicyId *string `mandatory:"false" contributesTo:"query" name:"maskingPolicyId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only the resources that match the specified lifecycle states.
	LifecycleState ListMaskingPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListMaskingPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	// The default order for displayName is ascending. The displayName sort order is case sensitive.
	SortBy ListMaskingPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only the resources that match the specified sensitive data model OCID.
	SensitiveDataModelId *string `mandatory:"false" contributesTo:"query" name:"sensitiveDataModelId"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListMaskingPoliciesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListMaskingPoliciesRequest wrapper for the ListMaskingPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskingPolicies.go.html to see an example of how to use ListMaskingPoliciesRequest.

func (ListMaskingPoliciesRequest) BinaryRequestBody ¶

func (request ListMaskingPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskingPoliciesRequest) HTTPRequest ¶

func (request ListMaskingPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskingPoliciesRequest) RetryPolicy ¶

func (request ListMaskingPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskingPoliciesRequest) String ¶

func (request ListMaskingPoliciesRequest) String() string

func (ListMaskingPoliciesRequest) ValidateEnumValue ¶

func (request ListMaskingPoliciesRequest) 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 ListMaskingPoliciesResponse ¶

type ListMaskingPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskingPolicyCollection instances
	MaskingPolicyCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskingPoliciesResponse wrapper for the ListMaskingPolicies operation

func (ListMaskingPoliciesResponse) HTTPResponse ¶

func (response ListMaskingPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskingPoliciesResponse) String ¶

func (response ListMaskingPoliciesResponse) String() string

type ListMaskingPoliciesSortByEnum ¶

type ListMaskingPoliciesSortByEnum string

ListMaskingPoliciesSortByEnum Enum with underlying type: string

const (
	ListMaskingPoliciesSortByDisplayname ListMaskingPoliciesSortByEnum = "displayName"
	ListMaskingPoliciesSortByTimecreated ListMaskingPoliciesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListMaskingPoliciesSortByEnum

func GetListMaskingPoliciesSortByEnumValues ¶

func GetListMaskingPoliciesSortByEnumValues() []ListMaskingPoliciesSortByEnum

GetListMaskingPoliciesSortByEnumValues Enumerates the set of values for ListMaskingPoliciesSortByEnum

func GetMappingListMaskingPoliciesSortByEnum ¶

func GetMappingListMaskingPoliciesSortByEnum(val string) (ListMaskingPoliciesSortByEnum, bool)

GetMappingListMaskingPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingPoliciesSortOrderEnum ¶

type ListMaskingPoliciesSortOrderEnum string

ListMaskingPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListMaskingPoliciesSortOrderAsc  ListMaskingPoliciesSortOrderEnum = "ASC"
	ListMaskingPoliciesSortOrderDesc ListMaskingPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMaskingPoliciesSortOrderEnum

func GetListMaskingPoliciesSortOrderEnumValues ¶

func GetListMaskingPoliciesSortOrderEnumValues() []ListMaskingPoliciesSortOrderEnum

GetListMaskingPoliciesSortOrderEnumValues Enumerates the set of values for ListMaskingPoliciesSortOrderEnum

func GetMappingListMaskingPoliciesSortOrderEnum ¶

func GetMappingListMaskingPoliciesSortOrderEnum(val string) (ListMaskingPoliciesSortOrderEnum, bool)

GetMappingListMaskingPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingReportsAccessLevelEnum ¶

type ListMaskingReportsAccessLevelEnum string

ListMaskingReportsAccessLevelEnum Enum with underlying type: string

const (
	ListMaskingReportsAccessLevelRestricted ListMaskingReportsAccessLevelEnum = "RESTRICTED"
	ListMaskingReportsAccessLevelAccessible ListMaskingReportsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListMaskingReportsAccessLevelEnum

func GetListMaskingReportsAccessLevelEnumValues ¶

func GetListMaskingReportsAccessLevelEnumValues() []ListMaskingReportsAccessLevelEnum

GetListMaskingReportsAccessLevelEnumValues Enumerates the set of values for ListMaskingReportsAccessLevelEnum

func GetMappingListMaskingReportsAccessLevelEnum ¶

func GetMappingListMaskingReportsAccessLevelEnum(val string) (ListMaskingReportsAccessLevelEnum, bool)

GetMappingListMaskingReportsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingReportsRequest ¶

type ListMaskingReportsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only the resources that match the specified masking policy OCID.
	MaskingPolicyId *string `mandatory:"false" contributesTo:"query" name:"maskingPolicyId"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListMaskingReportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeMaskingFinished is descending.
	SortBy ListMaskingReportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListMaskingReportsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

ListMaskingReportsRequest wrapper for the ListMaskingReports operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskingReports.go.html to see an example of how to use ListMaskingReportsRequest.

func (ListMaskingReportsRequest) BinaryRequestBody ¶

func (request ListMaskingReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskingReportsRequest) HTTPRequest ¶

func (request ListMaskingReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskingReportsRequest) RetryPolicy ¶

func (request ListMaskingReportsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskingReportsRequest) String ¶

func (request ListMaskingReportsRequest) String() string

func (ListMaskingReportsRequest) ValidateEnumValue ¶

func (request ListMaskingReportsRequest) 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 ListMaskingReportsResponse ¶

type ListMaskingReportsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskingReportCollection instances
	MaskingReportCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskingReportsResponse wrapper for the ListMaskingReports operation

func (ListMaskingReportsResponse) HTTPResponse ¶

func (response ListMaskingReportsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskingReportsResponse) String ¶

func (response ListMaskingReportsResponse) String() string

type ListMaskingReportsSortByEnum ¶

type ListMaskingReportsSortByEnum string

ListMaskingReportsSortByEnum Enum with underlying type: string

const (
	ListMaskingReportsSortByTimemaskingfinished ListMaskingReportsSortByEnum = "timeMaskingFinished"
)

Set of constants representing the allowable values for ListMaskingReportsSortByEnum

func GetListMaskingReportsSortByEnumValues ¶

func GetListMaskingReportsSortByEnumValues() []ListMaskingReportsSortByEnum

GetListMaskingReportsSortByEnumValues Enumerates the set of values for ListMaskingReportsSortByEnum

func GetMappingListMaskingReportsSortByEnum ¶

func GetMappingListMaskingReportsSortByEnum(val string) (ListMaskingReportsSortByEnum, bool)

GetMappingListMaskingReportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingReportsSortOrderEnum ¶

type ListMaskingReportsSortOrderEnum string

ListMaskingReportsSortOrderEnum Enum with underlying type: string

const (
	ListMaskingReportsSortOrderAsc  ListMaskingReportsSortOrderEnum = "ASC"
	ListMaskingReportsSortOrderDesc ListMaskingReportsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMaskingReportsSortOrderEnum

func GetListMaskingReportsSortOrderEnumValues ¶

func GetListMaskingReportsSortOrderEnumValues() []ListMaskingReportsSortOrderEnum

GetListMaskingReportsSortOrderEnumValues Enumerates the set of values for ListMaskingReportsSortOrderEnum

func GetMappingListMaskingReportsSortOrderEnum ¶

func GetMappingListMaskingReportsSortOrderEnum(val string) (ListMaskingReportsSortOrderEnum, bool)

GetMappingListMaskingReportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingSchemasRequest ¶ added in v65.35.0

type ListMaskingSchemasRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListMaskingSchemasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder).
	// The default order is ascending.
	SortBy ListMaskingSchemasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListMaskingSchemasRequest wrapper for the ListMaskingSchemas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListMaskingSchemas.go.html to see an example of how to use ListMaskingSchemasRequest.

func (ListMaskingSchemasRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListMaskingSchemasRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMaskingSchemasRequest) HTTPRequest ¶ added in v65.35.0

func (request ListMaskingSchemasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMaskingSchemasRequest) RetryPolicy ¶ added in v65.35.0

func (request ListMaskingSchemasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMaskingSchemasRequest) String ¶ added in v65.35.0

func (request ListMaskingSchemasRequest) String() string

func (ListMaskingSchemasRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListMaskingSchemasRequest) 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 ListMaskingSchemasResponse ¶ added in v65.35.0

type ListMaskingSchemasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of MaskingSchemaCollection instances
	MaskingSchemaCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListMaskingSchemasResponse wrapper for the ListMaskingSchemas operation

func (ListMaskingSchemasResponse) HTTPResponse ¶ added in v65.35.0

func (response ListMaskingSchemasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMaskingSchemasResponse) String ¶ added in v65.35.0

func (response ListMaskingSchemasResponse) String() string

type ListMaskingSchemasSortByEnum ¶ added in v65.35.0

type ListMaskingSchemasSortByEnum string

ListMaskingSchemasSortByEnum Enum with underlying type: string

const (
	ListMaskingSchemasSortBySchemaname ListMaskingSchemasSortByEnum = "schemaName"
)

Set of constants representing the allowable values for ListMaskingSchemasSortByEnum

func GetListMaskingSchemasSortByEnumValues ¶ added in v65.35.0

func GetListMaskingSchemasSortByEnumValues() []ListMaskingSchemasSortByEnum

GetListMaskingSchemasSortByEnumValues Enumerates the set of values for ListMaskingSchemasSortByEnum

func GetMappingListMaskingSchemasSortByEnum ¶ added in v65.35.0

func GetMappingListMaskingSchemasSortByEnum(val string) (ListMaskingSchemasSortByEnum, bool)

GetMappingListMaskingSchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMaskingSchemasSortOrderEnum ¶ added in v65.35.0

type ListMaskingSchemasSortOrderEnum string

ListMaskingSchemasSortOrderEnum Enum with underlying type: string

const (
	ListMaskingSchemasSortOrderAsc  ListMaskingSchemasSortOrderEnum = "ASC"
	ListMaskingSchemasSortOrderDesc ListMaskingSchemasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMaskingSchemasSortOrderEnum

func GetListMaskingSchemasSortOrderEnumValues ¶ added in v65.35.0

func GetListMaskingSchemasSortOrderEnumValues() []ListMaskingSchemasSortOrderEnum

GetListMaskingSchemasSortOrderEnumValues Enumerates the set of values for ListMaskingSchemasSortOrderEnum

func GetMappingListMaskingSchemasSortOrderEnum ¶ added in v65.35.0

func GetMappingListMaskingSchemasSortOrderEnum(val string) (ListMaskingSchemasSortOrderEnum, bool)

GetMappingListMaskingSchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOnPremConnectorsAccessLevelEnum ¶

type ListOnPremConnectorsAccessLevelEnum string

ListOnPremConnectorsAccessLevelEnum Enum with underlying type: string

const (
	ListOnPremConnectorsAccessLevelRestricted ListOnPremConnectorsAccessLevelEnum = "RESTRICTED"
	ListOnPremConnectorsAccessLevelAccessible ListOnPremConnectorsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListOnPremConnectorsAccessLevelEnum

func GetListOnPremConnectorsAccessLevelEnumValues ¶

func GetListOnPremConnectorsAccessLevelEnumValues() []ListOnPremConnectorsAccessLevelEnum

GetListOnPremConnectorsAccessLevelEnumValues Enumerates the set of values for ListOnPremConnectorsAccessLevelEnum

func GetMappingListOnPremConnectorsAccessLevelEnum ¶

func GetMappingListOnPremConnectorsAccessLevelEnum(val string) (ListOnPremConnectorsAccessLevelEnum, bool)

GetMappingListOnPremConnectorsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOnPremConnectorsOnPremConnectorLifecycleStateEnum ¶

type ListOnPremConnectorsOnPremConnectorLifecycleStateEnum string

ListOnPremConnectorsOnPremConnectorLifecycleStateEnum Enum with underlying type: string

const (
	ListOnPremConnectorsOnPremConnectorLifecycleStateCreating       ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "CREATING"
	ListOnPremConnectorsOnPremConnectorLifecycleStateUpdating       ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "UPDATING"
	ListOnPremConnectorsOnPremConnectorLifecycleStateActive         ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "ACTIVE"
	ListOnPremConnectorsOnPremConnectorLifecycleStateInactive       ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "INACTIVE"
	ListOnPremConnectorsOnPremConnectorLifecycleStateDeleting       ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "DELETING"
	ListOnPremConnectorsOnPremConnectorLifecycleStateDeleted        ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "DELETED"
	ListOnPremConnectorsOnPremConnectorLifecycleStateFailed         ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "FAILED"
	ListOnPremConnectorsOnPremConnectorLifecycleStateNeedsAttention ListOnPremConnectorsOnPremConnectorLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues ¶

func GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues() []ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

GetListOnPremConnectorsOnPremConnectorLifecycleStateEnumValues Enumerates the set of values for ListOnPremConnectorsOnPremConnectorLifecycleStateEnum

func GetMappingListOnPremConnectorsOnPremConnectorLifecycleStateEnum ¶

func GetMappingListOnPremConnectorsOnPremConnectorLifecycleStateEnum(val string) (ListOnPremConnectorsOnPremConnectorLifecycleStateEnum, bool)

GetMappingListOnPremConnectorsOnPremConnectorLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOnPremConnectorsRequest ¶

type ListOnPremConnectorsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only the on-premises connector that matches the specified id.
	OnPremConnectorId *string `mandatory:"false" contributesTo:"query" name:"onPremConnectorId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only on-premises connector resources that match the specified lifecycle state.
	OnPremConnectorLifecycleState ListOnPremConnectorsOnPremConnectorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"onPremConnectorLifecycleState" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListOnPremConnectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListOnPremConnectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListOnPremConnectorsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

ListOnPremConnectorsRequest wrapper for the ListOnPremConnectors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListOnPremConnectors.go.html to see an example of how to use ListOnPremConnectorsRequest.

func (ListOnPremConnectorsRequest) BinaryRequestBody ¶

func (request ListOnPremConnectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListOnPremConnectorsRequest) HTTPRequest ¶

func (request ListOnPremConnectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListOnPremConnectorsRequest) RetryPolicy ¶

func (request ListOnPremConnectorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListOnPremConnectorsRequest) String ¶

func (request ListOnPremConnectorsRequest) String() string

func (ListOnPremConnectorsRequest) ValidateEnumValue ¶

func (request ListOnPremConnectorsRequest) 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 ListOnPremConnectorsResponse ¶

type ListOnPremConnectorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []OnPremConnectorSummary instances
	Items []OnPremConnectorSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListOnPremConnectorsResponse wrapper for the ListOnPremConnectors operation

func (ListOnPremConnectorsResponse) HTTPResponse ¶

func (response ListOnPremConnectorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListOnPremConnectorsResponse) String ¶

func (response ListOnPremConnectorsResponse) String() string

type ListOnPremConnectorsSortByEnum ¶

type ListOnPremConnectorsSortByEnum string

ListOnPremConnectorsSortByEnum Enum with underlying type: string

const (
	ListOnPremConnectorsSortByTimecreated ListOnPremConnectorsSortByEnum = "TIMECREATED"
	ListOnPremConnectorsSortByDisplayname ListOnPremConnectorsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListOnPremConnectorsSortByEnum

func GetListOnPremConnectorsSortByEnumValues ¶

func GetListOnPremConnectorsSortByEnumValues() []ListOnPremConnectorsSortByEnum

GetListOnPremConnectorsSortByEnumValues Enumerates the set of values for ListOnPremConnectorsSortByEnum

func GetMappingListOnPremConnectorsSortByEnum ¶

func GetMappingListOnPremConnectorsSortByEnum(val string) (ListOnPremConnectorsSortByEnum, bool)

GetMappingListOnPremConnectorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOnPremConnectorsSortOrderEnum ¶

type ListOnPremConnectorsSortOrderEnum string

ListOnPremConnectorsSortOrderEnum Enum with underlying type: string

const (
	ListOnPremConnectorsSortOrderAsc  ListOnPremConnectorsSortOrderEnum = "ASC"
	ListOnPremConnectorsSortOrderDesc ListOnPremConnectorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListOnPremConnectorsSortOrderEnum

func GetListOnPremConnectorsSortOrderEnumValues ¶

func GetListOnPremConnectorsSortOrderEnumValues() []ListOnPremConnectorsSortOrderEnum

GetListOnPremConnectorsSortOrderEnumValues Enumerates the set of values for ListOnPremConnectorsSortOrderEnum

func GetMappingListOnPremConnectorsSortOrderEnum ¶

func GetMappingListOnPremConnectorsSortOrderEnum(val string) (ListOnPremConnectorsSortOrderEnum, bool)

GetMappingListOnPremConnectorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProfileAnalyticsAccessLevelEnum ¶ added in v65.35.0

type ListProfileAnalyticsAccessLevelEnum string

ListProfileAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListProfileAnalyticsAccessLevelRestricted ListProfileAnalyticsAccessLevelEnum = "RESTRICTED"
	ListProfileAnalyticsAccessLevelAccessible ListProfileAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListProfileAnalyticsAccessLevelEnum

func GetListProfileAnalyticsAccessLevelEnumValues ¶ added in v65.35.0

func GetListProfileAnalyticsAccessLevelEnumValues() []ListProfileAnalyticsAccessLevelEnum

GetListProfileAnalyticsAccessLevelEnumValues Enumerates the set of values for ListProfileAnalyticsAccessLevelEnum

func GetMappingListProfileAnalyticsAccessLevelEnum ¶ added in v65.35.0

func GetMappingListProfileAnalyticsAccessLevelEnum(val string) (ListProfileAnalyticsAccessLevelEnum, bool)

GetMappingListProfileAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProfileAnalyticsRequest ¶ added in v65.35.0

type ListProfileAnalyticsRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListProfileAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only items that match the specified profile name.
	ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListProfileAnalyticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListProfileAnalyticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListProfileAnalyticsRequest wrapper for the ListProfileAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListProfileAnalytics.go.html to see an example of how to use ListProfileAnalyticsRequest.

func (ListProfileAnalyticsRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListProfileAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProfileAnalyticsRequest) HTTPRequest ¶ added in v65.35.0

func (request ListProfileAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProfileAnalyticsRequest) RetryPolicy ¶ added in v65.35.0

func (request ListProfileAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProfileAnalyticsRequest) String ¶ added in v65.35.0

func (request ListProfileAnalyticsRequest) String() string

func (ListProfileAnalyticsRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListProfileAnalyticsRequest) 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 ListProfileAnalyticsResponse ¶ added in v65.35.0

type ListProfileAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ProfileAggregation instances
	Items []ProfileAggregation `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListProfileAnalyticsResponse wrapper for the ListProfileAnalytics operation

func (ListProfileAnalyticsResponse) HTTPResponse ¶ added in v65.35.0

func (response ListProfileAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProfileAnalyticsResponse) String ¶ added in v65.35.0

func (response ListProfileAnalyticsResponse) String() string

type ListProfileAnalyticsSortByEnum ¶ added in v65.35.0

type ListProfileAnalyticsSortByEnum string

ListProfileAnalyticsSortByEnum Enum with underlying type: string

const (
	ListProfileAnalyticsSortByTimecreated ListProfileAnalyticsSortByEnum = "TIMECREATED"
	ListProfileAnalyticsSortByDisplayname ListProfileAnalyticsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListProfileAnalyticsSortByEnum

func GetListProfileAnalyticsSortByEnumValues ¶ added in v65.35.0

func GetListProfileAnalyticsSortByEnumValues() []ListProfileAnalyticsSortByEnum

GetListProfileAnalyticsSortByEnumValues Enumerates the set of values for ListProfileAnalyticsSortByEnum

func GetMappingListProfileAnalyticsSortByEnum ¶ added in v65.35.0

func GetMappingListProfileAnalyticsSortByEnum(val string) (ListProfileAnalyticsSortByEnum, bool)

GetMappingListProfileAnalyticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProfileAnalyticsSortOrderEnum ¶ added in v65.35.0

type ListProfileAnalyticsSortOrderEnum string

ListProfileAnalyticsSortOrderEnum Enum with underlying type: string

const (
	ListProfileAnalyticsSortOrderAsc  ListProfileAnalyticsSortOrderEnum = "ASC"
	ListProfileAnalyticsSortOrderDesc ListProfileAnalyticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProfileAnalyticsSortOrderEnum

func GetListProfileAnalyticsSortOrderEnumValues ¶ added in v65.35.0

func GetListProfileAnalyticsSortOrderEnumValues() []ListProfileAnalyticsSortOrderEnum

GetListProfileAnalyticsSortOrderEnumValues Enumerates the set of values for ListProfileAnalyticsSortOrderEnum

func GetMappingListProfileAnalyticsSortOrderEnum ¶ added in v65.35.0

func GetMappingListProfileAnalyticsSortOrderEnum(val string) (ListProfileAnalyticsSortOrderEnum, bool)

GetMappingListProfileAnalyticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProfileSummariesAccessLevelEnum ¶ added in v65.35.0

type ListProfileSummariesAccessLevelEnum string

ListProfileSummariesAccessLevelEnum Enum with underlying type: string

const (
	ListProfileSummariesAccessLevelRestricted ListProfileSummariesAccessLevelEnum = "RESTRICTED"
	ListProfileSummariesAccessLevelAccessible ListProfileSummariesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListProfileSummariesAccessLevelEnum

func GetListProfileSummariesAccessLevelEnumValues ¶ added in v65.35.0

func GetListProfileSummariesAccessLevelEnumValues() []ListProfileSummariesAccessLevelEnum

GetListProfileSummariesAccessLevelEnumValues Enumerates the set of values for ListProfileSummariesAccessLevelEnum

func GetMappingListProfileSummariesAccessLevelEnum ¶ added in v65.35.0

func GetMappingListProfileSummariesAccessLevelEnum(val string) (ListProfileSummariesAccessLevelEnum, bool)

GetMappingListProfileSummariesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProfileSummariesRequest ¶ added in v65.35.0

type ListProfileSummariesRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListProfileSummariesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only items that match the specified profile name.
	ProfileName *string `mandatory:"false" contributesTo:"query" name:"profileName"`

	// An optional filter to return the user created profiles.
	IsUserCreated *bool `mandatory:"false" contributesTo:"query" name:"isUserCreated"`

	// An optional filter to filter the profiles based on password verification function.
	PasswordVerificationFunction *string `mandatory:"false" contributesTo:"query" name:"passwordVerificationFunction"`

	// An optional filter to return the profiles having user count greater than or equal to the provided value.
	UserCountGreaterThanOrEqual *string `mandatory:"false" contributesTo:"query" name:"userCountGreaterThanOrEqual"`

	// An optional filter to return the profiles having user count less than the provided value.
	UserCountLessThan *string `mandatory:"false" contributesTo:"query" name:"userCountLessThan"`

	// An optional filter to return the profiles having allow failed login attempts number greater than or equal to the provided value.
	// String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	FailedLoginAttemptsGreaterThanOrEqual *string `mandatory:"false" contributesTo:"query" name:"failedLoginAttemptsGreaterThanOrEqual"`

	// An optional filter to return the profiles having failed login attempts number less than the provided value.
	// String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	FailedLoginAttemptsLessThan *string `mandatory:"false" contributesTo:"query" name:"failedLoginAttemptsLessThan"`

	// An optional filter to return the profiles permitting the user to spawn multiple sessions having count.
	// greater than or equal to the provided value. String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	SessionsPerUserGreaterThanOrEqual *string `mandatory:"false" contributesTo:"query" name:"sessionsPerUserGreaterThanOrEqual"`

	// An optional filter to return the profiles permitting the user to spawn multiple sessions having count less than
	// the provided value. String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	SessionsPerUserLessThan *string `mandatory:"false" contributesTo:"query" name:"sessionsPerUserLessThan"`

	// An optional filter to return the profiles allowing inactive account time in days greater than or equal to the provided value.
	// String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	InactiveAccountTimeGreaterThanOrEqual *string `mandatory:"false" contributesTo:"query" name:"inactiveAccountTimeGreaterThanOrEqual"`

	// An optional filter to return the profiles  allowing inactive account time in days less than the provided value.
	// String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	InactiveAccountTimeLessThan *string `mandatory:"false" contributesTo:"query" name:"inactiveAccountTimeLessThan"`

	// An optional filter to return the profiles having password lock number greater than or equal to the provided value.
	// String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	PasswordLockTimeGreaterThanOrEqual *string `mandatory:"false" contributesTo:"query" name:"passwordLockTimeGreaterThanOrEqual"`

	// An optional filter to return the profiles having password lock number less than the provided value.
	// String value is used for accommodating the "UNLIMITED" and "DEFAULT" values.
	PasswordLockTimeLessThan *string `mandatory:"false" contributesTo:"query" name:"passwordLockTimeLessThan"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order is targetId ASC.
	SortBy ListProfileSummariesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListProfileSummariesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListProfileSummariesRequest wrapper for the ListProfileSummaries operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListProfileSummaries.go.html to see an example of how to use ListProfileSummariesRequest.

func (ListProfileSummariesRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListProfileSummariesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProfileSummariesRequest) HTTPRequest ¶ added in v65.35.0

func (request ListProfileSummariesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProfileSummariesRequest) RetryPolicy ¶ added in v65.35.0

func (request ListProfileSummariesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProfileSummariesRequest) String ¶ added in v65.35.0

func (request ListProfileSummariesRequest) String() string

func (ListProfileSummariesRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListProfileSummariesRequest) 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 ListProfileSummariesResponse ¶ added in v65.35.0

type ListProfileSummariesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ProfileSummary instances
	Items []ProfileSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListProfileSummariesResponse wrapper for the ListProfileSummaries operation

func (ListProfileSummariesResponse) HTTPResponse ¶ added in v65.35.0

func (response ListProfileSummariesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProfileSummariesResponse) String ¶ added in v65.35.0

func (response ListProfileSummariesResponse) String() string

type ListProfileSummariesSortByEnum ¶ added in v65.35.0

type ListProfileSummariesSortByEnum string

ListProfileSummariesSortByEnum Enum with underlying type: string

const (
	ListProfileSummariesSortByProfilename                  ListProfileSummariesSortByEnum = "profileName"
	ListProfileSummariesSortByTargetid                     ListProfileSummariesSortByEnum = "targetId"
	ListProfileSummariesSortByIsusercreated                ListProfileSummariesSortByEnum = "isUserCreated"
	ListProfileSummariesSortByPasswordverificationfunction ListProfileSummariesSortByEnum = "passwordVerificationFunction"
	ListProfileSummariesSortByUsercount                    ListProfileSummariesSortByEnum = "userCount"
	ListProfileSummariesSortBySessionsperuser              ListProfileSummariesSortByEnum = "sessionsPerUser"
	ListProfileSummariesSortByInactiveaccounttime          ListProfileSummariesSortByEnum = "inactiveAccountTime"
	ListProfileSummariesSortByFailedloginattempts          ListProfileSummariesSortByEnum = "failedLoginAttempts"
)

Set of constants representing the allowable values for ListProfileSummariesSortByEnum

func GetListProfileSummariesSortByEnumValues ¶ added in v65.35.0

func GetListProfileSummariesSortByEnumValues() []ListProfileSummariesSortByEnum

GetListProfileSummariesSortByEnumValues Enumerates the set of values for ListProfileSummariesSortByEnum

func GetMappingListProfileSummariesSortByEnum ¶ added in v65.35.0

func GetMappingListProfileSummariesSortByEnum(val string) (ListProfileSummariesSortByEnum, bool)

GetMappingListProfileSummariesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProfileSummariesSortOrderEnum ¶ added in v65.35.0

type ListProfileSummariesSortOrderEnum string

ListProfileSummariesSortOrderEnum Enum with underlying type: string

const (
	ListProfileSummariesSortOrderAsc  ListProfileSummariesSortOrderEnum = "ASC"
	ListProfileSummariesSortOrderDesc ListProfileSummariesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProfileSummariesSortOrderEnum

func GetListProfileSummariesSortOrderEnumValues ¶ added in v65.35.0

func GetListProfileSummariesSortOrderEnumValues() []ListProfileSummariesSortOrderEnum

GetListProfileSummariesSortOrderEnumValues Enumerates the set of values for ListProfileSummariesSortOrderEnum

func GetMappingListProfileSummariesSortOrderEnum ¶ added in v65.35.0

func GetMappingListProfileSummariesSortOrderEnum(val string) (ListProfileSummariesSortOrderEnum, bool)

GetMappingListProfileSummariesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportDefinitionsAccessLevelEnum ¶

type ListReportDefinitionsAccessLevelEnum string

ListReportDefinitionsAccessLevelEnum Enum with underlying type: string

const (
	ListReportDefinitionsAccessLevelRestricted ListReportDefinitionsAccessLevelEnum = "RESTRICTED"
	ListReportDefinitionsAccessLevelAccessible ListReportDefinitionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListReportDefinitionsAccessLevelEnum

func GetListReportDefinitionsAccessLevelEnumValues ¶

func GetListReportDefinitionsAccessLevelEnumValues() []ListReportDefinitionsAccessLevelEnum

GetListReportDefinitionsAccessLevelEnumValues Enumerates the set of values for ListReportDefinitionsAccessLevelEnum

func GetMappingListReportDefinitionsAccessLevelEnum ¶

func GetMappingListReportDefinitionsAccessLevelEnum(val string) (ListReportDefinitionsAccessLevelEnum, bool)

GetMappingListReportDefinitionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportDefinitionsCategoryEnum ¶

type ListReportDefinitionsCategoryEnum string

ListReportDefinitionsCategoryEnum Enum with underlying type: string

const (
	ListReportDefinitionsCategoryCustomReports    ListReportDefinitionsCategoryEnum = "CUSTOM_REPORTS"
	ListReportDefinitionsCategorySummary          ListReportDefinitionsCategoryEnum = "SUMMARY"
	ListReportDefinitionsCategoryActivityAuditing ListReportDefinitionsCategoryEnum = "ACTIVITY_AUDITING"
)

Set of constants representing the allowable values for ListReportDefinitionsCategoryEnum

func GetListReportDefinitionsCategoryEnumValues ¶

func GetListReportDefinitionsCategoryEnumValues() []ListReportDefinitionsCategoryEnum

GetListReportDefinitionsCategoryEnumValues Enumerates the set of values for ListReportDefinitionsCategoryEnum

func GetMappingListReportDefinitionsCategoryEnum ¶

func GetMappingListReportDefinitionsCategoryEnum(val string) (ListReportDefinitionsCategoryEnum, bool)

GetMappingListReportDefinitionsCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportDefinitionsDataSourceEnum ¶

type ListReportDefinitionsDataSourceEnum string

ListReportDefinitionsDataSourceEnum Enum with underlying type: string

const (
	ListReportDefinitionsDataSourceEvents ListReportDefinitionsDataSourceEnum = "EVENTS"
	ListReportDefinitionsDataSourceAlerts ListReportDefinitionsDataSourceEnum = "ALERTS"
)

Set of constants representing the allowable values for ListReportDefinitionsDataSourceEnum

func GetListReportDefinitionsDataSourceEnumValues ¶

func GetListReportDefinitionsDataSourceEnumValues() []ListReportDefinitionsDataSourceEnum

GetListReportDefinitionsDataSourceEnumValues Enumerates the set of values for ListReportDefinitionsDataSourceEnum

func GetMappingListReportDefinitionsDataSourceEnum ¶

func GetMappingListReportDefinitionsDataSourceEnum(val string) (ListReportDefinitionsDataSourceEnum, bool)

GetMappingListReportDefinitionsDataSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportDefinitionsLifecycleStateEnum ¶

type ListReportDefinitionsLifecycleStateEnum string

ListReportDefinitionsLifecycleStateEnum Enum with underlying type: string

const (
	ListReportDefinitionsLifecycleStateCreating ListReportDefinitionsLifecycleStateEnum = "CREATING"
	ListReportDefinitionsLifecycleStateUpdating ListReportDefinitionsLifecycleStateEnum = "UPDATING"
	ListReportDefinitionsLifecycleStateActive   ListReportDefinitionsLifecycleStateEnum = "ACTIVE"
	ListReportDefinitionsLifecycleStateDeleting ListReportDefinitionsLifecycleStateEnum = "DELETING"
	ListReportDefinitionsLifecycleStateDeleted  ListReportDefinitionsLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListReportDefinitionsLifecycleStateEnum

func GetListReportDefinitionsLifecycleStateEnumValues ¶

func GetListReportDefinitionsLifecycleStateEnumValues() []ListReportDefinitionsLifecycleStateEnum

GetListReportDefinitionsLifecycleStateEnumValues Enumerates the set of values for ListReportDefinitionsLifecycleStateEnum

func GetMappingListReportDefinitionsLifecycleStateEnum ¶

func GetMappingListReportDefinitionsLifecycleStateEnum(val string) (ListReportDefinitionsLifecycleStateEnum, bool)

GetMappingListReportDefinitionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportDefinitionsRequest ¶

type ListReportDefinitionsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListReportDefinitionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The name of the report definition to query.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListReportDefinitionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting parameter order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListReportDefinitionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A boolean flag indicating to list seeded report definitions. Set this parameter to get list of seeded report definitions.
	IsSeeded *bool `mandatory:"false" contributesTo:"query" name:"isSeeded"`

	// Specifies the name of a resource that provides data for the report. For example  alerts, events.
	DataSource ListReportDefinitionsDataSourceEnum `mandatory:"false" contributesTo:"query" name:"dataSource" omitEmpty:"true"`

	// An optional filter to return only resources that match the specified lifecycle state.
	LifecycleState ListReportDefinitionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// An optional filter to return only resources that match the specified category.
	Category ListReportDefinitionsCategoryEnum `mandatory:"false" contributesTo:"query" name:"category" 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
}

ListReportDefinitionsRequest wrapper for the ListReportDefinitions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListReportDefinitions.go.html to see an example of how to use ListReportDefinitionsRequest.

func (ListReportDefinitionsRequest) BinaryRequestBody ¶

func (request ListReportDefinitionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReportDefinitionsRequest) HTTPRequest ¶

func (request ListReportDefinitionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReportDefinitionsRequest) RetryPolicy ¶

func (request ListReportDefinitionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReportDefinitionsRequest) String ¶

func (request ListReportDefinitionsRequest) String() string

func (ListReportDefinitionsRequest) ValidateEnumValue ¶

func (request ListReportDefinitionsRequest) 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 ListReportDefinitionsResponse ¶

type ListReportDefinitionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ReportDefinitionCollection instances
	ReportDefinitionCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListReportDefinitionsResponse wrapper for the ListReportDefinitions operation

func (ListReportDefinitionsResponse) HTTPResponse ¶

func (response ListReportDefinitionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReportDefinitionsResponse) String ¶

func (response ListReportDefinitionsResponse) String() string

type ListReportDefinitionsSortByEnum ¶

type ListReportDefinitionsSortByEnum string

ListReportDefinitionsSortByEnum Enum with underlying type: string

const (
	ListReportDefinitionsSortByTimecreated  ListReportDefinitionsSortByEnum = "TIMECREATED"
	ListReportDefinitionsSortByDisplayname  ListReportDefinitionsSortByEnum = "DISPLAYNAME"
	ListReportDefinitionsSortByDisplayorder ListReportDefinitionsSortByEnum = "DISPLAYORDER"
)

Set of constants representing the allowable values for ListReportDefinitionsSortByEnum

func GetListReportDefinitionsSortByEnumValues ¶

func GetListReportDefinitionsSortByEnumValues() []ListReportDefinitionsSortByEnum

GetListReportDefinitionsSortByEnumValues Enumerates the set of values for ListReportDefinitionsSortByEnum

func GetMappingListReportDefinitionsSortByEnum ¶

func GetMappingListReportDefinitionsSortByEnum(val string) (ListReportDefinitionsSortByEnum, bool)

GetMappingListReportDefinitionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportDefinitionsSortOrderEnum ¶

type ListReportDefinitionsSortOrderEnum string

ListReportDefinitionsSortOrderEnum Enum with underlying type: string

const (
	ListReportDefinitionsSortOrderAsc  ListReportDefinitionsSortOrderEnum = "ASC"
	ListReportDefinitionsSortOrderDesc ListReportDefinitionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListReportDefinitionsSortOrderEnum

func GetListReportDefinitionsSortOrderEnumValues ¶

func GetListReportDefinitionsSortOrderEnumValues() []ListReportDefinitionsSortOrderEnum

GetListReportDefinitionsSortOrderEnumValues Enumerates the set of values for ListReportDefinitionsSortOrderEnum

func GetMappingListReportDefinitionsSortOrderEnum ¶

func GetMappingListReportDefinitionsSortOrderEnum(val string) (ListReportDefinitionsSortOrderEnum, bool)

GetMappingListReportDefinitionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportsAccessLevelEnum ¶

type ListReportsAccessLevelEnum string

ListReportsAccessLevelEnum Enum with underlying type: string

const (
	ListReportsAccessLevelRestricted ListReportsAccessLevelEnum = "RESTRICTED"
	ListReportsAccessLevelAccessible ListReportsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListReportsAccessLevelEnum

func GetListReportsAccessLevelEnumValues ¶

func GetListReportsAccessLevelEnumValues() []ListReportsAccessLevelEnum

GetListReportsAccessLevelEnumValues Enumerates the set of values for ListReportsAccessLevelEnum

func GetMappingListReportsAccessLevelEnum ¶

func GetMappingListReportsAccessLevelEnum(val string) (ListReportsAccessLevelEnum, bool)

GetMappingListReportsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportsLifecycleStateEnum ¶

type ListReportsLifecycleStateEnum string

ListReportsLifecycleStateEnum Enum with underlying type: string

const (
	ListReportsLifecycleStateUpdating ListReportsLifecycleStateEnum = "UPDATING"
	ListReportsLifecycleStateActive   ListReportsLifecycleStateEnum = "ACTIVE"
)

Set of constants representing the allowable values for ListReportsLifecycleStateEnum

func GetListReportsLifecycleStateEnumValues ¶

func GetListReportsLifecycleStateEnumValues() []ListReportsLifecycleStateEnum

GetListReportsLifecycleStateEnumValues Enumerates the set of values for ListReportsLifecycleStateEnum

func GetMappingListReportsLifecycleStateEnum ¶

func GetMappingListReportsLifecycleStateEnum(val string) (ListReportsLifecycleStateEnum, bool)

GetMappingListReportsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportsRequest ¶

type ListReportsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListReportsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The name of the report definition to query.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListReportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeGenerated is descending. Default order for displayName is ascending. If no value is specified timeGenerated is default.
	SortBy ListReportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The ID of the report definition to filter the list of reports
	ReportDefinitionId *string `mandatory:"false" contributesTo:"query" name:"reportDefinitionId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// An optional filter to return only resources that match the specified lifecycle state.
	LifecycleState ListReportsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// An optional filter to return only resources that match the specified type.
	Type ListReportsTypeEnum `mandatory:"false" contributesTo:"query" name:"type" 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
}

ListReportsRequest wrapper for the ListReports operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListReports.go.html to see an example of how to use ListReportsRequest.

func (ListReportsRequest) BinaryRequestBody ¶

func (request ListReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReportsRequest) HTTPRequest ¶

func (request ListReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReportsRequest) RetryPolicy ¶

func (request ListReportsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReportsRequest) String ¶

func (request ListReportsRequest) String() string

func (ListReportsRequest) ValidateEnumValue ¶

func (request ListReportsRequest) 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 ListReportsResponse ¶

type ListReportsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ReportCollection instances
	ReportCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListReportsResponse wrapper for the ListReports operation

func (ListReportsResponse) HTTPResponse ¶

func (response ListReportsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReportsResponse) String ¶

func (response ListReportsResponse) String() string

type ListReportsSortByEnum ¶

type ListReportsSortByEnum string

ListReportsSortByEnum Enum with underlying type: string

const (
	ListReportsSortByTimegenerated ListReportsSortByEnum = "timeGenerated"
	ListReportsSortByDisplayname   ListReportsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListReportsSortByEnum

func GetListReportsSortByEnumValues ¶

func GetListReportsSortByEnumValues() []ListReportsSortByEnum

GetListReportsSortByEnumValues Enumerates the set of values for ListReportsSortByEnum

func GetMappingListReportsSortByEnum ¶

func GetMappingListReportsSortByEnum(val string) (ListReportsSortByEnum, bool)

GetMappingListReportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportsSortOrderEnum ¶

type ListReportsSortOrderEnum string

ListReportsSortOrderEnum Enum with underlying type: string

const (
	ListReportsSortOrderAsc  ListReportsSortOrderEnum = "ASC"
	ListReportsSortOrderDesc ListReportsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListReportsSortOrderEnum

func GetListReportsSortOrderEnumValues ¶

func GetListReportsSortOrderEnumValues() []ListReportsSortOrderEnum

GetListReportsSortOrderEnumValues Enumerates the set of values for ListReportsSortOrderEnum

func GetMappingListReportsSortOrderEnum ¶

func GetMappingListReportsSortOrderEnum(val string) (ListReportsSortOrderEnum, bool)

GetMappingListReportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReportsTypeEnum ¶ added in v65.27.0

type ListReportsTypeEnum string

ListReportsTypeEnum Enum with underlying type: string

const (
	ListReportsTypeGenerated ListReportsTypeEnum = "GENERATED"
	ListReportsTypeScheduled ListReportsTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for ListReportsTypeEnum

func GetListReportsTypeEnumValues ¶ added in v65.27.0

func GetListReportsTypeEnumValues() []ListReportsTypeEnum

GetListReportsTypeEnumValues Enumerates the set of values for ListReportsTypeEnum

func GetMappingListReportsTypeEnum ¶ added in v65.27.0

func GetMappingListReportsTypeEnum(val string) (ListReportsTypeEnum, bool)

GetMappingListReportsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRolesRequest ¶

type ListRolesRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only a specific role based on role name.
	RoleName []string `contributesTo:"query" name:"roleName" collectionFormat:"multi"`

	// A filter to return roles based on whether they are maintained by oracle or not.
	IsOracleMaintained *bool `mandatory:"false" contributesTo:"query" name:"isOracleMaintained"`

	// A filter to return roles based on authentication type.
	AuthenticationType *string `mandatory:"false" contributesTo:"query" name:"authenticationType"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListRolesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	SortBy ListRolesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items if role name contains a specific string.
	RoleNameContains *string `mandatory:"false" contributesTo:"query" name:"roleNameContains"`

	// 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
}

ListRolesRequest wrapper for the ListRoles operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListRoles.go.html to see an example of how to use ListRolesRequest.

func (ListRolesRequest) BinaryRequestBody ¶

func (request ListRolesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRolesRequest) HTTPRequest ¶

func (request ListRolesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRolesRequest) RetryPolicy ¶

func (request ListRolesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRolesRequest) String ¶

func (request ListRolesRequest) String() string

func (ListRolesRequest) ValidateEnumValue ¶

func (request ListRolesRequest) 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 ListRolesResponse ¶

type ListRolesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []RoleSummary instances
	Items []RoleSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListRolesResponse wrapper for the ListRoles operation

func (ListRolesResponse) HTTPResponse ¶

func (response ListRolesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRolesResponse) String ¶

func (response ListRolesResponse) String() string

type ListRolesSortByEnum ¶

type ListRolesSortByEnum string

ListRolesSortByEnum Enum with underlying type: string

const (
	ListRolesSortByRolename ListRolesSortByEnum = "ROLENAME"
)

Set of constants representing the allowable values for ListRolesSortByEnum

func GetListRolesSortByEnumValues ¶

func GetListRolesSortByEnumValues() []ListRolesSortByEnum

GetListRolesSortByEnumValues Enumerates the set of values for ListRolesSortByEnum

func GetMappingListRolesSortByEnum ¶

func GetMappingListRolesSortByEnum(val string) (ListRolesSortByEnum, bool)

GetMappingListRolesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRolesSortOrderEnum ¶

type ListRolesSortOrderEnum string

ListRolesSortOrderEnum Enum with underlying type: string

const (
	ListRolesSortOrderAsc  ListRolesSortOrderEnum = "ASC"
	ListRolesSortOrderDesc ListRolesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListRolesSortOrderEnum

func GetListRolesSortOrderEnumValues ¶

func GetListRolesSortOrderEnumValues() []ListRolesSortOrderEnum

GetListRolesSortOrderEnumValues Enumerates the set of values for ListRolesSortOrderEnum

func GetMappingListRolesSortOrderEnum ¶

func GetMappingListRolesSortOrderEnum(val string) (ListRolesSortOrderEnum, bool)

GetMappingListRolesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSchemasRequest ¶

type ListSchemasRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSchemasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	SortBy ListSchemasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items related to specific type of schema.
	IsOracleMaintained *bool `mandatory:"false" contributesTo:"query" name:"isOracleMaintained"`

	// A filter to return only items if schema name contains a specific string.
	SchemaNameContains *string `mandatory:"false" contributesTo:"query" name:"schemaNameContains"`

	// 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
}

ListSchemasRequest wrapper for the ListSchemas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSchemas.go.html to see an example of how to use ListSchemasRequest.

func (ListSchemasRequest) BinaryRequestBody ¶

func (request ListSchemasRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSchemasRequest) HTTPRequest ¶

func (request ListSchemasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSchemasRequest) RetryPolicy ¶

func (request ListSchemasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSchemasRequest) String ¶

func (request ListSchemasRequest) String() string

func (ListSchemasRequest) ValidateEnumValue ¶

func (request ListSchemasRequest) 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 ListSchemasResponse ¶

type ListSchemasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SchemaSummary instances
	Items []SchemaSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSchemasResponse wrapper for the ListSchemas operation

func (ListSchemasResponse) HTTPResponse ¶

func (response ListSchemasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSchemasResponse) String ¶

func (response ListSchemasResponse) String() string

type ListSchemasSortByEnum ¶

type ListSchemasSortByEnum string

ListSchemasSortByEnum Enum with underlying type: string

const (
	ListSchemasSortBySchemaname ListSchemasSortByEnum = "SCHEMANAME"
)

Set of constants representing the allowable values for ListSchemasSortByEnum

func GetListSchemasSortByEnumValues ¶

func GetListSchemasSortByEnumValues() []ListSchemasSortByEnum

GetListSchemasSortByEnumValues Enumerates the set of values for ListSchemasSortByEnum

func GetMappingListSchemasSortByEnum ¶

func GetMappingListSchemasSortByEnum(val string) (ListSchemasSortByEnum, bool)

GetMappingListSchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSchemasSortOrderEnum ¶

type ListSchemasSortOrderEnum string

ListSchemasSortOrderEnum Enum with underlying type: string

const (
	ListSchemasSortOrderAsc  ListSchemasSortOrderEnum = "ASC"
	ListSchemasSortOrderDesc ListSchemasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSchemasSortOrderEnum

func GetListSchemasSortOrderEnumValues ¶

func GetListSchemasSortOrderEnumValues() []ListSchemasSortOrderEnum

GetListSchemasSortOrderEnumValues Enumerates the set of values for ListSchemasSortOrderEnum

func GetMappingListSchemasSortOrderEnum ¶

func GetMappingListSchemasSortOrderEnum(val string) (ListSchemasSortOrderEnum, bool)

GetMappingListSchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum ¶ added in v65.35.0

type ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum string

ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum Enum with underlying type: string

const (
	ListSdmMaskingPolicyDifferencesDifferenceAccessLevelAccessible ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum

func GetListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnumValues ¶ added in v65.35.0

func GetListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnumValues() []ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum

GetListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnumValues Enumerates the set of values for ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum

func GetMappingListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum ¶ added in v65.35.0

func GetMappingListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum(val string) (ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum, bool)

GetMappingListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSdmMaskingPolicyDifferencesRequest ¶ added in v65.35.0

type ListSdmMaskingPolicyDifferencesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid value is ACCESSIBLE. Default is ACCESSIBLE.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	DifferenceAccessLevel ListSdmMaskingPolicyDifferencesDifferenceAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"differenceAccessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only the resources that match the specified sensitive data model OCID.
	SensitiveDataModelId *string `mandatory:"false" contributesTo:"query" name:"sensitiveDataModelId"`

	// A filter to return only the resources that match the specified lifecycle states.
	LifecycleState SdmMaskingPolicyDifferenceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only the resources that match the specified masking policy OCID.
	MaskingPolicyId *string `mandatory:"false" contributesTo:"query" name:"maskingPolicyId"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSdmMaskingPolicyDifferencesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreationStarted is descending.
	// The default order for displayName is ascending.
	SortBy ListSdmMaskingPolicyDifferencesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	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
}

ListSdmMaskingPolicyDifferencesRequest wrapper for the ListSdmMaskingPolicyDifferences operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSdmMaskingPolicyDifferences.go.html to see an example of how to use ListSdmMaskingPolicyDifferencesRequest.

func (ListSdmMaskingPolicyDifferencesRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListSdmMaskingPolicyDifferencesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSdmMaskingPolicyDifferencesRequest) HTTPRequest ¶ added in v65.35.0

func (request ListSdmMaskingPolicyDifferencesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSdmMaskingPolicyDifferencesRequest) RetryPolicy ¶ added in v65.35.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSdmMaskingPolicyDifferencesRequest) String ¶ added in v65.35.0

func (ListSdmMaskingPolicyDifferencesRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListSdmMaskingPolicyDifferencesRequest) 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 ListSdmMaskingPolicyDifferencesResponse ¶ added in v65.35.0

type ListSdmMaskingPolicyDifferencesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SdmMaskingPolicyDifferenceCollection instances
	SdmMaskingPolicyDifferenceCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSdmMaskingPolicyDifferencesResponse wrapper for the ListSdmMaskingPolicyDifferences operation

func (ListSdmMaskingPolicyDifferencesResponse) HTTPResponse ¶ added in v65.35.0

func (response ListSdmMaskingPolicyDifferencesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSdmMaskingPolicyDifferencesResponse) String ¶ added in v65.35.0

type ListSdmMaskingPolicyDifferencesSortByEnum ¶ added in v65.35.0

type ListSdmMaskingPolicyDifferencesSortByEnum string

ListSdmMaskingPolicyDifferencesSortByEnum Enum with underlying type: string

const (
	ListSdmMaskingPolicyDifferencesSortByTimecreationstarted ListSdmMaskingPolicyDifferencesSortByEnum = "timeCreationStarted"
	ListSdmMaskingPolicyDifferencesSortByDisplayname         ListSdmMaskingPolicyDifferencesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSdmMaskingPolicyDifferencesSortByEnum

func GetListSdmMaskingPolicyDifferencesSortByEnumValues ¶ added in v65.35.0

func GetListSdmMaskingPolicyDifferencesSortByEnumValues() []ListSdmMaskingPolicyDifferencesSortByEnum

GetListSdmMaskingPolicyDifferencesSortByEnumValues Enumerates the set of values for ListSdmMaskingPolicyDifferencesSortByEnum

func GetMappingListSdmMaskingPolicyDifferencesSortByEnum ¶ added in v65.35.0

func GetMappingListSdmMaskingPolicyDifferencesSortByEnum(val string) (ListSdmMaskingPolicyDifferencesSortByEnum, bool)

GetMappingListSdmMaskingPolicyDifferencesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSdmMaskingPolicyDifferencesSortOrderEnum ¶ added in v65.35.0

type ListSdmMaskingPolicyDifferencesSortOrderEnum string

ListSdmMaskingPolicyDifferencesSortOrderEnum Enum with underlying type: string

const (
	ListSdmMaskingPolicyDifferencesSortOrderAsc  ListSdmMaskingPolicyDifferencesSortOrderEnum = "ASC"
	ListSdmMaskingPolicyDifferencesSortOrderDesc ListSdmMaskingPolicyDifferencesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSdmMaskingPolicyDifferencesSortOrderEnum

func GetListSdmMaskingPolicyDifferencesSortOrderEnumValues ¶ added in v65.35.0

func GetListSdmMaskingPolicyDifferencesSortOrderEnumValues() []ListSdmMaskingPolicyDifferencesSortOrderEnum

GetListSdmMaskingPolicyDifferencesSortOrderEnumValues Enumerates the set of values for ListSdmMaskingPolicyDifferencesSortOrderEnum

func GetMappingListSdmMaskingPolicyDifferencesSortOrderEnum ¶ added in v65.35.0

func GetMappingListSdmMaskingPolicyDifferencesSortOrderEnum(val string) (ListSdmMaskingPolicyDifferencesSortOrderEnum, bool)

GetMappingListSdmMaskingPolicyDifferencesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityAssessmentsAccessLevelEnum ¶

type ListSecurityAssessmentsAccessLevelEnum string

ListSecurityAssessmentsAccessLevelEnum Enum with underlying type: string

const (
	ListSecurityAssessmentsAccessLevelRestricted ListSecurityAssessmentsAccessLevelEnum = "RESTRICTED"
	ListSecurityAssessmentsAccessLevelAccessible ListSecurityAssessmentsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSecurityAssessmentsAccessLevelEnum

func GetListSecurityAssessmentsAccessLevelEnumValues ¶

func GetListSecurityAssessmentsAccessLevelEnumValues() []ListSecurityAssessmentsAccessLevelEnum

GetListSecurityAssessmentsAccessLevelEnumValues Enumerates the set of values for ListSecurityAssessmentsAccessLevelEnum

func GetMappingListSecurityAssessmentsAccessLevelEnum ¶

func GetMappingListSecurityAssessmentsAccessLevelEnum(val string) (ListSecurityAssessmentsAccessLevelEnum, bool)

GetMappingListSecurityAssessmentsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityAssessmentsLifecycleStateEnum ¶

type ListSecurityAssessmentsLifecycleStateEnum string

ListSecurityAssessmentsLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityAssessmentsLifecycleStateCreating  ListSecurityAssessmentsLifecycleStateEnum = "CREATING"
	ListSecurityAssessmentsLifecycleStateSucceeded ListSecurityAssessmentsLifecycleStateEnum = "SUCCEEDED"
	ListSecurityAssessmentsLifecycleStateUpdating  ListSecurityAssessmentsLifecycleStateEnum = "UPDATING"
	ListSecurityAssessmentsLifecycleStateDeleting  ListSecurityAssessmentsLifecycleStateEnum = "DELETING"
	ListSecurityAssessmentsLifecycleStateDeleted   ListSecurityAssessmentsLifecycleStateEnum = "DELETED"
	ListSecurityAssessmentsLifecycleStateFailed    ListSecurityAssessmentsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityAssessmentsLifecycleStateEnum

func GetListSecurityAssessmentsLifecycleStateEnumValues ¶

func GetListSecurityAssessmentsLifecycleStateEnumValues() []ListSecurityAssessmentsLifecycleStateEnum

GetListSecurityAssessmentsLifecycleStateEnumValues Enumerates the set of values for ListSecurityAssessmentsLifecycleStateEnum

func GetMappingListSecurityAssessmentsLifecycleStateEnum ¶

func GetMappingListSecurityAssessmentsLifecycleStateEnum(val string) (ListSecurityAssessmentsLifecycleStateEnum, bool)

GetMappingListSecurityAssessmentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityAssessmentsRequest ¶

type ListSecurityAssessmentsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListSecurityAssessmentsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only items that match the specified security assessment type.
	Type ListSecurityAssessmentsTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

	// The OCID of the security assessment of type SAVE_SCHEDULE.
	ScheduleAssessmentId *string `mandatory:"false" contributesTo:"query" name:"scheduleAssessmentId"`

	// A filter to return only security assessments of type save schedule.
	IsScheduleAssessment *bool `mandatory:"false" contributesTo:"query" name:"isScheduleAssessment"`

	// A filter to return only security asessments that were created by either user or system.
	TriggeredBy ListSecurityAssessmentsTriggeredByEnum `mandatory:"false" contributesTo:"query" name:"triggeredBy" omitEmpty:"true"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSecurityAssessmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only security assessments that are set as baseline.
	IsBaseline *bool `mandatory:"false" contributesTo:"query" name:"isBaseline"`

	// The field to sort by. You can specify only one sort order(sortOrder). The default order for timeCreated is descending.
	SortBy ListSecurityAssessmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the specified lifecycle state.
	LifecycleState ListSecurityAssessmentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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
}

ListSecurityAssessmentsRequest wrapper for the ListSecurityAssessments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSecurityAssessments.go.html to see an example of how to use ListSecurityAssessmentsRequest.

func (ListSecurityAssessmentsRequest) BinaryRequestBody ¶

func (request ListSecurityAssessmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityAssessmentsRequest) HTTPRequest ¶

func (request ListSecurityAssessmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityAssessmentsRequest) RetryPolicy ¶

func (request ListSecurityAssessmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityAssessmentsRequest) String ¶

func (request ListSecurityAssessmentsRequest) String() string

func (ListSecurityAssessmentsRequest) ValidateEnumValue ¶

func (request ListSecurityAssessmentsRequest) 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 ListSecurityAssessmentsResponse ¶

type ListSecurityAssessmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SecurityAssessmentSummary instances
	Items []SecurityAssessmentSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSecurityAssessmentsResponse wrapper for the ListSecurityAssessments operation

func (ListSecurityAssessmentsResponse) HTTPResponse ¶

func (response ListSecurityAssessmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityAssessmentsResponse) String ¶

func (response ListSecurityAssessmentsResponse) String() string

type ListSecurityAssessmentsSortByEnum ¶

type ListSecurityAssessmentsSortByEnum string

ListSecurityAssessmentsSortByEnum Enum with underlying type: string

const (
	ListSecurityAssessmentsSortByTimecreated ListSecurityAssessmentsSortByEnum = "timeCreated"
	ListSecurityAssessmentsSortByDisplayname ListSecurityAssessmentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityAssessmentsSortByEnum

func GetListSecurityAssessmentsSortByEnumValues ¶

func GetListSecurityAssessmentsSortByEnumValues() []ListSecurityAssessmentsSortByEnum

GetListSecurityAssessmentsSortByEnumValues Enumerates the set of values for ListSecurityAssessmentsSortByEnum

func GetMappingListSecurityAssessmentsSortByEnum ¶

func GetMappingListSecurityAssessmentsSortByEnum(val string) (ListSecurityAssessmentsSortByEnum, bool)

GetMappingListSecurityAssessmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityAssessmentsSortOrderEnum ¶

type ListSecurityAssessmentsSortOrderEnum string

ListSecurityAssessmentsSortOrderEnum Enum with underlying type: string

const (
	ListSecurityAssessmentsSortOrderAsc  ListSecurityAssessmentsSortOrderEnum = "ASC"
	ListSecurityAssessmentsSortOrderDesc ListSecurityAssessmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityAssessmentsSortOrderEnum

func GetListSecurityAssessmentsSortOrderEnumValues ¶

func GetListSecurityAssessmentsSortOrderEnumValues() []ListSecurityAssessmentsSortOrderEnum

GetListSecurityAssessmentsSortOrderEnumValues Enumerates the set of values for ListSecurityAssessmentsSortOrderEnum

func GetMappingListSecurityAssessmentsSortOrderEnum ¶

func GetMappingListSecurityAssessmentsSortOrderEnum(val string) (ListSecurityAssessmentsSortOrderEnum, bool)

GetMappingListSecurityAssessmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityAssessmentsTriggeredByEnum ¶

type ListSecurityAssessmentsTriggeredByEnum string

ListSecurityAssessmentsTriggeredByEnum Enum with underlying type: string

const (
	ListSecurityAssessmentsTriggeredByUser   ListSecurityAssessmentsTriggeredByEnum = "USER"
	ListSecurityAssessmentsTriggeredBySystem ListSecurityAssessmentsTriggeredByEnum = "SYSTEM"
)

Set of constants representing the allowable values for ListSecurityAssessmentsTriggeredByEnum

func GetListSecurityAssessmentsTriggeredByEnumValues ¶

func GetListSecurityAssessmentsTriggeredByEnumValues() []ListSecurityAssessmentsTriggeredByEnum

GetListSecurityAssessmentsTriggeredByEnumValues Enumerates the set of values for ListSecurityAssessmentsTriggeredByEnum

func GetMappingListSecurityAssessmentsTriggeredByEnum ¶

func GetMappingListSecurityAssessmentsTriggeredByEnum(val string) (ListSecurityAssessmentsTriggeredByEnum, bool)

GetMappingListSecurityAssessmentsTriggeredByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityAssessmentsTypeEnum ¶

type ListSecurityAssessmentsTypeEnum string

ListSecurityAssessmentsTypeEnum Enum with underlying type: string

const (
	ListSecurityAssessmentsTypeLatest       ListSecurityAssessmentsTypeEnum = "LATEST"
	ListSecurityAssessmentsTypeSaved        ListSecurityAssessmentsTypeEnum = "SAVED"
	ListSecurityAssessmentsTypeSaveSchedule ListSecurityAssessmentsTypeEnum = "SAVE_SCHEDULE"
	ListSecurityAssessmentsTypeCompartment  ListSecurityAssessmentsTypeEnum = "COMPARTMENT"
)

Set of constants representing the allowable values for ListSecurityAssessmentsTypeEnum

func GetListSecurityAssessmentsTypeEnumValues ¶

func GetListSecurityAssessmentsTypeEnumValues() []ListSecurityAssessmentsTypeEnum

GetListSecurityAssessmentsTypeEnumValues Enumerates the set of values for ListSecurityAssessmentsTypeEnum

func GetMappingListSecurityAssessmentsTypeEnum ¶

func GetMappingListSecurityAssessmentsTypeEnum(val string) (ListSecurityAssessmentsTypeEnum, bool)

GetMappingListSecurityAssessmentsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveColumnsObjectTypeEnum ¶

type ListSensitiveColumnsObjectTypeEnum string

ListSensitiveColumnsObjectTypeEnum Enum with underlying type: string

const (
	ListSensitiveColumnsObjectTypeAll            ListSensitiveColumnsObjectTypeEnum = "ALL"
	ListSensitiveColumnsObjectTypeTable          ListSensitiveColumnsObjectTypeEnum = "TABLE"
	ListSensitiveColumnsObjectTypeEditioningView ListSensitiveColumnsObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for ListSensitiveColumnsObjectTypeEnum

func GetListSensitiveColumnsObjectTypeEnumValues ¶

func GetListSensitiveColumnsObjectTypeEnumValues() []ListSensitiveColumnsObjectTypeEnum

GetListSensitiveColumnsObjectTypeEnumValues Enumerates the set of values for ListSensitiveColumnsObjectTypeEnum

func GetMappingListSensitiveColumnsObjectTypeEnum ¶

func GetMappingListSensitiveColumnsObjectTypeEnum(val string) (ListSensitiveColumnsObjectTypeEnum, bool)

GetMappingListSensitiveColumnsObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveColumnsRelationTypeEnum ¶

type ListSensitiveColumnsRelationTypeEnum string

ListSensitiveColumnsRelationTypeEnum Enum with underlying type: string

const (
	ListSensitiveColumnsRelationTypeNone       ListSensitiveColumnsRelationTypeEnum = "NONE"
	ListSensitiveColumnsRelationTypeAppDefined ListSensitiveColumnsRelationTypeEnum = "APP_DEFINED"
	ListSensitiveColumnsRelationTypeDbDefined  ListSensitiveColumnsRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for ListSensitiveColumnsRelationTypeEnum

func GetListSensitiveColumnsRelationTypeEnumValues ¶

func GetListSensitiveColumnsRelationTypeEnumValues() []ListSensitiveColumnsRelationTypeEnum

GetListSensitiveColumnsRelationTypeEnumValues Enumerates the set of values for ListSensitiveColumnsRelationTypeEnum

func GetMappingListSensitiveColumnsRelationTypeEnum ¶

func GetMappingListSensitiveColumnsRelationTypeEnum(val string) (ListSensitiveColumnsRelationTypeEnum, bool)

GetMappingListSensitiveColumnsRelationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveColumnsRequest ¶

type ListSensitiveColumnsRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// Search for resources that were updated after a specific date.
	// Specifying this parameter corresponding `timeUpdatedGreaterThanOrEqualTo`
	// parameter will retrieve all resources updated after the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	TimeUpdatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUpdatedGreaterThanOrEqualTo"`

	// Search for resources that were updated before a specific date.
	// Specifying this parameter corresponding `timeUpdatedLessThan`
	// parameter will retrieve all resources updated before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	TimeUpdatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUpdatedLessThan"`

	// Filters the sensitive column resources with the given lifecycle state values.
	SensitiveColumnLifecycleState ListSensitiveColumnsSensitiveColumnLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"sensitiveColumnLifecycleState" omitEmpty:"true"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only a specific column based on column name.
	ColumnName []string `contributesTo:"query" name:"columnName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object type.
	ObjectType []ListSensitiveColumnsObjectTypeEnum `contributesTo:"query" name:"objectType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only the resources that match the specified data types.
	DataType []string `contributesTo:"query" name:"dataType" collectionFormat:"multi"`

	// A filter to return only the sensitive columns that match the specified status.
	Status []ListSensitiveColumnsStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only the sensitive columns that are associated with one of the sensitive types identified by the specified OCIDs.
	SensitiveTypeId []string `contributesTo:"query" name:"sensitiveTypeId" collectionFormat:"multi"`

	// A filter to return only the sensitive columns that are children of one of the columns identified by the specified keys.
	ParentColumnKey []string `contributesTo:"query" name:"parentColumnKey" collectionFormat:"multi"`

	// A filter to return sensitive columns based on their relationship with their parent columns. If set to NONE,
	// it returns the sensitive columns that do not have any parent. The response includes the parent columns as
	// well as the independent columns that are not in any relationship. If set to APP_DEFINED, it returns all the
	// child columns that have application-level (non-dictionary) relationship with their parents. If set to DB_DEFINED,
	// it returns all the child columns that have database-level (dictionary-defined) relationship with their parents.
	RelationType []ListSensitiveColumnsRelationTypeEnum `contributesTo:"query" name:"relationType" omitEmpty:"true" collectionFormat:"multi"`

	// A filter to return only the sensitive columns that belong to the specified column group.
	ColumnGroup *string `mandatory:"false" contributesTo:"query" name:"columnGroup"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSensitiveColumnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	// The default order for schemaName, objectName, and columnName is ascending.
	SortBy ListSensitiveColumnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A boolean flag indicating whether the search should be case-insensitive.
	// The search is case-sensitive by default. Set this parameter to true to do case-insensitive search.
	IsCaseInSensitive *bool `mandatory:"false" contributesTo:"query" name:"isCaseInSensitive"`

	// 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
}

ListSensitiveColumnsRequest wrapper for the ListSensitiveColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSensitiveColumns.go.html to see an example of how to use ListSensitiveColumnsRequest.

func (ListSensitiveColumnsRequest) BinaryRequestBody ¶

func (request ListSensitiveColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSensitiveColumnsRequest) HTTPRequest ¶

func (request ListSensitiveColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSensitiveColumnsRequest) RetryPolicy ¶

func (request ListSensitiveColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSensitiveColumnsRequest) String ¶

func (request ListSensitiveColumnsRequest) String() string

func (ListSensitiveColumnsRequest) ValidateEnumValue ¶

func (request ListSensitiveColumnsRequest) 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 ListSensitiveColumnsResponse ¶

type ListSensitiveColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SensitiveColumnCollection instances
	SensitiveColumnCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSensitiveColumnsResponse wrapper for the ListSensitiveColumns operation

func (ListSensitiveColumnsResponse) HTTPResponse ¶

func (response ListSensitiveColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSensitiveColumnsResponse) String ¶

func (response ListSensitiveColumnsResponse) String() string

type ListSensitiveColumnsSensitiveColumnLifecycleStateEnum ¶

type ListSensitiveColumnsSensitiveColumnLifecycleStateEnum string

ListSensitiveColumnsSensitiveColumnLifecycleStateEnum Enum with underlying type: string

const (
	ListSensitiveColumnsSensitiveColumnLifecycleStateCreating ListSensitiveColumnsSensitiveColumnLifecycleStateEnum = "CREATING"
	ListSensitiveColumnsSensitiveColumnLifecycleStateActive   ListSensitiveColumnsSensitiveColumnLifecycleStateEnum = "ACTIVE"
	ListSensitiveColumnsSensitiveColumnLifecycleStateUpdating ListSensitiveColumnsSensitiveColumnLifecycleStateEnum = "UPDATING"
	ListSensitiveColumnsSensitiveColumnLifecycleStateDeleting ListSensitiveColumnsSensitiveColumnLifecycleStateEnum = "DELETING"
	ListSensitiveColumnsSensitiveColumnLifecycleStateFailed   ListSensitiveColumnsSensitiveColumnLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSensitiveColumnsSensitiveColumnLifecycleStateEnum

func GetListSensitiveColumnsSensitiveColumnLifecycleStateEnumValues ¶

func GetListSensitiveColumnsSensitiveColumnLifecycleStateEnumValues() []ListSensitiveColumnsSensitiveColumnLifecycleStateEnum

GetListSensitiveColumnsSensitiveColumnLifecycleStateEnumValues Enumerates the set of values for ListSensitiveColumnsSensitiveColumnLifecycleStateEnum

func GetMappingListSensitiveColumnsSensitiveColumnLifecycleStateEnum ¶

func GetMappingListSensitiveColumnsSensitiveColumnLifecycleStateEnum(val string) (ListSensitiveColumnsSensitiveColumnLifecycleStateEnum, bool)

GetMappingListSensitiveColumnsSensitiveColumnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveColumnsSortByEnum ¶

type ListSensitiveColumnsSortByEnum string

ListSensitiveColumnsSortByEnum Enum with underlying type: string

const (
	ListSensitiveColumnsSortByTimecreated ListSensitiveColumnsSortByEnum = "timeCreated"
	ListSensitiveColumnsSortBySchemaname  ListSensitiveColumnsSortByEnum = "schemaName"
	ListSensitiveColumnsSortByObjectname  ListSensitiveColumnsSortByEnum = "objectName"
	ListSensitiveColumnsSortByColumnname  ListSensitiveColumnsSortByEnum = "columnName"
	ListSensitiveColumnsSortByDatatype    ListSensitiveColumnsSortByEnum = "dataType"
)

Set of constants representing the allowable values for ListSensitiveColumnsSortByEnum

func GetListSensitiveColumnsSortByEnumValues ¶

func GetListSensitiveColumnsSortByEnumValues() []ListSensitiveColumnsSortByEnum

GetListSensitiveColumnsSortByEnumValues Enumerates the set of values for ListSensitiveColumnsSortByEnum

func GetMappingListSensitiveColumnsSortByEnum ¶

func GetMappingListSensitiveColumnsSortByEnum(val string) (ListSensitiveColumnsSortByEnum, bool)

GetMappingListSensitiveColumnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveColumnsSortOrderEnum ¶

type ListSensitiveColumnsSortOrderEnum string

ListSensitiveColumnsSortOrderEnum Enum with underlying type: string

const (
	ListSensitiveColumnsSortOrderAsc  ListSensitiveColumnsSortOrderEnum = "ASC"
	ListSensitiveColumnsSortOrderDesc ListSensitiveColumnsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSensitiveColumnsSortOrderEnum

func GetListSensitiveColumnsSortOrderEnumValues ¶

func GetListSensitiveColumnsSortOrderEnumValues() []ListSensitiveColumnsSortOrderEnum

GetListSensitiveColumnsSortOrderEnumValues Enumerates the set of values for ListSensitiveColumnsSortOrderEnum

func GetMappingListSensitiveColumnsSortOrderEnum ¶

func GetMappingListSensitiveColumnsSortOrderEnum(val string) (ListSensitiveColumnsSortOrderEnum, bool)

GetMappingListSensitiveColumnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveColumnsStatusEnum ¶

type ListSensitiveColumnsStatusEnum string

ListSensitiveColumnsStatusEnum Enum with underlying type: string

const (
	ListSensitiveColumnsStatusValid   ListSensitiveColumnsStatusEnum = "VALID"
	ListSensitiveColumnsStatusInvalid ListSensitiveColumnsStatusEnum = "INVALID"
)

Set of constants representing the allowable values for ListSensitiveColumnsStatusEnum

func GetListSensitiveColumnsStatusEnumValues ¶

func GetListSensitiveColumnsStatusEnumValues() []ListSensitiveColumnsStatusEnum

GetListSensitiveColumnsStatusEnumValues Enumerates the set of values for ListSensitiveColumnsStatusEnum

func GetMappingListSensitiveColumnsStatusEnum ¶

func GetMappingListSensitiveColumnsStatusEnum(val string) (ListSensitiveColumnsStatusEnum, bool)

GetMappingListSensitiveColumnsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveDataModelsAccessLevelEnum ¶

type ListSensitiveDataModelsAccessLevelEnum string

ListSensitiveDataModelsAccessLevelEnum Enum with underlying type: string

const (
	ListSensitiveDataModelsAccessLevelRestricted ListSensitiveDataModelsAccessLevelEnum = "RESTRICTED"
	ListSensitiveDataModelsAccessLevelAccessible ListSensitiveDataModelsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSensitiveDataModelsAccessLevelEnum

func GetListSensitiveDataModelsAccessLevelEnumValues ¶

func GetListSensitiveDataModelsAccessLevelEnumValues() []ListSensitiveDataModelsAccessLevelEnum

GetListSensitiveDataModelsAccessLevelEnumValues Enumerates the set of values for ListSensitiveDataModelsAccessLevelEnum

func GetMappingListSensitiveDataModelsAccessLevelEnum ¶

func GetMappingListSensitiveDataModelsAccessLevelEnum(val string) (ListSensitiveDataModelsAccessLevelEnum, bool)

GetMappingListSensitiveDataModelsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveDataModelsLifecycleStateEnum ¶

type ListSensitiveDataModelsLifecycleStateEnum string

ListSensitiveDataModelsLifecycleStateEnum Enum with underlying type: string

const (
	ListSensitiveDataModelsLifecycleStateCreating ListSensitiveDataModelsLifecycleStateEnum = "CREATING"
	ListSensitiveDataModelsLifecycleStateActive   ListSensitiveDataModelsLifecycleStateEnum = "ACTIVE"
	ListSensitiveDataModelsLifecycleStateUpdating ListSensitiveDataModelsLifecycleStateEnum = "UPDATING"
	ListSensitiveDataModelsLifecycleStateDeleting ListSensitiveDataModelsLifecycleStateEnum = "DELETING"
	ListSensitiveDataModelsLifecycleStateDeleted  ListSensitiveDataModelsLifecycleStateEnum = "DELETED"
	ListSensitiveDataModelsLifecycleStateFailed   ListSensitiveDataModelsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSensitiveDataModelsLifecycleStateEnum

func GetListSensitiveDataModelsLifecycleStateEnumValues ¶

func GetListSensitiveDataModelsLifecycleStateEnumValues() []ListSensitiveDataModelsLifecycleStateEnum

GetListSensitiveDataModelsLifecycleStateEnumValues Enumerates the set of values for ListSensitiveDataModelsLifecycleStateEnum

func GetMappingListSensitiveDataModelsLifecycleStateEnum ¶

func GetMappingListSensitiveDataModelsLifecycleStateEnum(val string) (ListSensitiveDataModelsLifecycleStateEnum, bool)

GetMappingListSensitiveDataModelsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveDataModelsRequest ¶

type ListSensitiveDataModelsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListSensitiveDataModelsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only the resources that match the specified sensitive data model OCID.
	SensitiveDataModelId *string `mandatory:"false" contributesTo:"query" name:"sensitiveDataModelId"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSensitiveDataModelsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	// The default order for displayName is ascending.
	SortBy ListSensitiveDataModelsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only the resources that match the specified lifecycle state.
	LifecycleState ListSensitiveDataModelsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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
}

ListSensitiveDataModelsRequest wrapper for the ListSensitiveDataModels operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSensitiveDataModels.go.html to see an example of how to use ListSensitiveDataModelsRequest.

func (ListSensitiveDataModelsRequest) BinaryRequestBody ¶

func (request ListSensitiveDataModelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSensitiveDataModelsRequest) HTTPRequest ¶

func (request ListSensitiveDataModelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSensitiveDataModelsRequest) RetryPolicy ¶

func (request ListSensitiveDataModelsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSensitiveDataModelsRequest) String ¶

func (request ListSensitiveDataModelsRequest) String() string

func (ListSensitiveDataModelsRequest) ValidateEnumValue ¶

func (request ListSensitiveDataModelsRequest) 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 ListSensitiveDataModelsResponse ¶

type ListSensitiveDataModelsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SensitiveDataModelCollection instances
	SensitiveDataModelCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSensitiveDataModelsResponse wrapper for the ListSensitiveDataModels operation

func (ListSensitiveDataModelsResponse) HTTPResponse ¶

func (response ListSensitiveDataModelsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSensitiveDataModelsResponse) String ¶

func (response ListSensitiveDataModelsResponse) String() string

type ListSensitiveDataModelsSortByEnum ¶

type ListSensitiveDataModelsSortByEnum string

ListSensitiveDataModelsSortByEnum Enum with underlying type: string

const (
	ListSensitiveDataModelsSortByTimecreated ListSensitiveDataModelsSortByEnum = "timeCreated"
	ListSensitiveDataModelsSortByDisplayname ListSensitiveDataModelsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSensitiveDataModelsSortByEnum

func GetListSensitiveDataModelsSortByEnumValues ¶

func GetListSensitiveDataModelsSortByEnumValues() []ListSensitiveDataModelsSortByEnum

GetListSensitiveDataModelsSortByEnumValues Enumerates the set of values for ListSensitiveDataModelsSortByEnum

func GetMappingListSensitiveDataModelsSortByEnum ¶

func GetMappingListSensitiveDataModelsSortByEnum(val string) (ListSensitiveDataModelsSortByEnum, bool)

GetMappingListSensitiveDataModelsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveDataModelsSortOrderEnum ¶

type ListSensitiveDataModelsSortOrderEnum string

ListSensitiveDataModelsSortOrderEnum Enum with underlying type: string

const (
	ListSensitiveDataModelsSortOrderAsc  ListSensitiveDataModelsSortOrderEnum = "ASC"
	ListSensitiveDataModelsSortOrderDesc ListSensitiveDataModelsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSensitiveDataModelsSortOrderEnum

func GetListSensitiveDataModelsSortOrderEnumValues ¶

func GetListSensitiveDataModelsSortOrderEnumValues() []ListSensitiveDataModelsSortOrderEnum

GetListSensitiveDataModelsSortOrderEnumValues Enumerates the set of values for ListSensitiveDataModelsSortOrderEnum

func GetMappingListSensitiveDataModelsSortOrderEnum ¶

func GetMappingListSensitiveDataModelsSortOrderEnum(val string) (ListSensitiveDataModelsSortOrderEnum, bool)

GetMappingListSensitiveDataModelsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveObjectsObjectTypeEnum ¶ added in v65.35.0

type ListSensitiveObjectsObjectTypeEnum string

ListSensitiveObjectsObjectTypeEnum Enum with underlying type: string

const (
	ListSensitiveObjectsObjectTypeAll            ListSensitiveObjectsObjectTypeEnum = "ALL"
	ListSensitiveObjectsObjectTypeTable          ListSensitiveObjectsObjectTypeEnum = "TABLE"
	ListSensitiveObjectsObjectTypeEditioningView ListSensitiveObjectsObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for ListSensitiveObjectsObjectTypeEnum

func GetListSensitiveObjectsObjectTypeEnumValues ¶ added in v65.35.0

func GetListSensitiveObjectsObjectTypeEnumValues() []ListSensitiveObjectsObjectTypeEnum

GetListSensitiveObjectsObjectTypeEnumValues Enumerates the set of values for ListSensitiveObjectsObjectTypeEnum

func GetMappingListSensitiveObjectsObjectTypeEnum ¶ added in v65.35.0

func GetMappingListSensitiveObjectsObjectTypeEnum(val string) (ListSensitiveObjectsObjectTypeEnum, bool)

GetMappingListSensitiveObjectsObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveObjectsRequest ¶ added in v65.35.0

type ListSensitiveObjectsRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object name.
	ObjectName []string `contributesTo:"query" name:"objectName" collectionFormat:"multi"`

	// A filter to return only items related to a specific object type.
	ObjectType []ListSensitiveObjectsObjectTypeEnum `contributesTo:"query" name:"objectType" omitEmpty:"true" collectionFormat:"multi"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSensitiveObjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder).
	// The default order is ascending.
	SortBy ListSensitiveObjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListSensitiveObjectsRequest wrapper for the ListSensitiveObjects operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSensitiveObjects.go.html to see an example of how to use ListSensitiveObjectsRequest.

func (ListSensitiveObjectsRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListSensitiveObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSensitiveObjectsRequest) HTTPRequest ¶ added in v65.35.0

func (request ListSensitiveObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSensitiveObjectsRequest) RetryPolicy ¶ added in v65.35.0

func (request ListSensitiveObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSensitiveObjectsRequest) String ¶ added in v65.35.0

func (request ListSensitiveObjectsRequest) String() string

func (ListSensitiveObjectsRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListSensitiveObjectsRequest) 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 ListSensitiveObjectsResponse ¶ added in v65.35.0

type ListSensitiveObjectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SensitiveObjectCollection instances
	SensitiveObjectCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSensitiveObjectsResponse wrapper for the ListSensitiveObjects operation

func (ListSensitiveObjectsResponse) HTTPResponse ¶ added in v65.35.0

func (response ListSensitiveObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSensitiveObjectsResponse) String ¶ added in v65.35.0

func (response ListSensitiveObjectsResponse) String() string

type ListSensitiveObjectsSortByEnum ¶ added in v65.35.0

type ListSensitiveObjectsSortByEnum string

ListSensitiveObjectsSortByEnum Enum with underlying type: string

const (
	ListSensitiveObjectsSortBySchemaname ListSensitiveObjectsSortByEnum = "schemaName"
	ListSensitiveObjectsSortByObjectname ListSensitiveObjectsSortByEnum = "objectName"
	ListSensitiveObjectsSortByObjecttype ListSensitiveObjectsSortByEnum = "objectType"
)

Set of constants representing the allowable values for ListSensitiveObjectsSortByEnum

func GetListSensitiveObjectsSortByEnumValues ¶ added in v65.35.0

func GetListSensitiveObjectsSortByEnumValues() []ListSensitiveObjectsSortByEnum

GetListSensitiveObjectsSortByEnumValues Enumerates the set of values for ListSensitiveObjectsSortByEnum

func GetMappingListSensitiveObjectsSortByEnum ¶ added in v65.35.0

func GetMappingListSensitiveObjectsSortByEnum(val string) (ListSensitiveObjectsSortByEnum, bool)

GetMappingListSensitiveObjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveObjectsSortOrderEnum ¶ added in v65.35.0

type ListSensitiveObjectsSortOrderEnum string

ListSensitiveObjectsSortOrderEnum Enum with underlying type: string

const (
	ListSensitiveObjectsSortOrderAsc  ListSensitiveObjectsSortOrderEnum = "ASC"
	ListSensitiveObjectsSortOrderDesc ListSensitiveObjectsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSensitiveObjectsSortOrderEnum

func GetListSensitiveObjectsSortOrderEnumValues ¶ added in v65.35.0

func GetListSensitiveObjectsSortOrderEnumValues() []ListSensitiveObjectsSortOrderEnum

GetListSensitiveObjectsSortOrderEnumValues Enumerates the set of values for ListSensitiveObjectsSortOrderEnum

func GetMappingListSensitiveObjectsSortOrderEnum ¶ added in v65.35.0

func GetMappingListSensitiveObjectsSortOrderEnum(val string) (ListSensitiveObjectsSortOrderEnum, bool)

GetMappingListSensitiveObjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveSchemasRequest ¶ added in v65.35.0

type ListSensitiveSchemasRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSensitiveSchemasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder).
	// The default order is ascending.
	SortBy ListSensitiveSchemasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListSensitiveSchemasRequest wrapper for the ListSensitiveSchemas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSensitiveSchemas.go.html to see an example of how to use ListSensitiveSchemasRequest.

func (ListSensitiveSchemasRequest) BinaryRequestBody ¶ added in v65.35.0

func (request ListSensitiveSchemasRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSensitiveSchemasRequest) HTTPRequest ¶ added in v65.35.0

func (request ListSensitiveSchemasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSensitiveSchemasRequest) RetryPolicy ¶ added in v65.35.0

func (request ListSensitiveSchemasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSensitiveSchemasRequest) String ¶ added in v65.35.0

func (request ListSensitiveSchemasRequest) String() string

func (ListSensitiveSchemasRequest) ValidateEnumValue ¶ added in v65.35.0

func (request ListSensitiveSchemasRequest) 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 ListSensitiveSchemasResponse ¶ added in v65.35.0

type ListSensitiveSchemasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SensitiveSchemaCollection instances
	SensitiveSchemaCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSensitiveSchemasResponse wrapper for the ListSensitiveSchemas operation

func (ListSensitiveSchemasResponse) HTTPResponse ¶ added in v65.35.0

func (response ListSensitiveSchemasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSensitiveSchemasResponse) String ¶ added in v65.35.0

func (response ListSensitiveSchemasResponse) String() string

type ListSensitiveSchemasSortByEnum ¶ added in v65.35.0

type ListSensitiveSchemasSortByEnum string

ListSensitiveSchemasSortByEnum Enum with underlying type: string

const (
	ListSensitiveSchemasSortBySchemaname ListSensitiveSchemasSortByEnum = "schemaName"
)

Set of constants representing the allowable values for ListSensitiveSchemasSortByEnum

func GetListSensitiveSchemasSortByEnumValues ¶ added in v65.35.0

func GetListSensitiveSchemasSortByEnumValues() []ListSensitiveSchemasSortByEnum

GetListSensitiveSchemasSortByEnumValues Enumerates the set of values for ListSensitiveSchemasSortByEnum

func GetMappingListSensitiveSchemasSortByEnum ¶ added in v65.35.0

func GetMappingListSensitiveSchemasSortByEnum(val string) (ListSensitiveSchemasSortByEnum, bool)

GetMappingListSensitiveSchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveSchemasSortOrderEnum ¶ added in v65.35.0

type ListSensitiveSchemasSortOrderEnum string

ListSensitiveSchemasSortOrderEnum Enum with underlying type: string

const (
	ListSensitiveSchemasSortOrderAsc  ListSensitiveSchemasSortOrderEnum = "ASC"
	ListSensitiveSchemasSortOrderDesc ListSensitiveSchemasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSensitiveSchemasSortOrderEnum

func GetListSensitiveSchemasSortOrderEnumValues ¶ added in v65.35.0

func GetListSensitiveSchemasSortOrderEnumValues() []ListSensitiveSchemasSortOrderEnum

GetListSensitiveSchemasSortOrderEnumValues Enumerates the set of values for ListSensitiveSchemasSortOrderEnum

func GetMappingListSensitiveSchemasSortOrderEnum ¶ added in v65.35.0

func GetMappingListSensitiveSchemasSortOrderEnum(val string) (ListSensitiveSchemasSortOrderEnum, bool)

GetMappingListSensitiveSchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveTypesAccessLevelEnum ¶

type ListSensitiveTypesAccessLevelEnum string

ListSensitiveTypesAccessLevelEnum Enum with underlying type: string

const (
	ListSensitiveTypesAccessLevelRestricted ListSensitiveTypesAccessLevelEnum = "RESTRICTED"
	ListSensitiveTypesAccessLevelAccessible ListSensitiveTypesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSensitiveTypesAccessLevelEnum

func GetListSensitiveTypesAccessLevelEnumValues ¶

func GetListSensitiveTypesAccessLevelEnumValues() []ListSensitiveTypesAccessLevelEnum

GetListSensitiveTypesAccessLevelEnumValues Enumerates the set of values for ListSensitiveTypesAccessLevelEnum

func GetMappingListSensitiveTypesAccessLevelEnum ¶

func GetMappingListSensitiveTypesAccessLevelEnum(val string) (ListSensitiveTypesAccessLevelEnum, bool)

GetMappingListSensitiveTypesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveTypesEntityTypeEnum ¶

type ListSensitiveTypesEntityTypeEnum string

ListSensitiveTypesEntityTypeEnum Enum with underlying type: string

const (
	ListSensitiveTypesEntityTypeType     ListSensitiveTypesEntityTypeEnum = "SENSITIVE_TYPE"
	ListSensitiveTypesEntityTypeCategory ListSensitiveTypesEntityTypeEnum = "SENSITIVE_CATEGORY"
)

Set of constants representing the allowable values for ListSensitiveTypesEntityTypeEnum

func GetListSensitiveTypesEntityTypeEnumValues ¶

func GetListSensitiveTypesEntityTypeEnumValues() []ListSensitiveTypesEntityTypeEnum

GetListSensitiveTypesEntityTypeEnumValues Enumerates the set of values for ListSensitiveTypesEntityTypeEnum

func GetMappingListSensitiveTypesEntityTypeEnum ¶

func GetMappingListSensitiveTypesEntityTypeEnum(val string) (ListSensitiveTypesEntityTypeEnum, bool)

GetMappingListSensitiveTypesEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveTypesLifecycleStateEnum ¶

type ListSensitiveTypesLifecycleStateEnum string

ListSensitiveTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListSensitiveTypesLifecycleStateCreating ListSensitiveTypesLifecycleStateEnum = "CREATING"
	ListSensitiveTypesLifecycleStateActive   ListSensitiveTypesLifecycleStateEnum = "ACTIVE"
	ListSensitiveTypesLifecycleStateUpdating ListSensitiveTypesLifecycleStateEnum = "UPDATING"
	ListSensitiveTypesLifecycleStateDeleting ListSensitiveTypesLifecycleStateEnum = "DELETING"
	ListSensitiveTypesLifecycleStateDeleted  ListSensitiveTypesLifecycleStateEnum = "DELETED"
	ListSensitiveTypesLifecycleStateFailed   ListSensitiveTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSensitiveTypesLifecycleStateEnum

func GetListSensitiveTypesLifecycleStateEnumValues ¶

func GetListSensitiveTypesLifecycleStateEnumValues() []ListSensitiveTypesLifecycleStateEnum

GetListSensitiveTypesLifecycleStateEnumValues Enumerates the set of values for ListSensitiveTypesLifecycleStateEnum

func GetMappingListSensitiveTypesLifecycleStateEnum ¶

func GetMappingListSensitiveTypesLifecycleStateEnum(val string) (ListSensitiveTypesLifecycleStateEnum, bool)

GetMappingListSensitiveTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveTypesRequest ¶

type ListSensitiveTypesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListSensitiveTypesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only items related to a specific sensitive type OCID.
	SensitiveTypeId *string `mandatory:"false" contributesTo:"query" name:"sensitiveTypeId"`

	// A filter to return the sensitive type resources based on the value of their source attribute.
	SensitiveTypeSource ListSensitiveTypesSensitiveTypeSourceEnum `mandatory:"false" contributesTo:"query" name:"sensitiveTypeSource" omitEmpty:"true"`

	// A filter to return the sensitive type resources based on the value of their entityType attribute.
	EntityType ListSensitiveTypesEntityTypeEnum `mandatory:"false" contributesTo:"query" name:"entityType" omitEmpty:"true"`

	// A filter to return only the sensitive types that are children of the sensitive category identified by the specified OCID.
	ParentCategoryId *string `mandatory:"false" contributesTo:"query" name:"parentCategoryId"`

	// A filter to return only the sensitive types that have the default masking format identified by the specified OCID.
	DefaultMaskingFormatId *string `mandatory:"false" contributesTo:"query" name:"defaultMaskingFormatId"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListSensitiveTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	// The default order for displayName is ascending.
	SortBy ListSensitiveTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only the resources that match the specified lifecycle state.
	LifecycleState ListSensitiveTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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
}

ListSensitiveTypesRequest wrapper for the ListSensitiveTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListSensitiveTypes.go.html to see an example of how to use ListSensitiveTypesRequest.

func (ListSensitiveTypesRequest) BinaryRequestBody ¶

func (request ListSensitiveTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSensitiveTypesRequest) HTTPRequest ¶

func (request ListSensitiveTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSensitiveTypesRequest) RetryPolicy ¶

func (request ListSensitiveTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSensitiveTypesRequest) String ¶

func (request ListSensitiveTypesRequest) String() string

func (ListSensitiveTypesRequest) ValidateEnumValue ¶

func (request ListSensitiveTypesRequest) 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 ListSensitiveTypesResponse ¶

type ListSensitiveTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SensitiveTypeCollection instances
	SensitiveTypeCollection `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListSensitiveTypesResponse wrapper for the ListSensitiveTypes operation

func (ListSensitiveTypesResponse) HTTPResponse ¶

func (response ListSensitiveTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSensitiveTypesResponse) String ¶

func (response ListSensitiveTypesResponse) String() string

type ListSensitiveTypesSensitiveTypeSourceEnum ¶

type ListSensitiveTypesSensitiveTypeSourceEnum string

ListSensitiveTypesSensitiveTypeSourceEnum Enum with underlying type: string

const (
	ListSensitiveTypesSensitiveTypeSourceOracle ListSensitiveTypesSensitiveTypeSourceEnum = "ORACLE"
	ListSensitiveTypesSensitiveTypeSourceUser   ListSensitiveTypesSensitiveTypeSourceEnum = "USER"
)

Set of constants representing the allowable values for ListSensitiveTypesSensitiveTypeSourceEnum

func GetListSensitiveTypesSensitiveTypeSourceEnumValues ¶

func GetListSensitiveTypesSensitiveTypeSourceEnumValues() []ListSensitiveTypesSensitiveTypeSourceEnum

GetListSensitiveTypesSensitiveTypeSourceEnumValues Enumerates the set of values for ListSensitiveTypesSensitiveTypeSourceEnum

func GetMappingListSensitiveTypesSensitiveTypeSourceEnum ¶

func GetMappingListSensitiveTypesSensitiveTypeSourceEnum(val string) (ListSensitiveTypesSensitiveTypeSourceEnum, bool)

GetMappingListSensitiveTypesSensitiveTypeSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveTypesSortByEnum ¶

type ListSensitiveTypesSortByEnum string

ListSensitiveTypesSortByEnum Enum with underlying type: string

const (
	ListSensitiveTypesSortByTimecreated ListSensitiveTypesSortByEnum = "timeCreated"
	ListSensitiveTypesSortByDisplayname ListSensitiveTypesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSensitiveTypesSortByEnum

func GetListSensitiveTypesSortByEnumValues ¶

func GetListSensitiveTypesSortByEnumValues() []ListSensitiveTypesSortByEnum

GetListSensitiveTypesSortByEnumValues Enumerates the set of values for ListSensitiveTypesSortByEnum

func GetMappingListSensitiveTypesSortByEnum ¶

func GetMappingListSensitiveTypesSortByEnum(val string) (ListSensitiveTypesSortByEnum, bool)

GetMappingListSensitiveTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSensitiveTypesSortOrderEnum ¶

type ListSensitiveTypesSortOrderEnum string

ListSensitiveTypesSortOrderEnum Enum with underlying type: string

const (
	ListSensitiveTypesSortOrderAsc  ListSensitiveTypesSortOrderEnum = "ASC"
	ListSensitiveTypesSortOrderDesc ListSensitiveTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSensitiveTypesSortOrderEnum

func GetListSensitiveTypesSortOrderEnumValues ¶

func GetListSensitiveTypesSortOrderEnumValues() []ListSensitiveTypesSortOrderEnum

GetListSensitiveTypesSortOrderEnumValues Enumerates the set of values for ListSensitiveTypesSortOrderEnum

func GetMappingListSensitiveTypesSortOrderEnum ¶

func GetMappingListSensitiveTypesSortOrderEnum(val string) (ListSensitiveTypesSortOrderEnum, bool)

GetMappingListSensitiveTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTablesRequest ¶

type ListTablesRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only items related to specific schema name.
	SchemaName []string `contributesTo:"query" name:"schemaName" collectionFormat:"multi"`

	// A filter to return only items related to specific table name.
	TableName []string `contributesTo:"query" name:"tableName" collectionFormat:"multi"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListTablesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	SortBy ListTablesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only items if table name contains a specific string.
	TableNameContains *string `mandatory:"false" contributesTo:"query" name:"tableNameContains"`

	// A filter to return only items if schema name contains a specific string.
	SchemaNameContains *string `mandatory:"false" contributesTo:"query" name:"schemaNameContains"`

	// 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
}

ListTablesRequest wrapper for the ListTables operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListTables.go.html to see an example of how to use ListTablesRequest.

func (ListTablesRequest) BinaryRequestBody ¶

func (request ListTablesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTablesRequest) HTTPRequest ¶

func (request ListTablesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTablesRequest) RetryPolicy ¶

func (request ListTablesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTablesRequest) String ¶

func (request ListTablesRequest) String() string

func (ListTablesRequest) ValidateEnumValue ¶

func (request ListTablesRequest) 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 ListTablesResponse ¶

type ListTablesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []TableSummary instances
	Items []TableSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListTablesResponse wrapper for the ListTables operation

func (ListTablesResponse) HTTPResponse ¶

func (response ListTablesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTablesResponse) String ¶

func (response ListTablesResponse) String() string

type ListTablesSortByEnum ¶

type ListTablesSortByEnum string

ListTablesSortByEnum Enum with underlying type: string

const (
	ListTablesSortBySchemaname ListTablesSortByEnum = "SCHEMANAME"
	ListTablesSortByTablename  ListTablesSortByEnum = "TABLENAME"
)

Set of constants representing the allowable values for ListTablesSortByEnum

func GetListTablesSortByEnumValues ¶

func GetListTablesSortByEnumValues() []ListTablesSortByEnum

GetListTablesSortByEnumValues Enumerates the set of values for ListTablesSortByEnum

func GetMappingListTablesSortByEnum ¶

func GetMappingListTablesSortByEnum(val string) (ListTablesSortByEnum, bool)

GetMappingListTablesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTablesSortOrderEnum ¶

type ListTablesSortOrderEnum string

ListTablesSortOrderEnum Enum with underlying type: string

const (
	ListTablesSortOrderAsc  ListTablesSortOrderEnum = "ASC"
	ListTablesSortOrderDesc ListTablesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTablesSortOrderEnum

func GetListTablesSortOrderEnumValues ¶

func GetListTablesSortOrderEnumValues() []ListTablesSortOrderEnum

GetListTablesSortOrderEnumValues Enumerates the set of values for ListTablesSortOrderEnum

func GetMappingListTablesSortOrderEnum ¶

func GetMappingListTablesSortOrderEnum(val string) (ListTablesSortOrderEnum, bool)

GetMappingListTablesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetAlertPolicyAssociationsAccessLevelEnum ¶

type ListTargetAlertPolicyAssociationsAccessLevelEnum string

ListTargetAlertPolicyAssociationsAccessLevelEnum Enum with underlying type: string

const (
	ListTargetAlertPolicyAssociationsAccessLevelRestricted ListTargetAlertPolicyAssociationsAccessLevelEnum = "RESTRICTED"
	ListTargetAlertPolicyAssociationsAccessLevelAccessible ListTargetAlertPolicyAssociationsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListTargetAlertPolicyAssociationsAccessLevelEnum

func GetListTargetAlertPolicyAssociationsAccessLevelEnumValues ¶

func GetListTargetAlertPolicyAssociationsAccessLevelEnumValues() []ListTargetAlertPolicyAssociationsAccessLevelEnum

GetListTargetAlertPolicyAssociationsAccessLevelEnumValues Enumerates the set of values for ListTargetAlertPolicyAssociationsAccessLevelEnum

func GetMappingListTargetAlertPolicyAssociationsAccessLevelEnum ¶

func GetMappingListTargetAlertPolicyAssociationsAccessLevelEnum(val string) (ListTargetAlertPolicyAssociationsAccessLevelEnum, bool)

GetMappingListTargetAlertPolicyAssociationsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetAlertPolicyAssociationsLifecycleStateEnum ¶

type ListTargetAlertPolicyAssociationsLifecycleStateEnum string

ListTargetAlertPolicyAssociationsLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetAlertPolicyAssociationsLifecycleStateCreating ListTargetAlertPolicyAssociationsLifecycleStateEnum = "CREATING"
	ListTargetAlertPolicyAssociationsLifecycleStateUpdating ListTargetAlertPolicyAssociationsLifecycleStateEnum = "UPDATING"
	ListTargetAlertPolicyAssociationsLifecycleStateActive   ListTargetAlertPolicyAssociationsLifecycleStateEnum = "ACTIVE"
	ListTargetAlertPolicyAssociationsLifecycleStateDeleting ListTargetAlertPolicyAssociationsLifecycleStateEnum = "DELETING"
	ListTargetAlertPolicyAssociationsLifecycleStateDeleted  ListTargetAlertPolicyAssociationsLifecycleStateEnum = "DELETED"
	ListTargetAlertPolicyAssociationsLifecycleStateFailed   ListTargetAlertPolicyAssociationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetAlertPolicyAssociationsLifecycleStateEnum

func GetListTargetAlertPolicyAssociationsLifecycleStateEnumValues ¶

func GetListTargetAlertPolicyAssociationsLifecycleStateEnumValues() []ListTargetAlertPolicyAssociationsLifecycleStateEnum

GetListTargetAlertPolicyAssociationsLifecycleStateEnumValues Enumerates the set of values for ListTargetAlertPolicyAssociationsLifecycleStateEnum

func GetMappingListTargetAlertPolicyAssociationsLifecycleStateEnum ¶

func GetMappingListTargetAlertPolicyAssociationsLifecycleStateEnum(val string) (ListTargetAlertPolicyAssociationsLifecycleStateEnum, bool)

GetMappingListTargetAlertPolicyAssociationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetAlertPolicyAssociationsRequest ¶

type ListTargetAlertPolicyAssociationsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only items related to a specific target-alert policy association ID.
	TargetAlertPolicyAssociationId *string `mandatory:"false" contributesTo:"query" name:"targetAlertPolicyAssociationId"`

	// A filter to return policy by it's OCID.
	AlertPolicyId *string `mandatory:"false" contributesTo:"query" name:"alertPolicyId"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// An optional filter to return only alert policies that have the given life-cycle state.
	LifecycleState ListTargetAlertPolicyAssociationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListTargetAlertPolicyAssociationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort parameter may be provided.
	SortBy ListTargetAlertPolicyAssociationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to return only the resources that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListTargetAlertPolicyAssociationsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

ListTargetAlertPolicyAssociationsRequest wrapper for the ListTargetAlertPolicyAssociations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListTargetAlertPolicyAssociations.go.html to see an example of how to use ListTargetAlertPolicyAssociationsRequest.

func (ListTargetAlertPolicyAssociationsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListTargetAlertPolicyAssociationsRequest) HTTPRequest ¶

func (request ListTargetAlertPolicyAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetAlertPolicyAssociationsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetAlertPolicyAssociationsRequest) String ¶

func (ListTargetAlertPolicyAssociationsRequest) ValidateEnumValue ¶

func (request ListTargetAlertPolicyAssociationsRequest) 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 ListTargetAlertPolicyAssociationsResponse ¶

type ListTargetAlertPolicyAssociationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetAlertPolicyAssociationCollection instances
	TargetAlertPolicyAssociationCollection `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`

	// For list pagination. When this header appears in the response, additional pages of results remain. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListTargetAlertPolicyAssociationsResponse wrapper for the ListTargetAlertPolicyAssociations operation

func (ListTargetAlertPolicyAssociationsResponse) HTTPResponse ¶

func (response ListTargetAlertPolicyAssociationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetAlertPolicyAssociationsResponse) String ¶

type ListTargetAlertPolicyAssociationsSortByEnum ¶

type ListTargetAlertPolicyAssociationsSortByEnum string

ListTargetAlertPolicyAssociationsSortByEnum Enum with underlying type: string

const (
	ListTargetAlertPolicyAssociationsSortByDisplayname ListTargetAlertPolicyAssociationsSortByEnum = "DISPLAYNAME"
	ListTargetAlertPolicyAssociationsSortByTimecreated ListTargetAlertPolicyAssociationsSortByEnum = "TIMECREATED"
	ListTargetAlertPolicyAssociationsSortByTimeupdated ListTargetAlertPolicyAssociationsSortByEnum = "TIMEUPDATED"
)

Set of constants representing the allowable values for ListTargetAlertPolicyAssociationsSortByEnum

func GetListTargetAlertPolicyAssociationsSortByEnumValues ¶

func GetListTargetAlertPolicyAssociationsSortByEnumValues() []ListTargetAlertPolicyAssociationsSortByEnum

GetListTargetAlertPolicyAssociationsSortByEnumValues Enumerates the set of values for ListTargetAlertPolicyAssociationsSortByEnum

func GetMappingListTargetAlertPolicyAssociationsSortByEnum ¶

func GetMappingListTargetAlertPolicyAssociationsSortByEnum(val string) (ListTargetAlertPolicyAssociationsSortByEnum, bool)

GetMappingListTargetAlertPolicyAssociationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetAlertPolicyAssociationsSortOrderEnum ¶

type ListTargetAlertPolicyAssociationsSortOrderEnum string

ListTargetAlertPolicyAssociationsSortOrderEnum Enum with underlying type: string

const (
	ListTargetAlertPolicyAssociationsSortOrderAsc  ListTargetAlertPolicyAssociationsSortOrderEnum = "ASC"
	ListTargetAlertPolicyAssociationsSortOrderDesc ListTargetAlertPolicyAssociationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetAlertPolicyAssociationsSortOrderEnum

func GetListTargetAlertPolicyAssociationsSortOrderEnumValues ¶

func GetListTargetAlertPolicyAssociationsSortOrderEnumValues() []ListTargetAlertPolicyAssociationsSortOrderEnum

GetListTargetAlertPolicyAssociationsSortOrderEnumValues Enumerates the set of values for ListTargetAlertPolicyAssociationsSortOrderEnum

func GetMappingListTargetAlertPolicyAssociationsSortOrderEnum ¶

func GetMappingListTargetAlertPolicyAssociationsSortOrderEnum(val string) (ListTargetAlertPolicyAssociationsSortOrderEnum, bool)

GetMappingListTargetAlertPolicyAssociationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDatabasesAccessLevelEnum ¶

type ListTargetDatabasesAccessLevelEnum string

ListTargetDatabasesAccessLevelEnum Enum with underlying type: string

const (
	ListTargetDatabasesAccessLevelRestricted ListTargetDatabasesAccessLevelEnum = "RESTRICTED"
	ListTargetDatabasesAccessLevelAccessible ListTargetDatabasesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListTargetDatabasesAccessLevelEnum

func GetListTargetDatabasesAccessLevelEnumValues ¶

func GetListTargetDatabasesAccessLevelEnumValues() []ListTargetDatabasesAccessLevelEnum

GetListTargetDatabasesAccessLevelEnumValues Enumerates the set of values for ListTargetDatabasesAccessLevelEnum

func GetMappingListTargetDatabasesAccessLevelEnum ¶

func GetMappingListTargetDatabasesAccessLevelEnum(val string) (ListTargetDatabasesAccessLevelEnum, bool)

GetMappingListTargetDatabasesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDatabasesDatabaseTypeEnum ¶

type ListTargetDatabasesDatabaseTypeEnum string

ListTargetDatabasesDatabaseTypeEnum Enum with underlying type: string

const (
	ListTargetDatabasesDatabaseTypeDatabaseCloudService ListTargetDatabasesDatabaseTypeEnum = "DATABASE_CLOUD_SERVICE"
	ListTargetDatabasesDatabaseTypeAutonomousDatabase   ListTargetDatabasesDatabaseTypeEnum = "AUTONOMOUS_DATABASE"
	ListTargetDatabasesDatabaseTypeInstalledDatabase    ListTargetDatabasesDatabaseTypeEnum = "INSTALLED_DATABASE"
)

Set of constants representing the allowable values for ListTargetDatabasesDatabaseTypeEnum

func GetListTargetDatabasesDatabaseTypeEnumValues ¶

func GetListTargetDatabasesDatabaseTypeEnumValues() []ListTargetDatabasesDatabaseTypeEnum

GetListTargetDatabasesDatabaseTypeEnumValues Enumerates the set of values for ListTargetDatabasesDatabaseTypeEnum

func GetMappingListTargetDatabasesDatabaseTypeEnum ¶

func GetMappingListTargetDatabasesDatabaseTypeEnum(val string) (ListTargetDatabasesDatabaseTypeEnum, bool)

GetMappingListTargetDatabasesDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDatabasesInfrastructureTypeEnum ¶

type ListTargetDatabasesInfrastructureTypeEnum string

ListTargetDatabasesInfrastructureTypeEnum Enum with underlying type: string

const (
	ListTargetDatabasesInfrastructureTypeOracleCloud     ListTargetDatabasesInfrastructureTypeEnum = "ORACLE_CLOUD"
	ListTargetDatabasesInfrastructureTypeCloudAtCustomer ListTargetDatabasesInfrastructureTypeEnum = "CLOUD_AT_CUSTOMER"
	ListTargetDatabasesInfrastructureTypeOnPremises      ListTargetDatabasesInfrastructureTypeEnum = "ON_PREMISES"
	ListTargetDatabasesInfrastructureTypeNonOracleCloud  ListTargetDatabasesInfrastructureTypeEnum = "NON_ORACLE_CLOUD"
)

Set of constants representing the allowable values for ListTargetDatabasesInfrastructureTypeEnum

func GetListTargetDatabasesInfrastructureTypeEnumValues ¶

func GetListTargetDatabasesInfrastructureTypeEnumValues() []ListTargetDatabasesInfrastructureTypeEnum

GetListTargetDatabasesInfrastructureTypeEnumValues Enumerates the set of values for ListTargetDatabasesInfrastructureTypeEnum

func GetMappingListTargetDatabasesInfrastructureTypeEnum ¶

func GetMappingListTargetDatabasesInfrastructureTypeEnum(val string) (ListTargetDatabasesInfrastructureTypeEnum, bool)

GetMappingListTargetDatabasesInfrastructureTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDatabasesLifecycleStateEnum ¶

type ListTargetDatabasesLifecycleStateEnum string

ListTargetDatabasesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDatabasesLifecycleStateCreating       ListTargetDatabasesLifecycleStateEnum = "CREATING"
	ListTargetDatabasesLifecycleStateUpdating       ListTargetDatabasesLifecycleStateEnum = "UPDATING"
	ListTargetDatabasesLifecycleStateActive         ListTargetDatabasesLifecycleStateEnum = "ACTIVE"
	ListTargetDatabasesLifecycleStateInactive       ListTargetDatabasesLifecycleStateEnum = "INACTIVE"
	ListTargetDatabasesLifecycleStateDeleting       ListTargetDatabasesLifecycleStateEnum = "DELETING"
	ListTargetDatabasesLifecycleStateDeleted        ListTargetDatabasesLifecycleStateEnum = "DELETED"
	ListTargetDatabasesLifecycleStateNeedsAttention ListTargetDatabasesLifecycleStateEnum = "NEEDS_ATTENTION"
	ListTargetDatabasesLifecycleStateFailed         ListTargetDatabasesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDatabasesLifecycleStateEnum

func GetListTargetDatabasesLifecycleStateEnumValues ¶

func GetListTargetDatabasesLifecycleStateEnumValues() []ListTargetDatabasesLifecycleStateEnum

GetListTargetDatabasesLifecycleStateEnumValues Enumerates the set of values for ListTargetDatabasesLifecycleStateEnum

func GetMappingListTargetDatabasesLifecycleStateEnum ¶

func GetMappingListTargetDatabasesLifecycleStateEnum(val string) (ListTargetDatabasesLifecycleStateEnum, bool)

GetMappingListTargetDatabasesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDatabasesRequest ¶

type ListTargetDatabasesRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return the target databases that are associated to the resource id passed in as a parameter value.
	AssociatedResourceId *string `mandatory:"false" contributesTo:"query" name:"associatedResourceId"`

	// A filter to return the target database that matches the specified OCID.
	TargetDatabaseId *string `mandatory:"false" contributesTo:"query" name:"targetDatabaseId"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return the target databases that matches the current state of the target database.
	LifecycleState ListTargetDatabasesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return target databases that match the database type of the target database.
	DatabaseType ListTargetDatabasesDatabaseTypeEnum `mandatory:"false" contributesTo:"query" name:"databaseType" omitEmpty:"true"`

	// A filter to return target databases that match the infrastructure type of the target database.
	InfrastructureType ListTargetDatabasesInfrastructureTypeEnum `mandatory:"false" contributesTo:"query" name:"infrastructureType" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListTargetDatabasesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListTargetDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending.
	// The DISPLAYNAME sort order is case sensitive.
	SortBy ListTargetDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListTargetDatabasesRequest wrapper for the ListTargetDatabases operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListTargetDatabases.go.html to see an example of how to use ListTargetDatabasesRequest.

func (ListTargetDatabasesRequest) BinaryRequestBody ¶

func (request ListTargetDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetDatabasesRequest) HTTPRequest ¶

func (request ListTargetDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDatabasesRequest) RetryPolicy ¶

func (request ListTargetDatabasesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDatabasesRequest) String ¶

func (request ListTargetDatabasesRequest) String() string

func (ListTargetDatabasesRequest) ValidateEnumValue ¶

func (request ListTargetDatabasesRequest) 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 ListTargetDatabasesResponse ¶

type ListTargetDatabasesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []TargetDatabaseSummary instances
	Items []TargetDatabaseSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListTargetDatabasesResponse wrapper for the ListTargetDatabases operation

func (ListTargetDatabasesResponse) HTTPResponse ¶

func (response ListTargetDatabasesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetDatabasesResponse) String ¶

func (response ListTargetDatabasesResponse) String() string

type ListTargetDatabasesSortByEnum ¶

type ListTargetDatabasesSortByEnum string

ListTargetDatabasesSortByEnum Enum with underlying type: string

const (
	ListTargetDatabasesSortByTimecreated ListTargetDatabasesSortByEnum = "TIMECREATED"
	ListTargetDatabasesSortByDisplayname ListTargetDatabasesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListTargetDatabasesSortByEnum

func GetListTargetDatabasesSortByEnumValues ¶

func GetListTargetDatabasesSortByEnumValues() []ListTargetDatabasesSortByEnum

GetListTargetDatabasesSortByEnumValues Enumerates the set of values for ListTargetDatabasesSortByEnum

func GetMappingListTargetDatabasesSortByEnum ¶

func GetMappingListTargetDatabasesSortByEnum(val string) (ListTargetDatabasesSortByEnum, bool)

GetMappingListTargetDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDatabasesSortOrderEnum ¶

type ListTargetDatabasesSortOrderEnum string

ListTargetDatabasesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDatabasesSortOrderAsc  ListTargetDatabasesSortOrderEnum = "ASC"
	ListTargetDatabasesSortOrderDesc ListTargetDatabasesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDatabasesSortOrderEnum

func GetListTargetDatabasesSortOrderEnumValues ¶

func GetListTargetDatabasesSortOrderEnumValues() []ListTargetDatabasesSortOrderEnum

GetListTargetDatabasesSortOrderEnumValues Enumerates the set of values for ListTargetDatabasesSortOrderEnum

func GetMappingListTargetDatabasesSortOrderEnum ¶

func GetMappingListTargetDatabasesSortOrderEnum(val string) (ListTargetDatabasesSortOrderEnum, bool)

GetMappingListTargetDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAnalyticsAccessLevelEnum ¶

type ListUserAnalyticsAccessLevelEnum string

ListUserAnalyticsAccessLevelEnum Enum with underlying type: string

const (
	ListUserAnalyticsAccessLevelRestricted ListUserAnalyticsAccessLevelEnum = "RESTRICTED"
	ListUserAnalyticsAccessLevelAccessible ListUserAnalyticsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListUserAnalyticsAccessLevelEnum

func GetListUserAnalyticsAccessLevelEnumValues ¶

func GetListUserAnalyticsAccessLevelEnumValues() []ListUserAnalyticsAccessLevelEnum

GetListUserAnalyticsAccessLevelEnumValues Enumerates the set of values for ListUserAnalyticsAccessLevelEnum

func GetMappingListUserAnalyticsAccessLevelEnum ¶

func GetMappingListUserAnalyticsAccessLevelEnum(val string) (ListUserAnalyticsAccessLevelEnum, bool)

GetMappingListUserAnalyticsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAnalyticsRequest ¶

type ListUserAnalyticsRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListUserAnalyticsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// A filter to return only items that match the specified user category.
	UserCategory *string `mandatory:"false" contributesTo:"query" name:"userCategory"`

	// A filter to return only items that match the specified user key.
	UserKey *string `mandatory:"false" contributesTo:"query" name:"userKey"`

	// A filter to return only items that match the specified account status.
	AccountStatus *string `mandatory:"false" contributesTo:"query" name:"accountStatus"`

	// A filter to return only items that match the specified authentication type.
	AuthenticationType *string `mandatory:"false" contributesTo:"query" name:"authenticationType"`

	// A filter to return only items that match the specified user name.
	UserName *string `mandatory:"false" contributesTo:"query" name:"userName"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeLastLoginGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginGreaterThanOrEqualTo"`

	// A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeLastLoginLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginLessThan"`

	// A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeUserCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedGreaterThanOrEqualTo"`

	// A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeUserCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedLessThan"`

	// A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimePasswordLastChangedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedGreaterThanOrEqualTo"`

	// A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimePasswordLastChangedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedLessThan"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListUserAnalyticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for userName is ascending.
	SortBy ListUserAnalyticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListUserAnalyticsRequest wrapper for the ListUserAnalytics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListUserAnalytics.go.html to see an example of how to use ListUserAnalyticsRequest.

func (ListUserAnalyticsRequest) BinaryRequestBody ¶

func (request ListUserAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListUserAnalyticsRequest) HTTPRequest ¶

func (request ListUserAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListUserAnalyticsRequest) RetryPolicy ¶

func (request ListUserAnalyticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListUserAnalyticsRequest) String ¶

func (request ListUserAnalyticsRequest) String() string

func (ListUserAnalyticsRequest) ValidateEnumValue ¶

func (request ListUserAnalyticsRequest) 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 ListUserAnalyticsResponse ¶

type ListUserAnalyticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []UserAggregation instances
	Items []UserAggregation `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListUserAnalyticsResponse wrapper for the ListUserAnalytics operation

func (ListUserAnalyticsResponse) HTTPResponse ¶

func (response ListUserAnalyticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListUserAnalyticsResponse) String ¶

func (response ListUserAnalyticsResponse) String() string

type ListUserAnalyticsSortByEnum ¶

type ListUserAnalyticsSortByEnum string

ListUserAnalyticsSortByEnum Enum with underlying type: string

const (
	ListUserAnalyticsSortByUsername            ListUserAnalyticsSortByEnum = "userName"
	ListUserAnalyticsSortByUsercategory        ListUserAnalyticsSortByEnum = "userCategory"
	ListUserAnalyticsSortByAccountstatus       ListUserAnalyticsSortByEnum = "accountStatus"
	ListUserAnalyticsSortByTimelastlogin       ListUserAnalyticsSortByEnum = "timeLastLogin"
	ListUserAnalyticsSortByTargetid            ListUserAnalyticsSortByEnum = "targetId"
	ListUserAnalyticsSortByTimeusercreated     ListUserAnalyticsSortByEnum = "timeUserCreated"
	ListUserAnalyticsSortByAuthenticationtype  ListUserAnalyticsSortByEnum = "authenticationType"
	ListUserAnalyticsSortByTimepasswordchanged ListUserAnalyticsSortByEnum = "timePasswordChanged"
)

Set of constants representing the allowable values for ListUserAnalyticsSortByEnum

func GetListUserAnalyticsSortByEnumValues ¶

func GetListUserAnalyticsSortByEnumValues() []ListUserAnalyticsSortByEnum

GetListUserAnalyticsSortByEnumValues Enumerates the set of values for ListUserAnalyticsSortByEnum

func GetMappingListUserAnalyticsSortByEnum ¶

func GetMappingListUserAnalyticsSortByEnum(val string) (ListUserAnalyticsSortByEnum, bool)

GetMappingListUserAnalyticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAnalyticsSortOrderEnum ¶

type ListUserAnalyticsSortOrderEnum string

ListUserAnalyticsSortOrderEnum Enum with underlying type: string

const (
	ListUserAnalyticsSortOrderAsc  ListUserAnalyticsSortOrderEnum = "ASC"
	ListUserAnalyticsSortOrderDesc ListUserAnalyticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListUserAnalyticsSortOrderEnum

func GetListUserAnalyticsSortOrderEnumValues ¶

func GetListUserAnalyticsSortOrderEnumValues() []ListUserAnalyticsSortOrderEnum

GetListUserAnalyticsSortOrderEnumValues Enumerates the set of values for ListUserAnalyticsSortOrderEnum

func GetMappingListUserAnalyticsSortOrderEnum ¶

func GetMappingListUserAnalyticsSortOrderEnum(val string) (ListUserAnalyticsSortOrderEnum, bool)

GetMappingListUserAnalyticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAssessmentsAccessLevelEnum ¶

type ListUserAssessmentsAccessLevelEnum string

ListUserAssessmentsAccessLevelEnum Enum with underlying type: string

const (
	ListUserAssessmentsAccessLevelRestricted ListUserAssessmentsAccessLevelEnum = "RESTRICTED"
	ListUserAssessmentsAccessLevelAccessible ListUserAssessmentsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListUserAssessmentsAccessLevelEnum

func GetListUserAssessmentsAccessLevelEnumValues ¶

func GetListUserAssessmentsAccessLevelEnumValues() []ListUserAssessmentsAccessLevelEnum

GetListUserAssessmentsAccessLevelEnumValues Enumerates the set of values for ListUserAssessmentsAccessLevelEnum

func GetMappingListUserAssessmentsAccessLevelEnum ¶

func GetMappingListUserAssessmentsAccessLevelEnum(val string) (ListUserAssessmentsAccessLevelEnum, bool)

GetMappingListUserAssessmentsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAssessmentsLifecycleStateEnum ¶

type ListUserAssessmentsLifecycleStateEnum string

ListUserAssessmentsLifecycleStateEnum Enum with underlying type: string

const (
	ListUserAssessmentsLifecycleStateCreating  ListUserAssessmentsLifecycleStateEnum = "CREATING"
	ListUserAssessmentsLifecycleStateSucceeded ListUserAssessmentsLifecycleStateEnum = "SUCCEEDED"
	ListUserAssessmentsLifecycleStateUpdating  ListUserAssessmentsLifecycleStateEnum = "UPDATING"
	ListUserAssessmentsLifecycleStateDeleting  ListUserAssessmentsLifecycleStateEnum = "DELETING"
	ListUserAssessmentsLifecycleStateDeleted   ListUserAssessmentsLifecycleStateEnum = "DELETED"
	ListUserAssessmentsLifecycleStateFailed    ListUserAssessmentsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListUserAssessmentsLifecycleStateEnum

func GetListUserAssessmentsLifecycleStateEnumValues ¶

func GetListUserAssessmentsLifecycleStateEnumValues() []ListUserAssessmentsLifecycleStateEnum

GetListUserAssessmentsLifecycleStateEnumValues Enumerates the set of values for ListUserAssessmentsLifecycleStateEnum

func GetMappingListUserAssessmentsLifecycleStateEnum ¶

func GetMappingListUserAssessmentsLifecycleStateEnum(val string) (ListUserAssessmentsLifecycleStateEnum, bool)

GetMappingListUserAssessmentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAssessmentsRequest ¶

type ListUserAssessmentsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListUserAssessmentsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the specified display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The OCID of the user assessment of type SAVE_SCHEDULE.
	ScheduleUserAssessmentId *string `mandatory:"false" contributesTo:"query" name:"scheduleUserAssessmentId"`

	// A filter to return only user assessments of type SAVE_SCHEDULE.
	IsScheduleAssessment *bool `mandatory:"false" contributesTo:"query" name:"isScheduleAssessment"`

	// A filter to return only user assessments that are set as baseline.
	IsBaseline *bool `mandatory:"false" contributesTo:"query" name:"isBaseline"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return only items that match the specified assessment type.
	Type ListUserAssessmentsTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

	// A filter to return user assessments that were created by either the system or by a user only.
	TriggeredBy ListUserAssessmentsTriggeredByEnum `mandatory:"false" contributesTo:"query" name:"triggeredBy" omitEmpty:"true"`

	// A filter to return only user assessments that were created after the specified date and time, as defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Using timeCreatedGreaterThanOrEqualTo parameter retrieves all assessments created after that date.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Search for resources that were created before a specific date.
	// Specifying this parameter corresponding `timeCreatedLessThan`
	// parameter will retrieve all resources created before the
	// specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as
	// defined by RFC 3339.
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The current state of the user assessment.
	LifecycleState ListUserAssessmentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListUserAssessmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for timeCreated is descending.
	SortBy ListUserAssessmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListUserAssessmentsRequest wrapper for the ListUserAssessments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListUserAssessments.go.html to see an example of how to use ListUserAssessmentsRequest.

func (ListUserAssessmentsRequest) BinaryRequestBody ¶

func (request ListUserAssessmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListUserAssessmentsRequest) HTTPRequest ¶

func (request ListUserAssessmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListUserAssessmentsRequest) RetryPolicy ¶

func (request ListUserAssessmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListUserAssessmentsRequest) String ¶

func (request ListUserAssessmentsRequest) String() string

func (ListUserAssessmentsRequest) ValidateEnumValue ¶

func (request ListUserAssessmentsRequest) 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 ListUserAssessmentsResponse ¶

type ListUserAssessmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []UserAssessmentSummary instances
	Items []UserAssessmentSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListUserAssessmentsResponse wrapper for the ListUserAssessments operation

func (ListUserAssessmentsResponse) HTTPResponse ¶

func (response ListUserAssessmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListUserAssessmentsResponse) String ¶

func (response ListUserAssessmentsResponse) String() string

type ListUserAssessmentsSortByEnum ¶

type ListUserAssessmentsSortByEnum string

ListUserAssessmentsSortByEnum Enum with underlying type: string

const (
	ListUserAssessmentsSortByTimecreated ListUserAssessmentsSortByEnum = "timeCreated"
	ListUserAssessmentsSortByDisplayname ListUserAssessmentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListUserAssessmentsSortByEnum

func GetListUserAssessmentsSortByEnumValues ¶

func GetListUserAssessmentsSortByEnumValues() []ListUserAssessmentsSortByEnum

GetListUserAssessmentsSortByEnumValues Enumerates the set of values for ListUserAssessmentsSortByEnum

func GetMappingListUserAssessmentsSortByEnum ¶

func GetMappingListUserAssessmentsSortByEnum(val string) (ListUserAssessmentsSortByEnum, bool)

GetMappingListUserAssessmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAssessmentsSortOrderEnum ¶

type ListUserAssessmentsSortOrderEnum string

ListUserAssessmentsSortOrderEnum Enum with underlying type: string

const (
	ListUserAssessmentsSortOrderAsc  ListUserAssessmentsSortOrderEnum = "ASC"
	ListUserAssessmentsSortOrderDesc ListUserAssessmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListUserAssessmentsSortOrderEnum

func GetListUserAssessmentsSortOrderEnumValues ¶

func GetListUserAssessmentsSortOrderEnumValues() []ListUserAssessmentsSortOrderEnum

GetListUserAssessmentsSortOrderEnumValues Enumerates the set of values for ListUserAssessmentsSortOrderEnum

func GetMappingListUserAssessmentsSortOrderEnum ¶

func GetMappingListUserAssessmentsSortOrderEnum(val string) (ListUserAssessmentsSortOrderEnum, bool)

GetMappingListUserAssessmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAssessmentsTriggeredByEnum ¶

type ListUserAssessmentsTriggeredByEnum string

ListUserAssessmentsTriggeredByEnum Enum with underlying type: string

const (
	ListUserAssessmentsTriggeredByUser   ListUserAssessmentsTriggeredByEnum = "USER"
	ListUserAssessmentsTriggeredBySystem ListUserAssessmentsTriggeredByEnum = "SYSTEM"
)

Set of constants representing the allowable values for ListUserAssessmentsTriggeredByEnum

func GetListUserAssessmentsTriggeredByEnumValues ¶

func GetListUserAssessmentsTriggeredByEnumValues() []ListUserAssessmentsTriggeredByEnum

GetListUserAssessmentsTriggeredByEnumValues Enumerates the set of values for ListUserAssessmentsTriggeredByEnum

func GetMappingListUserAssessmentsTriggeredByEnum ¶

func GetMappingListUserAssessmentsTriggeredByEnum(val string) (ListUserAssessmentsTriggeredByEnum, bool)

GetMappingListUserAssessmentsTriggeredByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUserAssessmentsTypeEnum ¶

type ListUserAssessmentsTypeEnum string

ListUserAssessmentsTypeEnum Enum with underlying type: string

const (
	ListUserAssessmentsTypeLatest       ListUserAssessmentsTypeEnum = "LATEST"
	ListUserAssessmentsTypeSaved        ListUserAssessmentsTypeEnum = "SAVED"
	ListUserAssessmentsTypeCompartment  ListUserAssessmentsTypeEnum = "COMPARTMENT"
	ListUserAssessmentsTypeSaveSchedule ListUserAssessmentsTypeEnum = "SAVE_SCHEDULE"
)

Set of constants representing the allowable values for ListUserAssessmentsTypeEnum

func GetListUserAssessmentsTypeEnumValues ¶

func GetListUserAssessmentsTypeEnumValues() []ListUserAssessmentsTypeEnum

GetListUserAssessmentsTypeEnumValues Enumerates the set of values for ListUserAssessmentsTypeEnum

func GetMappingListUserAssessmentsTypeEnum ¶

func GetMappingListUserAssessmentsTypeEnum(val string) (ListUserAssessmentsTypeEnum, bool)

GetMappingListUserAssessmentsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUsersAccessLevelEnum ¶

type ListUsersAccessLevelEnum string

ListUsersAccessLevelEnum Enum with underlying type: string

const (
	ListUsersAccessLevelRestricted ListUsersAccessLevelEnum = "RESTRICTED"
	ListUsersAccessLevelAccessible ListUsersAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListUsersAccessLevelEnum

func GetListUsersAccessLevelEnumValues ¶

func GetListUsersAccessLevelEnumValues() []ListUsersAccessLevelEnum

GetListUsersAccessLevelEnumValues Enumerates the set of values for ListUsersAccessLevelEnum

func GetMappingListUsersAccessLevelEnum ¶

func GetMappingListUsersAccessLevelEnum(val string) (ListUsersAccessLevelEnum, bool)

GetMappingListUsersAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUsersRequest ¶

type ListUsersRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel ListUsersAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only items that match the specified user category.
	UserCategory *string `mandatory:"false" contributesTo:"query" name:"userCategory"`

	// A filter to return only items that match the specified user role.
	UserRole *string `mandatory:"false" contributesTo:"query" name:"userRole"`

	// A filter to return only items that match the specified user profile.
	UserProfile *string `mandatory:"false" contributesTo:"query" name:"userProfile"`

	// A filter to return only items that match the specified user type. The possible values can be
	//   - ADMIN_PRIVILEGED
	//   - APPLICATION
	//   - PRIVILEGED
	//   - SCHEMA
	//   - NON_PRIVILEGED
	// as specified by '#/definitions/userTypes'.
	UserType *string `mandatory:"false" contributesTo:"query" name:"userType"`

	// A filter to return only items that match the specified user key.
	UserKey *string `mandatory:"false" contributesTo:"query" name:"userKey"`

	// A filter to return only items that match the specified account status.
	AccountStatus *string `mandatory:"false" contributesTo:"query" name:"accountStatus"`

	// A filter to return only items that match the specified authentication type.
	AuthenticationType *string `mandatory:"false" contributesTo:"query" name:"authenticationType"`

	// A filter to return only items that match the specified user name.
	UserName *string `mandatory:"false" contributesTo:"query" name:"userName"`

	// A filter to return only items related to a specific target OCID.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeLastLoginGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginGreaterThanOrEqualTo"`

	// A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeLastLoginLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastLoginLessThan"`

	// A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeUserCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedGreaterThanOrEqualTo"`

	// A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimeUserCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeUserCreatedLessThan"`

	// A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimePasswordLastChangedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedGreaterThanOrEqualTo"`

	// A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// **Example:** 2016-12-19T16:39:57.600Z
	TimePasswordLastChangedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timePasswordLastChangedLessThan"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can specify only one sort order (sortOrder). The default order for userName is ascending.
	SortBy ListUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ListUsersRequest wrapper for the ListUsers operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListUsers.go.html to see an example of how to use ListUsersRequest.

func (ListUsersRequest) BinaryRequestBody ¶

func (request ListUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListUsersRequest) HTTPRequest ¶

func (request ListUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListUsersRequest) RetryPolicy ¶

func (request ListUsersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListUsersRequest) String ¶

func (request ListUsersRequest) String() string

func (ListUsersRequest) ValidateEnumValue ¶

func (request ListUsersRequest) 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 ListUsersResponse ¶

type ListUsersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []UserSummary instances
	Items []UserSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListUsersResponse wrapper for the ListUsers operation

func (ListUsersResponse) HTTPResponse ¶

func (response ListUsersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListUsersResponse) String ¶

func (response ListUsersResponse) String() string

type ListUsersSortByEnum ¶

type ListUsersSortByEnum string

ListUsersSortByEnum Enum with underlying type: string

const (
	ListUsersSortByUsername            ListUsersSortByEnum = "userName"
	ListUsersSortByUsercategory        ListUsersSortByEnum = "userCategory"
	ListUsersSortByAccountstatus       ListUsersSortByEnum = "accountStatus"
	ListUsersSortByTimelastlogin       ListUsersSortByEnum = "timeLastLogin"
	ListUsersSortByTargetid            ListUsersSortByEnum = "targetId"
	ListUsersSortByTimeusercreated     ListUsersSortByEnum = "timeUserCreated"
	ListUsersSortByAuthenticationtype  ListUsersSortByEnum = "authenticationType"
	ListUsersSortByTimepasswordchanged ListUsersSortByEnum = "timePasswordChanged"
)

Set of constants representing the allowable values for ListUsersSortByEnum

func GetListUsersSortByEnumValues ¶

func GetListUsersSortByEnumValues() []ListUsersSortByEnum

GetListUsersSortByEnumValues Enumerates the set of values for ListUsersSortByEnum

func GetMappingListUsersSortByEnum ¶

func GetMappingListUsersSortByEnum(val string) (ListUsersSortByEnum, bool)

GetMappingListUsersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListUsersSortOrderEnum ¶

type ListUsersSortOrderEnum string

ListUsersSortOrderEnum Enum with underlying type: string

const (
	ListUsersSortOrderAsc  ListUsersSortOrderEnum = "ASC"
	ListUsersSortOrderDesc ListUsersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListUsersSortOrderEnum

func GetListUsersSortOrderEnumValues ¶

func GetListUsersSortOrderEnumValues() []ListUsersSortOrderEnum

GetListUsersSortOrderEnumValues Enumerates the set of values for ListUsersSortOrderEnum

func GetMappingListUsersSortOrderEnum ¶

func GetMappingListUsersSortOrderEnum(val string) (ListUsersSortOrderEnum, bool)

GetMappingListUsersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest ¶

type ListWorkRequestErrorsRequest struct {

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// 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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest ¶

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy ¶

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String ¶

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶

func (request ListWorkRequestErrorsRequest) 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 ListWorkRequestErrorsResponse ¶

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestError instances
	Items []WorkRequestError `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse ¶

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String ¶

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest ¶

type ListWorkRequestLogsRequest struct {

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// 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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

func (ListWorkRequestLogsRequest) BinaryRequestBody ¶

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest ¶

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy ¶

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String ¶

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue ¶

func (request ListWorkRequestLogsRequest) 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 ListWorkRequestLogsResponse ¶

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestLogEntry instances
	Items []WorkRequestLogEntry `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse ¶

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String ¶

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest ¶

type ListWorkRequestsRequest struct {

	// A filter to return only resources that match the specified compartment OCID.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only work requests that match the specific operation type.
	OperationType *string `mandatory:"false" contributesTo:"query" name:"operationType"`

	// The field used for sorting. Only one sorting order (sortOrder) can be specified.
	// The default order is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (ASC) or descending (DESC).
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only work requests that match the specified resource OCID.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// A filter to return only work requests that are associated to the specified target database OCID.
	TargetDatabaseId *string `mandatory:"false" contributesTo:"query" name:"targetDatabaseId"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody ¶

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest ¶

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy ¶

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String ¶

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue ¶

func (request ListWorkRequestsRequest) 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 ListWorkRequestsResponse ¶

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestSummary instances
	Items []WorkRequestSummary `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. Include opc-next-page value as the page parameter for the subsequent GET request to get the next batch of items. For 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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse ¶

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String ¶

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum ¶

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByStarttime    ListWorkRequestsSortByEnum = "STARTTIME"
	ListWorkRequestsSortByFinishtime   ListWorkRequestsSortByEnum = "FINISHTIME"
	ListWorkRequestsSortByAcceptedtime ListWorkRequestsSortByEnum = "ACCEPTEDTIME"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues ¶

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum ¶

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum ¶

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues ¶

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum ¶

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type MaskDataDetails ¶

type MaskDataDetails struct {

	// The OCID of the target database to be masked. If it's not provided, the value of the
	// targetId attribute in the MaskingPolicy resource is used. The OCID of the target
	// database to be masked. If it's not provided, the value of the targetId attribute in
	// the MaskingPolicy resource is used.
	TargetId *string `mandatory:"false" json:"targetId"`

	// Indicates if the masking request is to decrypt the data values previously encrypted using Deterministic Encryption. Note that, to
	// correctly decrypt the encrypted data values, it requires the same seed value that was provided to encrypt those data values.
	IsDecrypt *bool `mandatory:"false" json:"isDecrypt"`

	// Indicates if the masking request is to rerun the previously failed masking steps. If a masking request is submitted with the
	// isIgnoreErrorsEnabled attribute set to true, the masking process tracks the failed masking steps. Another masking request can be
	// submitted with the isRun attribute set to true to rerun those failed masking steps. It helps save time by executing only the failed
	// masking steps and not doing the whole masking again.
	IsRerun *bool `mandatory:"false" json:"isRerun"`

	// The tablespace that should be used to create the mapping tables, DMASK objects, and other temporary tables for data masking.
	// If no tablespace is provided, the DEFAULT tablespace is used.
	Tablespace *string `mandatory:"false" json:"tablespace"`

	// Indicates if the masking process should continue on hitting an error. It provides fault tolerance support and is enabled by
	// default. In fault-tolerant mode, the masking process saves the failed step and continues. You can then submit another masking
	// request (with isRerun attribute set to true) to execute only the failed steps.
	IsIgnoreErrorsEnabled *bool `mandatory:"false" json:"isIgnoreErrorsEnabled"`

	// The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats.
	Seed *string `mandatory:"false" json:"seed"`

	// Indicates if the interim DMASK tables should be moved to the user-specified tablespace. As interim tables can be large in size,
	// set it to false if moving them causes performance overhead during masking.
	IsMoveInterimTablesEnabled *bool `mandatory:"false" json:"isMoveInterimTablesEnabled"`

	// Indicates if data masking should be performed using a saved masking script. Setting this attribute to true skips masking script
	// generation and executes the masking script stored in the Data Safe repository. It helps save time if there are no changes in
	// the database tables and their dependencies.
	IsExecuteSavedScriptEnabled *bool `mandatory:"false" json:"isExecuteSavedScriptEnabled"`

	// Indicates if the temporary tables created during a masking operation should be dropped after masking.
	// Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive
	// data values to mask values. These temporary tables are dropped after masking if this attribute is set as true. But, in some cases, you may want
	// to preserve this information to track how masking changed your data. Note that doing so compromises security. These tables
	// must be dropped before the database is available for unprivileged users.
	// If it's not provided, the value of the isDropTempTablesEnabled attribute in the MaskingPolicy resource is used.
	IsDropTempTablesEnabled *bool `mandatory:"false" json:"isDropTempTablesEnabled"`

	// Indicates if redo logging is enabled during a masking operation. Set this attribute to true to
	// enable redo logging. If set as flase, masking disables redo logging and flashback logging to purge any original unmasked
	// data from logs. However, in certain circumstances when you only want to test masking, rollback changes, and retry masking,
	// you could enable logging and use a flashback database to retrieve the original unmasked data after it has been masked.
	// If it's not provided, the value of the isRedoLoggingEnabled attribute in the MaskingPolicy resource is used.
	IsRedoLoggingEnabled *bool `mandatory:"false" json:"isRedoLoggingEnabled"`

	// Indicates if statistics gathering is enabled. Set this attribute to false to disable statistics
	// gathering. The masking process gathers statistics on masked database tables after masking completes.
	// If it's not provided, the value of the isRefreshStatsEnabled attribute in the MaskingPolicy resource is used.
	IsRefreshStatsEnabled *bool `mandatory:"false" json:"isRefreshStatsEnabled"`

	// Specifies options to enable parallel execution when running data masking. Allowed values are 'NONE' (no parallelism),
	// 'DEFAULT' (the Oracle Database computes the optimum degree of parallelism) or an integer value to be used as the degree
	// of parallelism. Parallel execution helps effectively use multiple CPUs and improve masking performance. Refer to the
	// Oracle Database parallel execution framework when choosing an explicit degree of parallelism.
	// If it's not provided, the value of the parallelDegree attribute in the MaskingPolicy resource is used.
	ParallelDegree *string `mandatory:"false" json:"parallelDegree"`

	// Specifies how to recompile invalid objects post data masking. Allowed values are 'SERIAL' (recompile in serial),
	// 'PARALLEL' (recompile in parallel), 'NONE' (do not recompile). If it's set to PARALLEL, the value of parallelDegree
	// attribute is used. Note that few objects may remain invalid even after recompiling once and you may have to further
	// recompile manually using UTL_RECOMP package.
	// If it's not provided, the value of the parallelDegree attribute in the MaskingPolicy resource is used.
	Recompile *string `mandatory:"false" json:"recompile"`
}

MaskDataDetails Details to mask data.

func (MaskDataDetails) String ¶

func (m MaskDataDetails) String() string

func (MaskDataDetails) ValidateEnumValue ¶

func (m MaskDataDetails) 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 MaskDataRequest ¶

type MaskDataRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to mask data.
	MaskDataDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

MaskDataRequest wrapper for the MaskData operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/MaskData.go.html to see an example of how to use MaskDataRequest.

func (MaskDataRequest) BinaryRequestBody ¶

func (request MaskDataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (MaskDataRequest) HTTPRequest ¶

func (request MaskDataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (MaskDataRequest) RetryPolicy ¶

func (request MaskDataRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (MaskDataRequest) String ¶

func (request MaskDataRequest) String() string

func (MaskDataRequest) ValidateEnumValue ¶

func (request MaskDataRequest) 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 MaskDataResponse ¶

type MaskDataResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

MaskDataResponse wrapper for the MaskData operation

func (MaskDataResponse) HTTPResponse ¶

func (response MaskDataResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (MaskDataResponse) String ¶

func (response MaskDataResponse) String() string

type MaskedColumnCollection ¶

type MaskedColumnCollection struct {

	// An array of masking column summary objects.
	Items []MaskedColumnSummary `mandatory:"true" json:"items"`
}

MaskedColumnCollection A collection of masking column summary objects.

func (MaskedColumnCollection) String ¶

func (m MaskedColumnCollection) String() string

func (MaskedColumnCollection) ValidateEnumValue ¶

func (m MaskedColumnCollection) 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 MaskedColumnSummary ¶

type MaskedColumnSummary struct {

	// The unique key that identifies the masked column. It's numeric and unique within a masking policy.
	Key *string `mandatory:"true" json:"key"`

	// The name of the schema that contains the masked column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The name of the object (table or editioning view) that contains the masked column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The type of the object (table or editioning view) that contains the masked column.
	ObjectType ObjectTypeEnum `mandatory:"true" json:"objectType"`

	// The name of the masked column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The masking format used for masking the column.
	MaskingFormatUsed *string `mandatory:"true" json:"maskingFormatUsed"`

	// The total number of values masked in the column.
	TotalMaskedValues *int64 `mandatory:"true" json:"totalMaskedValues"`

	// The unique key that identifies the parent column of the masked column.
	ParentColumnKey *string `mandatory:"false" json:"parentColumnKey"`

	// The OCID of the sensitive type associated with the masked column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// The masking group of the masked column.
	MaskingColumnGroup *string `mandatory:"false" json:"maskingColumnGroup"`
}

MaskedColumnSummary Summary of a masked column. A masked column is a database column masked by a data masking request.

func (MaskedColumnSummary) String ¶

func (m MaskedColumnSummary) String() string

func (MaskedColumnSummary) ValidateEnumValue ¶

func (m MaskedColumnSummary) 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 MaskingAnalyticsCollection ¶

type MaskingAnalyticsCollection struct {

	// An array of masking analytics summary objects.
	Items []MaskingAnalyticsSummary `mandatory:"true" json:"items"`
}

MaskingAnalyticsCollection A collection of masking analytics summary objects.

func (MaskingAnalyticsCollection) String ¶

func (MaskingAnalyticsCollection) ValidateEnumValue ¶

func (m MaskingAnalyticsCollection) 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 MaskingAnalyticsDimensions ¶

type MaskingAnalyticsDimensions struct {

	// The OCID of the target database.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The OCID of the masking policy..
	PolicyId *string `mandatory:"false" json:"policyId"`
}

MaskingAnalyticsDimensions The scope of analytics data.

func (MaskingAnalyticsDimensions) String ¶

func (MaskingAnalyticsDimensions) ValidateEnumValue ¶

func (m MaskingAnalyticsDimensions) 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 MaskingAnalyticsSummary ¶

type MaskingAnalyticsSummary struct {

	// The name of the aggregation metric.
	MetricName MaskingAnalyticsSummaryMetricNameEnum `mandatory:"true" json:"metricName"`

	// The total count for the aggregation metric.
	Count *int64 `mandatory:"true" json:"count"`

	Dimensions *MaskingAnalyticsDimensions `mandatory:"false" json:"dimensions"`
}

MaskingAnalyticsSummary Summary of masking analytics data.

func (MaskingAnalyticsSummary) String ¶

func (m MaskingAnalyticsSummary) String() string

func (MaskingAnalyticsSummary) ValidateEnumValue ¶

func (m MaskingAnalyticsSummary) 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 MaskingAnalyticsSummaryMetricNameEnum ¶

type MaskingAnalyticsSummaryMetricNameEnum string

MaskingAnalyticsSummaryMetricNameEnum Enum with underlying type: string

const (
	MaskingAnalyticsSummaryMetricNameMaskingPolicy       MaskingAnalyticsSummaryMetricNameEnum = "MASKING_POLICY"
	MaskingAnalyticsSummaryMetricNameMaskingDatabase     MaskingAnalyticsSummaryMetricNameEnum = "MASKING_DATABASE"
	MaskingAnalyticsSummaryMetricNameMaskingWorkRequest  MaskingAnalyticsSummaryMetricNameEnum = "MASKING_WORK_REQUEST"
	MaskingAnalyticsSummaryMetricNameMaskedSensitiveType MaskingAnalyticsSummaryMetricNameEnum = "MASKED_SENSITIVE_TYPE"
	MaskingAnalyticsSummaryMetricNameMaskedSchema        MaskingAnalyticsSummaryMetricNameEnum = "MASKED_SCHEMA"
	MaskingAnalyticsSummaryMetricNameMaskedTable         MaskingAnalyticsSummaryMetricNameEnum = "MASKED_TABLE"
	MaskingAnalyticsSummaryMetricNameMaskedColumn        MaskingAnalyticsSummaryMetricNameEnum = "MASKED_COLUMN"
	MaskingAnalyticsSummaryMetricNameMaskedDataValue     MaskingAnalyticsSummaryMetricNameEnum = "MASKED_DATA_VALUE"
)

Set of constants representing the allowable values for MaskingAnalyticsSummaryMetricNameEnum

func GetMappingMaskingAnalyticsSummaryMetricNameEnum ¶

func GetMappingMaskingAnalyticsSummaryMetricNameEnum(val string) (MaskingAnalyticsSummaryMetricNameEnum, bool)

GetMappingMaskingAnalyticsSummaryMetricNameEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMaskingAnalyticsSummaryMetricNameEnumValues ¶

func GetMaskingAnalyticsSummaryMetricNameEnumValues() []MaskingAnalyticsSummaryMetricNameEnum

GetMaskingAnalyticsSummaryMetricNameEnumValues Enumerates the set of values for MaskingAnalyticsSummaryMetricNameEnum

type MaskingColumn ¶

type MaskingColumn struct {

	// The unique key that identifies the masking column. It's numeric and unique within a masking policy.
	Key *string `mandatory:"true" json:"key"`

	// The OCID of the masking policy that contains the masking column.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// The current state of the masking column.
	LifecycleState MaskingColumnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the masking column was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the masking column was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The name of the schema that contains the database column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The name of the object (table or editioning view) that contains the database column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the database column. Note that the same name is used for the masking column.
	// There is no separate displayName attribute for the masking column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// Indicates if data masking is enabled for the masking column.
	IsMaskingEnabled *bool `mandatory:"true" json:"isMaskingEnabled"`

	// Details about the current state of the masking column.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The type of the object that contains the database column.
	ObjectType ObjectTypeEnum `mandatory:"false" json:"objectType,omitempty"`

	// An array of child columns that are in referential relationship with the masking column.
	ChildColumns []string `mandatory:"false" json:"childColumns"`

	// The group of the masking column. All the columns in a group are masked together to ensure
	// that the masked data across these columns continue to retain the same logical relationship.
	// For more details, check <a href=https://docs.oracle.com/en/cloud/paas/data-safe/udscs/group-masking1.html#GUID-755056B9-9540-48C0-9491-262A44A85037>Group Masking in the Data Safe documentation.</a>
	MaskingColumnGroup *string `mandatory:"false" json:"maskingColumnGroup"`

	// The OCID of the sensitive type associated with the masking column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// The data type of the masking column.
	DataType *string `mandatory:"false" json:"dataType"`

	// An array of masking formats assigned to the masking column.
	MaskingFormats []MaskingFormat `mandatory:"false" json:"maskingFormats"`
}

MaskingColumn A masking column is a resource corresponding to a database column that you want to mask. It's a subresource of masking policy resource and is always associated with a masking policy. Note that only parent columns are managed as masking columns. The child columns are automatically managed using the childColumns attribute.

func (MaskingColumn) String ¶

func (m MaskingColumn) String() string

func (MaskingColumn) ValidateEnumValue ¶

func (m MaskingColumn) 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 MaskingColumnCollection ¶

type MaskingColumnCollection struct {

	// An array of masking column summary objects.
	Items []MaskingColumnSummary `mandatory:"true" json:"items"`
}

MaskingColumnCollection A collection of masking column summary objects.

func (MaskingColumnCollection) String ¶

func (m MaskingColumnCollection) String() string

func (MaskingColumnCollection) ValidateEnumValue ¶

func (m MaskingColumnCollection) 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 MaskingColumnLifecycleStateEnum ¶

type MaskingColumnLifecycleStateEnum string

MaskingColumnLifecycleStateEnum Enum with underlying type: string

const (
	MaskingColumnLifecycleStateCreating       MaskingColumnLifecycleStateEnum = "CREATING"
	MaskingColumnLifecycleStateActive         MaskingColumnLifecycleStateEnum = "ACTIVE"
	MaskingColumnLifecycleStateUpdating       MaskingColumnLifecycleStateEnum = "UPDATING"
	MaskingColumnLifecycleStateDeleting       MaskingColumnLifecycleStateEnum = "DELETING"
	MaskingColumnLifecycleStateNeedsAttention MaskingColumnLifecycleStateEnum = "NEEDS_ATTENTION"
	MaskingColumnLifecycleStateFailed         MaskingColumnLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for MaskingColumnLifecycleStateEnum

func GetMappingMaskingColumnLifecycleStateEnum ¶

func GetMappingMaskingColumnLifecycleStateEnum(val string) (MaskingColumnLifecycleStateEnum, bool)

GetMappingMaskingColumnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMaskingColumnLifecycleStateEnumValues ¶

func GetMaskingColumnLifecycleStateEnumValues() []MaskingColumnLifecycleStateEnum

GetMaskingColumnLifecycleStateEnumValues Enumerates the set of values for MaskingColumnLifecycleStateEnum

type MaskingColumnSummary ¶

type MaskingColumnSummary struct {

	// The unique key that identifies a masking column. The key is numeric and unique within a masking policy.
	Key *string `mandatory:"true" json:"key"`

	// The OCID of the masking policy that contains the masking column.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// The current state of the masking column.
	LifecycleState MaskingColumnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the masking column was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the masking column was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The name of the schema that contains the database column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The name of the object (table or editioning view) that contains the database column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the database column. Note that the same name is used for the masking column.
	// There is no separate displayName attribute for the masking column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// Indicates if data masking is enabled for the masking column.
	IsMaskingEnabled *bool `mandatory:"true" json:"isMaskingEnabled"`

	// Details about the current state of the masking column.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The type of the object that contains the database column.
	ObjectType ObjectTypeEnum `mandatory:"false" json:"objectType,omitempty"`

	// An array of child columns that are in referential relationship with the masking column.
	ChildColumns []string `mandatory:"false" json:"childColumns"`

	// The group of the masking column. All the columns in a group are masked together to ensure
	// that the masked data across these columns continue
	// to retain the same logical relationship. For more details, check <a href=https://docs.oracle.com/en/cloud/paas/data-safe/udscs/group-masking1.html#GUID-755056B9-9540-48C0-9491-262A44A85037>Group Masking in the Data Safe documentation.</a>
	MaskingColumnGroup *string `mandatory:"false" json:"maskingColumnGroup"`

	// The OCID of the sensitive type associated with the masking column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// The data type of the masking column.
	DataType *string `mandatory:"false" json:"dataType"`

	// An array of masking formats assigned to the masking column.
	MaskingFormats []MaskingFormat `mandatory:"false" json:"maskingFormats"`
}

MaskingColumnSummary Summary of a masking column.

func (MaskingColumnSummary) String ¶

func (m MaskingColumnSummary) String() string

func (MaskingColumnSummary) ValidateEnumValue ¶

func (m MaskingColumnSummary) 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 MaskingFormat ¶

type MaskingFormat struct {

	// An array of format entries. The combined output of all the format entries is
	// used for masking the column data values.
	FormatEntries []FormatEntry `mandatory:"true" json:"formatEntries"`

	// A condition that must be true for applying the masking format. It can be any valid
	// SQL construct that can be used in a SQL predicate. It enables you to do
	// <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/conditional-masking.html">conditional masking</a>
	// so that you can mask the column data values differently using different masking
	// formats and the associated conditions.
	Condition *string `mandatory:"false" json:"condition"`

	// The description of the masking format.
	Description *string `mandatory:"false" json:"description"`
}

MaskingFormat A masking format defines the logic to mask data in a database column. The condition attribute defines the condition that must be true for applying the masking format. It enables you to do <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/conditional-masking.html">conditional masking</a> so that you can mask the column data values differently using different masking formats and the associated conditions. A masking format can have one or more format entries. A format entry can be a basic masking format such as Random Number, or it can be a library masking format.The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking.

func (MaskingFormat) String ¶

func (m MaskingFormat) String() string

func (*MaskingFormat) UnmarshalJSON ¶

func (m *MaskingFormat) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (MaskingFormat) ValidateEnumValue ¶

func (m MaskingFormat) 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 MaskingLifecycleStateEnum ¶

type MaskingLifecycleStateEnum string

MaskingLifecycleStateEnum Enum with underlying type: string

const (
	MaskingLifecycleStateCreating       MaskingLifecycleStateEnum = "CREATING"
	MaskingLifecycleStateActive         MaskingLifecycleStateEnum = "ACTIVE"
	MaskingLifecycleStateUpdating       MaskingLifecycleStateEnum = "UPDATING"
	MaskingLifecycleStateDeleting       MaskingLifecycleStateEnum = "DELETING"
	MaskingLifecycleStateDeleted        MaskingLifecycleStateEnum = "DELETED"
	MaskingLifecycleStateNeedsAttention MaskingLifecycleStateEnum = "NEEDS_ATTENTION"
	MaskingLifecycleStateFailed         MaskingLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for MaskingLifecycleStateEnum

func GetMappingMaskingLifecycleStateEnum ¶

func GetMappingMaskingLifecycleStateEnum(val string) (MaskingLifecycleStateEnum, bool)

GetMappingMaskingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMaskingLifecycleStateEnumValues ¶

func GetMaskingLifecycleStateEnumValues() []MaskingLifecycleStateEnum

GetMaskingLifecycleStateEnumValues Enumerates the set of values for MaskingLifecycleStateEnum

type MaskingObjectCollection ¶ added in v65.35.0

type MaskingObjectCollection struct {

	// An array of masking object summary objects.
	Items []MaskingObjectSummary `mandatory:"true" json:"items"`
}

MaskingObjectCollection A collection of masking object summary objects.

func (MaskingObjectCollection) String ¶ added in v65.35.0

func (m MaskingObjectCollection) String() string

func (MaskingObjectCollection) ValidateEnumValue ¶ added in v65.35.0

func (m MaskingObjectCollection) 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 MaskingObjectSummary ¶ added in v65.35.0

type MaskingObjectSummary struct {

	// The database schema that contains the masking column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the masking column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The type of the database object that contains the masking column.
	ObjectType ObjectTypeEnum `mandatory:"true" json:"objectType"`
}

MaskingObjectSummary Summary of a masking object present in a masking policy.

func (MaskingObjectSummary) String ¶ added in v65.35.0

func (m MaskingObjectSummary) String() string

func (MaskingObjectSummary) ValidateEnumValue ¶ added in v65.35.0

func (m MaskingObjectSummary) 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 MaskingPolicy ¶

type MaskingPolicy struct {

	// The OCID of the masking policy.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the masking policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the masking policy.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the masking policy was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the masking policy.
	LifecycleState MaskingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the masking policy was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Indicates if the temporary tables created during a masking operation should be dropped after masking. It's enabled by default.
	// Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive
	// data values to mask values. By default, these temporary tables are dropped after masking. But, in some cases, you may want
	// to preserve this information to track how masking changed your data. Note that doing so compromises security. These tables
	// must be dropped before the database is available for unprivileged users.
	IsDropTempTablesEnabled *bool `mandatory:"true" json:"isDropTempTablesEnabled"`

	// Indicates if redo logging is enabled during a masking operation. It's disabled by default. Set this attribute to true to
	// enable redo logging. By default, masking disables redo logging and flashback logging to purge any original unmasked
	// data from logs. However, in certain circumstances when you only want to test masking, rollback changes, and retry masking,
	// you could enable logging and use a flashback database to retrieve the original unmasked data after it has been masked.
	IsRedoLoggingEnabled *bool `mandatory:"true" json:"isRedoLoggingEnabled"`

	// Indicates if statistics gathering is enabled. It's enabled by default. Set this attribute to false to disable statistics
	// gathering. The masking process gathers statistics on masked database tables after masking completes.
	IsRefreshStatsEnabled *bool `mandatory:"true" json:"isRefreshStatsEnabled"`

	// Specifies options to enable parallel execution when running data masking. Allowed values are 'NONE' (no parallelism),
	// 'DEFAULT' (the Oracle Database computes the optimum degree of parallelism) or an integer value to be used as the degree
	// of parallelism. Parallel execution helps effectively use multiple CPUs and improve masking performance. Refer to the
	// Oracle Database parallel execution framework when choosing an explicit degree of parallelism.
	ParallelDegree *string `mandatory:"true" json:"parallelDegree"`

	// Specifies how to recompile invalid objects post data masking. Allowed values are 'SERIAL' (recompile in serial),
	// 'PARALLEL' (recompile in parallel), 'NONE' (do not recompile). If it's set to PARALLEL, the value of parallelDegree
	// attribute is used. Note that few objects may remain invalid even after recompiling once and you may have to further
	// recompile manually using UTL_RECOMP package.
	Recompile MaskingPolicyRecompileEnum `mandatory:"true" json:"recompile"`

	// The description of the masking policy.
	Description *string `mandatory:"false" json:"description"`

	// A pre-masking script, which can contain SQL and PL/SQL statements. It's executed before
	// the core masking script generated using the masking policy. It's usually used to perform
	// any preparation or prerequisite work before masking data.
	PreMaskingScript *string `mandatory:"false" json:"preMaskingScript"`

	// A post-masking script, which can contain SQL and PL/SQL statements. It's executed after
	// the core masking script generated using the masking policy. It's usually used to perform
	// additional transformation or cleanup work after masking.
	PostMaskingScript *string `mandatory:"false" json:"postMaskingScript"`

	ColumnSource ColumnSourceDetails `mandatory:"false" json:"columnSource"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

MaskingPolicy A masking policy defines the approach to mask data in a target database. It's basically a collection of columns to be masked, called masking columns, and the associated masking formats to be used to mask these columns. A masking policy can be used to mask multiple databases provided that they have the same schema design. For more information, see <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/masking-policies.html">Masking Policies </a> in the Oracle Data Safe documentation.

func (MaskingPolicy) String ¶

func (m MaskingPolicy) String() string

func (*MaskingPolicy) UnmarshalJSON ¶

func (m *MaskingPolicy) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (MaskingPolicy) ValidateEnumValue ¶

func (m MaskingPolicy) 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 MaskingPolicyCollection ¶

type MaskingPolicyCollection struct {

	// An array of masking policy summary objects.
	Items []MaskingPolicySummary `mandatory:"true" json:"items"`
}

MaskingPolicyCollection A collection of masking policy summary objects.

func (MaskingPolicyCollection) String ¶

func (m MaskingPolicyCollection) String() string

func (MaskingPolicyCollection) ValidateEnumValue ¶

func (m MaskingPolicyCollection) 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 MaskingPolicyRecompileEnum ¶

type MaskingPolicyRecompileEnum string

MaskingPolicyRecompileEnum Enum with underlying type: string

const (
	MaskingPolicyRecompileSerial   MaskingPolicyRecompileEnum = "SERIAL"
	MaskingPolicyRecompileParallel MaskingPolicyRecompileEnum = "PARALLEL"
	MaskingPolicyRecompileNone     MaskingPolicyRecompileEnum = "NONE"
)

Set of constants representing the allowable values for MaskingPolicyRecompileEnum

func GetMappingMaskingPolicyRecompileEnum ¶

func GetMappingMaskingPolicyRecompileEnum(val string) (MaskingPolicyRecompileEnum, bool)

GetMappingMaskingPolicyRecompileEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMaskingPolicyRecompileEnumValues ¶

func GetMaskingPolicyRecompileEnumValues() []MaskingPolicyRecompileEnum

GetMaskingPolicyRecompileEnumValues Enumerates the set of values for MaskingPolicyRecompileEnum

type MaskingPolicySummary ¶

type MaskingPolicySummary struct {

	// The OCID of the masking policy.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the masking policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the masking policy.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the masking policy was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the masking policy was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the masking policy.
	LifecycleState MaskingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of the masking policy.
	Description *string `mandatory:"false" json:"description"`

	ColumnSource ColumnSourceDetails `mandatory:"false" json:"columnSource"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

MaskingPolicySummary Summary of a masking policy.

func (MaskingPolicySummary) String ¶

func (m MaskingPolicySummary) String() string

func (*MaskingPolicySummary) UnmarshalJSON ¶

func (m *MaskingPolicySummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (MaskingPolicySummary) ValidateEnumValue ¶

func (m MaskingPolicySummary) 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 MaskingReport ¶

type MaskingReport struct {

	// The OCID of the masking report.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the masking report.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the masking work request that resulted in this masking report.
	MaskingWorkRequestId *string `mandatory:"true" json:"maskingWorkRequestId"`

	// The OCID of the masking policy used.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// The OCID of the target database masked.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The total number of unique sensitive types associated with the masked columns.
	TotalMaskedSensitiveTypes *int64 `mandatory:"true" json:"totalMaskedSensitiveTypes"`

	// The total number of unique schemas that contain the masked columns.
	TotalMaskedSchemas *int64 `mandatory:"true" json:"totalMaskedSchemas"`

	// The total number of unique objects (tables and editioning views) that contain the masked columns.
	TotalMaskedObjects *int64 `mandatory:"true" json:"totalMaskedObjects"`

	// The total number of masked columns.
	TotalMaskedColumns *int64 `mandatory:"true" json:"totalMaskedColumns"`

	// The total number of masked values.
	TotalMaskedValues *int64 `mandatory:"true" json:"totalMaskedValues"`

	// The date and time data masking started, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeMaskingStarted *common.SDKTime `mandatory:"true" json:"timeMaskingStarted"`

	// The date and time data masking finished, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeMaskingFinished *common.SDKTime `mandatory:"true" json:"timeMaskingFinished"`

	// The current state of the masking report.
	LifecycleState MaskingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the masking report was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the temporary tables created during the masking operation were dropped after masking.
	IsDropTempTablesEnabled *bool `mandatory:"false" json:"isDropTempTablesEnabled"`

	// Indicates if redo logging was enabled during the masking operation.
	IsRedoLoggingEnabled *bool `mandatory:"false" json:"isRedoLoggingEnabled"`

	// Indicates if statistics gathering was enabled during the masking operation.
	IsRefreshStatsEnabled *bool `mandatory:"false" json:"isRefreshStatsEnabled"`

	// Indicates if parallel execution was enabled during the masking operation.
	ParallelDegree *string `mandatory:"false" json:"parallelDegree"`

	// Indicates how invalid objects were recompiled post the masking operation.
	Recompile *string `mandatory:"false" json:"recompile"`
}

MaskingReport A masking report contains information about a completed masking request. It includes details such as the target database masked, masking policy used, masking start and finish time, total number of schemas, tables, columns and values masked, masked columns, and the masking formats used.

func (MaskingReport) String ¶

func (m MaskingReport) String() string

func (MaskingReport) ValidateEnumValue ¶

func (m MaskingReport) 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 MaskingReportCollection ¶

type MaskingReportCollection struct {

	// An array of masking report summary objects.
	Items []MaskingReportSummary `mandatory:"true" json:"items"`
}

MaskingReportCollection A collection of masking report summary objects.

func (MaskingReportCollection) String ¶

func (m MaskingReportCollection) String() string

func (MaskingReportCollection) ValidateEnumValue ¶

func (m MaskingReportCollection) 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 MaskingReportSummary ¶

type MaskingReportSummary struct {

	// The OCID of the masking report.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the masking report.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the masking work request that resulted in this masking report.
	MaskingWorkRequestId *string `mandatory:"true" json:"maskingWorkRequestId"`

	// The OCID of the masking policy used.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// The OCID of the target database masked.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The total number of unique sensitive types associated with the masked columns.
	TotalMaskedSensitiveTypes *int64 `mandatory:"true" json:"totalMaskedSensitiveTypes"`

	// The total number of unique schemas that contain the masked columns.
	TotalMaskedSchemas *int64 `mandatory:"true" json:"totalMaskedSchemas"`

	// The total number of unique objects (tables and editioning views) that contain the masked columns.
	TotalMaskedObjects *int64 `mandatory:"true" json:"totalMaskedObjects"`

	// The total number of masked columns.
	TotalMaskedColumns *int64 `mandatory:"true" json:"totalMaskedColumns"`

	// The total number of masked values.
	TotalMaskedValues *int64 `mandatory:"true" json:"totalMaskedValues"`

	// The date and time data masking started, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeMaskingStarted *common.SDKTime `mandatory:"true" json:"timeMaskingStarted"`

	// The date and time data masking finished, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339)
	TimeMaskingFinished *common.SDKTime `mandatory:"true" json:"timeMaskingFinished"`

	// The current state of the masking report.
	LifecycleState MaskingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the masking report was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates if the temporary tables created during the masking operation were dropped after masking.
	IsDropTempTablesEnabled *bool `mandatory:"false" json:"isDropTempTablesEnabled"`

	// Indicates if redo logging was enabled during the masking operation.
	IsRedoLoggingEnabled *bool `mandatory:"false" json:"isRedoLoggingEnabled"`

	// Indicates if statistics gathering was enabled during the masking operation.
	IsRefreshStatsEnabled *bool `mandatory:"false" json:"isRefreshStatsEnabled"`

	// Indicates if parallel execution was enabled during the masking operation.
	ParallelDegree *string `mandatory:"false" json:"parallelDegree"`

	// Indicates how invalid objects were recompiled post the masking operation.
	Recompile *string `mandatory:"false" json:"recompile"`
}

MaskingReportSummary Summary of a masking report.

func (MaskingReportSummary) String ¶

func (m MaskingReportSummary) String() string

func (MaskingReportSummary) ValidateEnumValue ¶

func (m MaskingReportSummary) 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 MaskingSchemaCollection ¶ added in v65.35.0

type MaskingSchemaCollection struct {

	// An array of masking schema summary objects.
	Items []MaskingSchemaSummary `mandatory:"true" json:"items"`
}

MaskingSchemaCollection A collection of masking schema summary objects.

func (MaskingSchemaCollection) String ¶ added in v65.35.0

func (m MaskingSchemaCollection) String() string

func (MaskingSchemaCollection) ValidateEnumValue ¶ added in v65.35.0

func (m MaskingSchemaCollection) 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 MaskingSchemaSummary ¶ added in v65.35.0

type MaskingSchemaSummary struct {

	// The database schema that contains the masking column.
	SchemaName *string `mandatory:"true" json:"schemaName"`
}

MaskingSchemaSummary Summary of a masking schema present in masking policy.

func (MaskingSchemaSummary) String ¶ added in v65.35.0

func (m MaskingSchemaSummary) String() string

func (MaskingSchemaSummary) ValidateEnumValue ¶ added in v65.35.0

func (m MaskingSchemaSummary) 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 ModifiedAttributes ¶

type ModifiedAttributes struct {

	// Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
	AppDefinedChildColumnKeys []string `mandatory:"false" json:"appDefinedChildColumnKeys"`

	// Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
	DbDefinedChildColumnKeys []string `mandatory:"false" json:"dbDefinedChildColumnKeys"`
}

ModifiedAttributes The attributes of a sensitive column that have been modified in the target database. It's populated only in the case of MODIFIED discovery results and shows the new values of the modified attributes.

func (ModifiedAttributes) String ¶

func (m ModifiedAttributes) String() string

func (ModifiedAttributes) ValidateEnumValue ¶

func (m ModifiedAttributes) 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 ModifyGlobalSettingsDetails ¶

type ModifyGlobalSettingsDetails struct {

	// The paid usage option chosen by the customer admin.
	IsPaidUsage *bool `mandatory:"false" json:"isPaidUsage"`

	// The online retention period in months.
	OnlineRetentionPeriod *int `mandatory:"false" json:"onlineRetentionPeriod"`

	// The offline retention period in months.
	OfflineRetentionPeriod *int `mandatory:"false" json:"offlineRetentionPeriod"`
}

ModifyGlobalSettingsDetails The details required to modify the global settings in Data Safe.

func (ModifyGlobalSettingsDetails) String ¶

func (ModifyGlobalSettingsDetails) ValidateEnumValue ¶

func (m ModifyGlobalSettingsDetails) 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 ModifyGlobalSettingsRequest ¶

type ModifyGlobalSettingsRequest struct {

	// The details used to update global settings in Data Safe.
	ModifyGlobalSettingsDetails `contributesTo:"body"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

ModifyGlobalSettingsRequest wrapper for the ModifyGlobalSettings operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ModifyGlobalSettings.go.html to see an example of how to use ModifyGlobalSettingsRequest.

func (ModifyGlobalSettingsRequest) BinaryRequestBody ¶

func (request ModifyGlobalSettingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ModifyGlobalSettingsRequest) HTTPRequest ¶

func (request ModifyGlobalSettingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ModifyGlobalSettingsRequest) RetryPolicy ¶

func (request ModifyGlobalSettingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ModifyGlobalSettingsRequest) String ¶

func (request ModifyGlobalSettingsRequest) String() string

func (ModifyGlobalSettingsRequest) ValidateEnumValue ¶

func (request ModifyGlobalSettingsRequest) 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 ModifyGlobalSettingsResponse ¶

type ModifyGlobalSettingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ModifyGlobalSettingsResponse wrapper for the ModifyGlobalSettings operation

func (ModifyGlobalSettingsResponse) HTTPResponse ¶

func (response ModifyGlobalSettingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ModifyGlobalSettingsResponse) String ¶

func (response ModifyGlobalSettingsResponse) String() string

type NullValueFormatEntry ¶

type NullValueFormatEntry struct {

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

NullValueFormatEntry The Null Value masking format replaces column data with NULL. The column being masked must be allowed to contain null values. To learn more, check Null Value in the Data Safe documentation.

func (NullValueFormatEntry) GetDescription ¶

func (m NullValueFormatEntry) GetDescription() *string

GetDescription returns Description

func (NullValueFormatEntry) MarshalJSON ¶

func (m NullValueFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NullValueFormatEntry) String ¶

func (m NullValueFormatEntry) String() string

func (NullValueFormatEntry) ValidateEnumValue ¶

func (m NullValueFormatEntry) 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 ObjectTypeEnum ¶

type ObjectTypeEnum string

ObjectTypeEnum Enum with underlying type: string

const (
	ObjectTypeTable          ObjectTypeEnum = "TABLE"
	ObjectTypeEditioningView ObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for ObjectTypeEnum

func GetMappingObjectTypeEnum ¶

func GetMappingObjectTypeEnum(val string) (ObjectTypeEnum, bool)

GetMappingObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetObjectTypeEnumValues ¶

func GetObjectTypeEnumValues() []ObjectTypeEnum

GetObjectTypeEnumValues Enumerates the set of values for ObjectTypeEnum

type OnPremConnector ¶

type OnPremConnector struct {

	// The OCID of the on-premises connector.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the on-premises connector.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the on-premises connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the on-premises connector was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the on-premises connector.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of the on-premises connector.
	Description *string `mandatory:"false" json:"description"`

	// Details about the current state of the on-premises connector.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Latest available version of the on-premises connector.
	AvailableVersion *string `mandatory:"false" json:"availableVersion"`

	// Created version of the on-premises connector.
	CreatedVersion *string `mandatory:"false" json:"createdVersion"`
}

OnPremConnector A Data Safe on-premises connector that enables Data Safe to connect to on-premises databases.

func (OnPremConnector) String ¶

func (m OnPremConnector) String() string

func (OnPremConnector) ValidateEnumValue ¶

func (m OnPremConnector) 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 OnPremConnectorLifecycleStateEnum ¶

type OnPremConnectorLifecycleStateEnum string

OnPremConnectorLifecycleStateEnum Enum with underlying type: string

const (
	OnPremConnectorLifecycleStateCreating       OnPremConnectorLifecycleStateEnum = "CREATING"
	OnPremConnectorLifecycleStateUpdating       OnPremConnectorLifecycleStateEnum = "UPDATING"
	OnPremConnectorLifecycleStateActive         OnPremConnectorLifecycleStateEnum = "ACTIVE"
	OnPremConnectorLifecycleStateInactive       OnPremConnectorLifecycleStateEnum = "INACTIVE"
	OnPremConnectorLifecycleStateDeleting       OnPremConnectorLifecycleStateEnum = "DELETING"
	OnPremConnectorLifecycleStateDeleted        OnPremConnectorLifecycleStateEnum = "DELETED"
	OnPremConnectorLifecycleStateFailed         OnPremConnectorLifecycleStateEnum = "FAILED"
	OnPremConnectorLifecycleStateNeedsAttention OnPremConnectorLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for OnPremConnectorLifecycleStateEnum

func GetMappingOnPremConnectorLifecycleStateEnum ¶

func GetMappingOnPremConnectorLifecycleStateEnum(val string) (OnPremConnectorLifecycleStateEnum, bool)

GetMappingOnPremConnectorLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOnPremConnectorLifecycleStateEnumValues ¶

func GetOnPremConnectorLifecycleStateEnumValues() []OnPremConnectorLifecycleStateEnum

GetOnPremConnectorLifecycleStateEnumValues Enumerates the set of values for OnPremConnectorLifecycleStateEnum

type OnPremConnectorSummary ¶

type OnPremConnectorSummary struct {

	// The OCID of the on-premises connector.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the on-premises connector.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the on-premises connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the on-premises connector was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the on-premises connector.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of the on-premises connector.
	Description *string `mandatory:"false" json:"description"`

	// Details about the current state of the on-premises connector.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Created version of the on-premises connector.
	CreatedVersion *string `mandatory:"false" json:"createdVersion"`
}

OnPremConnectorSummary Summary of a Data Safe on-premises connector.

func (OnPremConnectorSummary) String ¶

func (m OnPremConnectorSummary) String() string

func (OnPremConnectorSummary) ValidateEnumValue ¶

func (m OnPremConnectorSummary) 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 OnPremiseConnector ¶

type OnPremiseConnector struct {

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" json:"onPremConnectorId"`
}

OnPremiseConnector The details required to establish a connection to the database using an on-premises connector.

func (OnPremiseConnector) MarshalJSON ¶

func (m OnPremiseConnector) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OnPremiseConnector) String ¶

func (m OnPremiseConnector) String() string

func (OnPremiseConnector) ValidateEnumValue ¶

func (m OnPremiseConnector) 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 PatchAlertPolicyRuleDetails ¶

type PatchAlertPolicyRuleDetails struct {

	// Array of patch instructions.
	Items []PatchInstruction `mandatory:"false" json:"items"`
}

PatchAlertPolicyRuleDetails Details for how to patch a alert policy.

func (PatchAlertPolicyRuleDetails) String ¶

func (*PatchAlertPolicyRuleDetails) UnmarshalJSON ¶

func (m *PatchAlertPolicyRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchAlertPolicyRuleDetails) ValidateEnumValue ¶

func (m PatchAlertPolicyRuleDetails) 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 PatchAlertsAccessLevelEnum ¶ added in v65.27.0

type PatchAlertsAccessLevelEnum string

PatchAlertsAccessLevelEnum Enum with underlying type: string

const (
	PatchAlertsAccessLevelRestricted PatchAlertsAccessLevelEnum = "RESTRICTED"
	PatchAlertsAccessLevelAccessible PatchAlertsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for PatchAlertsAccessLevelEnum

func GetMappingPatchAlertsAccessLevelEnum ¶ added in v65.27.0

func GetMappingPatchAlertsAccessLevelEnum(val string) (PatchAlertsAccessLevelEnum, bool)

GetMappingPatchAlertsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchAlertsAccessLevelEnumValues ¶ added in v65.27.0

func GetPatchAlertsAccessLevelEnumValues() []PatchAlertsAccessLevelEnum

GetPatchAlertsAccessLevelEnumValues Enumerates the set of values for PatchAlertsAccessLevelEnum

type PatchAlertsDetails ¶

type PatchAlertsDetails struct {

	// Array of alert detail to update the status of the alert specified by the alert ID.
	Items []PatchInstruction `mandatory:"true" json:"items"`

	// The OCID of the compartment that contains the alerts.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

PatchAlertsDetails The alert details to update the status of one or more alert specified by the alert IDs.

func (PatchAlertsDetails) String ¶

func (m PatchAlertsDetails) String() string

func (*PatchAlertsDetails) UnmarshalJSON ¶

func (m *PatchAlertsDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchAlertsDetails) ValidateEnumValue ¶

func (m PatchAlertsDetails) 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 PatchAlertsRequest ¶

type PatchAlertsRequest struct {

	// The alert details to update the status of one or more alert specified by the alert IDs.
	PatchAlertsDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
	AccessLevel PatchAlertsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" 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
}

PatchAlertsRequest wrapper for the PatchAlerts operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/PatchAlerts.go.html to see an example of how to use PatchAlertsRequest.

func (PatchAlertsRequest) BinaryRequestBody ¶

func (request PatchAlertsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchAlertsRequest) HTTPRequest ¶

func (request PatchAlertsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchAlertsRequest) RetryPolicy ¶

func (request PatchAlertsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchAlertsRequest) String ¶

func (request PatchAlertsRequest) String() string

func (PatchAlertsRequest) ValidateEnumValue ¶

func (request PatchAlertsRequest) 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 PatchAlertsResponse ¶

type PatchAlertsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

PatchAlertsResponse wrapper for the PatchAlerts operation

func (PatchAlertsResponse) HTTPResponse ¶

func (response PatchAlertsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchAlertsResponse) String ¶

func (response PatchAlertsResponse) String() string

type PatchDiscoveryJobResultDetails ¶

type PatchDiscoveryJobResultDetails struct {

	// An array of patch instructions.
	Items []PatchInstruction `mandatory:"false" json:"items"`
}

PatchDiscoveryJobResultDetails Details to patch discovery results.

func (PatchDiscoveryJobResultDetails) String ¶

func (*PatchDiscoveryJobResultDetails) UnmarshalJSON ¶

func (m *PatchDiscoveryJobResultDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchDiscoveryJobResultDetails) ValidateEnumValue ¶

func (m PatchDiscoveryJobResultDetails) 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 PatchDiscoveryJobResultsRequest ¶

type PatchDiscoveryJobResultsRequest struct {

	// The OCID of the discovery job.
	DiscoveryJobId *string `mandatory:"true" contributesTo:"path" name:"discoveryJobId"`

	// Details to patch discovery results.
	PatchDiscoveryJobResultDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

PatchDiscoveryJobResultsRequest wrapper for the PatchDiscoveryJobResults operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/PatchDiscoveryJobResults.go.html to see an example of how to use PatchDiscoveryJobResultsRequest.

func (PatchDiscoveryJobResultsRequest) BinaryRequestBody ¶

func (request PatchDiscoveryJobResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchDiscoveryJobResultsRequest) HTTPRequest ¶

func (request PatchDiscoveryJobResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchDiscoveryJobResultsRequest) RetryPolicy ¶

func (request PatchDiscoveryJobResultsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchDiscoveryJobResultsRequest) String ¶

func (request PatchDiscoveryJobResultsRequest) String() string

func (PatchDiscoveryJobResultsRequest) ValidateEnumValue ¶

func (request PatchDiscoveryJobResultsRequest) 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 PatchDiscoveryJobResultsResponse ¶

type PatchDiscoveryJobResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

PatchDiscoveryJobResultsResponse wrapper for the PatchDiscoveryJobResults operation

func (PatchDiscoveryJobResultsResponse) HTTPResponse ¶

func (response PatchDiscoveryJobResultsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchDiscoveryJobResultsResponse) String ¶

func (response PatchDiscoveryJobResultsResponse) String() string

type PatchInsertInstruction ¶

type PatchInsertInstruction struct {

	// The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
	Selection *string `mandatory:"true" json:"selection"`

	// A value to be inserted into the target.
	Value *interface{} `mandatory:"true" json:"value"`
}

PatchInsertInstruction An operation that inserts a value into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.

func (PatchInsertInstruction) GetSelection ¶

func (m PatchInsertInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchInsertInstruction) MarshalJSON ¶

func (m PatchInsertInstruction) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PatchInsertInstruction) String ¶

func (m PatchInsertInstruction) String() string

func (PatchInsertInstruction) ValidateEnumValue ¶

func (m PatchInsertInstruction) 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 PatchInstruction ¶

type PatchInstruction interface {

	// The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
	GetSelection() *string
}

PatchInstruction A single instruction to be included as part of Patch request content.

type PatchInstructionOperationEnum ¶

type PatchInstructionOperationEnum string

PatchInstructionOperationEnum Enum with underlying type: string

const (
	PatchInstructionOperationInsert PatchInstructionOperationEnum = "INSERT"
	PatchInstructionOperationRemove PatchInstructionOperationEnum = "REMOVE"
	PatchInstructionOperationMerge  PatchInstructionOperationEnum = "MERGE"
)

Set of constants representing the allowable values for PatchInstructionOperationEnum

func GetMappingPatchInstructionOperationEnum ¶

func GetMappingPatchInstructionOperationEnum(val string) (PatchInstructionOperationEnum, bool)

GetMappingPatchInstructionOperationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchInstructionOperationEnumValues ¶

func GetPatchInstructionOperationEnumValues() []PatchInstructionOperationEnum

GetPatchInstructionOperationEnumValues Enumerates the set of values for PatchInstructionOperationEnum

type PatchMaskingColumnsDetails ¶

type PatchMaskingColumnsDetails struct {

	// An array of patch instructions.
	Items []PatchInstruction `mandatory:"false" json:"items"`
}

PatchMaskingColumnsDetails Details to patch columns in a masking policy.

func (PatchMaskingColumnsDetails) String ¶

func (*PatchMaskingColumnsDetails) UnmarshalJSON ¶

func (m *PatchMaskingColumnsDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchMaskingColumnsDetails) ValidateEnumValue ¶

func (m PatchMaskingColumnsDetails) 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 PatchMaskingColumnsRequest ¶

type PatchMaskingColumnsRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to patch masking columns.
	PatchMaskingColumnsDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

PatchMaskingColumnsRequest wrapper for the PatchMaskingColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/PatchMaskingColumns.go.html to see an example of how to use PatchMaskingColumnsRequest.

func (PatchMaskingColumnsRequest) BinaryRequestBody ¶

func (request PatchMaskingColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchMaskingColumnsRequest) HTTPRequest ¶

func (request PatchMaskingColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchMaskingColumnsRequest) RetryPolicy ¶

func (request PatchMaskingColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchMaskingColumnsRequest) String ¶

func (request PatchMaskingColumnsRequest) String() string

func (PatchMaskingColumnsRequest) ValidateEnumValue ¶

func (request PatchMaskingColumnsRequest) 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 PatchMaskingColumnsResponse ¶

type PatchMaskingColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

PatchMaskingColumnsResponse wrapper for the PatchMaskingColumns operation

func (PatchMaskingColumnsResponse) HTTPResponse ¶

func (response PatchMaskingColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchMaskingColumnsResponse) String ¶

func (response PatchMaskingColumnsResponse) String() string

type PatchMergeInstruction ¶

type PatchMergeInstruction struct {

	// The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
	Selection *string `mandatory:"true" json:"selection"`

	// A value to be merged into the target.
	Value *interface{} `mandatory:"false" json:"value"`
}

PatchMergeInstruction An operation that recursively updates items of the selection, or adding the value if the selection is empty. If the value is not an object, it is used directly, otherwise each key-value member is used to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value (similar to RFC 7396 (https://tools.ietf.org/html/rfc7396#section-2) JSON Merge Patch, except that null values are copied rather than transformed into deletions). NOT_FOUND exceptions are handled by creating the implied containing structure. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

func (PatchMergeInstruction) GetSelection ¶

func (m PatchMergeInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchMergeInstruction) MarshalJSON ¶

func (m PatchMergeInstruction) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PatchMergeInstruction) String ¶

func (m PatchMergeInstruction) String() string

func (PatchMergeInstruction) ValidateEnumValue ¶

func (m PatchMergeInstruction) 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 PatchRemoveInstruction ¶

type PatchRemoveInstruction struct {

	// The set of values to which the operation applies as a JMESPath expression (https://jmespath.org/specification.html) for evaluation against the context resource. An operation fails if the selection yields an exception, except as otherwise specified. Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
	Selection *string `mandatory:"true" json:"selection"`
}

PatchRemoveInstruction An operation that deletes items, ignoring NOT_FOUND exceptions. To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.

func (PatchRemoveInstruction) GetSelection ¶

func (m PatchRemoveInstruction) GetSelection() *string

GetSelection returns Selection

func (PatchRemoveInstruction) MarshalJSON ¶

func (m PatchRemoveInstruction) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PatchRemoveInstruction) String ¶

func (m PatchRemoveInstruction) String() string

func (PatchRemoveInstruction) ValidateEnumValue ¶

func (m PatchRemoveInstruction) 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 PatchSdmMaskingPolicyDifferenceColumnsDetails ¶ added in v65.35.0

type PatchSdmMaskingPolicyDifferenceColumnsDetails struct {

	// An array of patch instructions.
	Items []PatchInstruction `mandatory:"false" json:"items"`
}

PatchSdmMaskingPolicyDifferenceColumnsDetails Details to patch SDM masking policy difference.

func (PatchSdmMaskingPolicyDifferenceColumnsDetails) String ¶ added in v65.35.0

func (*PatchSdmMaskingPolicyDifferenceColumnsDetails) UnmarshalJSON ¶ added in v65.35.0

func (m *PatchSdmMaskingPolicyDifferenceColumnsDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchSdmMaskingPolicyDifferenceColumnsDetails) ValidateEnumValue ¶ added in v65.35.0

func (m PatchSdmMaskingPolicyDifferenceColumnsDetails) 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 PatchSdmMaskingPolicyDifferenceColumnsRequest ¶ added in v65.35.0

type PatchSdmMaskingPolicyDifferenceColumnsRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// Details to patch difference columns.
	PatchSdmMaskingPolicyDifferenceColumnsDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

PatchSdmMaskingPolicyDifferenceColumnsRequest wrapper for the PatchSdmMaskingPolicyDifferenceColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/PatchSdmMaskingPolicyDifferenceColumns.go.html to see an example of how to use PatchSdmMaskingPolicyDifferenceColumnsRequest.

func (PatchSdmMaskingPolicyDifferenceColumnsRequest) BinaryRequestBody ¶ added in v65.35.0

BinaryRequestBody implements the OCIRequest interface

func (PatchSdmMaskingPolicyDifferenceColumnsRequest) HTTPRequest ¶ added in v65.35.0

func (request PatchSdmMaskingPolicyDifferenceColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchSdmMaskingPolicyDifferenceColumnsRequest) RetryPolicy ¶ added in v65.35.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchSdmMaskingPolicyDifferenceColumnsRequest) String ¶ added in v65.35.0

func (PatchSdmMaskingPolicyDifferenceColumnsRequest) ValidateEnumValue ¶ added in v65.35.0

func (request PatchSdmMaskingPolicyDifferenceColumnsRequest) 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 PatchSdmMaskingPolicyDifferenceColumnsResponse ¶ added in v65.35.0

type PatchSdmMaskingPolicyDifferenceColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

PatchSdmMaskingPolicyDifferenceColumnsResponse wrapper for the PatchSdmMaskingPolicyDifferenceColumns operation

func (PatchSdmMaskingPolicyDifferenceColumnsResponse) HTTPResponse ¶ added in v65.35.0

HTTPResponse implements the OCIResponse interface

func (PatchSdmMaskingPolicyDifferenceColumnsResponse) String ¶ added in v65.35.0

type PatchSensitiveColumnDetails ¶

type PatchSensitiveColumnDetails struct {

	// An array of patch instructions.
	Items []PatchInstruction `mandatory:"false" json:"items"`
}

PatchSensitiveColumnDetails Details to patch columns in a sensitive data model.

func (PatchSensitiveColumnDetails) String ¶

func (*PatchSensitiveColumnDetails) UnmarshalJSON ¶

func (m *PatchSensitiveColumnDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchSensitiveColumnDetails) ValidateEnumValue ¶

func (m PatchSensitiveColumnDetails) 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 PatchSensitiveColumnsRequest ¶

type PatchSensitiveColumnsRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to patch sensitive columns.
	PatchSensitiveColumnDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

PatchSensitiveColumnsRequest wrapper for the PatchSensitiveColumns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/PatchSensitiveColumns.go.html to see an example of how to use PatchSensitiveColumnsRequest.

func (PatchSensitiveColumnsRequest) BinaryRequestBody ¶

func (request PatchSensitiveColumnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchSensitiveColumnsRequest) HTTPRequest ¶

func (request PatchSensitiveColumnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchSensitiveColumnsRequest) RetryPolicy ¶

func (request PatchSensitiveColumnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchSensitiveColumnsRequest) String ¶

func (request PatchSensitiveColumnsRequest) String() string

func (PatchSensitiveColumnsRequest) ValidateEnumValue ¶

func (request PatchSensitiveColumnsRequest) 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 PatchSensitiveColumnsResponse ¶

type PatchSensitiveColumnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

PatchSensitiveColumnsResponse wrapper for the PatchSensitiveColumns operation

func (PatchSensitiveColumnsResponse) HTTPResponse ¶

func (response PatchSensitiveColumnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchSensitiveColumnsResponse) String ¶

func (response PatchSensitiveColumnsResponse) String() string

type PatchTargetAlertPolicyAssociationDetails ¶ added in v65.27.0

type PatchTargetAlertPolicyAssociationDetails struct {

	// An array of patch instructions.
	Items []PatchInstruction `mandatory:"true" json:"items"`

	// The OCID of the compartment that contains the alerts.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

PatchTargetAlertPolicyAssociationDetails The details used to create associations for target databases and audit policies.

func (PatchTargetAlertPolicyAssociationDetails) String ¶ added in v65.27.0

func (*PatchTargetAlertPolicyAssociationDetails) UnmarshalJSON ¶ added in v65.27.0

func (m *PatchTargetAlertPolicyAssociationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PatchTargetAlertPolicyAssociationDetails) ValidateEnumValue ¶ added in v65.27.0

func (m PatchTargetAlertPolicyAssociationDetails) 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 PatchTargetAlertPolicyAssociationRequest ¶ added in v65.27.0

type PatchTargetAlertPolicyAssociationRequest struct {

	// The details used to patch the target-alert policy associations.
	PatchTargetAlertPolicyAssociationDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

PatchTargetAlertPolicyAssociationRequest wrapper for the PatchTargetAlertPolicyAssociation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/PatchTargetAlertPolicyAssociation.go.html to see an example of how to use PatchTargetAlertPolicyAssociationRequest.

func (PatchTargetAlertPolicyAssociationRequest) BinaryRequestBody ¶ added in v65.27.0

BinaryRequestBody implements the OCIRequest interface

func (PatchTargetAlertPolicyAssociationRequest) HTTPRequest ¶ added in v65.27.0

func (request PatchTargetAlertPolicyAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchTargetAlertPolicyAssociationRequest) RetryPolicy ¶ added in v65.27.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchTargetAlertPolicyAssociationRequest) String ¶ added in v65.27.0

func (PatchTargetAlertPolicyAssociationRequest) ValidateEnumValue ¶ added in v65.27.0

func (request PatchTargetAlertPolicyAssociationRequest) 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 PatchTargetAlertPolicyAssociationResponse ¶ added in v65.27.0

type PatchTargetAlertPolicyAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

PatchTargetAlertPolicyAssociationResponse wrapper for the PatchTargetAlertPolicyAssociation operation

func (PatchTargetAlertPolicyAssociationResponse) HTTPResponse ¶ added in v65.27.0

func (response PatchTargetAlertPolicyAssociationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchTargetAlertPolicyAssociationResponse) String ¶ added in v65.27.0

type PolicyFormatEnum ¶

type PolicyFormatEnum string

PolicyFormatEnum Enum with underlying type: string

const (
	PolicyFormatXml PolicyFormatEnum = "XML"
)

Set of constants representing the allowable values for PolicyFormatEnum

func GetMappingPolicyFormatEnum ¶

func GetMappingPolicyFormatEnum(val string) (PolicyFormatEnum, bool)

GetMappingPolicyFormatEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPolicyFormatEnumValues ¶

func GetPolicyFormatEnumValues() []PolicyFormatEnum

GetPolicyFormatEnumValues Enumerates the set of values for PolicyFormatEnum

type PpfFormatEntry ¶

type PpfFormatEntry struct {

	// The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME
	// format. It can be a standalone or packaged function, so PACKAGE_NAME
	// is optional.
	PostProcessingFunction *string `mandatory:"true" json:"postProcessingFunction"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

PpfFormatEntry The Post Processing Function masking format is a special masking option that enables you to use a custom function to further transform column values after they have been masked using some other masking formats. It takes the intermediate masked values as input and returns the final masked values. For example, you can use it for adding checksums or special encodings to the masked values. A post-processing function has the same signature as a user-defined function, but it passes in the masked values the masking engine generates, and returns the final masked values that should be used for masking. To learn more, check Post Processing Function in the Data Safe documentation.

func (PpfFormatEntry) GetDescription ¶

func (m PpfFormatEntry) GetDescription() *string

GetDescription returns Description

func (PpfFormatEntry) MarshalJSON ¶

func (m PpfFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PpfFormatEntry) String ¶

func (m PpfFormatEntry) String() string

func (PpfFormatEntry) ValidateEnumValue ¶

func (m PpfFormatEntry) 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 PreserveOriginalDataFormatEntry ¶

type PreserveOriginalDataFormatEntry struct {

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

PreserveOriginalDataFormatEntry The Preserve Original Data masking format retains the original values in a column. It is useful in conditional masking when you want to preserve a subset of values in a column and mask the remaining values using some other masking formats. To learn more, check Preserve Original Data in the Data Safe documentation.

func (PreserveOriginalDataFormatEntry) GetDescription ¶

func (m PreserveOriginalDataFormatEntry) GetDescription() *string

GetDescription returns Description

func (PreserveOriginalDataFormatEntry) MarshalJSON ¶

func (m PreserveOriginalDataFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PreserveOriginalDataFormatEntry) String ¶

func (PreserveOriginalDataFormatEntry) ValidateEnumValue ¶

func (m PreserveOriginalDataFormatEntry) 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 PrivateEndpoint ¶

type PrivateEndpoint struct {

	// The OCID of the Data Safe private endpoint.
	DatasafePrivateEndpointId *string `mandatory:"true" json:"datasafePrivateEndpointId"`
}

PrivateEndpoint The details required to establish a connection to the database using a private endpoint.

func (PrivateEndpoint) MarshalJSON ¶

func (m PrivateEndpoint) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PrivateEndpoint) String ¶

func (m PrivateEndpoint) String() string

func (PrivateEndpoint) ValidateEnumValue ¶

func (m PrivateEndpoint) 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 Profile ¶ added in v65.35.0

type Profile struct {

	// The OCID of the user assessment corresponding to the target under consideration.
	UserAssessmentId *string `mandatory:"true" json:"userAssessmentId"`

	// The name of the profile.
	ProfileName *string `mandatory:"true" json:"profileName"`

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID of the target database.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The number of users having a given profile.
	UserCount *int `mandatory:"false" json:"userCount"`

	// Maximum times the user is allowed in fail login before the user account is locked.
	FailedLoginAttempts *string `mandatory:"false" json:"failedLoginAttempts"`

	// Name of the PL/SQL that can be used for password verification.
	PasswordVerificationFunction *string `mandatory:"false" json:"passwordVerificationFunction"`

	// Details about the PL/SQL that can be used for password verification.
	PasswordVerificationFunctionDetails *string `mandatory:"false" json:"passwordVerificationFunctionDetails"`

	// Number of days the user account remains locked after failed login.
	PasswordLockTime *string `mandatory:"false" json:"passwordLockTime"`

	// Number of days the password is valid before expiry.
	PasswordLifeTime *string `mandatory:"false" json:"passwordLifeTime"`

	// Number of day after the user can use the already used password.
	PasswordReuseMax *string `mandatory:"false" json:"passwordReuseMax"`

	// Number of days before which a password cannot be reused.
	PasswordReuseTime *string `mandatory:"false" json:"passwordReuseTime"`

	// Number of days the password rollover is allowed. Minimum value can be 1/24 day (1 hour) to 60 days.
	PasswordRolloverTime *string `mandatory:"false" json:"passwordRolloverTime"`

	// Number of grace days for user to change password.
	PasswordGraceTime *string `mandatory:"false" json:"passwordGraceTime"`

	// Represents if the profile is created by user.
	IsUserCreated *bool `mandatory:"false" json:"isUserCreated"`

	// Specify the number of concurrent sessions to which you want to limit the user.
	SessionsPerUser *string `mandatory:"false" json:"sessionsPerUser"`

	// The permitted periods of continuous inactive time during a session, expressed in minutes.
	// Long-running queries and other operations are not subject to this limit.
	InactiveAccountTime *string `mandatory:"false" json:"inactiveAccountTime"`

	// Specify the total elapsed time limit for a session, expressed in minutes.
	ConnectTime *string `mandatory:"false" json:"connectTime"`

	// Specify the permitted periods of continuous inactive time during a  session, expressed in minutes.
	IdleTime *string `mandatory:"false" json:"idleTime"`

	// Specify the total resource cost for a session, expressed in service units. Oracle Database calculates the total
	// service units as a weighted sum of CPU_PER_SESSION, CONNECT_TIME, LOGICAL_READS_PER_SESSION, and PRIVATE_SGA.
	CompositeLimit *string `mandatory:"false" json:"compositeLimit"`

	// Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.
	CpuPerCall *string `mandatory:"false" json:"cpuPerCall"`

	// Specify the CPU time limit for a session, expressed in hundredth of seconds.
	CpuPerSession *string `mandatory:"false" json:"cpuPerSession"`

	// Specify the permitted the number of data blocks read for a call to process a SQL statement (a parse, execute, or fetch).
	LogicalReadsPerCall *string `mandatory:"false" json:"logicalReadsPerCall"`

	// Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.
	LogicalReadsPerSession *string `mandatory:"false" json:"logicalReadsPerSession"`

	// Specify the amount of private space a session can allocate in the shared pool of the system global area (SGA),
	// expressed in bytes.
	PrivateSga *string `mandatory:"false" json:"privateSga"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Profile The comprehensive information about the user profiles available on a given target. It includes details such as profile name, failed login attempts, password reuse time, password verification function, password verification function implementation code snippet, sessions per user, connect time inactive account time, password lock time, cpu usage per session, target id, and compartment id.

func (Profile) String ¶ added in v65.35.0

func (m Profile) String() string

func (Profile) ValidateEnumValue ¶ added in v65.35.0

func (m Profile) 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 ProfileAggregation ¶ added in v65.35.0

type ProfileAggregation struct {

	// The OCID of the latest user assessment corresponding to the target under consideration. A compartment
	// type assessment can also be passed to profiles from all the targets from the corresponding compartment.
	UserAssessmentId *string `mandatory:"true" json:"userAssessmentId"`

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The array of profile aggregation data.
	Items []map[string]interface{} `mandatory:"false" json:"items"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ProfileAggregation The profile aggregation provides information about the user profiles available on the database. For example, the user profile details include how many users have a given profile assigned and how many profiles have password verification function.

func (ProfileAggregation) String ¶ added in v65.35.0

func (m ProfileAggregation) String() string

func (ProfileAggregation) ValidateEnumValue ¶ added in v65.35.0

func (m ProfileAggregation) 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 ProfileDetails ¶

type ProfileDetails struct {

	// The number of users using this profile.
	NumUsers *int `mandatory:"false" json:"numUsers"`

	// The value of the CONNECT_TIME resource parameter.
	ConnectTime *string `mandatory:"false" json:"connectTime"`

	// The value of the FAILED_LOGIN_ATTEMPTS password parameter.
	FailedLoginAttempts *string `mandatory:"false" json:"failedLoginAttempts"`

	// The value of the IDLE_TIME resource parameter.
	IdleTime *string `mandatory:"false" json:"idleTime"`

	// The value of the INACTIVE_ACCOUNT_TIME password parameter.
	InactiveAccountTime *string `mandatory:"false" json:"inactiveAccountTime"`

	// The value of the PASSWORD_GRACE_TIME password parameter.
	PasswordGraceTime *string `mandatory:"false" json:"passwordGraceTime"`

	// The value of the PASSWORD_LIFE_TIME password parameter.
	PasswordLifeTime *string `mandatory:"false" json:"passwordLifeTime"`

	// The value of the PASSWORD_LOCK_TIME password parameter.
	PasswordLockTime *string `mandatory:"false" json:"passwordLockTime"`

	// The value of the PASSWORD_REUSE_TIME password parameter.
	PasswordReuseTime *string `mandatory:"false" json:"passwordReuseTime"`

	// The value of the PASSWORD_REUSE_MAX resource parameter.
	PasswordReuseMax *string `mandatory:"false" json:"passwordReuseMax"`

	// The value of the PASSWORD_VERIFY_FUNCTION resource.
	PasswordVerifyFunction *string `mandatory:"false" json:"passwordVerifyFunction"`
}

ProfileDetails The details of a particular profile

func (ProfileDetails) String ¶

func (m ProfileDetails) String() string

func (ProfileDetails) ValidateEnumValue ¶

func (m ProfileDetails) 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 ProfileSummary ¶ added in v65.35.0

type ProfileSummary struct {

	// The OCID of the latest user assessment corresponding to the target under consideration. A compartment
	// type assessment can also be passed to profiles from all the targets from the corresponding compartment.
	UserAssessmentId *string `mandatory:"true" json:"userAssessmentId"`

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the target database.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The name of the profile.
	ProfileName *string `mandatory:"false" json:"profileName"`

	// The number of users having a given profile.
	UserCount *int `mandatory:"false" json:"userCount"`

	// Maximum times the user is allowed in fail login before the user account is locked.
	FailedLoginAttempts *string `mandatory:"false" json:"failedLoginAttempts"`

	// PL/SQL that can be used for password verification.
	PasswordVerificationFunction *string `mandatory:"false" json:"passwordVerificationFunction"`

	// The maximum number of sessions a user is allowed to create.
	SessionsPerUser *string `mandatory:"false" json:"sessionsPerUser"`

	// The permitted periods of continuous inactive time during a session, expressed in minutes.
	// Long-running queries and other operations are not subjected to this limit.
	InactiveAccountTime *string `mandatory:"false" json:"inactiveAccountTime"`

	// Number of days the user account remains locked after failed login
	PasswordLockTime *string `mandatory:"false" json:"passwordLockTime"`

	// Represents if the profile is created by user.
	IsUserCreated *bool `mandatory:"false" json:"isUserCreated"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ProfileSummary The summary of information about the user profiles. It includes details such as profile name, failed login attempts, sessions per user, inactive account time, password lock time, user created, target id, and the compartment id.

func (ProfileSummary) String ¶ added in v65.35.0

func (m ProfileSummary) String() string

func (ProfileSummary) ValidateEnumValue ¶ added in v65.35.0

func (m ProfileSummary) 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 ProvisionAuditConditions ¶

type ProvisionAuditConditions struct {

	// Indicates the audit policy name available for provisioning from Data Safe. Refer to the documentation (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827) for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.
	AuditPolicyName *string `mandatory:"true" json:"auditPolicyName"`

	// Indicates whether the privileged user list is managed by Data Safe.
	IsPrivUsersManagedByDataSafe *bool `mandatory:"true" json:"isPrivUsersManagedByDataSafe"`

	// Indicates whether the policy has to be enabled or disabled in the target database. Set this to true if you want the audit policy to be enabled in the target database. If the seeded audit policy is not already created in the database, the provisioning creates and enables them. If this is set to false, the policy will be disabled in the target database.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// Indicates the users/roles in the target database for which the audit policy will be enforced, and the success/failure event condition to generate the audit event.
	EnableConditions []EnableConditions `mandatory:"false" json:"enableConditions"`
}

ProvisionAuditConditions Represents audit policies with corresponding audit provisioning conditions.

func (ProvisionAuditConditions) String ¶

func (m ProvisionAuditConditions) String() string

func (ProvisionAuditConditions) ValidateEnumValue ¶

func (m ProvisionAuditConditions) 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 ProvisionAuditPolicyDetails ¶

type ProvisionAuditPolicyDetails struct {

	// The audit policy details for provisioning.
	ProvisionAuditConditions []ProvisionAuditConditions `mandatory:"true" json:"provisionAuditConditions"`

	// Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.
	IsDataSafeServiceAccountExcluded *bool `mandatory:"false" json:"isDataSafeServiceAccountExcluded"`
}

ProvisionAuditPolicyDetails Details for audit policy provisioning.

func (ProvisionAuditPolicyDetails) String ¶

func (ProvisionAuditPolicyDetails) ValidateEnumValue ¶

func (m ProvisionAuditPolicyDetails) 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 ProvisionAuditPolicyRequest ¶

type ProvisionAuditPolicyRequest struct {

	// Details for provisioning the given policies on the source target database.
	ProvisionAuditPolicyDetails `contributesTo:"body"`

	// Unique audit policy identifier.
	AuditPolicyId *string `mandatory:"true" contributesTo:"path" name:"auditPolicyId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

ProvisionAuditPolicyRequest wrapper for the ProvisionAuditPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ProvisionAuditPolicy.go.html to see an example of how to use ProvisionAuditPolicyRequest.

func (ProvisionAuditPolicyRequest) BinaryRequestBody ¶

func (request ProvisionAuditPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ProvisionAuditPolicyRequest) HTTPRequest ¶

func (request ProvisionAuditPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ProvisionAuditPolicyRequest) RetryPolicy ¶

func (request ProvisionAuditPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ProvisionAuditPolicyRequest) String ¶

func (request ProvisionAuditPolicyRequest) String() string

func (ProvisionAuditPolicyRequest) ValidateEnumValue ¶

func (request ProvisionAuditPolicyRequest) 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 ProvisionAuditPolicyResponse ¶

type ProvisionAuditPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ProvisionAuditPolicyResponse wrapper for the ProvisionAuditPolicy operation

func (ProvisionAuditPolicyResponse) HTTPResponse ¶

func (response ProvisionAuditPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ProvisionAuditPolicyResponse) String ¶

func (response ProvisionAuditPolicyResponse) String() string

type RandomDateFormatEntry ¶

type RandomDateFormatEntry struct {

	// The lower bound of the range within which random dates should be generated.
	// The start date must be less than or equal to the end date.
	StartDate *common.SDKTime `mandatory:"true" json:"startDate"`

	// The upper bound of the range within which random dates should be generated.
	// The end date must be greater than or equal to the start date.
	EndDate *common.SDKTime `mandatory:"true" json:"endDate"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomDateFormatEntry The Random Date masking format generates random and unique dates within a range. The date range is defined by the startDate and endDate attributes. The start date must be less than or equal to the end date. When masking columns with uniqueness constraint, ensure that the date range is sufficient enough to generate unique values. To learn more, check Random Date in the Data Safe documentation.

func (RandomDateFormatEntry) GetDescription ¶

func (m RandomDateFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomDateFormatEntry) MarshalJSON ¶

func (m RandomDateFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomDateFormatEntry) String ¶

func (m RandomDateFormatEntry) String() string

func (RandomDateFormatEntry) ValidateEnumValue ¶

func (m RandomDateFormatEntry) 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 RandomDecimalNumberFormatEntry ¶

type RandomDecimalNumberFormatEntry struct {

	// The lower bound of the range within which random decimal numbers should
	// be generated. It must be less than or equal to the end value. It supports
	// input of double type.
	StartValue *float64 `mandatory:"true" json:"startValue"`

	// The upper bound of the range within which random decimal numbers should be
	// generated. It must be greater than or equal to the start value. It supports
	// input of double type.
	EndValue *float64 `mandatory:"true" json:"endValue"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomDecimalNumberFormatEntry The Random Decimal Number masking format generates random and unique decimal numbers within a range. The range is defined by the startValue and endValue attributes. The start value must be less than or equal to the end value. To learn more, check Random Decimal Number in the Data Safe documentation.

func (RandomDecimalNumberFormatEntry) GetDescription ¶

func (m RandomDecimalNumberFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomDecimalNumberFormatEntry) MarshalJSON ¶

func (m RandomDecimalNumberFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomDecimalNumberFormatEntry) String ¶

func (RandomDecimalNumberFormatEntry) ValidateEnumValue ¶

func (m RandomDecimalNumberFormatEntry) 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 RandomDigitsFormatEntry ¶

type RandomDigitsFormatEntry struct {

	// The minimum number of digits the generated values should have. It can be
	// any integer greater than zero, but it must be less than or equal to the
	// end length.
	StartLength *int `mandatory:"true" json:"startLength"`

	// The maximum number of digits the generated values should have. It can
	// be any integer greater than zero, but it must be greater than or equal
	// to the start length.
	EndLength *int `mandatory:"true" json:"endLength"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomDigitsFormatEntry The Random Digits masking format generates random digits of length within a range. The length range is defined by the startLength and endLength attributes. The start length must be less than or equal to the end length. When masking columns with uniqueness constraint, ensure that the length range is sufficient enough to generate unique values. This masking format pads to the appropriate length in a string, but does not pad when used for a number column. It's a complementary type of Random Number, which is not padded.

func (RandomDigitsFormatEntry) GetDescription ¶

func (m RandomDigitsFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomDigitsFormatEntry) MarshalJSON ¶

func (m RandomDigitsFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomDigitsFormatEntry) String ¶

func (m RandomDigitsFormatEntry) String() string

func (RandomDigitsFormatEntry) ValidateEnumValue ¶

func (m RandomDigitsFormatEntry) 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 RandomListFormatEntry ¶

type RandomListFormatEntry struct {

	// A comma-separated list of values to be used to replace column values.
	// The list can be of strings, numbers, or dates. The data type of each
	// value in the list must be compatible with the data type of the column.
	// The number of entries in the list cannot be more than 999.
	RandomList []string `mandatory:"true" json:"randomList"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomListFormatEntry The Random List masking format randomly selects values from a list of values to replace the original values. To learn more, check Random List in the Data Safe documentation.

func (RandomListFormatEntry) GetDescription ¶

func (m RandomListFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomListFormatEntry) MarshalJSON ¶

func (m RandomListFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomListFormatEntry) String ¶

func (m RandomListFormatEntry) String() string

func (RandomListFormatEntry) ValidateEnumValue ¶

func (m RandomListFormatEntry) 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 RandomNumberFormatEntry ¶

type RandomNumberFormatEntry struct {

	// The lower bound of the range within which random numbers should be
	// generated. It must be less than or equal to the end value. It
	// supports input of long type.
	StartValue *int64 `mandatory:"true" json:"startValue"`

	// The upper bound of the range within which random numbers should be
	// generated. It must be greater than or equal to the start value.
	// It supports input of long type.
	EndValue *int64 `mandatory:"true" json:"endValue"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomNumberFormatEntry The Random Number masking format generates random and unique integers within a range. The range is defined by the startValue and endValue attributes. The start value must be less than or equal to the end value. When masking columns with uniqueness constraint, ensure that the range is sufficient enough to generate unique values. To learn more, check Random Number in the Data Safe documentation.

func (RandomNumberFormatEntry) GetDescription ¶

func (m RandomNumberFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomNumberFormatEntry) MarshalJSON ¶

func (m RandomNumberFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomNumberFormatEntry) String ¶

func (m RandomNumberFormatEntry) String() string

func (RandomNumberFormatEntry) ValidateEnumValue ¶

func (m RandomNumberFormatEntry) 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 RandomStringFormatEntry ¶

type RandomStringFormatEntry struct {

	// The minimum number of characters the generated strings should have. It can
	// be any integer greater than zero, but it must be less than or equal to the
	// end length.
	StartLength *int `mandatory:"true" json:"startLength"`

	// The maximum number of characters the generated strings should have. It can
	// be any integer greater than zero, but it must be greater than or equal to
	// the start length.
	EndLength *int `mandatory:"true" json:"endLength"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomStringFormatEntry The Random String masking format generates random and unique strings of length within a range. The length range is defined by the startLength and endLength attributes. The start length must be less than or equal to the end length. When masking columns with uniqueness constraint, ensure that the length range is sufficient enough to generate unique values. To learn more, check Random String in the Data Safe documentation.

func (RandomStringFormatEntry) GetDescription ¶

func (m RandomStringFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomStringFormatEntry) MarshalJSON ¶

func (m RandomStringFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomStringFormatEntry) String ¶

func (m RandomStringFormatEntry) String() string

func (RandomStringFormatEntry) ValidateEnumValue ¶

func (m RandomStringFormatEntry) 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 RandomSubstitutionFormatEntry ¶

type RandomSubstitutionFormatEntry struct {

	// The name of the schema that contains the substitution column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The name of the table that contains the substitution column.
	TableName *string `mandatory:"true" json:"tableName"`

	// The name of the substitution column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RandomSubstitutionFormatEntry The Random Substitution masking format uses the specified substitution column as the source of masked values. The values in the substitution column are randomly ordered before mapping them to the original column values. As a masking operation renames tables temporarily, the substitution column must be in a table that has no masking column. Also, you may want to ensure that the substitution column has sufficient values to uniquely mask the target column. Unlike Deterministic Substitution, Random Substitution doesn't do deterministic masking, and thus, doesn't require a seed value. To learn more, check Random Substitution in the Data Safe documentation.

func (RandomSubstitutionFormatEntry) GetDescription ¶

func (m RandomSubstitutionFormatEntry) GetDescription() *string

GetDescription returns Description

func (RandomSubstitutionFormatEntry) MarshalJSON ¶

func (m RandomSubstitutionFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RandomSubstitutionFormatEntry) String ¶

func (RandomSubstitutionFormatEntry) ValidateEnumValue ¶

func (m RandomSubstitutionFormatEntry) 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 References ¶

type References struct {

	// Relevant section from STIG.
	Stig *string `mandatory:"false" json:"stig"`

	// Relevant section from CIS.
	Cis *string `mandatory:"false" json:"cis"`

	// Relevant section from GDPR.
	Gdpr *string `mandatory:"false" json:"gdpr"`
}

References References to the sections of STIG, CIS, and/or GDPR relevant to the current finding.

func (References) String ¶

func (m References) String() string

func (References) ValidateEnumValue ¶

func (m References) 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 RefreshSecurityAssessmentRequest ¶

type RefreshSecurityAssessmentRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// Details to create an on-demand saved security assessment.
	RunSecurityAssessmentDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

RefreshSecurityAssessmentRequest wrapper for the RefreshSecurityAssessment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/RefreshSecurityAssessment.go.html to see an example of how to use RefreshSecurityAssessmentRequest.

func (RefreshSecurityAssessmentRequest) BinaryRequestBody ¶

func (request RefreshSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RefreshSecurityAssessmentRequest) HTTPRequest ¶

func (request RefreshSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RefreshSecurityAssessmentRequest) RetryPolicy ¶

func (request RefreshSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RefreshSecurityAssessmentRequest) String ¶

func (request RefreshSecurityAssessmentRequest) String() string

func (RefreshSecurityAssessmentRequest) ValidateEnumValue ¶

func (request RefreshSecurityAssessmentRequest) 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 RefreshSecurityAssessmentResponse ¶

type RefreshSecurityAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

RefreshSecurityAssessmentResponse wrapper for the RefreshSecurityAssessment operation

func (RefreshSecurityAssessmentResponse) HTTPResponse ¶

func (response RefreshSecurityAssessmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RefreshSecurityAssessmentResponse) String ¶

func (response RefreshSecurityAssessmentResponse) String() string

type RefreshUserAssessmentRequest ¶

type RefreshUserAssessmentRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// The details required to create an on-demand saved user assessment.
	RunUserAssessmentDetails `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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

RefreshUserAssessmentRequest wrapper for the RefreshUserAssessment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/RefreshUserAssessment.go.html to see an example of how to use RefreshUserAssessmentRequest.

func (RefreshUserAssessmentRequest) BinaryRequestBody ¶

func (request RefreshUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RefreshUserAssessmentRequest) HTTPRequest ¶

func (request RefreshUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RefreshUserAssessmentRequest) RetryPolicy ¶

func (request RefreshUserAssessmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RefreshUserAssessmentRequest) String ¶

func (request RefreshUserAssessmentRequest) String() string

func (RefreshUserAssessmentRequest) ValidateEnumValue ¶

func (request RefreshUserAssessmentRequest) 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 RefreshUserAssessmentResponse ¶

type RefreshUserAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

RefreshUserAssessmentResponse wrapper for the RefreshUserAssessment operation

func (RefreshUserAssessmentResponse) HTTPResponse ¶

func (response RefreshUserAssessmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RefreshUserAssessmentResponse) String ¶

func (response RefreshUserAssessmentResponse) String() string

type RegularExpressionFormatEntry ¶

type RegularExpressionFormatEntry struct {

	// The pattern that should be used to search for data.
	RegularExpression *string `mandatory:"true" json:"regularExpression"`

	// The value that should be used to replace the data matching the regular
	// expression. It can be a fixed string, fixed number, null value, or
	// SQL expression.
	ReplaceWith *string `mandatory:"true" json:"replaceWith"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

RegularExpressionFormatEntry The Regular Expression masking format gives the flexibility to use regular expressions to search for sensitive data in a column of Large Object data type (LOB), and replace the data with a fixed string, fixed number, null value, or SQL expression. It can also be used for columns of VARCHAR2 type to mask parts of strings. To learn more, check Regular Expressions in the Data Safe documentation.

func (RegularExpressionFormatEntry) GetDescription ¶

func (m RegularExpressionFormatEntry) GetDescription() *string

GetDescription returns Description

func (RegularExpressionFormatEntry) MarshalJSON ¶

func (m RegularExpressionFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RegularExpressionFormatEntry) String ¶

func (RegularExpressionFormatEntry) ValidateEnumValue ¶

func (m RegularExpressionFormatEntry) 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 RemoveScheduleReportRequest ¶ added in v65.27.0

type RemoveScheduleReportRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

RemoveScheduleReportRequest wrapper for the RemoveScheduleReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/RemoveScheduleReport.go.html to see an example of how to use RemoveScheduleReportRequest.

func (RemoveScheduleReportRequest) BinaryRequestBody ¶ added in v65.27.0

func (request RemoveScheduleReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveScheduleReportRequest) HTTPRequest ¶ added in v65.27.0

func (request RemoveScheduleReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveScheduleReportRequest) RetryPolicy ¶ added in v65.27.0

func (request RemoveScheduleReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveScheduleReportRequest) String ¶ added in v65.27.0

func (request RemoveScheduleReportRequest) String() string

func (RemoveScheduleReportRequest) ValidateEnumValue ¶ added in v65.27.0

func (request RemoveScheduleReportRequest) 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 RemoveScheduleReportResponse ¶ added in v65.27.0

type RemoveScheduleReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

RemoveScheduleReportResponse wrapper for the RemoveScheduleReport operation

func (RemoveScheduleReportResponse) HTTPResponse ¶ added in v65.27.0

func (response RemoveScheduleReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveScheduleReportResponse) String ¶ added in v65.27.0

func (response RemoveScheduleReportResponse) String() string

type Report ¶

type Report struct {

	// The OCID of the report.
	Id *string `mandatory:"true" json:"id"`

	// Name of the report.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment containing the report.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Specifies the date and time the report was generated.
	TimeGenerated *common.SDKTime `mandatory:"true" json:"timeGenerated"`

	// The current state of the audit report.
	LifecycleState ReportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the report definition.
	ReportDefinitionId *string `mandatory:"false" json:"reportDefinitionId"`

	// Specifies a description of the report.
	Description *string `mandatory:"false" json:"description"`

	// Specifies the format of report to be excel or pdf
	MimeType ReportMimeTypeEnum `mandatory:"false" json:"mimeType,omitempty"`

	// The type of the audit report.
	Type ReportTypeEnum `mandatory:"false" json:"type,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Report The description of the report.

func (Report) String ¶

func (m Report) String() string

func (Report) ValidateEnumValue ¶

func (m Report) 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 ReportCollection ¶

type ReportCollection struct {

	// Array of report summary.
	Items []ReportSummary `mandatory:"true" json:"items"`
}

ReportCollection Collection of report summary.

func (ReportCollection) String ¶

func (m ReportCollection) String() string

func (ReportCollection) ValidateEnumValue ¶

func (m ReportCollection) 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 ReportDefinition ¶

type ReportDefinition struct {

	// Name of the report definition.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the report definition.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment containing the report definition.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The current state of the report.
	LifecycleState ReportDefinitionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the parent report definition. In the case of seeded report definition, this is same as definition OCID.
	ParentId *string `mandatory:"false" json:"parentId"`

	// Specifies the name of the category that this report belongs to.
	Category ReportDefinitionCategoryEnum `mandatory:"false" json:"category,omitempty"`

	// A description of the report definition.
	Description *string `mandatory:"false" json:"description"`

	// Specifies the name of a resource that provides data for the report. For example alerts, events.
	DataSource ReportDefinitionDataSourceEnum `mandatory:"false" json:"dataSource,omitempty"`

	// Signifies whether the definition is seeded or user defined. Values can either be 'true' or 'false'.
	IsSeeded *bool `mandatory:"false" json:"isSeeded"`

	// Specifies how the report definitions are ordered in the display.
	DisplayOrder *int `mandatory:"false" json:"displayOrder"`

	// Specifies the data and time the report definition was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the report definition was update.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Additional SCIM filters used to define the report.
	ScimFilter *string `mandatory:"false" json:"scimFilter"`

	// An array of column objects in the order (left to right) displayed in the report. A column object stores all information about a column, including the name displayed on the UI, corresponding field name in the data source, data type of the column, and column visibility (if the column is visible to the user).
	ColumnInfo []Column `mandatory:"false" json:"columnInfo"`

	// An array of columnFilter objects. A columnFilter object stores all information about a column filter including field name, an operator, one or more expressions, if the filter is enabled, or if the filter is hidden.
	ColumnFilters []ColumnFilter `mandatory:"false" json:"columnFilters"`

	// An array of column sorting objects. Each column sorting object stores the column name to be sorted and if the sorting is in ascending order; sorting is done by the first column in the array, then by the second column in the array, etc.
	ColumnSortings []ColumnSorting `mandatory:"false" json:"columnSortings"`

	// An array of report summary objects in the order (left to right)  displayed in the report.  A  report summary object stores all information about summary of report to be displayed, including the name displayed on UI, the display order, corresponding group by and count of values, summary visibility (if the summary is visible to user).
	Summary []Summary `mandatory:"false" json:"summary"`

	// The schedule to generate the report periodically in the specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// 4. <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// No constraint introduced when it is '*'. When not, day of week must equal the given value
	// 5. <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// Specifies the format of the report ( either XLS or PDF )
	ScheduledReportMimeType ReportDefinitionScheduledReportMimeTypeEnum `mandatory:"false" json:"scheduledReportMimeType,omitempty"`

	// Specifies the limit on the number of rows in the report.
	ScheduledReportRowLimit *int `mandatory:"false" json:"scheduledReportRowLimit"`

	// The name of the report to be scheduled.
	ScheduledReportName *string `mandatory:"false" json:"scheduledReportName"`

	// The OCID of the compartment in which the scheduled resource should be created.
	ScheduledReportCompartmentId *string `mandatory:"false" json:"scheduledReportCompartmentId"`

	// The time span for the records in the report to be scheduled.
	// <period-value><period>
	// Allowed period strings - "H","D","M","Y"
	// Each of the above fields potentially introduce constraints. A workRequest is created only
	// when period-value satisfies all the constraints. Constraints introduced:
	// 1. period = H (The allowed range for period-value is [1, 23])
	// 2. period = D (The allowed range for period-value is [1, 30])
	// 3. period = M (The allowed range for period-value is [1, 11])
	// 4. period = Y (The minimum period-value is 1)
	RecordTimeSpan *string `mandatory:"false" json:"recordTimeSpan"`

	// The list of the data protection regulations/standards used in the report that will help demonstrate compliance.
	ComplianceStandards []string `mandatory:"false" json:"complianceStandards"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ReportDefinition Description of report definition.

func (ReportDefinition) String ¶

func (m ReportDefinition) String() string

func (ReportDefinition) ValidateEnumValue ¶

func (m ReportDefinition) 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 ReportDefinitionCategoryEnum ¶

type ReportDefinitionCategoryEnum string

ReportDefinitionCategoryEnum Enum with underlying type: string

const (
	ReportDefinitionCategoryCustomReports    ReportDefinitionCategoryEnum = "CUSTOM_REPORTS"
	ReportDefinitionCategorySummary          ReportDefinitionCategoryEnum = "SUMMARY"
	ReportDefinitionCategoryActivityAuditing ReportDefinitionCategoryEnum = "ACTIVITY_AUDITING"
)

Set of constants representing the allowable values for ReportDefinitionCategoryEnum

func GetMappingReportDefinitionCategoryEnum ¶

func GetMappingReportDefinitionCategoryEnum(val string) (ReportDefinitionCategoryEnum, bool)

GetMappingReportDefinitionCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportDefinitionCategoryEnumValues ¶

func GetReportDefinitionCategoryEnumValues() []ReportDefinitionCategoryEnum

GetReportDefinitionCategoryEnumValues Enumerates the set of values for ReportDefinitionCategoryEnum

type ReportDefinitionCollection ¶

type ReportDefinitionCollection struct {

	// Array of report definition summary.
	Items []ReportDefinitionSummary `mandatory:"true" json:"items"`
}

ReportDefinitionCollection Collection of report definition objects.

func (ReportDefinitionCollection) String ¶

func (ReportDefinitionCollection) ValidateEnumValue ¶

func (m ReportDefinitionCollection) 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 ReportDefinitionDataSourceEnum ¶

type ReportDefinitionDataSourceEnum string

ReportDefinitionDataSourceEnum Enum with underlying type: string

const (
	ReportDefinitionDataSourceEvents ReportDefinitionDataSourceEnum = "EVENTS"
	ReportDefinitionDataSourceAlerts ReportDefinitionDataSourceEnum = "ALERTS"
)

Set of constants representing the allowable values for ReportDefinitionDataSourceEnum

func GetMappingReportDefinitionDataSourceEnum ¶

func GetMappingReportDefinitionDataSourceEnum(val string) (ReportDefinitionDataSourceEnum, bool)

GetMappingReportDefinitionDataSourceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportDefinitionDataSourceEnumValues ¶

func GetReportDefinitionDataSourceEnumValues() []ReportDefinitionDataSourceEnum

GetReportDefinitionDataSourceEnumValues Enumerates the set of values for ReportDefinitionDataSourceEnum

type ReportDefinitionLifecycleStateEnum ¶

type ReportDefinitionLifecycleStateEnum string

ReportDefinitionLifecycleStateEnum Enum with underlying type: string

const (
	ReportDefinitionLifecycleStateCreating ReportDefinitionLifecycleStateEnum = "CREATING"
	ReportDefinitionLifecycleStateUpdating ReportDefinitionLifecycleStateEnum = "UPDATING"
	ReportDefinitionLifecycleStateActive   ReportDefinitionLifecycleStateEnum = "ACTIVE"
	ReportDefinitionLifecycleStateDeleting ReportDefinitionLifecycleStateEnum = "DELETING"
	ReportDefinitionLifecycleStateDeleted  ReportDefinitionLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ReportDefinitionLifecycleStateEnum

func GetMappingReportDefinitionLifecycleStateEnum ¶

func GetMappingReportDefinitionLifecycleStateEnum(val string) (ReportDefinitionLifecycleStateEnum, bool)

GetMappingReportDefinitionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportDefinitionLifecycleStateEnumValues ¶

func GetReportDefinitionLifecycleStateEnumValues() []ReportDefinitionLifecycleStateEnum

GetReportDefinitionLifecycleStateEnumValues Enumerates the set of values for ReportDefinitionLifecycleStateEnum

type ReportDefinitionScheduledReportMimeTypeEnum ¶ added in v65.27.0

type ReportDefinitionScheduledReportMimeTypeEnum string

ReportDefinitionScheduledReportMimeTypeEnum Enum with underlying type: string

const (
	ReportDefinitionScheduledReportMimeTypePdf ReportDefinitionScheduledReportMimeTypeEnum = "PDF"
	ReportDefinitionScheduledReportMimeTypeXls ReportDefinitionScheduledReportMimeTypeEnum = "XLS"
)

Set of constants representing the allowable values for ReportDefinitionScheduledReportMimeTypeEnum

func GetMappingReportDefinitionScheduledReportMimeTypeEnum ¶ added in v65.27.0

func GetMappingReportDefinitionScheduledReportMimeTypeEnum(val string) (ReportDefinitionScheduledReportMimeTypeEnum, bool)

GetMappingReportDefinitionScheduledReportMimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportDefinitionScheduledReportMimeTypeEnumValues ¶ added in v65.27.0

func GetReportDefinitionScheduledReportMimeTypeEnumValues() []ReportDefinitionScheduledReportMimeTypeEnum

GetReportDefinitionScheduledReportMimeTypeEnumValues Enumerates the set of values for ReportDefinitionScheduledReportMimeTypeEnum

type ReportDefinitionSummary ¶

type ReportDefinitionSummary struct {

	// Name of the report definition.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the report definition.
	Id *string `mandatory:"true" json:"id"`

	// Specifies the time at which the report definition was created.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compartment containing the report definition.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The current state of the audit report.
	LifecycleState ReportDefinitionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Specifies the name of the category that this report belongs to.
	Category ReportDefinitionSummaryCategoryEnum `mandatory:"false" json:"category,omitempty"`

	// A description of the report definition.
	Description *string `mandatory:"false" json:"description"`

	// Signifies whether the definition is seeded or user defined. Values can either be 'true' or 'false'.
	IsSeeded *bool `mandatory:"false" json:"isSeeded"`

	// Specifies how the report definitions are ordered in the display.
	DisplayOrder *int `mandatory:"false" json:"displayOrder"`

	// The date and time of the report definition update in Data Safe.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Specifies the name of a resource that provides data for the report. For example alerts, events.
	DataSource ReportDefinitionDataSourceEnum `mandatory:"false" json:"dataSource,omitempty"`

	// The schedule to generate the report periodically in the specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A work request is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// 4. <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// No constraint introduced when it is '*'. When not, day of week must equal the given value.
	// 5. <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// The list of data protection regulations/standards used in the report that will help demonstrate compliance.
	ComplianceStandards []string `mandatory:"false" json:"complianceStandards"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ReportDefinitionSummary Summary of report definition.

func (ReportDefinitionSummary) String ¶

func (m ReportDefinitionSummary) String() string

func (ReportDefinitionSummary) ValidateEnumValue ¶

func (m ReportDefinitionSummary) 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 ReportDefinitionSummaryCategoryEnum ¶

type ReportDefinitionSummaryCategoryEnum string

ReportDefinitionSummaryCategoryEnum Enum with underlying type: string

const (
	ReportDefinitionSummaryCategoryCustomReports    ReportDefinitionSummaryCategoryEnum = "CUSTOM_REPORTS"
	ReportDefinitionSummaryCategorySummary          ReportDefinitionSummaryCategoryEnum = "SUMMARY"
	ReportDefinitionSummaryCategoryActivityAuditing ReportDefinitionSummaryCategoryEnum = "ACTIVITY_AUDITING"
)

Set of constants representing the allowable values for ReportDefinitionSummaryCategoryEnum

func GetMappingReportDefinitionSummaryCategoryEnum ¶

func GetMappingReportDefinitionSummaryCategoryEnum(val string) (ReportDefinitionSummaryCategoryEnum, bool)

GetMappingReportDefinitionSummaryCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportDefinitionSummaryCategoryEnumValues ¶

func GetReportDefinitionSummaryCategoryEnumValues() []ReportDefinitionSummaryCategoryEnum

GetReportDefinitionSummaryCategoryEnumValues Enumerates the set of values for ReportDefinitionSummaryCategoryEnum

type ReportDetails ¶ added in v65.27.0

type ReportDetails interface {
}

ReportDetails The details of the report schedule.

type ReportDetailsReportTypeEnum ¶ added in v65.27.0

type ReportDetailsReportTypeEnum string

ReportDetailsReportTypeEnum Enum with underlying type: string

const (
	ReportDetailsReportTypeAudit ReportDetailsReportTypeEnum = "AUDIT"
)

Set of constants representing the allowable values for ReportDetailsReportTypeEnum

func GetMappingReportDetailsReportTypeEnum ¶ added in v65.27.0

func GetMappingReportDetailsReportTypeEnum(val string) (ReportDetailsReportTypeEnum, bool)

GetMappingReportDetailsReportTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportDetailsReportTypeEnumValues ¶ added in v65.27.0

func GetReportDetailsReportTypeEnumValues() []ReportDetailsReportTypeEnum

GetReportDetailsReportTypeEnumValues Enumerates the set of values for ReportDetailsReportTypeEnum

type ReportLifecycleStateEnum ¶

type ReportLifecycleStateEnum string

ReportLifecycleStateEnum Enum with underlying type: string

const (
	ReportLifecycleStateUpdating ReportLifecycleStateEnum = "UPDATING"
	ReportLifecycleStateActive   ReportLifecycleStateEnum = "ACTIVE"
)

Set of constants representing the allowable values for ReportLifecycleStateEnum

func GetMappingReportLifecycleStateEnum ¶

func GetMappingReportLifecycleStateEnum(val string) (ReportLifecycleStateEnum, bool)

GetMappingReportLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportLifecycleStateEnumValues ¶

func GetReportLifecycleStateEnumValues() []ReportLifecycleStateEnum

GetReportLifecycleStateEnumValues Enumerates the set of values for ReportLifecycleStateEnum

type ReportMimeTypeEnum ¶

type ReportMimeTypeEnum string

ReportMimeTypeEnum Enum with underlying type: string

const (
	ReportMimeTypePdf ReportMimeTypeEnum = "PDF"
	ReportMimeTypeXls ReportMimeTypeEnum = "XLS"
)

Set of constants representing the allowable values for ReportMimeTypeEnum

func GetMappingReportMimeTypeEnum ¶

func GetMappingReportMimeTypeEnum(val string) (ReportMimeTypeEnum, bool)

GetMappingReportMimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportMimeTypeEnumValues ¶

func GetReportMimeTypeEnumValues() []ReportMimeTypeEnum

GetReportMimeTypeEnumValues Enumerates the set of values for ReportMimeTypeEnum

type ReportSummary ¶

type ReportSummary struct {

	// Name of the report.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the report.
	Id *string `mandatory:"true" json:"id"`

	// Specifies the time at which the report was generated.
	TimeGenerated *common.SDKTime `mandatory:"true" json:"timeGenerated"`

	// The OCID of the compartment containing the report.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The current state of the report.
	LifecycleState ReportLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the report definition.
	ReportDefinitionId *string `mandatory:"false" json:"reportDefinitionId"`

	// Description of the report.
	Description *string `mandatory:"false" json:"description"`

	// Specifies the format of report to be excel or pdf.
	MimeType ReportSummaryMimeTypeEnum `mandatory:"false" json:"mimeType,omitempty"`

	// The type of the report.
	Type ReportTypeEnum `mandatory:"false" json:"type,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ReportSummary Description of report.

func (ReportSummary) String ¶

func (m ReportSummary) String() string

func (ReportSummary) ValidateEnumValue ¶

func (m ReportSummary) 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 ReportSummaryMimeTypeEnum ¶

type ReportSummaryMimeTypeEnum string

ReportSummaryMimeTypeEnum Enum with underlying type: string

const (
	ReportSummaryMimeTypePdf ReportSummaryMimeTypeEnum = "PDF"
	ReportSummaryMimeTypeXls ReportSummaryMimeTypeEnum = "XLS"
)

Set of constants representing the allowable values for ReportSummaryMimeTypeEnum

func GetMappingReportSummaryMimeTypeEnum ¶

func GetMappingReportSummaryMimeTypeEnum(val string) (ReportSummaryMimeTypeEnum, bool)

GetMappingReportSummaryMimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportSummaryMimeTypeEnumValues ¶

func GetReportSummaryMimeTypeEnumValues() []ReportSummaryMimeTypeEnum

GetReportSummaryMimeTypeEnumValues Enumerates the set of values for ReportSummaryMimeTypeEnum

type ReportTypeEnum ¶ added in v65.27.0

type ReportTypeEnum string

ReportTypeEnum Enum with underlying type: string

const (
	ReportTypeGenerated ReportTypeEnum = "GENERATED"
	ReportTypeScheduled ReportTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for ReportTypeEnum

func GetMappingReportTypeEnum ¶ added in v65.27.0

func GetMappingReportTypeEnum(val string) (ReportTypeEnum, bool)

GetMappingReportTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReportTypeEnumValues ¶ added in v65.27.0

func GetReportTypeEnumValues() []ReportTypeEnum

GetReportTypeEnumValues Enumerates the set of values for ReportTypeEnum

type ResumeAuditTrailRequest ¶

type ResumeAuditTrailRequest struct {

	// The OCID of the audit trail.
	AuditTrailId *string `mandatory:"true" contributesTo:"path" name:"auditTrailId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

ResumeAuditTrailRequest wrapper for the ResumeAuditTrail operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ResumeAuditTrail.go.html to see an example of how to use ResumeAuditTrailRequest.

func (ResumeAuditTrailRequest) BinaryRequestBody ¶

func (request ResumeAuditTrailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ResumeAuditTrailRequest) HTTPRequest ¶

func (request ResumeAuditTrailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResumeAuditTrailRequest) RetryPolicy ¶

func (request ResumeAuditTrailRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ResumeAuditTrailRequest) String ¶

func (request ResumeAuditTrailRequest) String() string

func (ResumeAuditTrailRequest) ValidateEnumValue ¶

func (request ResumeAuditTrailRequest) 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 ResumeAuditTrailResponse ¶

type ResumeAuditTrailResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ResumeAuditTrailResponse wrapper for the ResumeAuditTrail operation

func (ResumeAuditTrailResponse) HTTPResponse ¶

func (response ResumeAuditTrailResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ResumeAuditTrailResponse) String ¶

func (response ResumeAuditTrailResponse) String() string

type ResumeWorkRequestRequest ¶

type ResumeWorkRequestRequest struct {

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

ResumeWorkRequestRequest wrapper for the ResumeWorkRequest operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ResumeWorkRequest.go.html to see an example of how to use ResumeWorkRequestRequest.

func (ResumeWorkRequestRequest) BinaryRequestBody ¶

func (request ResumeWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ResumeWorkRequestRequest) HTTPRequest ¶

func (request ResumeWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResumeWorkRequestRequest) RetryPolicy ¶

func (request ResumeWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ResumeWorkRequestRequest) String ¶

func (request ResumeWorkRequestRequest) String() string

func (ResumeWorkRequestRequest) ValidateEnumValue ¶

func (request ResumeWorkRequestRequest) 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 ResumeWorkRequestResponse ¶

type ResumeWorkRequestResponse 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"`

	// A non-negative integer representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int `presentIn:"header" name:"retry-after"`
}

ResumeWorkRequestResponse wrapper for the ResumeWorkRequest operation

func (ResumeWorkRequestResponse) HTTPResponse ¶

func (response ResumeWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ResumeWorkRequestResponse) String ¶

func (response ResumeWorkRequestResponse) String() string

type RetrieveAuditPoliciesRequest ¶

type RetrieveAuditPoliciesRequest struct {

	// Unique audit policy identifier.
	AuditPolicyId *string `mandatory:"true" contributesTo:"path" name:"auditPolicyId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

RetrieveAuditPoliciesRequest wrapper for the RetrieveAuditPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/RetrieveAuditPolicies.go.html to see an example of how to use RetrieveAuditPoliciesRequest.

func (RetrieveAuditPoliciesRequest) BinaryRequestBody ¶

func (request RetrieveAuditPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RetrieveAuditPoliciesRequest) HTTPRequest ¶

func (request RetrieveAuditPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RetrieveAuditPoliciesRequest) RetryPolicy ¶

func (request RetrieveAuditPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RetrieveAuditPoliciesRequest) String ¶

func (request RetrieveAuditPoliciesRequest) String() string

func (RetrieveAuditPoliciesRequest) ValidateEnumValue ¶

func (request RetrieveAuditPoliciesRequest) 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 RetrieveAuditPoliciesResponse ¶

type RetrieveAuditPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

RetrieveAuditPoliciesResponse wrapper for the RetrieveAuditPolicies operation

func (RetrieveAuditPoliciesResponse) HTTPResponse ¶

func (response RetrieveAuditPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RetrieveAuditPoliciesResponse) String ¶

func (response RetrieveAuditPoliciesResponse) String() string

type RoleSummary ¶

type RoleSummary struct {

	// Name of the role.
	RoleName *string `mandatory:"true" json:"roleName"`

	// Type of authentication.
	AuthenticationType *string `mandatory:"true" json:"authenticationType"`

	// Is password required.
	IsPasswordRequired *bool `mandatory:"false" json:"isPasswordRequired"`

	// Is the role common.
	IsCommon *bool `mandatory:"false" json:"isCommon"`

	// Is the role oracle maintained.
	IsOracleMaintained *bool `mandatory:"false" json:"isOracleMaintained"`

	// Is the role inherited.
	IsInherited *bool `mandatory:"false" json:"isInherited"`

	// Is the role implicit.
	IsImplicit *bool `mandatory:"false" json:"isImplicit"`
}

RoleSummary Details of a role fetched from the database.

func (RoleSummary) String ¶

func (m RoleSummary) String() string

func (RoleSummary) ValidateEnumValue ¶

func (m RoleSummary) 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 RunSecurityAssessmentDetails ¶

type RunSecurityAssessmentDetails struct {

	// The OCID of the compartment that contains the security assessment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The display name of the security assessment.
	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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

RunSecurityAssessmentDetails The details required to create an on-demand saved security assessment.

func (RunSecurityAssessmentDetails) String ¶

func (RunSecurityAssessmentDetails) ValidateEnumValue ¶

func (m RunSecurityAssessmentDetails) 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 RunUserAssessmentDetails ¶

type RunUserAssessmentDetails struct {

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The description of the user assessment.
	Description *string `mandatory:"false" json:"description"`

	// The display name of the user assessment.
	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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

RunUserAssessmentDetails The details required to create an on-demand saved user assessment.

func (RunUserAssessmentDetails) String ¶

func (m RunUserAssessmentDetails) String() string

func (RunUserAssessmentDetails) ValidateEnumValue ¶

func (m RunUserAssessmentDetails) 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 ScheduleAuditReportDetails ¶ added in v65.27.0

type ScheduleAuditReportDetails struct {

	// The time span of records in report to be scheduled.
	// <period-value><period>
	// Allowed period strings - "H","D","M","Y"
	// Each of the above fields potentially introduce constraints. A workRequest is created only
	// when period-value satisfies all the constraints. Constraints introduced:
	// 1. period = H (The allowed range for period-value is [1, 23])
	// 2. period = D (The allowed range for period-value is [1, 30])
	// 3. period = M (The allowed range for period-value is [1, 11])
	// 4. period = Y (The minimum period-value is 1)
	RecordTimeSpan *string `mandatory:"true" json:"recordTimeSpan"`

	// Specifies the limit on the number of rows in the report.
	RowLimit *int `mandatory:"false" json:"rowLimit"`
}

ScheduleAuditReportDetails Details for the audit report schedule.

func (ScheduleAuditReportDetails) MarshalJSON ¶ added in v65.27.0

func (m ScheduleAuditReportDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScheduleAuditReportDetails) String ¶ added in v65.27.0

func (ScheduleAuditReportDetails) ValidateEnumValue ¶ added in v65.27.0

func (m ScheduleAuditReportDetails) 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 ScheduleReportDetails ¶ added in v65.27.0

type ScheduleReportDetails struct {

	// The schedule to generate the report periodically in the specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// 4. <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// No constraint introduced when it is '*'. When not, day of week must equal the given value
	// 5. <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"true" json:"schedule"`

	// Specifies if the report will be in Excel or PDF format
	MimeType ScheduleReportDetailsMimeTypeEnum `mandatory:"true" json:"mimeType"`

	// The OCID of the compartment
	// in which the resource should be created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	ReportDetails ReportDetails `mandatory:"true" json:"reportDetails"`

	// The name of the report to be scheduled
	DisplayName *string `mandatory:"false" json:"displayName"`
}

ScheduleReportDetails The details of the report schedule.

func (ScheduleReportDetails) String ¶ added in v65.27.0

func (m ScheduleReportDetails) String() string

func (*ScheduleReportDetails) UnmarshalJSON ¶ added in v65.27.0

func (m *ScheduleReportDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ScheduleReportDetails) ValidateEnumValue ¶ added in v65.27.0

func (m ScheduleReportDetails) 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 ScheduleReportDetailsMimeTypeEnum ¶ added in v65.27.0

type ScheduleReportDetailsMimeTypeEnum string

ScheduleReportDetailsMimeTypeEnum Enum with underlying type: string

const (
	ScheduleReportDetailsMimeTypePdf ScheduleReportDetailsMimeTypeEnum = "PDF"
	ScheduleReportDetailsMimeTypeXls ScheduleReportDetailsMimeTypeEnum = "XLS"
)

Set of constants representing the allowable values for ScheduleReportDetailsMimeTypeEnum

func GetMappingScheduleReportDetailsMimeTypeEnum ¶ added in v65.27.0

func GetMappingScheduleReportDetailsMimeTypeEnum(val string) (ScheduleReportDetailsMimeTypeEnum, bool)

GetMappingScheduleReportDetailsMimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScheduleReportDetailsMimeTypeEnumValues ¶ added in v65.27.0

func GetScheduleReportDetailsMimeTypeEnumValues() []ScheduleReportDetailsMimeTypeEnum

GetScheduleReportDetailsMimeTypeEnumValues Enumerates the set of values for ScheduleReportDetailsMimeTypeEnum

type ScheduleReportRequest ¶ added in v65.27.0

type ScheduleReportRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// The details for the audit report schedule. It contains details such as schedule, PDF/XLS and number of rows.
	ScheduleReportDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

ScheduleReportRequest wrapper for the ScheduleReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/ScheduleReport.go.html to see an example of how to use ScheduleReportRequest.

func (ScheduleReportRequest) BinaryRequestBody ¶ added in v65.27.0

func (request ScheduleReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ScheduleReportRequest) HTTPRequest ¶ added in v65.27.0

func (request ScheduleReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ScheduleReportRequest) RetryPolicy ¶ added in v65.27.0

func (request ScheduleReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ScheduleReportRequest) String ¶ added in v65.27.0

func (request ScheduleReportRequest) String() string

func (ScheduleReportRequest) ValidateEnumValue ¶ added in v65.27.0

func (request ScheduleReportRequest) 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 ScheduleReportResponse ¶ added in v65.27.0

type ScheduleReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ScheduleReportResponse wrapper for the ScheduleReport operation

func (ScheduleReportResponse) HTTPResponse ¶ added in v65.27.0

func (response ScheduleReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ScheduleReportResponse) String ¶ added in v65.27.0

func (response ScheduleReportResponse) String() string

type SchemaSummary ¶

type SchemaSummary struct {

	// Name of the schema.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// Indicates if the schema is oracle supplied.
	IsOracleMaintained *bool `mandatory:"true" json:"isOracleMaintained"`
}

SchemaSummary Details of a schema fetched from the database.

func (SchemaSummary) String ¶

func (m SchemaSummary) String() string

func (SchemaSummary) ValidateEnumValue ¶

func (m SchemaSummary) 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 SdmMaskingPolicyDifference ¶ added in v65.35.0

type SdmMaskingPolicyDifference struct {

	// The OCID of the SDM masking policy difference.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the SDM masking policy difference.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of the SDM masking policy difference. It defines the difference scope.
	// NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy.
	// DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model.
	// MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified.
	// ALL covers all the above three scenarios and reports new, deleted and modified columns.
	DifferenceType SdmMaskingPolicyDifferenceDifferenceTypeEnum `mandatory:"true" json:"differenceType"`

	// The display name of the SDM masking policy difference.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the SDM masking policy difference was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the SDM masking policy difference creation started, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreationStarted *common.SDKTime `mandatory:"true" json:"timeCreationStarted"`

	// The current state of the SDM masking policy difference.
	LifecycleState SdmMaskingPolicyDifferenceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the sensitive data model associated with the SDM masking policy difference.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The OCID of the masking policy associated with the SDM masking policy difference.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SdmMaskingPolicyDifference A SDM masking policy difference resource. It helps track the difference between sensitive columns of SDM and masking columns of the masking policy.

func (SdmMaskingPolicyDifference) String ¶ added in v65.35.0

func (SdmMaskingPolicyDifference) ValidateEnumValue ¶ added in v65.35.0

func (m SdmMaskingPolicyDifference) 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 SdmMaskingPolicyDifferenceCollection ¶ added in v65.35.0

type SdmMaskingPolicyDifferenceCollection struct {

	// An array of SDM masking policy difference objects.
	Items []SdmMaskingPolicyDifferenceSummary `mandatory:"true" json:"items"`
}

SdmMaskingPolicyDifferenceCollection A collection of SDM masking policy difference objects.

func (SdmMaskingPolicyDifferenceCollection) String ¶ added in v65.35.0

func (SdmMaskingPolicyDifferenceCollection) ValidateEnumValue ¶ added in v65.35.0

func (m SdmMaskingPolicyDifferenceCollection) 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 SdmMaskingPolicyDifferenceColumnCollection ¶ added in v65.35.0

type SdmMaskingPolicyDifferenceColumnCollection struct {

	// An array of SDM masking policy difference column summary objects.
	Items []DifferenceColumnSummary `mandatory:"true" json:"items"`
}

SdmMaskingPolicyDifferenceColumnCollection A collection of SDM masking policy difference column summary objects.

func (SdmMaskingPolicyDifferenceColumnCollection) String ¶ added in v65.35.0

func (SdmMaskingPolicyDifferenceColumnCollection) ValidateEnumValue ¶ added in v65.35.0

func (m SdmMaskingPolicyDifferenceColumnCollection) 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 SdmMaskingPolicyDifferenceDifferenceTypeEnum ¶ added in v65.35.0

type SdmMaskingPolicyDifferenceDifferenceTypeEnum string

SdmMaskingPolicyDifferenceDifferenceTypeEnum Enum with underlying type: string

const (
	SdmMaskingPolicyDifferenceDifferenceTypeAll      SdmMaskingPolicyDifferenceDifferenceTypeEnum = "ALL"
	SdmMaskingPolicyDifferenceDifferenceTypeNew      SdmMaskingPolicyDifferenceDifferenceTypeEnum = "NEW"
	SdmMaskingPolicyDifferenceDifferenceTypeModified SdmMaskingPolicyDifferenceDifferenceTypeEnum = "MODIFIED"
	SdmMaskingPolicyDifferenceDifferenceTypeDeleted  SdmMaskingPolicyDifferenceDifferenceTypeEnum = "DELETED"
)

Set of constants representing the allowable values for SdmMaskingPolicyDifferenceDifferenceTypeEnum

func GetMappingSdmMaskingPolicyDifferenceDifferenceTypeEnum ¶ added in v65.35.0

func GetMappingSdmMaskingPolicyDifferenceDifferenceTypeEnum(val string) (SdmMaskingPolicyDifferenceDifferenceTypeEnum, bool)

GetMappingSdmMaskingPolicyDifferenceDifferenceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSdmMaskingPolicyDifferenceDifferenceTypeEnumValues ¶ added in v65.35.0

func GetSdmMaskingPolicyDifferenceDifferenceTypeEnumValues() []SdmMaskingPolicyDifferenceDifferenceTypeEnum

GetSdmMaskingPolicyDifferenceDifferenceTypeEnumValues Enumerates the set of values for SdmMaskingPolicyDifferenceDifferenceTypeEnum

type SdmMaskingPolicyDifferenceLifecycleStateEnum ¶ added in v65.35.0

type SdmMaskingPolicyDifferenceLifecycleStateEnum string

SdmMaskingPolicyDifferenceLifecycleStateEnum Enum with underlying type: string

const (
	SdmMaskingPolicyDifferenceLifecycleStateCreating SdmMaskingPolicyDifferenceLifecycleStateEnum = "CREATING"
	SdmMaskingPolicyDifferenceLifecycleStateActive   SdmMaskingPolicyDifferenceLifecycleStateEnum = "ACTIVE"
	SdmMaskingPolicyDifferenceLifecycleStateUpdating SdmMaskingPolicyDifferenceLifecycleStateEnum = "UPDATING"
	SdmMaskingPolicyDifferenceLifecycleStateDeleting SdmMaskingPolicyDifferenceLifecycleStateEnum = "DELETING"
	SdmMaskingPolicyDifferenceLifecycleStateDeleted  SdmMaskingPolicyDifferenceLifecycleStateEnum = "DELETED"
	SdmMaskingPolicyDifferenceLifecycleStateFailed   SdmMaskingPolicyDifferenceLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for SdmMaskingPolicyDifferenceLifecycleStateEnum

func GetMappingSdmMaskingPolicyDifferenceLifecycleStateEnum ¶ added in v65.35.0

func GetMappingSdmMaskingPolicyDifferenceLifecycleStateEnum(val string) (SdmMaskingPolicyDifferenceLifecycleStateEnum, bool)

GetMappingSdmMaskingPolicyDifferenceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSdmMaskingPolicyDifferenceLifecycleStateEnumValues ¶ added in v65.35.0

func GetSdmMaskingPolicyDifferenceLifecycleStateEnumValues() []SdmMaskingPolicyDifferenceLifecycleStateEnum

GetSdmMaskingPolicyDifferenceLifecycleStateEnumValues Enumerates the set of values for SdmMaskingPolicyDifferenceLifecycleStateEnum

type SdmMaskingPolicyDifferenceSummary ¶ added in v65.35.0

type SdmMaskingPolicyDifferenceSummary struct {

	// The OCID of the SDM masking policy difference.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment to contain the SDM masking policy difference.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the SDM masking policy difference.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the SDM masking policy difference was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the SDM masking policy difference creation started, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreationStarted *common.SDKTime `mandatory:"true" json:"timeCreationStarted"`

	// The OCID of the sensitive data model associated with the SDM masking policy difference.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The OCID of the masking policy associated with the SDM masking policy difference.
	MaskingPolicyId *string `mandatory:"true" json:"maskingPolicyId"`

	// The current state of the SDM masking policy difference.
	LifecycleState SdmMaskingPolicyDifferenceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The type of difference.
	DifferenceType SdmMaskingPolicyDifferenceDifferenceTypeEnum `mandatory:"true" json:"differenceType"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SdmMaskingPolicyDifferenceSummary Summary of a SDM masking policy difference.

func (SdmMaskingPolicyDifferenceSummary) String ¶ added in v65.35.0

func (SdmMaskingPolicyDifferenceSummary) ValidateEnumValue ¶ added in v65.35.0

func (m SdmMaskingPolicyDifferenceSummary) 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 SectionStatistics ¶

type SectionStatistics struct {

	// The number of targets that contributed to the counts at this risk level.
	TargetsCount *int `mandatory:"false" json:"targetsCount"`

	// The number of findings in the Auditing category.
	AuditingFindingsCount *int `mandatory:"false" json:"auditingFindingsCount"`

	// The number of findings in the Authorization Control category.
	AuthorizationControlFindingsCount *int `mandatory:"false" json:"authorizationControlFindingsCount"`

	// The number of findings in the Data Encryption category.
	DataEncryptionFindingsCount *int `mandatory:"false" json:"dataEncryptionFindingsCount"`

	// The number of findings in the Database Configuration category.
	DbConfigurationFindingsCount *int `mandatory:"false" json:"dbConfigurationFindingsCount"`

	// The number of findings in the Fine-Grained Access Control category.
	FineGrainedAccessControlFindingsCount *int `mandatory:"false" json:"fineGrainedAccessControlFindingsCount"`

	// The number of findings in the Privileges and Roles category.
	PrivilegesAndRolesFindingsCount *int `mandatory:"false" json:"privilegesAndRolesFindingsCount"`

	// The number of findings in the User Accounts category.
	UserAccountsFindingsCount *int `mandatory:"false" json:"userAccountsFindingsCount"`
}

SectionStatistics Statistics showing the number of findings with a particular risk level for each category.

func (SectionStatistics) String ¶

func (m SectionStatistics) String() string

func (SectionStatistics) ValidateEnumValue ¶

func (m SectionStatistics) 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 SecurityAssessment ¶

type SecurityAssessment struct {

	// The OCID of the security assessment.
	Id *string `mandatory:"true" json:"id"`

	// The date and time when the security assessment was created. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time when the security assessment was last updated. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID of the compartment that contains the security assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the security assessment.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Array of database target OCIDs.
	TargetIds []string `mandatory:"true" json:"targetIds"`

	// The current state of the security assessment.
	LifecycleState SecurityAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The type of this security assessment. The possible types are:
	// LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
	// SAVED: A saved security assessment. LATEST assessments are always saved in order to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
	// SAVE_SCHEDULE: The schedule for periodic saves of LATEST assessments.
	// COMPARTMENT: An automatically managed assessment type that stores all details of targets in one compartment.
	//  This type keeps an up-to-date assessment of all database risks in one compartment. It is automatically updated when
	//  the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.
	Type SecurityAssessmentTypeEnum `mandatory:"true" json:"type"`

	// The date and time when the security assessment was last run. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastAssessed *common.SDKTime `mandatory:"false" json:"timeLastAssessed"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredTargets []interface{} `mandatory:"false" json:"ignoredTargets"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

	// The version of the target database.
	TargetVersion *string `mandatory:"false" json:"targetVersion"`

	// Indicates whether or not the security assessment is set as a baseline. This is applicable only for saved security assessments.
	IsBaseline *bool `mandatory:"false" json:"isBaseline"`

	// Indicates if the assessment has deviated from the baseline.
	IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

	// The OCID of the baseline against which the latest security assessment was compared.
	LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

	// Details about the current state of the security assessment.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID of the security assessment that is responsible for creating this scheduled save assessment.
	ScheduleSecurityAssessmentId *string `mandatory:"false" json:"scheduleSecurityAssessmentId"`

	// Indicates whether the security assessment was created by system or by a user.
	TriggeredBy SecurityAssessmentTriggeredByEnum `mandatory:"false" json:"triggeredBy,omitempty"`

	// The description of the security assessment.
	Description *string `mandatory:"false" json:"description"`

	// Schedule to save the assessment periodically in the specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	// <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// The summary of findings for the security assessment
	Link *string `mandatory:"false" json:"link"`

	Statistics *SecurityAssessmentStatistics `mandatory:"false" json:"statistics"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SecurityAssessment A security assessment that provides an overall insight into your database security posture. The security assessment results are based on the analysis of your database configurations, user accounts, and security controls. For more information, see Security Assessment Overview (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/security-assessment-overview.html).

func (SecurityAssessment) String ¶

func (m SecurityAssessment) String() string

func (SecurityAssessment) ValidateEnumValue ¶

func (m SecurityAssessment) 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 SecurityAssessmentBaseLineDetails ¶

type SecurityAssessmentBaseLineDetails struct {

	// List of security assessment OCIDs that need to be updated while setting the baseline.
	AssessmentIds []string `mandatory:"false" json:"assessmentIds"`
}

SecurityAssessmentBaseLineDetails The details reqired to set baseline assessment.

func (SecurityAssessmentBaseLineDetails) String ¶

func (SecurityAssessmentBaseLineDetails) ValidateEnumValue ¶

func (m SecurityAssessmentBaseLineDetails) 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 SecurityAssessmentComparison ¶

type SecurityAssessmentComparison struct {

	// The current state of the security assessment comparison.
	LifecycleState SecurityAssessmentComparisonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time when the security assessment comparison was created. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the security assessment that is being compared with a baseline security assessment.
	Id *string `mandatory:"false" json:"id"`

	// The OCID of the security assessment that is set as a baseline.
	BaselineId *string `mandatory:"false" json:"baselineId"`

	// A target-based comparison between two security assessments.
	Targets []SecurityAssessmentComparisonPerTarget `mandatory:"false" json:"targets"`
}

SecurityAssessmentComparison Provides a list of the differences in a comparison of the security assessment with the baseline value.

func (SecurityAssessmentComparison) String ¶

func (SecurityAssessmentComparison) ValidateEnumValue ¶

func (m SecurityAssessmentComparison) 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 SecurityAssessmentComparisonLifecycleStateEnum ¶

type SecurityAssessmentComparisonLifecycleStateEnum string

SecurityAssessmentComparisonLifecycleStateEnum Enum with underlying type: string

const (
	SecurityAssessmentComparisonLifecycleStateCreating  SecurityAssessmentComparisonLifecycleStateEnum = "CREATING"
	SecurityAssessmentComparisonLifecycleStateSucceeded SecurityAssessmentComparisonLifecycleStateEnum = "SUCCEEDED"
	SecurityAssessmentComparisonLifecycleStateFailed    SecurityAssessmentComparisonLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for SecurityAssessmentComparisonLifecycleStateEnum

func GetMappingSecurityAssessmentComparisonLifecycleStateEnum ¶

func GetMappingSecurityAssessmentComparisonLifecycleStateEnum(val string) (SecurityAssessmentComparisonLifecycleStateEnum, bool)

GetMappingSecurityAssessmentComparisonLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentComparisonLifecycleStateEnumValues ¶

func GetSecurityAssessmentComparisonLifecycleStateEnumValues() []SecurityAssessmentComparisonLifecycleStateEnum

GetSecurityAssessmentComparisonLifecycleStateEnumValues Enumerates the set of values for SecurityAssessmentComparisonLifecycleStateEnum

type SecurityAssessmentComparisonPerTarget ¶

type SecurityAssessmentComparisonPerTarget struct {

	// The OCID of the target that is used as a baseline in this comparison.
	BaselineTargetId *string `mandatory:"false" json:"baselineTargetId"`

	// The OCID of the target to be compared against the baseline target.
	CurrentTargetId *string `mandatory:"false" json:"currentTargetId"`

	// A comparison between findings belonging to Auditing category.
	Auditing []Diffs `mandatory:"false" json:"auditing"`

	// A comparison between findings belonging to Authorization Control category.
	AuthorizationControl []Diffs `mandatory:"false" json:"authorizationControl"`

	// Comparison between findings belonging to Data Encryption category.
	DataEncryption []Diffs `mandatory:"false" json:"dataEncryption"`

	// Comparison between findings belonging to Database Configuration category.
	DbConfiguration []Diffs `mandatory:"false" json:"dbConfiguration"`

	// Comparison between findings belonging to Fine-Grained Access Control category.
	FineGrainedAccessControl []Diffs `mandatory:"false" json:"fineGrainedAccessControl"`

	// Comparison between findings belonging to Privileges and Roles category.
	PrivilegesAndRoles []Diffs `mandatory:"false" json:"privilegesAndRoles"`

	// Comparison between findings belonging to User Accounts category.
	UserAccounts []Diffs `mandatory:"false" json:"userAccounts"`
}

SecurityAssessmentComparisonPerTarget The results of the comparison between two security assessment resources.

func (SecurityAssessmentComparisonPerTarget) String ¶

func (SecurityAssessmentComparisonPerTarget) ValidateEnumValue ¶

func (m SecurityAssessmentComparisonPerTarget) 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 SecurityAssessmentLifecycleStateEnum ¶

type SecurityAssessmentLifecycleStateEnum string

SecurityAssessmentLifecycleStateEnum Enum with underlying type: string

const (
	SecurityAssessmentLifecycleStateCreating  SecurityAssessmentLifecycleStateEnum = "CREATING"
	SecurityAssessmentLifecycleStateSucceeded SecurityAssessmentLifecycleStateEnum = "SUCCEEDED"
	SecurityAssessmentLifecycleStateUpdating  SecurityAssessmentLifecycleStateEnum = "UPDATING"
	SecurityAssessmentLifecycleStateDeleting  SecurityAssessmentLifecycleStateEnum = "DELETING"
	SecurityAssessmentLifecycleStateDeleted   SecurityAssessmentLifecycleStateEnum = "DELETED"
	SecurityAssessmentLifecycleStateFailed    SecurityAssessmentLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for SecurityAssessmentLifecycleStateEnum

func GetMappingSecurityAssessmentLifecycleStateEnum ¶

func GetMappingSecurityAssessmentLifecycleStateEnum(val string) (SecurityAssessmentLifecycleStateEnum, bool)

GetMappingSecurityAssessmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentLifecycleStateEnumValues ¶

func GetSecurityAssessmentLifecycleStateEnumValues() []SecurityAssessmentLifecycleStateEnum

GetSecurityAssessmentLifecycleStateEnumValues Enumerates the set of values for SecurityAssessmentLifecycleStateEnum

type SecurityAssessmentReferencesEnum ¶ added in v65.35.0

type SecurityAssessmentReferencesEnum string

SecurityAssessmentReferencesEnum Enum with underlying type: string

const (
	SecurityAssessmentReferencesStig SecurityAssessmentReferencesEnum = "STIG"
	SecurityAssessmentReferencesCis  SecurityAssessmentReferencesEnum = "CIS"
	SecurityAssessmentReferencesGdpr SecurityAssessmentReferencesEnum = "GDPR"
)

Set of constants representing the allowable values for SecurityAssessmentReferencesEnum

func GetMappingSecurityAssessmentReferencesEnum ¶ added in v65.35.0

func GetMappingSecurityAssessmentReferencesEnum(val string) (SecurityAssessmentReferencesEnum, bool)

GetMappingSecurityAssessmentReferencesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentReferencesEnumValues ¶ added in v65.35.0

func GetSecurityAssessmentReferencesEnumValues() []SecurityAssessmentReferencesEnum

GetSecurityAssessmentReferencesEnumValues Enumerates the set of values for SecurityAssessmentReferencesEnum

type SecurityAssessmentStatistics ¶

type SecurityAssessmentStatistics struct {

	// The total number of targets in this security assessment.
	TargetsCount *int `mandatory:"false" json:"targetsCount"`

	HighRisk *SectionStatistics `mandatory:"false" json:"highRisk"`

	MediumRisk *SectionStatistics `mandatory:"false" json:"mediumRisk"`

	LowRisk *SectionStatistics `mandatory:"false" json:"lowRisk"`

	Advisory *SectionStatistics `mandatory:"false" json:"advisory"`

	Evaluate *SectionStatistics `mandatory:"false" json:"evaluate"`

	Pass *SectionStatistics `mandatory:"false" json:"pass"`
}

SecurityAssessmentStatistics Statistics showing the number of findings for each category grouped by risk levels for all the targets in the specified security assessment. The categories include Auditing, Authorization Control, Data Encryption, Database Configuration, Fine-Grained Access Control, Privileges and Roles, and User Accounts. The risk levels include High Risk, Medium Risk, Low Risk, Advisory, Evaluate, and Pass.

func (SecurityAssessmentStatistics) String ¶

func (SecurityAssessmentStatistics) ValidateEnumValue ¶

func (m SecurityAssessmentStatistics) 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 SecurityAssessmentSummary ¶

type SecurityAssessmentSummary struct {

	// The OCID of the security assessment.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the security assessment.
	LifecycleState SecurityAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time when the security assessment was created. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time when the security assessment was last updated. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID of the compartment that contains the security assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the security assessment.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Array of database target OCIDs.
	TargetIds []string `mandatory:"true" json:"targetIds"`

	// The type of the security assessment. Possible values are:
	// LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
	// SAVED: A saved security assessment. LATEST assessments are always saved in order to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
	// SAVE_SCHEDULE: The schedule for periodic saves of LATEST assessments.
	// COMPARTMENT: An automatically managed assessment type that stores all details of targets in one compartment.
	// This type keeps an up-to-date assessment of all database risks in one compartment. It is automatically updated when the latest assessment or refresh action is executed. It is also automatically updated when a target is deleted or move to a different compartment.
	Type SecurityAssessmentSummaryTypeEnum `mandatory:"true" json:"type"`

	// The description of the security assessment.
	Description *string `mandatory:"false" json:"description"`

	// Details about the current state of the security assessment.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The date and time when the security assessment was last run. Conforms to the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastAssessed *common.SDKTime `mandatory:"false" json:"timeLastAssessed"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredTargetIds []interface{} `mandatory:"false" json:"ignoredTargetIds"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

	// Indicates whether or not the assessment is a baseline assessment. This applied to saved security assessments only.
	IsBaseline *bool `mandatory:"false" json:"isBaseline"`

	// Indicates whether or not the security assessment deviates from the baseline.
	IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

	// The OCID of the baseline against which the latest assessment was compared.
	LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

	// The OCID of the security assessment that created this scheduled save assessment.
	ScheduleSecurityAssessmentId *string `mandatory:"false" json:"scheduleSecurityAssessmentId"`

	// Schedule of the assessment that runs periodically in the specified format: -
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	// <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// Indicates whether the security assessment was created by system or by a user.
	TriggeredBy SecurityAssessmentSummaryTriggeredByEnum `mandatory:"false" json:"triggeredBy,omitempty"`

	// The summary of findings for the security assessment.
	Link *string `mandatory:"false" json:"link"`

	Statistics *SecurityAssessmentStatistics `mandatory:"false" json:"statistics"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SecurityAssessmentSummary The summary of a security assessment.

func (SecurityAssessmentSummary) String ¶

func (m SecurityAssessmentSummary) String() string

func (SecurityAssessmentSummary) ValidateEnumValue ¶

func (m SecurityAssessmentSummary) 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 SecurityAssessmentSummaryTriggeredByEnum ¶

type SecurityAssessmentSummaryTriggeredByEnum string

SecurityAssessmentSummaryTriggeredByEnum Enum with underlying type: string

const (
	SecurityAssessmentSummaryTriggeredByUser   SecurityAssessmentSummaryTriggeredByEnum = "USER"
	SecurityAssessmentSummaryTriggeredBySystem SecurityAssessmentSummaryTriggeredByEnum = "SYSTEM"
)

Set of constants representing the allowable values for SecurityAssessmentSummaryTriggeredByEnum

func GetMappingSecurityAssessmentSummaryTriggeredByEnum ¶

func GetMappingSecurityAssessmentSummaryTriggeredByEnum(val string) (SecurityAssessmentSummaryTriggeredByEnum, bool)

GetMappingSecurityAssessmentSummaryTriggeredByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentSummaryTriggeredByEnumValues ¶

func GetSecurityAssessmentSummaryTriggeredByEnumValues() []SecurityAssessmentSummaryTriggeredByEnum

GetSecurityAssessmentSummaryTriggeredByEnumValues Enumerates the set of values for SecurityAssessmentSummaryTriggeredByEnum

type SecurityAssessmentSummaryTypeEnum ¶

type SecurityAssessmentSummaryTypeEnum string

SecurityAssessmentSummaryTypeEnum Enum with underlying type: string

const (
	SecurityAssessmentSummaryTypeLatest       SecurityAssessmentSummaryTypeEnum = "LATEST"
	SecurityAssessmentSummaryTypeSaved        SecurityAssessmentSummaryTypeEnum = "SAVED"
	SecurityAssessmentSummaryTypeSaveSchedule SecurityAssessmentSummaryTypeEnum = "SAVE_SCHEDULE"
	SecurityAssessmentSummaryTypeCompartment  SecurityAssessmentSummaryTypeEnum = "COMPARTMENT"
)

Set of constants representing the allowable values for SecurityAssessmentSummaryTypeEnum

func GetMappingSecurityAssessmentSummaryTypeEnum ¶

func GetMappingSecurityAssessmentSummaryTypeEnum(val string) (SecurityAssessmentSummaryTypeEnum, bool)

GetMappingSecurityAssessmentSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentSummaryTypeEnumValues ¶

func GetSecurityAssessmentSummaryTypeEnumValues() []SecurityAssessmentSummaryTypeEnum

GetSecurityAssessmentSummaryTypeEnumValues Enumerates the set of values for SecurityAssessmentSummaryTypeEnum

type SecurityAssessmentTriggeredByEnum ¶

type SecurityAssessmentTriggeredByEnum string

SecurityAssessmentTriggeredByEnum Enum with underlying type: string

const (
	SecurityAssessmentTriggeredByUser   SecurityAssessmentTriggeredByEnum = "USER"
	SecurityAssessmentTriggeredBySystem SecurityAssessmentTriggeredByEnum = "SYSTEM"
)

Set of constants representing the allowable values for SecurityAssessmentTriggeredByEnum

func GetMappingSecurityAssessmentTriggeredByEnum ¶

func GetMappingSecurityAssessmentTriggeredByEnum(val string) (SecurityAssessmentTriggeredByEnum, bool)

GetMappingSecurityAssessmentTriggeredByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentTriggeredByEnumValues ¶

func GetSecurityAssessmentTriggeredByEnumValues() []SecurityAssessmentTriggeredByEnum

GetSecurityAssessmentTriggeredByEnumValues Enumerates the set of values for SecurityAssessmentTriggeredByEnum

type SecurityAssessmentTypeEnum ¶

type SecurityAssessmentTypeEnum string

SecurityAssessmentTypeEnum Enum with underlying type: string

const (
	SecurityAssessmentTypeLatest       SecurityAssessmentTypeEnum = "LATEST"
	SecurityAssessmentTypeSaved        SecurityAssessmentTypeEnum = "SAVED"
	SecurityAssessmentTypeSaveSchedule SecurityAssessmentTypeEnum = "SAVE_SCHEDULE"
	SecurityAssessmentTypeCompartment  SecurityAssessmentTypeEnum = "COMPARTMENT"
)

Set of constants representing the allowable values for SecurityAssessmentTypeEnum

func GetMappingSecurityAssessmentTypeEnum ¶

func GetMappingSecurityAssessmentTypeEnum(val string) (SecurityAssessmentTypeEnum, bool)

GetMappingSecurityAssessmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityAssessmentTypeEnumValues ¶

func GetSecurityAssessmentTypeEnumValues() []SecurityAssessmentTypeEnum

GetSecurityAssessmentTypeEnumValues Enumerates the set of values for SecurityAssessmentTypeEnum

type SensitiveCategory ¶

type SensitiveCategory struct {

	// The OCID of the sensitive type.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the sensitive type.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the sensitive type.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the sensitive type was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the sensitive type was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the sensitive type.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Specifies whether the sensitive type is user-defined or predefined.
	Source SensitiveTypeSourceEnum `mandatory:"true" json:"source"`
}

SensitiveCategory Details of the sensitive category.

func (SensitiveCategory) GetCompartmentId ¶

func (m SensitiveCategory) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (SensitiveCategory) GetDefinedTags ¶

func (m SensitiveCategory) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (SensitiveCategory) GetDescription ¶

func (m SensitiveCategory) GetDescription() *string

GetDescription returns Description

func (SensitiveCategory) GetDisplayName ¶

func (m SensitiveCategory) GetDisplayName() *string

GetDisplayName returns DisplayName

func (SensitiveCategory) GetFreeformTags ¶

func (m SensitiveCategory) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (SensitiveCategory) GetId ¶

func (m SensitiveCategory) GetId() *string

GetId returns Id

func (SensitiveCategory) GetLifecycleState ¶

func (m SensitiveCategory) GetLifecycleState() DiscoveryLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (SensitiveCategory) GetParentCategoryId ¶

func (m SensitiveCategory) GetParentCategoryId() *string

GetParentCategoryId returns ParentCategoryId

func (SensitiveCategory) GetShortName ¶

func (m SensitiveCategory) GetShortName() *string

GetShortName returns ShortName

func (SensitiveCategory) GetSource ¶

GetSource returns Source

func (SensitiveCategory) GetSystemTags ¶

func (m SensitiveCategory) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (SensitiveCategory) GetTimeCreated ¶

func (m SensitiveCategory) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SensitiveCategory) GetTimeUpdated ¶

func (m SensitiveCategory) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (SensitiveCategory) MarshalJSON ¶

func (m SensitiveCategory) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SensitiveCategory) String ¶

func (m SensitiveCategory) String() string

func (SensitiveCategory) ValidateEnumValue ¶

func (m SensitiveCategory) 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 SensitiveColumn ¶

type SensitiveColumn struct {

	// The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
	Key *string `mandatory:"true" json:"key"`

	// The OCID of the sensitive data model that contains the sensitive column.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339),
	// the sensitive column was created in the sensitive data model.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339),
	// the sensitive column was last updated in the sensitive data model.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the sensitive column.
	LifecycleState SensitiveColumnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The name of the application associated with the sensitive column. It's useful when the application name is
	// different from the schema name. Otherwise, it can be ignored.
	AppName *string `mandatory:"true" json:"appName"`

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the sensitive column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the sensitive column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The type of the database object that contains the sensitive column.
	ObjectType SensitiveColumnObjectTypeEnum `mandatory:"true" json:"objectType"`

	// The data type of the sensitive column.
	DataType *string `mandatory:"true" json:"dataType"`

	// The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column
	// is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an
	// incremental data discovery job does not identify these columns as sensitive again.
	Status SensitiveColumnStatusEnum `mandatory:"true" json:"status"`

	// The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model
	// using a data discovery job. MANUAL indicates that the column was added manually.
	Source SensitiveColumnSourceEnum `mandatory:"true" json:"source"`

	// The type of referential relationship the sensitive column has with its parent. NONE indicates that the
	// sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database
	// dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
	RelationType SensitiveColumnRelationTypeEnum `mandatory:"true" json:"relationType"`

	// The estimated number of data values the column has in the associated database.
	EstimatedDataValueCount *int64 `mandatory:"true" json:"estimatedDataValueCount"`

	// Details about the current state of the sensitive column.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID of the sensitive type associated with the sensitive column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
	ParentColumnKeys []string `mandatory:"false" json:"parentColumnKeys"`

	// Original data values collected for the sensitive column from the associated database. Sample data helps review
	// the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data
	// discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data
	// value is collected per sensitive column.
	SampleDataValues []string `mandatory:"false" json:"sampleDataValues"`

	// Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
	AppDefinedChildColumnKeys []string `mandatory:"false" json:"appDefinedChildColumnKeys"`

	// Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
	DbDefinedChildColumnKeys []string `mandatory:"false" json:"dbDefinedChildColumnKeys"`

	// The composite key groups to which the sensitive column belongs. If the column is part of a composite key,
	// it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
	ColumnGroups []string `mandatory:"false" json:"columnGroups"`
}

SensitiveColumn A sensitive column is a resource corresponding to a database column that is considered sensitive. It's a subresource of sensitive data model resource and is always associated with a sensitive data model. Note that referential relationships are also managed as part of sensitive columns.

func (SensitiveColumn) String ¶

func (m SensitiveColumn) String() string

func (SensitiveColumn) ValidateEnumValue ¶

func (m SensitiveColumn) 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 SensitiveColumnCollection ¶

type SensitiveColumnCollection struct {

	// An array of sensitive column summary objects.
	Items []SensitiveColumnSummary `mandatory:"true" json:"items"`
}

SensitiveColumnCollection A collection of sensitive column summary objects.

func (SensitiveColumnCollection) String ¶

func (m SensitiveColumnCollection) String() string

func (SensitiveColumnCollection) ValidateEnumValue ¶

func (m SensitiveColumnCollection) 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 SensitiveColumnLifecycleStateEnum ¶

type SensitiveColumnLifecycleStateEnum string

SensitiveColumnLifecycleStateEnum Enum with underlying type: string

const (
	SensitiveColumnLifecycleStateCreating SensitiveColumnLifecycleStateEnum = "CREATING"
	SensitiveColumnLifecycleStateActive   SensitiveColumnLifecycleStateEnum = "ACTIVE"
	SensitiveColumnLifecycleStateUpdating SensitiveColumnLifecycleStateEnum = "UPDATING"
	SensitiveColumnLifecycleStateDeleting SensitiveColumnLifecycleStateEnum = "DELETING"
	SensitiveColumnLifecycleStateFailed   SensitiveColumnLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for SensitiveColumnLifecycleStateEnum

func GetMappingSensitiveColumnLifecycleStateEnum ¶

func GetMappingSensitiveColumnLifecycleStateEnum(val string) (SensitiveColumnLifecycleStateEnum, bool)

GetMappingSensitiveColumnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnLifecycleStateEnumValues ¶

func GetSensitiveColumnLifecycleStateEnumValues() []SensitiveColumnLifecycleStateEnum

GetSensitiveColumnLifecycleStateEnumValues Enumerates the set of values for SensitiveColumnLifecycleStateEnum

type SensitiveColumnObjectTypeEnum ¶

type SensitiveColumnObjectTypeEnum string

SensitiveColumnObjectTypeEnum Enum with underlying type: string

const (
	SensitiveColumnObjectTypeTable          SensitiveColumnObjectTypeEnum = "TABLE"
	SensitiveColumnObjectTypeEditioningView SensitiveColumnObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for SensitiveColumnObjectTypeEnum

func GetMappingSensitiveColumnObjectTypeEnum ¶

func GetMappingSensitiveColumnObjectTypeEnum(val string) (SensitiveColumnObjectTypeEnum, bool)

GetMappingSensitiveColumnObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnObjectTypeEnumValues ¶

func GetSensitiveColumnObjectTypeEnumValues() []SensitiveColumnObjectTypeEnum

GetSensitiveColumnObjectTypeEnumValues Enumerates the set of values for SensitiveColumnObjectTypeEnum

type SensitiveColumnRelationTypeEnum ¶

type SensitiveColumnRelationTypeEnum string

SensitiveColumnRelationTypeEnum Enum with underlying type: string

const (
	SensitiveColumnRelationTypeNone       SensitiveColumnRelationTypeEnum = "NONE"
	SensitiveColumnRelationTypeAppDefined SensitiveColumnRelationTypeEnum = "APP_DEFINED"
	SensitiveColumnRelationTypeDbDefined  SensitiveColumnRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for SensitiveColumnRelationTypeEnum

func GetMappingSensitiveColumnRelationTypeEnum ¶

func GetMappingSensitiveColumnRelationTypeEnum(val string) (SensitiveColumnRelationTypeEnum, bool)

GetMappingSensitiveColumnRelationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnRelationTypeEnumValues ¶

func GetSensitiveColumnRelationTypeEnumValues() []SensitiveColumnRelationTypeEnum

GetSensitiveColumnRelationTypeEnumValues Enumerates the set of values for SensitiveColumnRelationTypeEnum

type SensitiveColumnSourceEnum ¶

type SensitiveColumnSourceEnum string

SensitiveColumnSourceEnum Enum with underlying type: string

const (
	SensitiveColumnSourceManual    SensitiveColumnSourceEnum = "MANUAL"
	SensitiveColumnSourceDiscovery SensitiveColumnSourceEnum = "DISCOVERY"
)

Set of constants representing the allowable values for SensitiveColumnSourceEnum

func GetMappingSensitiveColumnSourceEnum ¶

func GetMappingSensitiveColumnSourceEnum(val string) (SensitiveColumnSourceEnum, bool)

GetMappingSensitiveColumnSourceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnSourceEnumValues ¶

func GetSensitiveColumnSourceEnumValues() []SensitiveColumnSourceEnum

GetSensitiveColumnSourceEnumValues Enumerates the set of values for SensitiveColumnSourceEnum

type SensitiveColumnStatusEnum ¶

type SensitiveColumnStatusEnum string

SensitiveColumnStatusEnum Enum with underlying type: string

const (
	SensitiveColumnStatusValid   SensitiveColumnStatusEnum = "VALID"
	SensitiveColumnStatusInvalid SensitiveColumnStatusEnum = "INVALID"
)

Set of constants representing the allowable values for SensitiveColumnStatusEnum

func GetMappingSensitiveColumnStatusEnum ¶

func GetMappingSensitiveColumnStatusEnum(val string) (SensitiveColumnStatusEnum, bool)

GetMappingSensitiveColumnStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnStatusEnumValues ¶

func GetSensitiveColumnStatusEnumValues() []SensitiveColumnStatusEnum

GetSensitiveColumnStatusEnumValues Enumerates the set of values for SensitiveColumnStatusEnum

type SensitiveColumnSummary ¶

type SensitiveColumnSummary struct {

	// The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
	Key *string `mandatory:"true" json:"key"`

	// The OCID of the sensitive data model that contains the sensitive column.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`

	// The current state of the sensitive column.
	LifecycleState SensitiveColumnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339),
	// the sensitive column was created in the sensitive data model.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339),
	// the sensitive column was last updated in the sensitive data model.
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The name of the application associated with the sensitive column. It's useful when the application name is
	// different from the schema name. Otherwise, it can be ignored.
	AppName *string `mandatory:"true" json:"appName"`

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the sensitive column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The name of the sensitive column.
	ColumnName *string `mandatory:"true" json:"columnName"`

	// The type of the database object that contains the sensitive column.
	ObjectType SensitiveColumnSummaryObjectTypeEnum `mandatory:"true" json:"objectType"`

	// The data type of the sensitive column.
	DataType *string `mandatory:"true" json:"dataType"`

	// The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column
	// is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an
	// incremental data discovery job does not identify these columns as sensitive again.
	Status SensitiveColumnSummaryStatusEnum `mandatory:"true" json:"status"`

	// The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model
	// using a data discovery job. MANUAL indicates that the column was added manually.
	Source SensitiveColumnSummarySourceEnum `mandatory:"true" json:"source"`

	// The type of referential relationship the sensitive column has with its parent. NONE indicates that the
	// sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database
	// dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
	RelationType SensitiveColumnSummaryRelationTypeEnum `mandatory:"true" json:"relationType"`

	// The estimated number of data values the column has in the associated database.
	EstimatedDataValueCount *int64 `mandatory:"true" json:"estimatedDataValueCount"`

	// Details about the current state of the sensitive column.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID of the sensitive type associated with the sensitive column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
	ParentColumnKeys []string `mandatory:"false" json:"parentColumnKeys"`

	// Original data values collected for the sensitive column from the associated database. Sample data helps review
	// the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data
	// discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data
	// value is collected per sensitive column.
	SampleDataValues []string `mandatory:"false" json:"sampleDataValues"`
}

SensitiveColumnSummary Summary of a sensitive column present in a sensitive data model.

func (SensitiveColumnSummary) String ¶

func (m SensitiveColumnSummary) String() string

func (SensitiveColumnSummary) ValidateEnumValue ¶

func (m SensitiveColumnSummary) 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 SensitiveColumnSummaryObjectTypeEnum ¶

type SensitiveColumnSummaryObjectTypeEnum string

SensitiveColumnSummaryObjectTypeEnum Enum with underlying type: string

const (
	SensitiveColumnSummaryObjectTypeTable          SensitiveColumnSummaryObjectTypeEnum = "TABLE"
	SensitiveColumnSummaryObjectTypeEditioningView SensitiveColumnSummaryObjectTypeEnum = "EDITIONING_VIEW"
)

Set of constants representing the allowable values for SensitiveColumnSummaryObjectTypeEnum

func GetMappingSensitiveColumnSummaryObjectTypeEnum ¶

func GetMappingSensitiveColumnSummaryObjectTypeEnum(val string) (SensitiveColumnSummaryObjectTypeEnum, bool)

GetMappingSensitiveColumnSummaryObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnSummaryObjectTypeEnumValues ¶

func GetSensitiveColumnSummaryObjectTypeEnumValues() []SensitiveColumnSummaryObjectTypeEnum

GetSensitiveColumnSummaryObjectTypeEnumValues Enumerates the set of values for SensitiveColumnSummaryObjectTypeEnum

type SensitiveColumnSummaryRelationTypeEnum ¶

type SensitiveColumnSummaryRelationTypeEnum string

SensitiveColumnSummaryRelationTypeEnum Enum with underlying type: string

const (
	SensitiveColumnSummaryRelationTypeNone       SensitiveColumnSummaryRelationTypeEnum = "NONE"
	SensitiveColumnSummaryRelationTypeAppDefined SensitiveColumnSummaryRelationTypeEnum = "APP_DEFINED"
	SensitiveColumnSummaryRelationTypeDbDefined  SensitiveColumnSummaryRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for SensitiveColumnSummaryRelationTypeEnum

func GetMappingSensitiveColumnSummaryRelationTypeEnum ¶

func GetMappingSensitiveColumnSummaryRelationTypeEnum(val string) (SensitiveColumnSummaryRelationTypeEnum, bool)

GetMappingSensitiveColumnSummaryRelationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnSummaryRelationTypeEnumValues ¶

func GetSensitiveColumnSummaryRelationTypeEnumValues() []SensitiveColumnSummaryRelationTypeEnum

GetSensitiveColumnSummaryRelationTypeEnumValues Enumerates the set of values for SensitiveColumnSummaryRelationTypeEnum

type SensitiveColumnSummarySourceEnum ¶

type SensitiveColumnSummarySourceEnum string

SensitiveColumnSummarySourceEnum Enum with underlying type: string

const (
	SensitiveColumnSummarySourceManual    SensitiveColumnSummarySourceEnum = "MANUAL"
	SensitiveColumnSummarySourceDiscovery SensitiveColumnSummarySourceEnum = "DISCOVERY"
)

Set of constants representing the allowable values for SensitiveColumnSummarySourceEnum

func GetMappingSensitiveColumnSummarySourceEnum ¶

func GetMappingSensitiveColumnSummarySourceEnum(val string) (SensitiveColumnSummarySourceEnum, bool)

GetMappingSensitiveColumnSummarySourceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnSummarySourceEnumValues ¶

func GetSensitiveColumnSummarySourceEnumValues() []SensitiveColumnSummarySourceEnum

GetSensitiveColumnSummarySourceEnumValues Enumerates the set of values for SensitiveColumnSummarySourceEnum

type SensitiveColumnSummaryStatusEnum ¶

type SensitiveColumnSummaryStatusEnum string

SensitiveColumnSummaryStatusEnum Enum with underlying type: string

const (
	SensitiveColumnSummaryStatusValid   SensitiveColumnSummaryStatusEnum = "VALID"
	SensitiveColumnSummaryStatusInvalid SensitiveColumnSummaryStatusEnum = "INVALID"
)

Set of constants representing the allowable values for SensitiveColumnSummaryStatusEnum

func GetMappingSensitiveColumnSummaryStatusEnum ¶

func GetMappingSensitiveColumnSummaryStatusEnum(val string) (SensitiveColumnSummaryStatusEnum, bool)

GetMappingSensitiveColumnSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveColumnSummaryStatusEnumValues ¶

func GetSensitiveColumnSummaryStatusEnumValues() []SensitiveColumnSummaryStatusEnum

GetSensitiveColumnSummaryStatusEnumValues Enumerates the set of values for SensitiveColumnSummaryStatusEnum

type SensitiveDataModel ¶

type SensitiveDataModel struct {

	// The OCID of the sensitive data model.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the sensitive data model.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the sensitive data model.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the reference target database associated with the sensitive data model. All operations such as
	// performing data discovery and adding columns manually are done in the context of the associated target database.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The date and time the sensitive data model was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the sensitive data model was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the sensitive data model.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The application suite name identifying a collection of applications. The default value is GENERIC. It's useful
	// only if maintaining a sensitive data model for a suite of applications.
	AppSuiteName *string `mandatory:"true" json:"appSuiteName"`

	// Indicates if data discovery jobs should collect and store sample data values for the discovered columns.
	// Sample data helps review the discovered columns and ensure that they actually contain sensitive data.
	// As it collects original data from the target database, it's disabled by default and should be used only if
	// it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values
	// are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
	IsSampleDataCollectionEnabled *bool `mandatory:"true" json:"isSampleDataCollectionEnabled"`

	// Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential
	// relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined)
	// relationships. This option helps identify application-level relationships that are not defined in the database dictionary,
	// which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking.
	// It's disabled by default and should be used only if there is a need to identify application-level relationships.
	IsAppDefinedRelationDiscoveryEnabled *bool `mandatory:"true" json:"isAppDefinedRelationDiscoveryEnabled"`

	// Indicates if all the schemas in the associated target database should be scanned by data discovery jobs.
	// If it's set to true, the schemasForDiscovery attribute is ignored and all schemas are used for data discovery.
	IsIncludeAllSchemas *bool `mandatory:"true" json:"isIncludeAllSchemas"`

	// Indicates if all the existing sensitive types should be used by data discovery jobs.If it's set to true, the
	// sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
	IsIncludeAllSensitiveTypes *bool `mandatory:"true" json:"isIncludeAllSensitiveTypes"`

	// The description of the sensitive data model.
	Description *string `mandatory:"false" json:"description"`

	// The schemas to be scanned by data discovery jobs.
	SchemasForDiscovery []string `mandatory:"false" json:"schemasForDiscovery"`

	// The OCIDs of the sensitive types to be used by data discovery jobs.
	SensitiveTypeIdsForDiscovery []string `mandatory:"false" json:"sensitiveTypeIdsForDiscovery"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

SensitiveDataModel A sensitive data model is a collection of sensitive columns and their referential relationships. It helps understand the sensitive data landscape, track changes, and efficiently enable security controls such as data masking. It can be managed either manually or by performing sensitive data discovery on a reference target database. Learn more (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-data-models1.html#GUID-849CA7D2-1809-40DD-B6D7-44E46EFF7EB5).

func (SensitiveDataModel) String ¶

func (m SensitiveDataModel) String() string

func (SensitiveDataModel) ValidateEnumValue ¶

func (m SensitiveDataModel) 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 SensitiveDataModelCollection ¶

type SensitiveDataModelCollection struct {

	// An array of sensitive data model summary objects.
	Items []SensitiveDataModelSummary `mandatory:"true" json:"items"`
}

SensitiveDataModelCollection A collection of sensitive data model summary objects.

func (SensitiveDataModelCollection) String ¶

func (SensitiveDataModelCollection) ValidateEnumValue ¶

func (m SensitiveDataModelCollection) 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 SensitiveDataModelSummary ¶

type SensitiveDataModelSummary struct {

	// The OCID of the sensitive data model.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the sensitive data model.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the sensitive data model.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the reference target database associated with the sensitive data model. All operations such as
	// performing data discovery and adding columns manually are done in the context of the associated target database.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The date and time the sensitive data model was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the sensitive data model was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the sensitive data model.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The application suite name identifying a collection of applications. The default value is GENERIC. It's useful
	// only if maintaining a sensitive data model for a suite of applications.
	AppSuiteName *string `mandatory:"true" json:"appSuiteName"`

	// The description of the sensitive data model.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SensitiveDataModelSummary Summary of a sensitive data model.

func (SensitiveDataModelSummary) String ¶

func (m SensitiveDataModelSummary) String() string

func (SensitiveDataModelSummary) ValidateEnumValue ¶

func (m SensitiveDataModelSummary) 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 SensitiveObjectCollection ¶ added in v65.35.0

type SensitiveObjectCollection struct {

	// An array of sensitive object summary objects.
	Items []SensitiveObjectSummary `mandatory:"true" json:"items"`
}

SensitiveObjectCollection A collection of sensitive object summary objects.

func (SensitiveObjectCollection) String ¶ added in v65.35.0

func (m SensitiveObjectCollection) String() string

func (SensitiveObjectCollection) ValidateEnumValue ¶ added in v65.35.0

func (m SensitiveObjectCollection) 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 SensitiveObjectSummary ¶ added in v65.35.0

type SensitiveObjectSummary struct {

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`

	// The database object that contains the sensitive column.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The type of the database object that contains the sensitive column.
	ObjectType ObjectTypeEnum `mandatory:"true" json:"objectType"`
}

SensitiveObjectSummary Summary of a sensitive object present in a sensitive data model.

func (SensitiveObjectSummary) String ¶ added in v65.35.0

func (m SensitiveObjectSummary) String() string

func (SensitiveObjectSummary) ValidateEnumValue ¶ added in v65.35.0

func (m SensitiveObjectSummary) 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 SensitiveSchemaCollection ¶ added in v65.35.0

type SensitiveSchemaCollection struct {

	// An array of sensitive schema summary objects.
	Items []SensitiveSchemaSummary `mandatory:"true" json:"items"`
}

SensitiveSchemaCollection A collection of sensitive schema summary objects.

func (SensitiveSchemaCollection) String ¶ added in v65.35.0

func (m SensitiveSchemaCollection) String() string

func (SensitiveSchemaCollection) ValidateEnumValue ¶ added in v65.35.0

func (m SensitiveSchemaCollection) 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 SensitiveSchemaSummary ¶ added in v65.35.0

type SensitiveSchemaSummary struct {

	// The database schema that contains the sensitive column.
	SchemaName *string `mandatory:"true" json:"schemaName"`
}

SensitiveSchemaSummary Summary of a sensitive schema present in a sensitive data model.

func (SensitiveSchemaSummary) String ¶ added in v65.35.0

func (m SensitiveSchemaSummary) String() string

func (SensitiveSchemaSummary) ValidateEnumValue ¶ added in v65.35.0

func (m SensitiveSchemaSummary) 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 SensitiveType ¶

type SensitiveType interface {

	// The OCID of the sensitive type.
	GetId() *string

	// The display name of the sensitive type.
	GetDisplayName() *string

	// The OCID of the compartment that contains the sensitive type.
	GetCompartmentId() *string

	// The current state of the sensitive type.
	GetLifecycleState() DiscoveryLifecycleStateEnum

	// Specifies whether the sensitive type is user-defined or predefined.
	GetSource() SensitiveTypeSourceEnum

	// The date and time the sensitive type was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	GetTimeCreated() *common.SDKTime

	// The date and time the sensitive type was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	GetTimeUpdated() *common.SDKTime

	// The short name of the sensitive type.
	GetShortName() *string

	// The description of the sensitive type.
	GetDescription() *string

	// The OCID of the parent sensitive category.
	GetParentCategoryId() *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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

SensitiveType A sensitive type defines a particular type or class of sensitive data. It can be a basic sensitive type with regular expressions or a sensitive category. While sensitive types are used for data discovery, sensitive categories are used for logically grouping the related or similar sensitive types. Learn more (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-45A5A3CB-5B67-4C75-9ACC-DD511D14E7C4).

type SensitiveTypeCollection ¶

type SensitiveTypeCollection struct {

	// An array of sensitive type summary objects.
	Items []SensitiveTypeSummary `mandatory:"true" json:"items"`
}

SensitiveTypeCollection A collection of sensitive type summary objects.

func (SensitiveTypeCollection) String ¶

func (m SensitiveTypeCollection) String() string

func (SensitiveTypeCollection) ValidateEnumValue ¶

func (m SensitiveTypeCollection) 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 SensitiveTypeEntityEnum ¶

type SensitiveTypeEntityEnum string

SensitiveTypeEntityEnum Enum with underlying type: string

const (
	SensitiveTypeEntitySensitiveType     SensitiveTypeEntityEnum = "SENSITIVE_TYPE"
	SensitiveTypeEntitySensitiveCategory SensitiveTypeEntityEnum = "SENSITIVE_CATEGORY"
)

Set of constants representing the allowable values for SensitiveTypeEntityEnum

func GetMappingSensitiveTypeEntityEnum ¶

func GetMappingSensitiveTypeEntityEnum(val string) (SensitiveTypeEntityEnum, bool)

GetMappingSensitiveTypeEntityEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveTypeEntityEnumValues ¶

func GetSensitiveTypeEntityEnumValues() []SensitiveTypeEntityEnum

GetSensitiveTypeEntityEnumValues Enumerates the set of values for SensitiveTypeEntityEnum

type SensitiveTypePattern ¶

type SensitiveTypePattern struct {

	// The OCID of the sensitive type.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the sensitive type.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the sensitive type.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the sensitive type was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the sensitive type was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// A regular expression to be used by data discovery for matching column names.
	NamePattern *string `mandatory:"false" json:"namePattern"`

	// A regular expression to be used by data discovery for matching column comments.
	CommentPattern *string `mandatory:"false" json:"commentPattern"`

	// A regular expression to be used by data discovery for matching column data values.
	DataPattern *string `mandatory:"false" json:"dataPattern"`

	// The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
	DefaultMaskingFormatId *string `mandatory:"false" json:"defaultMaskingFormatId"`

	// The search type indicating how the column name, comment and data patterns should be used by data discovery.
	// Learn more (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-1D1AD98E-B93F-4FF2-80AE-CB7D8A14F6CC).
	SearchType SensitiveTypePatternSearchTypeEnum `mandatory:"false" json:"searchType,omitempty"`

	// The current state of the sensitive type.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Specifies whether the sensitive type is user-defined or predefined.
	Source SensitiveTypeSourceEnum `mandatory:"true" json:"source"`
}

SensitiveTypePattern Details of the sensitive type.

func (SensitiveTypePattern) GetCompartmentId ¶

func (m SensitiveTypePattern) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (SensitiveTypePattern) GetDefinedTags ¶

func (m SensitiveTypePattern) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (SensitiveTypePattern) GetDescription ¶

func (m SensitiveTypePattern) GetDescription() *string

GetDescription returns Description

func (SensitiveTypePattern) GetDisplayName ¶

func (m SensitiveTypePattern) GetDisplayName() *string

GetDisplayName returns DisplayName

func (SensitiveTypePattern) GetFreeformTags ¶

func (m SensitiveTypePattern) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (SensitiveTypePattern) GetId ¶

func (m SensitiveTypePattern) GetId() *string

GetId returns Id

func (SensitiveTypePattern) GetLifecycleState ¶

func (m SensitiveTypePattern) GetLifecycleState() DiscoveryLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (SensitiveTypePattern) GetParentCategoryId ¶

func (m SensitiveTypePattern) GetParentCategoryId() *string

GetParentCategoryId returns ParentCategoryId

func (SensitiveTypePattern) GetShortName ¶

func (m SensitiveTypePattern) GetShortName() *string

GetShortName returns ShortName

func (SensitiveTypePattern) GetSource ¶

GetSource returns Source

func (SensitiveTypePattern) GetSystemTags ¶

func (m SensitiveTypePattern) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (SensitiveTypePattern) GetTimeCreated ¶

func (m SensitiveTypePattern) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SensitiveTypePattern) GetTimeUpdated ¶

func (m SensitiveTypePattern) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (SensitiveTypePattern) MarshalJSON ¶

func (m SensitiveTypePattern) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SensitiveTypePattern) String ¶

func (m SensitiveTypePattern) String() string

func (SensitiveTypePattern) ValidateEnumValue ¶

func (m SensitiveTypePattern) 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 SensitiveTypePatternSearchTypeEnum ¶

type SensitiveTypePatternSearchTypeEnum string

SensitiveTypePatternSearchTypeEnum Enum with underlying type: string

const (
	SensitiveTypePatternSearchTypeOr  SensitiveTypePatternSearchTypeEnum = "OR"
	SensitiveTypePatternSearchTypeAnd SensitiveTypePatternSearchTypeEnum = "AND"
)

Set of constants representing the allowable values for SensitiveTypePatternSearchTypeEnum

func GetMappingSensitiveTypePatternSearchTypeEnum ¶

func GetMappingSensitiveTypePatternSearchTypeEnum(val string) (SensitiveTypePatternSearchTypeEnum, bool)

GetMappingSensitiveTypePatternSearchTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveTypePatternSearchTypeEnumValues ¶

func GetSensitiveTypePatternSearchTypeEnumValues() []SensitiveTypePatternSearchTypeEnum

GetSensitiveTypePatternSearchTypeEnumValues Enumerates the set of values for SensitiveTypePatternSearchTypeEnum

type SensitiveTypeSourceEnum ¶

type SensitiveTypeSourceEnum string

SensitiveTypeSourceEnum Enum with underlying type: string

const (
	SensitiveTypeSourceOracle SensitiveTypeSourceEnum = "ORACLE"
	SensitiveTypeSourceUser   SensitiveTypeSourceEnum = "USER"
)

Set of constants representing the allowable values for SensitiveTypeSourceEnum

func GetMappingSensitiveTypeSourceEnum ¶

func GetMappingSensitiveTypeSourceEnum(val string) (SensitiveTypeSourceEnum, bool)

GetMappingSensitiveTypeSourceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSensitiveTypeSourceEnumValues ¶

func GetSensitiveTypeSourceEnumValues() []SensitiveTypeSourceEnum

GetSensitiveTypeSourceEnumValues Enumerates the set of values for SensitiveTypeSourceEnum

type SensitiveTypeSummary ¶

type SensitiveTypeSummary struct {

	// The OCID of the sensitive type.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the sensitive type.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the compartment that contains the sensitive type.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The current state of the sensitive type.
	LifecycleState DiscoveryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Specifies whether the sensitive type is user-defined or predefined.
	Source SensitiveTypeSourceEnum `mandatory:"true" json:"source"`

	// The date and time the sensitive type was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the sensitive type was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for
	// grouping similar sensitive types.
	EntityType SensitiveTypeEntityEnum `mandatory:"true" json:"entityType"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
	DefaultMaskingFormatId *string `mandatory:"false" json:"defaultMaskingFormatId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SensitiveTypeSummary Summary of a sensitive type.

func (SensitiveTypeSummary) String ¶

func (m SensitiveTypeSummary) String() string

func (SensitiveTypeSummary) ValidateEnumValue ¶

func (m SensitiveTypeSummary) 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 ServiceListEnum ¶

type ServiceListEnum string

ServiceListEnum Enum with underlying type: string

const (
	ServiceListDataSafe      ServiceListEnum = "DataSafe"
	ServiceListDataSafeDev   ServiceListEnum = "DataSafe-dev"
	ServiceListDataSafeDev1  ServiceListEnum = "DataSafe-dev1"
	ServiceListDataSafeDev2  ServiceListEnum = "DataSafe-dev2"
	ServiceListDataSafeDev3  ServiceListEnum = "DataSafe-dev3"
	ServiceListDataSafeDev4  ServiceListEnum = "DataSafe-dev4"
	ServiceListDataSafeDev5  ServiceListEnum = "DataSafe-dev5"
	ServiceListDataSafeDev6  ServiceListEnum = "DataSafe-dev6"
	ServiceListDataSafeDev7  ServiceListEnum = "DataSafe-dev7"
	ServiceListDataSafeDev8  ServiceListEnum = "DataSafe-dev8"
	ServiceListDataSafeDev9  ServiceListEnum = "DataSafe-dev9"
	ServiceListDataSafeLrg1  ServiceListEnum = "DataSafe-lrg1"
	ServiceListDataSafeLrg2  ServiceListEnum = "DataSafe-lrg2"
	ServiceListDataSafeLrg3  ServiceListEnum = "DataSafe-lrg3"
	ServiceListDataSafeLrg4  ServiceListEnum = "DataSafe-lrg4"
	ServiceListDataSafePtest ServiceListEnum = "DataSafe-ptest"
	ServiceListDataSafeStest ServiceListEnum = "DataSafe-stest"
	ServiceListDataSafeStage ServiceListEnum = "DataSafe-stage"
)

Set of constants representing the allowable values for ServiceListEnum

func GetMappingServiceListEnum ¶

func GetMappingServiceListEnum(val string) (ServiceListEnum, bool)

GetMappingServiceListEnum performs case Insensitive comparison on enum value and return the desired enum

func GetServiceListEnumValues ¶

func GetServiceListEnumValues() []ServiceListEnum

GetServiceListEnumValues Enumerates the set of values for ServiceListEnum

type SetSecurityAssessmentBaselineRequest ¶

type SetSecurityAssessmentBaselineRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Details of security assessment that need to be updated while setting the baseline.
	BaseLineDetails SecurityAssessmentBaseLineDetails `contributesTo:"body"`

	// 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
}

SetSecurityAssessmentBaselineRequest wrapper for the SetSecurityAssessmentBaseline operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/SetSecurityAssessmentBaseline.go.html to see an example of how to use SetSecurityAssessmentBaselineRequest.

func (SetSecurityAssessmentBaselineRequest) BinaryRequestBody ¶

func (request SetSecurityAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SetSecurityAssessmentBaselineRequest) HTTPRequest ¶

func (request SetSecurityAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SetSecurityAssessmentBaselineRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SetSecurityAssessmentBaselineRequest) String ¶

func (SetSecurityAssessmentBaselineRequest) ValidateEnumValue ¶

func (request SetSecurityAssessmentBaselineRequest) 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 SetSecurityAssessmentBaselineResponse ¶

type SetSecurityAssessmentBaselineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

SetSecurityAssessmentBaselineResponse wrapper for the SetSecurityAssessmentBaseline operation

func (SetSecurityAssessmentBaselineResponse) HTTPResponse ¶

func (response SetSecurityAssessmentBaselineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SetSecurityAssessmentBaselineResponse) String ¶

type SetUserAssessmentBaselineRequest ¶

type SetUserAssessmentBaselineRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Details of user assessment that need to be updated while setting the baseline.
	BaseLineDetails UserAssessmentBaseLineDetails `contributesTo:"body"`

	// 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
}

SetUserAssessmentBaselineRequest wrapper for the SetUserAssessmentBaseline operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/SetUserAssessmentBaseline.go.html to see an example of how to use SetUserAssessmentBaselineRequest.

func (SetUserAssessmentBaselineRequest) BinaryRequestBody ¶

func (request SetUserAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SetUserAssessmentBaselineRequest) HTTPRequest ¶

func (request SetUserAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SetUserAssessmentBaselineRequest) RetryPolicy ¶

func (request SetUserAssessmentBaselineRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SetUserAssessmentBaselineRequest) String ¶

func (request SetUserAssessmentBaselineRequest) String() string

func (SetUserAssessmentBaselineRequest) ValidateEnumValue ¶

func (request SetUserAssessmentBaselineRequest) 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 SetUserAssessmentBaselineResponse ¶

type SetUserAssessmentBaselineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

SetUserAssessmentBaselineResponse wrapper for the SetUserAssessmentBaseline operation

func (SetUserAssessmentBaselineResponse) HTTPResponse ¶

func (response SetUserAssessmentBaselineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SetUserAssessmentBaselineResponse) String ¶

func (response SetUserAssessmentBaselineResponse) String() string

type ShuffleFormatEntry ¶

type ShuffleFormatEntry struct {

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`

	// One or more reference columns to be used to group column values so that
	// they can be shuffled within their own group. The grouping columns and
	// the column to be masked must belong to the same table.
	GroupingColumns []string `mandatory:"false" json:"groupingColumns"`
}

ShuffleFormatEntry The Shuffle masking format randomly shuffles values within a column. It can also be used to shuffle column data within discrete units, or groups, where there is a relationship among the members of each group. To learn more, check Shuffle in the Data Safe documentation. The Shuffle masking format randomly shuffles values within a column. It can also be used to shuffle column data within discrete units, or groups, where there is a relationship among the members of each group. To learn more, check Shuffle in the Data Safe documentation.

func (ShuffleFormatEntry) GetDescription ¶

func (m ShuffleFormatEntry) GetDescription() *string

GetDescription returns Description

func (ShuffleFormatEntry) MarshalJSON ¶

func (m ShuffleFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ShuffleFormatEntry) String ¶

func (m ShuffleFormatEntry) String() string

func (ShuffleFormatEntry) ValidateEnumValue ¶

func (m ShuffleFormatEntry) 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 SortOrdersEnum ¶

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum ¶

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues ¶

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type SqlExpressionFormatEntry ¶

type SqlExpressionFormatEntry struct {

	// The SQL expression to be used to generate the masked values. It can
	// consist of one or more values, operators, and SQL functions that
	// evaluate to a value. It can also contain substitution columns from
	// the same table. Specify the substitution columns within percent (%)
	// symbols.
	SqlExpression *string `mandatory:"true" json:"sqlExpression"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

SqlExpressionFormatEntry The SQL Expression masking format uses a SQL expression to generate values that are used to replace the original data values. SQL expressions with dbms_lob and other user-defined functions can be used to mask columns of Large Object data type (LOB). To learn more, check SQL Expression in the Data Safe documentation.

func (SqlExpressionFormatEntry) GetDescription ¶

func (m SqlExpressionFormatEntry) GetDescription() *string

GetDescription returns Description

func (SqlExpressionFormatEntry) MarshalJSON ¶

func (m SqlExpressionFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SqlExpressionFormatEntry) String ¶

func (m SqlExpressionFormatEntry) String() string

func (SqlExpressionFormatEntry) ValidateEnumValue ¶

func (m SqlExpressionFormatEntry) 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 StartAuditTrailDetails ¶

type StartAuditTrailDetails struct {

	// The date from which the audit trail must start collecting data, in the format defined by RFC3339.
	AuditCollectionStartTime *common.SDKTime `mandatory:"true" json:"auditCollectionStartTime"`

	// Indicates if auto purge is enabled on the target database, which helps delete audit data in the
	// target database every seven days so that the database's audit trail does not become too large.
	IsAutoPurgeEnabled *bool `mandatory:"false" json:"isAutoPurgeEnabled"`
}

StartAuditTrailDetails The details used to start an audit trail.

func (StartAuditTrailDetails) String ¶

func (m StartAuditTrailDetails) String() string

func (StartAuditTrailDetails) ValidateEnumValue ¶

func (m StartAuditTrailDetails) 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 StartAuditTrailRequest ¶

type StartAuditTrailRequest struct {

	// Details for the starting audit.
	StartAuditTrailDetails `contributesTo:"body"`

	// The OCID of the audit trail.
	AuditTrailId *string `mandatory:"true" contributesTo:"path" name:"auditTrailId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

StartAuditTrailRequest wrapper for the StartAuditTrail operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/StartAuditTrail.go.html to see an example of how to use StartAuditTrailRequest.

func (StartAuditTrailRequest) BinaryRequestBody ¶

func (request StartAuditTrailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StartAuditTrailRequest) HTTPRequest ¶

func (request StartAuditTrailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartAuditTrailRequest) RetryPolicy ¶

func (request StartAuditTrailRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StartAuditTrailRequest) String ¶

func (request StartAuditTrailRequest) String() string

func (StartAuditTrailRequest) ValidateEnumValue ¶

func (request StartAuditTrailRequest) 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 StartAuditTrailResponse ¶

type StartAuditTrailResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

StartAuditTrailResponse wrapper for the StartAuditTrail operation

func (StartAuditTrailResponse) HTTPResponse ¶

func (response StartAuditTrailResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StartAuditTrailResponse) String ¶

func (response StartAuditTrailResponse) String() string

type StopAuditTrailRequest ¶

type StopAuditTrailRequest struct {

	// The OCID of the audit trail.
	AuditTrailId *string `mandatory:"true" contributesTo:"path" name:"auditTrailId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

StopAuditTrailRequest wrapper for the StopAuditTrail operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/StopAuditTrail.go.html to see an example of how to use StopAuditTrailRequest.

func (StopAuditTrailRequest) BinaryRequestBody ¶

func (request StopAuditTrailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StopAuditTrailRequest) HTTPRequest ¶

func (request StopAuditTrailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StopAuditTrailRequest) RetryPolicy ¶

func (request StopAuditTrailRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StopAuditTrailRequest) String ¶

func (request StopAuditTrailRequest) String() string

func (StopAuditTrailRequest) ValidateEnumValue ¶

func (request StopAuditTrailRequest) 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 StopAuditTrailResponse ¶

type StopAuditTrailResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

StopAuditTrailResponse wrapper for the StopAuditTrail operation

func (StopAuditTrailResponse) HTTPResponse ¶

func (response StopAuditTrailResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StopAuditTrailResponse) String ¶

func (response StopAuditTrailResponse) String() string

type SubstringFormatEntry ¶

type SubstringFormatEntry struct {

	// The starting position in the original string from where the substring
	// should be extracted. It can be either a positive or a negative integer.
	// If It's negative, the counting starts from the end of the string.
	StartPosition *int `mandatory:"true" json:"startPosition"`

	// The number of characters that should be there in the substring. It should
	// be an integer and greater than zero.
	Length *int `mandatory:"true" json:"length"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

SubstringFormatEntry The Substring masking format extracts a portion of the original column value and uses it to replace the original value. It internally uses the Oracle SUBSTR function. It takes the start position and length as input, extracts substring from the original value using SUBSTR, and uses the substring to replace the original value. To learn more, check Substring in the Data Safe documentation.

func (SubstringFormatEntry) GetDescription ¶

func (m SubstringFormatEntry) GetDescription() *string

GetDescription returns Description

func (SubstringFormatEntry) MarshalJSON ¶

func (m SubstringFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SubstringFormatEntry) String ¶

func (m SubstringFormatEntry) String() string

func (SubstringFormatEntry) ValidateEnumValue ¶

func (m SubstringFormatEntry) 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 Summary ¶

type Summary struct {

	// Name of the report summary.
	Name *string `mandatory:"true" json:"name"`

	// Specifies the order in which the summary must be displayed.
	DisplayOrder *int `mandatory:"true" json:"displayOrder"`

	// Indicates if the summary is hidden. Values can either be 'true' or 'false'.
	IsHidden *bool `mandatory:"false" json:"isHidden"`

	// A comma-delimited string that specifies the names of the fields by which the records must be aggregated to get the summary.
	GroupByFieldName *string `mandatory:"false" json:"groupByFieldName"`

	// Name of the key or count of object.
	CountOf *string `mandatory:"false" json:"countOf"`

	// Additional scim filters used to get the specific summary.
	ScimFilter *string `mandatory:"false" json:"scimFilter"`
}

Summary Summary of the audit report.

func (Summary) String ¶

func (m Summary) String() string

func (Summary) ValidateEnumValue ¶

func (m Summary) 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 SuspendWorkRequestRequest ¶

type SuspendWorkRequestRequest struct {

	// The OCID of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

SuspendWorkRequestRequest wrapper for the SuspendWorkRequest operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/SuspendWorkRequest.go.html to see an example of how to use SuspendWorkRequestRequest.

func (SuspendWorkRequestRequest) BinaryRequestBody ¶

func (request SuspendWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SuspendWorkRequestRequest) HTTPRequest ¶

func (request SuspendWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SuspendWorkRequestRequest) RetryPolicy ¶

func (request SuspendWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SuspendWorkRequestRequest) String ¶

func (request SuspendWorkRequestRequest) String() string

func (SuspendWorkRequestRequest) ValidateEnumValue ¶

func (request SuspendWorkRequestRequest) 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 SuspendWorkRequestResponse ¶

type SuspendWorkRequestResponse 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"`

	// A non-negative integer representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int `presentIn:"header" name:"retry-after"`
}

SuspendWorkRequestResponse wrapper for the SuspendWorkRequest operation

func (SuspendWorkRequestResponse) HTTPResponse ¶

func (response SuspendWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SuspendWorkRequestResponse) String ¶

func (response SuspendWorkRequestResponse) String() string

type TableSummary ¶

type TableSummary struct {

	// Name of the table.
	TableName *string `mandatory:"true" json:"tableName"`

	// Name of the schema.
	SchemaName *string `mandatory:"true" json:"schemaName"`
}

TableSummary Details of a table fetched from the database.

func (TableSummary) String ¶

func (m TableSummary) String() string

func (TableSummary) ValidateEnumValue ¶

func (m TableSummary) 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 TargetAlertPolicyAssociation ¶

type TargetAlertPolicyAssociation struct {

	// The OCID of the target-alert policy association.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the policy.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Creation date and time of the alert policy, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Last date and time the alert policy was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the target-alert policy association.
	LifecycleState AlertPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The display name of the target-alert policy association.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Describes the target-alert policy association.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the alert policy.
	PolicyId *string `mandatory:"false" json:"policyId"`

	// The OCID of the target on which alert policy is to be applied.
	TargetId *string `mandatory:"false" json:"targetId"`

	// Indicates if the target-alert policy association is enabled or disabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TargetAlertPolicyAssociation The association of the target database to an alert policy.

func (TargetAlertPolicyAssociation) String ¶

func (TargetAlertPolicyAssociation) ValidateEnumValue ¶

func (m TargetAlertPolicyAssociation) 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 TargetAlertPolicyAssociationCollection ¶

type TargetAlertPolicyAssociationCollection struct {

	// Array of target to alert policy summary
	Items []TargetAlertPolicyAssociationSummary `mandatory:"true" json:"items"`
}

TargetAlertPolicyAssociationCollection Collection of target to alert policy summary.

func (TargetAlertPolicyAssociationCollection) String ¶

func (TargetAlertPolicyAssociationCollection) ValidateEnumValue ¶

func (m TargetAlertPolicyAssociationCollection) 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 TargetAlertPolicyAssociationSummary ¶

type TargetAlertPolicyAssociationSummary struct {

	// The OCID of the target-alert policy association.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the target-alert policy association.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Creation date and time of the target-alert policy association, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Last date and time the target-alert policy association was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the target-alert policy association.
	LifecycleState AlertPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The display name of the target-alert policy association.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Describes the target-alert policy association.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the alert policy.
	PolicyId *string `mandatory:"false" json:"policyId"`

	// The OCID of the target on which alert policy is to be applied.
	TargetId *string `mandatory:"false" json:"targetId"`

	// Indicates if the target-alert policy association is enabled or disabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

TargetAlertPolicyAssociationSummary A summary of target to alert policy association.

func (TargetAlertPolicyAssociationSummary) String ¶

func (TargetAlertPolicyAssociationSummary) ValidateEnumValue ¶

func (m TargetAlertPolicyAssociationSummary) 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 TargetDatabase ¶

type TargetDatabase struct {

	// The OCID of the compartment which contains the Data Safe target database.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Data Safe target database.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the target database in Data Safe.
	DisplayName *string `mandatory:"true" json:"displayName"`

	DatabaseDetails DatabaseDetails `mandatory:"true" json:"databaseDetails"`

	// The current state of the target database in Data Safe.
	LifecycleState TargetDatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time of target database registration and creation in Data Safe.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The description of the target database in Data Safe.
	Description *string `mandatory:"false" json:"description"`

	Credentials *Credentials `mandatory:"false" json:"credentials"`

	TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"`

	ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"`

	// The OCIDs of associated resources like Database, Data Safe private endpoint etc.
	AssociatedResourceIds []string `mandatory:"false" json:"associatedResourceIds"`

	// Details about the current state of the target database in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The date and time of the target database update in Data Safe.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TargetDatabase The details of the Data Safe target database.

func (TargetDatabase) String ¶

func (m TargetDatabase) String() string

func (*TargetDatabase) UnmarshalJSON ¶

func (m *TargetDatabase) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (TargetDatabase) ValidateEnumValue ¶

func (m TargetDatabase) 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 TargetDatabaseLifecycleStateEnum ¶

type TargetDatabaseLifecycleStateEnum string

TargetDatabaseLifecycleStateEnum Enum with underlying type: string

const (
	TargetDatabaseLifecycleStateCreating       TargetDatabaseLifecycleStateEnum = "CREATING"
	TargetDatabaseLifecycleStateUpdating       TargetDatabaseLifecycleStateEnum = "UPDATING"
	TargetDatabaseLifecycleStateActive         TargetDatabaseLifecycleStateEnum = "ACTIVE"
	TargetDatabaseLifecycleStateInactive       TargetDatabaseLifecycleStateEnum = "INACTIVE"
	TargetDatabaseLifecycleStateDeleting       TargetDatabaseLifecycleStateEnum = "DELETING"
	TargetDatabaseLifecycleStateDeleted        TargetDatabaseLifecycleStateEnum = "DELETED"
	TargetDatabaseLifecycleStateNeedsAttention TargetDatabaseLifecycleStateEnum = "NEEDS_ATTENTION"
	TargetDatabaseLifecycleStateFailed         TargetDatabaseLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for TargetDatabaseLifecycleStateEnum

func GetMappingTargetDatabaseLifecycleStateEnum ¶

func GetMappingTargetDatabaseLifecycleStateEnum(val string) (TargetDatabaseLifecycleStateEnum, bool)

GetMappingTargetDatabaseLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetDatabaseLifecycleStateEnumValues ¶

func GetTargetDatabaseLifecycleStateEnumValues() []TargetDatabaseLifecycleStateEnum

GetTargetDatabaseLifecycleStateEnumValues Enumerates the set of values for TargetDatabaseLifecycleStateEnum

type TargetDatabaseSummary ¶

type TargetDatabaseSummary struct {

	// The OCID of the compartment that contains the Data Safe target database.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Data Safe target database.
	Id *string `mandatory:"true" json:"id"`

	// The display name of the target database in Data Safe.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The infrastructure type the database is running on.
	InfrastructureType InfrastructureTypeEnum `mandatory:"true" json:"infrastructureType"`

	// The database type.
	DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"`

	// The current state of the target database in Data Safe.
	LifecycleState TargetDatabaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the database was registered in Data Safe and created as a target database in Data Safe.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The description of the target database in Data Safe.
	Description *string `mandatory:"false" json:"description"`

	// The OCIDs of associated resources like Database, Data Safe private endpoint etc.
	AssociatedResourceIds []string `mandatory:"false" json:"associatedResourceIds"`

	// Details about the current state of the target database in Data Safe.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

TargetDatabaseSummary Summary of a Data Safe target database.

func (TargetDatabaseSummary) String ¶

func (m TargetDatabaseSummary) String() string

func (TargetDatabaseSummary) ValidateEnumValue ¶

func (m TargetDatabaseSummary) 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 TlsConfig ¶

type TlsConfig struct {

	// Status to represent whether the database connection is TLS enabled or not.
	Status TlsConfigStatusEnum `mandatory:"true" json:"status"`

	// The format of the certificate store.
	CertificateStoreType TlsConfigCertificateStoreTypeEnum `mandatory:"false" json:"certificateStoreType,omitempty"`

	// The password to read the trust store and key store files, if they are password protected.
	StorePassword *string `mandatory:"false" json:"storePassword"`

	// Base64 encoded string of trust store file content.
	TrustStoreContent *string `mandatory:"false" json:"trustStoreContent"`

	// Base64 encoded string of key store file content.
	KeyStoreContent *string `mandatory:"false" json:"keyStoreContent"`
}

TlsConfig The details required to establish a TLS enabled connection.

func (TlsConfig) String ¶

func (m TlsConfig) String() string

func (TlsConfig) ValidateEnumValue ¶

func (m TlsConfig) 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 TlsConfigCertificateStoreTypeEnum ¶

type TlsConfigCertificateStoreTypeEnum string

TlsConfigCertificateStoreTypeEnum Enum with underlying type: string

const (
	TlsConfigCertificateStoreTypeJks TlsConfigCertificateStoreTypeEnum = "JKS"
)

Set of constants representing the allowable values for TlsConfigCertificateStoreTypeEnum

func GetMappingTlsConfigCertificateStoreTypeEnum ¶

func GetMappingTlsConfigCertificateStoreTypeEnum(val string) (TlsConfigCertificateStoreTypeEnum, bool)

GetMappingTlsConfigCertificateStoreTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTlsConfigCertificateStoreTypeEnumValues ¶

func GetTlsConfigCertificateStoreTypeEnumValues() []TlsConfigCertificateStoreTypeEnum

GetTlsConfigCertificateStoreTypeEnumValues Enumerates the set of values for TlsConfigCertificateStoreTypeEnum

type TlsConfigStatusEnum ¶

type TlsConfigStatusEnum string

TlsConfigStatusEnum Enum with underlying type: string

const (
	TlsConfigStatusEnabled  TlsConfigStatusEnum = "ENABLED"
	TlsConfigStatusDisabled TlsConfigStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for TlsConfigStatusEnum

func GetMappingTlsConfigStatusEnum ¶

func GetMappingTlsConfigStatusEnum(val string) (TlsConfigStatusEnum, bool)

GetMappingTlsConfigStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTlsConfigStatusEnumValues ¶

func GetTlsConfigStatusEnumValues() []TlsConfigStatusEnum

GetTlsConfigStatusEnumValues Enumerates the set of values for TlsConfigStatusEnum

type TruncateTableFormatEntry ¶

type TruncateTableFormatEntry struct {

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

TruncateTableFormatEntry The Truncate Table masking format drops all the rows in a table. If one of the columns in a table is masked using Truncate Table, the entire table is truncated, so no other masking format can be used for any of the other columns in that table. If a table is being truncated, it cannot be referred to by a foreign key constraint or a dependent column. To learn more, check Truncate Table in the Data Safe documentation.

func (TruncateTableFormatEntry) GetDescription ¶

func (m TruncateTableFormatEntry) GetDescription() *string

GetDescription returns Description

func (TruncateTableFormatEntry) MarshalJSON ¶

func (m TruncateTableFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TruncateTableFormatEntry) String ¶

func (m TruncateTableFormatEntry) String() string

func (TruncateTableFormatEntry) ValidateEnumValue ¶

func (m TruncateTableFormatEntry) 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 UdfFormatEntry ¶

type UdfFormatEntry struct {

	// The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format.
	// It can be a standalone or packaged function, so PACKAGE_NAME is optional.
	UserDefinedFunction *string `mandatory:"true" json:"userDefinedFunction"`

	// The description of the format entry.
	Description *string `mandatory:"false" json:"description"`
}

UdfFormatEntry The User Defined Function masking format lets you define your own logic to mask column data. The return value of the user-defined function is used to replace the original values. The user-defined function has a fixed signature and is a PL/SQL function that can be invoked in a SELECT statement. To learn more, check User Defined Function in the Data Safe documentation.

func (UdfFormatEntry) GetDescription ¶

func (m UdfFormatEntry) GetDescription() *string

GetDescription returns Description

func (UdfFormatEntry) MarshalJSON ¶

func (m UdfFormatEntry) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UdfFormatEntry) String ¶

func (m UdfFormatEntry) String() string

func (UdfFormatEntry) ValidateEnumValue ¶

func (m UdfFormatEntry) 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 UnsetSecurityAssessmentBaselineRequest ¶

type UnsetSecurityAssessmentBaselineRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UnsetSecurityAssessmentBaselineRequest wrapper for the UnsetSecurityAssessmentBaseline operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UnsetSecurityAssessmentBaseline.go.html to see an example of how to use UnsetSecurityAssessmentBaselineRequest.

func (UnsetSecurityAssessmentBaselineRequest) BinaryRequestBody ¶

func (request UnsetSecurityAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UnsetSecurityAssessmentBaselineRequest) HTTPRequest ¶

func (request UnsetSecurityAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UnsetSecurityAssessmentBaselineRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UnsetSecurityAssessmentBaselineRequest) String ¶

func (UnsetSecurityAssessmentBaselineRequest) ValidateEnumValue ¶

func (request UnsetSecurityAssessmentBaselineRequest) 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 UnsetSecurityAssessmentBaselineResponse ¶

type UnsetSecurityAssessmentBaselineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UnsetSecurityAssessmentBaselineResponse wrapper for the UnsetSecurityAssessmentBaseline operation

func (UnsetSecurityAssessmentBaselineResponse) HTTPResponse ¶

func (response UnsetSecurityAssessmentBaselineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UnsetSecurityAssessmentBaselineResponse) String ¶

type UnsetUserAssessmentBaselineRequest ¶

type UnsetUserAssessmentBaselineRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UnsetUserAssessmentBaselineRequest wrapper for the UnsetUserAssessmentBaseline operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UnsetUserAssessmentBaseline.go.html to see an example of how to use UnsetUserAssessmentBaselineRequest.

func (UnsetUserAssessmentBaselineRequest) BinaryRequestBody ¶

func (request UnsetUserAssessmentBaselineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UnsetUserAssessmentBaselineRequest) HTTPRequest ¶

func (request UnsetUserAssessmentBaselineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UnsetUserAssessmentBaselineRequest) RetryPolicy ¶

func (request UnsetUserAssessmentBaselineRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UnsetUserAssessmentBaselineRequest) String ¶

func (request UnsetUserAssessmentBaselineRequest) String() string

func (UnsetUserAssessmentBaselineRequest) ValidateEnumValue ¶

func (request UnsetUserAssessmentBaselineRequest) 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 UnsetUserAssessmentBaselineResponse ¶

type UnsetUserAssessmentBaselineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UnsetUserAssessmentBaselineResponse wrapper for the UnsetUserAssessmentBaseline operation

func (UnsetUserAssessmentBaselineResponse) HTTPResponse ¶

func (response UnsetUserAssessmentBaselineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UnsetUserAssessmentBaselineResponse) String ¶

func (response UnsetUserAssessmentBaselineResponse) String() string

type UpdateAlertDetails ¶

type UpdateAlertDetails struct {

	// A comment can be entered to track the alert changes done by the user.
	Comment *string `mandatory:"false" json:"comment"`

	// The status of the alert.
	Status AlertStatusEnum `mandatory:"false" json:"status,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateAlertDetails The details used to update an alert.

func (UpdateAlertDetails) String ¶

func (m UpdateAlertDetails) String() string

func (UpdateAlertDetails) ValidateEnumValue ¶

func (m UpdateAlertDetails) 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 UpdateAlertPolicyRuleDetails ¶

type UpdateAlertPolicyRuleDetails struct {

	// Describes the alert policy rule.
	Description *string `mandatory:"false" json:"description"`

	// The conditional expression of the alert policy rule which evaluates to boolean value.
	Expression *string `mandatory:"false" json:"expression"`
}

UpdateAlertPolicyRuleDetails The details used to update a alert policy rule.

func (UpdateAlertPolicyRuleDetails) String ¶

func (UpdateAlertPolicyRuleDetails) ValidateEnumValue ¶

func (m UpdateAlertPolicyRuleDetails) 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 UpdateAlertRequest ¶

type UpdateAlertRequest struct {

	// The OCID of alert.
	AlertId *string `mandatory:"true" contributesTo:"path" name:"alertId"`

	// The details used to update alert status.
	UpdateAlertDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateAlertRequest wrapper for the UpdateAlert operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateAlert.go.html to see an example of how to use UpdateAlertRequest.

func (UpdateAlertRequest) BinaryRequestBody ¶

func (request UpdateAlertRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAlertRequest) HTTPRequest ¶

func (request UpdateAlertRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAlertRequest) RetryPolicy ¶

func (request UpdateAlertRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAlertRequest) String ¶

func (request UpdateAlertRequest) String() string

func (UpdateAlertRequest) ValidateEnumValue ¶

func (request UpdateAlertRequest) 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 UpdateAlertResponse ¶

type UpdateAlertResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Alert instance
	Alert `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven)
	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"`
}

UpdateAlertResponse wrapper for the UpdateAlert operation

func (UpdateAlertResponse) HTTPResponse ¶

func (response UpdateAlertResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAlertResponse) String ¶

func (response UpdateAlertResponse) String() string

type UpdateAuditArchiveRetrievalDetails ¶

type UpdateAuditArchiveRetrievalDetails struct {

	// The display name of the archive retrieval. The name does not have to be unique, and is changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description of the archive retrieval.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateAuditArchiveRetrievalDetails Details to update the audit archive retrieval.

func (UpdateAuditArchiveRetrievalDetails) String ¶

func (UpdateAuditArchiveRetrievalDetails) ValidateEnumValue ¶

func (m UpdateAuditArchiveRetrievalDetails) 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 UpdateAuditArchiveRetrievalRequest ¶

type UpdateAuditArchiveRetrievalRequest struct {

	// OCID of the archive retrieval.
	AuditArchiveRetrievalId *string `mandatory:"true" contributesTo:"path" name:"auditArchiveRetrievalId"`

	// Details to update the audit archive retrieval.
	UpdateAuditArchiveRetrievalDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateAuditArchiveRetrievalRequest wrapper for the UpdateAuditArchiveRetrieval operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateAuditArchiveRetrieval.go.html to see an example of how to use UpdateAuditArchiveRetrievalRequest.

func (UpdateAuditArchiveRetrievalRequest) BinaryRequestBody ¶

func (request UpdateAuditArchiveRetrievalRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAuditArchiveRetrievalRequest) HTTPRequest ¶

func (request UpdateAuditArchiveRetrievalRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAuditArchiveRetrievalRequest) RetryPolicy ¶

func (request UpdateAuditArchiveRetrievalRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAuditArchiveRetrievalRequest) String ¶

func (request UpdateAuditArchiveRetrievalRequest) String() string

func (UpdateAuditArchiveRetrievalRequest) ValidateEnumValue ¶

func (request UpdateAuditArchiveRetrievalRequest) 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 UpdateAuditArchiveRetrievalResponse ¶

type UpdateAuditArchiveRetrievalResponse 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"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateAuditArchiveRetrievalResponse wrapper for the UpdateAuditArchiveRetrieval operation

func (UpdateAuditArchiveRetrievalResponse) HTTPResponse ¶

func (response UpdateAuditArchiveRetrievalResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAuditArchiveRetrievalResponse) String ¶

func (response UpdateAuditArchiveRetrievalResponse) String() string

type UpdateAuditPolicyDetails ¶

type UpdateAuditPolicyDetails struct {

	// The display name of the audit policy. The name does not have to be unique, and it is changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the audit policy.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateAuditPolicyDetails Details to update the audit policy.

func (UpdateAuditPolicyDetails) String ¶

func (m UpdateAuditPolicyDetails) String() string

func (UpdateAuditPolicyDetails) ValidateEnumValue ¶

func (m UpdateAuditPolicyDetails) 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 UpdateAuditPolicyRequest ¶

type UpdateAuditPolicyRequest struct {

	// Unique audit policy identifier.
	AuditPolicyId *string `mandatory:"true" contributesTo:"path" name:"auditPolicyId"`

	// Details to update the audit policy.
	UpdateAuditPolicyDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateAuditPolicyRequest wrapper for the UpdateAuditPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateAuditPolicy.go.html to see an example of how to use UpdateAuditPolicyRequest.

func (UpdateAuditPolicyRequest) BinaryRequestBody ¶

func (request UpdateAuditPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAuditPolicyRequest) HTTPRequest ¶

func (request UpdateAuditPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAuditPolicyRequest) RetryPolicy ¶

func (request UpdateAuditPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAuditPolicyRequest) String ¶

func (request UpdateAuditPolicyRequest) String() string

func (UpdateAuditPolicyRequest) ValidateEnumValue ¶

func (request UpdateAuditPolicyRequest) 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 UpdateAuditPolicyResponse ¶

type UpdateAuditPolicyResponse 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"`

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateAuditPolicyResponse wrapper for the UpdateAuditPolicy operation

func (UpdateAuditPolicyResponse) HTTPResponse ¶

func (response UpdateAuditPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAuditPolicyResponse) String ¶

func (response UpdateAuditPolicyResponse) String() string

type UpdateAuditProfileDetails ¶

type UpdateAuditProfileDetails struct {

	// The description of the audit profile.
	Description *string `mandatory:"false" json:"description"`

	// The display name of the audit profile. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database,
	// potentially incurring additional charges. The default value is inherited from the global settings.
	// You can change at the global level or at the target level.
	IsPaidUsageEnabled *bool `mandatory:"false" json:"isPaidUsageEnabled"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateAuditProfileDetails The details used to update a audit profile.

func (UpdateAuditProfileDetails) String ¶

func (m UpdateAuditProfileDetails) String() string

func (UpdateAuditProfileDetails) ValidateEnumValue ¶

func (m UpdateAuditProfileDetails) 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 UpdateAuditProfileRequest ¶

type UpdateAuditProfileRequest struct {

	// The OCID of the audit.
	AuditProfileId *string `mandatory:"true" contributesTo:"path" name:"auditProfileId"`

	// The information to be updated.
	UpdateAuditProfileDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateAuditProfileRequest wrapper for the UpdateAuditProfile operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateAuditProfile.go.html to see an example of how to use UpdateAuditProfileRequest.

func (UpdateAuditProfileRequest) BinaryRequestBody ¶

func (request UpdateAuditProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAuditProfileRequest) HTTPRequest ¶

func (request UpdateAuditProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAuditProfileRequest) RetryPolicy ¶

func (request UpdateAuditProfileRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAuditProfileRequest) String ¶

func (request UpdateAuditProfileRequest) String() string

func (UpdateAuditProfileRequest) ValidateEnumValue ¶

func (request UpdateAuditProfileRequest) 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 UpdateAuditProfileResponse ¶

type UpdateAuditProfileResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateAuditProfileResponse wrapper for the UpdateAuditProfile operation

func (UpdateAuditProfileResponse) HTTPResponse ¶

func (response UpdateAuditProfileResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAuditProfileResponse) String ¶

func (response UpdateAuditProfileResponse) String() string

type UpdateAuditTrailDetails ¶

type UpdateAuditTrailDetails struct {

	// The description of the audit trail.
	Description *string `mandatory:"false" json:"description"`

	// The display name of the audit trail. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Indicates if auto purge is enabled on the target database, which helps delete audit data in the
	// target database every seven days so that the database's audit trail does not become too large.
	IsAutoPurgeEnabled *bool `mandatory:"false" json:"isAutoPurgeEnabled"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateAuditTrailDetails The details used to update an audit trail.

func (UpdateAuditTrailDetails) String ¶

func (m UpdateAuditTrailDetails) String() string

func (UpdateAuditTrailDetails) ValidateEnumValue ¶

func (m UpdateAuditTrailDetails) 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 UpdateAuditTrailRequest ¶

type UpdateAuditTrailRequest struct {

	// The OCID of the audit trail.
	AuditTrailId *string `mandatory:"true" contributesTo:"path" name:"auditTrailId"`

	// The information to be updated.
	UpdateAuditTrailDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateAuditTrailRequest wrapper for the UpdateAuditTrail operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateAuditTrail.go.html to see an example of how to use UpdateAuditTrailRequest.

func (UpdateAuditTrailRequest) BinaryRequestBody ¶

func (request UpdateAuditTrailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateAuditTrailRequest) HTTPRequest ¶

func (request UpdateAuditTrailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateAuditTrailRequest) RetryPolicy ¶

func (request UpdateAuditTrailRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateAuditTrailRequest) String ¶

func (request UpdateAuditTrailRequest) String() string

func (UpdateAuditTrailRequest) ValidateEnumValue ¶

func (request UpdateAuditTrailRequest) 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 UpdateAuditTrailResponse ¶

type UpdateAuditTrailResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateAuditTrailResponse wrapper for the UpdateAuditTrail operation

func (UpdateAuditTrailResponse) HTTPResponse ¶

func (response UpdateAuditTrailResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateAuditTrailResponse) String ¶

func (response UpdateAuditTrailResponse) String() string

type UpdateColumnSourceDetails ¶

type UpdateColumnSourceDetails interface {
}

UpdateColumnSourceDetails Details to update the column source of a masking policy.

type UpdateColumnSourceDetailsColumnSourceEnum ¶

type UpdateColumnSourceDetailsColumnSourceEnum string

UpdateColumnSourceDetailsColumnSourceEnum Enum with underlying type: string

const (
	UpdateColumnSourceDetailsColumnSourceTarget             UpdateColumnSourceDetailsColumnSourceEnum = "TARGET"
	UpdateColumnSourceDetailsColumnSourceSensitiveDataModel UpdateColumnSourceDetailsColumnSourceEnum = "SENSITIVE_DATA_MODEL"
)

Set of constants representing the allowable values for UpdateColumnSourceDetailsColumnSourceEnum

func GetMappingUpdateColumnSourceDetailsColumnSourceEnum ¶

func GetMappingUpdateColumnSourceDetailsColumnSourceEnum(val string) (UpdateColumnSourceDetailsColumnSourceEnum, bool)

GetMappingUpdateColumnSourceDetailsColumnSourceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateColumnSourceDetailsColumnSourceEnumValues ¶

func GetUpdateColumnSourceDetailsColumnSourceEnumValues() []UpdateColumnSourceDetailsColumnSourceEnum

GetUpdateColumnSourceDetailsColumnSourceEnumValues Enumerates the set of values for UpdateColumnSourceDetailsColumnSourceEnum

type UpdateColumnSourceSdmDetails ¶

type UpdateColumnSourceSdmDetails struct {

	// The OCID of the sensitive data model to be associated as the column source with the masking policy.
	SensitiveDataModelId *string `mandatory:"true" json:"sensitiveDataModelId"`
}

UpdateColumnSourceSdmDetails Details of the sensitive data model to be associated as the column source with a masking policy.

func (UpdateColumnSourceSdmDetails) MarshalJSON ¶

func (m UpdateColumnSourceSdmDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateColumnSourceSdmDetails) String ¶

func (UpdateColumnSourceSdmDetails) ValidateEnumValue ¶

func (m UpdateColumnSourceSdmDetails) 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 UpdateColumnSourceTargetDetails ¶

type UpdateColumnSourceTargetDetails struct {

	// The OCID of the target database to be associated as the column source with the masking policy.
	TargetId *string `mandatory:"true" json:"targetId"`
}

UpdateColumnSourceTargetDetails Details of the target database to be associated as the column source with a masking policy.

func (UpdateColumnSourceTargetDetails) MarshalJSON ¶

func (m UpdateColumnSourceTargetDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateColumnSourceTargetDetails) String ¶

func (UpdateColumnSourceTargetDetails) ValidateEnumValue ¶

func (m UpdateColumnSourceTargetDetails) 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 UpdateDataSafePrivateEndpointDetails ¶

type UpdateDataSafePrivateEndpointDetails struct {

	// The display name of the private endpoint.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the private endpoint.
	Description *string `mandatory:"false" json:"description"`

	// The OCIDs of the network security groups that the private endpoint belongs to.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDataSafePrivateEndpointDetails The details used to update a Data Safe private endpoint.

func (UpdateDataSafePrivateEndpointDetails) String ¶

func (UpdateDataSafePrivateEndpointDetails) ValidateEnumValue ¶

func (m UpdateDataSafePrivateEndpointDetails) 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 UpdateDataSafePrivateEndpointRequest ¶

type UpdateDataSafePrivateEndpointRequest struct {

	// The OCID of the private endpoint.
	DataSafePrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dataSafePrivateEndpointId"`

	// The details used to update a Data Safe private endpoint.
	UpdateDataSafePrivateEndpointDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateDataSafePrivateEndpointRequest wrapper for the UpdateDataSafePrivateEndpoint operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateDataSafePrivateEndpoint.go.html to see an example of how to use UpdateDataSafePrivateEndpointRequest.

func (UpdateDataSafePrivateEndpointRequest) BinaryRequestBody ¶

func (request UpdateDataSafePrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataSafePrivateEndpointRequest) HTTPRequest ¶

func (request UpdateDataSafePrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDataSafePrivateEndpointRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDataSafePrivateEndpointRequest) String ¶

func (UpdateDataSafePrivateEndpointRequest) ValidateEnumValue ¶

func (request UpdateDataSafePrivateEndpointRequest) 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 UpdateDataSafePrivateEndpointResponse ¶

type UpdateDataSafePrivateEndpointResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateDataSafePrivateEndpointResponse wrapper for the UpdateDataSafePrivateEndpoint operation

func (UpdateDataSafePrivateEndpointResponse) HTTPResponse ¶

func (response UpdateDataSafePrivateEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDataSafePrivateEndpointResponse) String ¶

type UpdateLibraryMaskingFormatDetails ¶

type UpdateLibraryMaskingFormatDetails struct {

	// The display name of the library masking format. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the library masking format.
	Description *string `mandatory:"false" json:"description"`

	// An array of OCIDs of the sensitive types compatible with the library masking format.
	SensitiveTypeIds []string `mandatory:"false" json:"sensitiveTypeIds"`

	// An array of format entries. The combined output of all the format entries is used for masking.
	FormatEntries []FormatEntry `mandatory:"false" json:"formatEntries"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateLibraryMaskingFormatDetails Details to update a library masking format. Note that updating the formatEntries attribute replaces all the existing masking format entries with the specified format entries.

func (UpdateLibraryMaskingFormatDetails) String ¶

func (*UpdateLibraryMaskingFormatDetails) UnmarshalJSON ¶

func (m *UpdateLibraryMaskingFormatDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateLibraryMaskingFormatDetails) ValidateEnumValue ¶

func (m UpdateLibraryMaskingFormatDetails) 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 UpdateLibraryMaskingFormatRequest ¶

type UpdateLibraryMaskingFormatRequest struct {

	// The OCID of the library masking format.
	LibraryMaskingFormatId *string `mandatory:"true" contributesTo:"path" name:"libraryMaskingFormatId"`

	// Details to update a library masking format.
	UpdateLibraryMaskingFormatDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateLibraryMaskingFormatRequest wrapper for the UpdateLibraryMaskingFormat operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateLibraryMaskingFormat.go.html to see an example of how to use UpdateLibraryMaskingFormatRequest.

func (UpdateLibraryMaskingFormatRequest) BinaryRequestBody ¶

func (request UpdateLibraryMaskingFormatRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateLibraryMaskingFormatRequest) HTTPRequest ¶

func (request UpdateLibraryMaskingFormatRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateLibraryMaskingFormatRequest) RetryPolicy ¶

func (request UpdateLibraryMaskingFormatRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateLibraryMaskingFormatRequest) String ¶

func (request UpdateLibraryMaskingFormatRequest) String() string

func (UpdateLibraryMaskingFormatRequest) ValidateEnumValue ¶

func (request UpdateLibraryMaskingFormatRequest) 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 UpdateLibraryMaskingFormatResponse ¶

type UpdateLibraryMaskingFormatResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateLibraryMaskingFormatResponse wrapper for the UpdateLibraryMaskingFormat operation

func (UpdateLibraryMaskingFormatResponse) HTTPResponse ¶

func (response UpdateLibraryMaskingFormatResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateLibraryMaskingFormatResponse) String ¶

func (response UpdateLibraryMaskingFormatResponse) String() string

type UpdateMaskingColumnDetails ¶

type UpdateMaskingColumnDetails struct {

	// The type of the object that contains the database column.
	ObjectType ObjectTypeEnum `mandatory:"false" json:"objectType,omitempty"`

	// The group of the masking column. It's a masking group identifier and can be any
	// string of acceptable length. All the columns in a group are masked together to
	// ensure that the masked data across these columns continue to retain the same
	// logical relationship. For more details, check
	// <a href=https://docs.oracle.com/en/cloud/paas/data-safe/udscs/group-masking1.html#GUID-755056B9-9540-48C0-9491-262A44A85037>Group Masking in the Data Safe documentation.</a>
	MaskingColumnGroup *string `mandatory:"false" json:"maskingColumnGroup"`

	// The OCID of the sensitive type to be associated with the masking column. Note that there will be no change in
	// assigned masking format when sensitive type is changed.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Indicates if data masking is enabled for the masking column. Set it to false
	// if you don't want to mask the column.
	IsMaskingEnabled *bool `mandatory:"false" json:"isMaskingEnabled"`

	// The masking formats to be assigned to the masking column. You can specify a
	// condition as part of each masking format. It enables you to do
	// <a href="https://docs.oracle.com/en/cloud/paas/data-safe/udscs/conditional-masking.html">conditional masking</a>
	// so that you can mask the column data values differently using different
	// masking formats and the associated conditions. A masking format can have
	// one or more format entries. The combined output of all the format entries is
	// used for masking. It provides the flexibility to define a masking format that
	// can generate different parts of a data value separately and then combine them
	// to get the final data value for masking.
	MaskingFormats []MaskingFormat `mandatory:"false" json:"maskingFormats"`
}

UpdateMaskingColumnDetails Details to update a masking column.

func (UpdateMaskingColumnDetails) String ¶

func (UpdateMaskingColumnDetails) ValidateEnumValue ¶

func (m UpdateMaskingColumnDetails) 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 UpdateMaskingColumnRequest ¶

type UpdateMaskingColumnRequest struct {

	// The unique key that identifies the masking column. It's numeric and unique within a masking policy.
	MaskingColumnKey *string `mandatory:"true" contributesTo:"path" name:"maskingColumnKey"`

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to update a masking column.
	UpdateMaskingColumnDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateMaskingColumnRequest wrapper for the UpdateMaskingColumn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateMaskingColumn.go.html to see an example of how to use UpdateMaskingColumnRequest.

func (UpdateMaskingColumnRequest) BinaryRequestBody ¶

func (request UpdateMaskingColumnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMaskingColumnRequest) HTTPRequest ¶

func (request UpdateMaskingColumnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMaskingColumnRequest) RetryPolicy ¶

func (request UpdateMaskingColumnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMaskingColumnRequest) String ¶

func (request UpdateMaskingColumnRequest) String() string

func (UpdateMaskingColumnRequest) ValidateEnumValue ¶

func (request UpdateMaskingColumnRequest) 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 UpdateMaskingColumnResponse ¶

type UpdateMaskingColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateMaskingColumnResponse wrapper for the UpdateMaskingColumn operation

func (UpdateMaskingColumnResponse) HTTPResponse ¶

func (response UpdateMaskingColumnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMaskingColumnResponse) String ¶

func (response UpdateMaskingColumnResponse) String() string

type UpdateMaskingPolicyDetails ¶

type UpdateMaskingPolicyDetails struct {

	// The display name of the masking policy. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the masking policy.
	Description *string `mandatory:"false" json:"description"`

	// Indicates if the temporary tables created during a masking operation should be dropped after masking. It's enabled by default.
	// Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive
	// data values to mask values. By default, these temporary tables are dropped after masking. But, in some cases, you may want
	// to preserve this information to track how masking changed your data. Note that doing so compromises security. These tables
	// must be dropped before the database is available for unprivileged users.
	IsDropTempTablesEnabled *bool `mandatory:"false" json:"isDropTempTablesEnabled"`

	// Indicates if redo logging is enabled during a masking operation. It's disabled by default. Set this attribute to true to
	// enable redo logging. By default, masking disables redo logging and flashback logging to purge any original unmasked
	// data from logs. However, in certain circumstances when you only want to test masking, rollback changes, and retry masking,
	// you could enable logging and use a flashback database to retrieve the original unmasked data after it has been masked.
	IsRedoLoggingEnabled *bool `mandatory:"false" json:"isRedoLoggingEnabled"`

	// Indicates if statistics gathering is enabled. It's enabled by default. Set this attribute to false to disable statistics
	// gathering. The masking process gathers statistics on masked database tables after masking completes.
	IsRefreshStatsEnabled *bool `mandatory:"false" json:"isRefreshStatsEnabled"`

	// Specifies options to enable parallel execution when running data masking. Allowed values are 'NONE' (no parallelism),
	// 'DEFAULT' (the Oracle Database computes the optimum degree of parallelism) or an integer value to be used as the degree
	// of parallelism. Parallel execution helps effectively use multiple CPUs and improve masking performance. Refer to the
	// Oracle Database parallel execution framework when choosing an explicit degree of parallelism.
	ParallelDegree *string `mandatory:"false" json:"parallelDegree"`

	// Specifies how to recompile invalid objects post data masking. Allowed values are 'SERIAL' (recompile in serial),
	// 'PARALLEL' (recompile in parallel), 'NONE' (do not recompile). If it's set to PARALLEL, the value of parallelDegree
	// attribute is used. Note that few objects may remain invalid even after recompiling once and you may have to further
	// recompile manually using UTL_RECOMP package.
	Recompile MaskingPolicyRecompileEnum `mandatory:"false" json:"recompile,omitempty"`

	// A pre-masking script, which can contain SQL and PL/SQL statements. It's executed before
	// the core masking script generated using the masking policy. It's usually used to perform
	// any preparation or prerequisite work before masking data.
	PreMaskingScript *string `mandatory:"false" json:"preMaskingScript"`

	// A post-masking script, which can contain SQL and PL/SQL statements. It's executed after
	// the core masking script generated using the masking policy. It's usually used to perform
	// additional transformation or cleanup work after masking.
	PostMaskingScript *string `mandatory:"false" json:"postMaskingScript"`

	ColumnSource UpdateColumnSourceDetails `mandatory:"false" json:"columnSource"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateMaskingPolicyDetails Details to update a masking policy.

func (UpdateMaskingPolicyDetails) String ¶

func (*UpdateMaskingPolicyDetails) UnmarshalJSON ¶

func (m *UpdateMaskingPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateMaskingPolicyDetails) ValidateEnumValue ¶

func (m UpdateMaskingPolicyDetails) 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 UpdateMaskingPolicyRequest ¶

type UpdateMaskingPolicyRequest struct {

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// Details to update a masking policy.
	UpdateMaskingPolicyDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateMaskingPolicyRequest wrapper for the UpdateMaskingPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateMaskingPolicy.go.html to see an example of how to use UpdateMaskingPolicyRequest.

func (UpdateMaskingPolicyRequest) BinaryRequestBody ¶

func (request UpdateMaskingPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMaskingPolicyRequest) HTTPRequest ¶

func (request UpdateMaskingPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMaskingPolicyRequest) RetryPolicy ¶

func (request UpdateMaskingPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMaskingPolicyRequest) String ¶

func (request UpdateMaskingPolicyRequest) String() string

func (UpdateMaskingPolicyRequest) ValidateEnumValue ¶

func (request UpdateMaskingPolicyRequest) 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 UpdateMaskingPolicyResponse ¶

type UpdateMaskingPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateMaskingPolicyResponse wrapper for the UpdateMaskingPolicy operation

func (UpdateMaskingPolicyResponse) HTTPResponse ¶

func (response UpdateMaskingPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMaskingPolicyResponse) String ¶

func (response UpdateMaskingPolicyResponse) String() string

type UpdateOnPremConnectorDetails ¶

type UpdateOnPremConnectorDetails struct {

	// The display name of the on-premises connector. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the on-premises connector.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateOnPremConnectorDetails The details used to update a on-premises connector.

func (UpdateOnPremConnectorDetails) String ¶

func (UpdateOnPremConnectorDetails) ValidateEnumValue ¶

func (m UpdateOnPremConnectorDetails) 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 UpdateOnPremConnectorRequest ¶

type UpdateOnPremConnectorRequest struct {

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

	// The details used to update a on-premises connector.
	UpdateOnPremConnectorDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateOnPremConnectorRequest wrapper for the UpdateOnPremConnector operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateOnPremConnector.go.html to see an example of how to use UpdateOnPremConnectorRequest.

func (UpdateOnPremConnectorRequest) BinaryRequestBody ¶

func (request UpdateOnPremConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateOnPremConnectorRequest) HTTPRequest ¶

func (request UpdateOnPremConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateOnPremConnectorRequest) RetryPolicy ¶

func (request UpdateOnPremConnectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateOnPremConnectorRequest) String ¶

func (request UpdateOnPremConnectorRequest) String() string

func (UpdateOnPremConnectorRequest) ValidateEnumValue ¶

func (request UpdateOnPremConnectorRequest) 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 UpdateOnPremConnectorResponse ¶

type UpdateOnPremConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateOnPremConnectorResponse wrapper for the UpdateOnPremConnector operation

func (UpdateOnPremConnectorResponse) HTTPResponse ¶

func (response UpdateOnPremConnectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateOnPremConnectorResponse) String ¶

func (response UpdateOnPremConnectorResponse) String() string

type UpdateOnPremConnectorWalletDetails ¶

type UpdateOnPremConnectorWalletDetails struct {

	// Indicates whether to update or not. If false, the wallet will not be updated. Default is false.
	IsUpdate *bool `mandatory:"false" json:"isUpdate"`
}

UpdateOnPremConnectorWalletDetails The details used to update an on-premises connector's wallet.

func (UpdateOnPremConnectorWalletDetails) String ¶

func (UpdateOnPremConnectorWalletDetails) ValidateEnumValue ¶

func (m UpdateOnPremConnectorWalletDetails) 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 UpdateOnPremConnectorWalletRequest ¶

type UpdateOnPremConnectorWalletRequest struct {

	// The details used to update an on-premises connector's wallet.
	UpdateOnPremConnectorWalletDetails `contributesTo:"body"`

	// The OCID of the on-premises connector.
	OnPremConnectorId *string `mandatory:"true" contributesTo:"path" name:"onPremConnectorId"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateOnPremConnectorWalletRequest wrapper for the UpdateOnPremConnectorWallet operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateOnPremConnectorWallet.go.html to see an example of how to use UpdateOnPremConnectorWalletRequest.

func (UpdateOnPremConnectorWalletRequest) BinaryRequestBody ¶

func (request UpdateOnPremConnectorWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateOnPremConnectorWalletRequest) HTTPRequest ¶

func (request UpdateOnPremConnectorWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateOnPremConnectorWalletRequest) RetryPolicy ¶

func (request UpdateOnPremConnectorWalletRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateOnPremConnectorWalletRequest) String ¶

func (request UpdateOnPremConnectorWalletRequest) String() string

func (UpdateOnPremConnectorWalletRequest) ValidateEnumValue ¶

func (request UpdateOnPremConnectorWalletRequest) 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 UpdateOnPremConnectorWalletResponse ¶

type UpdateOnPremConnectorWalletResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateOnPremConnectorWalletResponse wrapper for the UpdateOnPremConnectorWallet operation

func (UpdateOnPremConnectorWalletResponse) HTTPResponse ¶

func (response UpdateOnPremConnectorWalletResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateOnPremConnectorWalletResponse) String ¶

func (response UpdateOnPremConnectorWalletResponse) String() string

type UpdateReportDefinitionDetails ¶

type UpdateReportDefinitionDetails struct {

	// Specifies the name of the report definition.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// An array of column objects in the order (left to right) displayed in the report. A column object stores all information about a column, including the name displayed on the UI, corresponding field name in the data source, data type of the column, and column visibility (if the column is visible to the user).
	ColumnInfo []Column `mandatory:"true" json:"columnInfo"`

	// An array of column filter objects. A column Filter object stores all information about a column filter including field name, an operator, one or more expressions, if the filter is enabled, or if the filter is hidden.
	ColumnFilters []ColumnFilter `mandatory:"true" json:"columnFilters"`

	// An array of column sorting objects. Each column sorting object stores the column name to be sorted and if the sorting is in ascending order; sorting is done by the first column in the array, then by the second column in the array, etc.
	ColumnSortings []ColumnSorting `mandatory:"true" json:"columnSortings"`

	// An array of report summary objects in the order (left to right)  displayed in the report.  A  report summary object stores all information about summary of report to be displayed, including the name displayed on UI, the display order, corresponding group by and count of values, summary visibility (if the summary is visible to user).
	Summary []Summary `mandatory:"true" json:"summary"`

	// The description of the report definition.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateReportDefinitionDetails Description of a new report definition.

func (UpdateReportDefinitionDetails) String ¶

func (UpdateReportDefinitionDetails) ValidateEnumValue ¶

func (m UpdateReportDefinitionDetails) 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 UpdateReportDefinitionRequest ¶

type UpdateReportDefinitionRequest struct {

	// Unique report definition identifier
	ReportDefinitionId *string `mandatory:"true" contributesTo:"path" name:"reportDefinitionId"`

	// Details for the modified report definition.
	UpdateReportDefinitionDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

UpdateReportDefinitionRequest wrapper for the UpdateReportDefinition operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateReportDefinition.go.html to see an example of how to use UpdateReportDefinitionRequest.

func (UpdateReportDefinitionRequest) BinaryRequestBody ¶

func (request UpdateReportDefinitionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateReportDefinitionRequest) HTTPRequest ¶

func (request UpdateReportDefinitionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateReportDefinitionRequest) RetryPolicy ¶

func (request UpdateReportDefinitionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateReportDefinitionRequest) String ¶

func (request UpdateReportDefinitionRequest) String() string

func (UpdateReportDefinitionRequest) ValidateEnumValue ¶

func (request UpdateReportDefinitionRequest) 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 UpdateReportDefinitionResponse ¶

type UpdateReportDefinitionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateReportDefinitionResponse wrapper for the UpdateReportDefinition operation

func (UpdateReportDefinitionResponse) HTTPResponse ¶

func (response UpdateReportDefinitionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateReportDefinitionResponse) String ¶

func (response UpdateReportDefinitionResponse) String() string

type UpdateSdmMaskingPolicyDifferenceDetails ¶ added in v65.35.0

type UpdateSdmMaskingPolicyDifferenceDetails struct {

	// The display name of the sdm masking policy difference. The name does not have to be unique, and it's changeable.
	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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSdmMaskingPolicyDifferenceDetails Details to update a sdm masking policy difference.

func (UpdateSdmMaskingPolicyDifferenceDetails) String ¶ added in v65.35.0

func (UpdateSdmMaskingPolicyDifferenceDetails) ValidateEnumValue ¶ added in v65.35.0

func (m UpdateSdmMaskingPolicyDifferenceDetails) 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 UpdateSdmMaskingPolicyDifferenceRequest ¶ added in v65.35.0

type UpdateSdmMaskingPolicyDifferenceRequest struct {

	// The OCID of the SDM masking policy difference.
	SdmMaskingPolicyDifferenceId *string `mandatory:"true" contributesTo:"path" name:"sdmMaskingPolicyDifferenceId"`

	// Details to update a sdm masking policy difference.
	UpdateSdmMaskingPolicyDifferenceDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateSdmMaskingPolicyDifferenceRequest wrapper for the UpdateSdmMaskingPolicyDifference operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateSdmMaskingPolicyDifference.go.html to see an example of how to use UpdateSdmMaskingPolicyDifferenceRequest.

func (UpdateSdmMaskingPolicyDifferenceRequest) BinaryRequestBody ¶ added in v65.35.0

func (request UpdateSdmMaskingPolicyDifferenceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSdmMaskingPolicyDifferenceRequest) HTTPRequest ¶ added in v65.35.0

func (request UpdateSdmMaskingPolicyDifferenceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSdmMaskingPolicyDifferenceRequest) RetryPolicy ¶ added in v65.35.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSdmMaskingPolicyDifferenceRequest) String ¶ added in v65.35.0

func (UpdateSdmMaskingPolicyDifferenceRequest) ValidateEnumValue ¶ added in v65.35.0

func (request UpdateSdmMaskingPolicyDifferenceRequest) 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 UpdateSdmMaskingPolicyDifferenceResponse ¶ added in v65.35.0

type UpdateSdmMaskingPolicyDifferenceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateSdmMaskingPolicyDifferenceResponse wrapper for the UpdateSdmMaskingPolicyDifference operation

func (UpdateSdmMaskingPolicyDifferenceResponse) HTTPResponse ¶ added in v65.35.0

func (response UpdateSdmMaskingPolicyDifferenceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSdmMaskingPolicyDifferenceResponse) String ¶ added in v65.35.0

type UpdateSecurityAssessmentDetails ¶

type UpdateSecurityAssessmentDetails struct {

	// The display name of the security assessment.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the security assessment.
	Description *string `mandatory:"false" json:"description"`

	// This is applicable only for save schedule and latest assessment. It updates the existing schedule in a specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	// <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSecurityAssessmentDetails Updates one or more attributes of the specified security assessment.

func (UpdateSecurityAssessmentDetails) String ¶

func (UpdateSecurityAssessmentDetails) ValidateEnumValue ¶

func (m UpdateSecurityAssessmentDetails) 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 UpdateSecurityAssessmentRequest ¶

type UpdateSecurityAssessmentRequest struct {

	// The OCID of the security assessment.
	SecurityAssessmentId *string `mandatory:"true" contributesTo:"path" name:"securityAssessmentId"`

	// The information to be updated.
	UpdateSecurityAssessmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

UpdateSecurityAssessmentRequest wrapper for the UpdateSecurityAssessment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateSecurityAssessment.go.html to see an example of how to use UpdateSecurityAssessmentRequest.

func (UpdateSecurityAssessmentRequest) BinaryRequestBody ¶

func (request UpdateSecurityAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityAssessmentRequest) HTTPRequest ¶

func (request UpdateSecurityAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityAssessmentRequest) RetryPolicy ¶

func (request UpdateSecurityAssessmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSecurityAssessmentRequest) String ¶

func (request UpdateSecurityAssessmentRequest) String() string

func (UpdateSecurityAssessmentRequest) ValidateEnumValue ¶

func (request UpdateSecurityAssessmentRequest) 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 UpdateSecurityAssessmentResponse ¶

type UpdateSecurityAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateSecurityAssessmentResponse wrapper for the UpdateSecurityAssessment operation

func (UpdateSecurityAssessmentResponse) HTTPResponse ¶

func (response UpdateSecurityAssessmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityAssessmentResponse) String ¶

func (response UpdateSecurityAssessmentResponse) String() string

type UpdateSensitiveCategoryDetails ¶

type UpdateSensitiveCategoryDetails struct {

	// The display name of the sensitive type. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSensitiveCategoryDetails Details to update a sensitive category.

func (UpdateSensitiveCategoryDetails) GetDefinedTags ¶

func (m UpdateSensitiveCategoryDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateSensitiveCategoryDetails) GetDescription ¶

func (m UpdateSensitiveCategoryDetails) GetDescription() *string

GetDescription returns Description

func (UpdateSensitiveCategoryDetails) GetDisplayName ¶

func (m UpdateSensitiveCategoryDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateSensitiveCategoryDetails) GetFreeformTags ¶

func (m UpdateSensitiveCategoryDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateSensitiveCategoryDetails) GetParentCategoryId ¶

func (m UpdateSensitiveCategoryDetails) GetParentCategoryId() *string

GetParentCategoryId returns ParentCategoryId

func (UpdateSensitiveCategoryDetails) GetShortName ¶

func (m UpdateSensitiveCategoryDetails) GetShortName() *string

GetShortName returns ShortName

func (UpdateSensitiveCategoryDetails) MarshalJSON ¶

func (m UpdateSensitiveCategoryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateSensitiveCategoryDetails) String ¶

func (UpdateSensitiveCategoryDetails) ValidateEnumValue ¶

func (m UpdateSensitiveCategoryDetails) 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 UpdateSensitiveColumnDetails ¶

type UpdateSensitiveColumnDetails struct {

	// The data type of the sensitive column.
	DataType *string `mandatory:"false" json:"dataType"`

	// The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column
	// is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental
	// data discovery job does not identify these columns as sensitive.
	Status UpdateSensitiveColumnDetailsStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The OCID of the sensitive type to be associated with the sensitive column.
	SensitiveTypeId *string `mandatory:"false" json:"sensitiveTypeId"`

	// Unique keys identifying the columns that are parents of the sensitive column. At present, it accepts only one
	// parent column key. This attribute can be used to establish relationship between columns in a sensitive data model.
	// Note that the parent column must be added to the sensitive data model before its key can be specified here.
	// If this attribute is provided, the appDefinedChildColumnKeys or dbDefinedChildColumnKeys attribute of the
	// parent column is automatically updated to reflect the relationship.
	ParentColumnKeys []string `mandatory:"false" json:"parentColumnKeys"`

	// The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive
	// column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary.
	// APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
	RelationType UpdateSensitiveColumnDetailsRelationTypeEnum `mandatory:"false" json:"relationType,omitempty"`

	// Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
	// This attribute can be used to establish relationship between columns in a sensitive data model. Note that the
	// child columns must be added to the sensitive data model before their keys can be specified here. If this attribute
	// is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.
	AppDefinedChildColumnKeys []string `mandatory:"false" json:"appDefinedChildColumnKeys"`

	// Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
	// This attribute can be used to establish relationship between columns in a sensitive data model. Note that the
	// child columns must be added to the sensitive data model before their keys can be specified here. If this attribute
	// is provided, the parentColumnKeys and relationType attributes of the child columns are automatically updated to reflect the relationship.
	DbDefinedChildColumnKeys []string `mandatory:"false" json:"dbDefinedChildColumnKeys"`
}

UpdateSensitiveColumnDetails Details to update a sensitive column in a sensitive data model.

func (UpdateSensitiveColumnDetails) String ¶

func (UpdateSensitiveColumnDetails) ValidateEnumValue ¶

func (m UpdateSensitiveColumnDetails) 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 UpdateSensitiveColumnDetailsRelationTypeEnum ¶

type UpdateSensitiveColumnDetailsRelationTypeEnum string

UpdateSensitiveColumnDetailsRelationTypeEnum Enum with underlying type: string

const (
	UpdateSensitiveColumnDetailsRelationTypeNone       UpdateSensitiveColumnDetailsRelationTypeEnum = "NONE"
	UpdateSensitiveColumnDetailsRelationTypeAppDefined UpdateSensitiveColumnDetailsRelationTypeEnum = "APP_DEFINED"
	UpdateSensitiveColumnDetailsRelationTypeDbDefined  UpdateSensitiveColumnDetailsRelationTypeEnum = "DB_DEFINED"
)

Set of constants representing the allowable values for UpdateSensitiveColumnDetailsRelationTypeEnum

func GetMappingUpdateSensitiveColumnDetailsRelationTypeEnum ¶

func GetMappingUpdateSensitiveColumnDetailsRelationTypeEnum(val string) (UpdateSensitiveColumnDetailsRelationTypeEnum, bool)

GetMappingUpdateSensitiveColumnDetailsRelationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSensitiveColumnDetailsRelationTypeEnumValues ¶

func GetUpdateSensitiveColumnDetailsRelationTypeEnumValues() []UpdateSensitiveColumnDetailsRelationTypeEnum

GetUpdateSensitiveColumnDetailsRelationTypeEnumValues Enumerates the set of values for UpdateSensitiveColumnDetailsRelationTypeEnum

type UpdateSensitiveColumnDetailsStatusEnum ¶

type UpdateSensitiveColumnDetailsStatusEnum string

UpdateSensitiveColumnDetailsStatusEnum Enum with underlying type: string

const (
	UpdateSensitiveColumnDetailsStatusValid   UpdateSensitiveColumnDetailsStatusEnum = "VALID"
	UpdateSensitiveColumnDetailsStatusInvalid UpdateSensitiveColumnDetailsStatusEnum = "INVALID"
)

Set of constants representing the allowable values for UpdateSensitiveColumnDetailsStatusEnum

func GetMappingUpdateSensitiveColumnDetailsStatusEnum ¶

func GetMappingUpdateSensitiveColumnDetailsStatusEnum(val string) (UpdateSensitiveColumnDetailsStatusEnum, bool)

GetMappingUpdateSensitiveColumnDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSensitiveColumnDetailsStatusEnumValues ¶

func GetUpdateSensitiveColumnDetailsStatusEnumValues() []UpdateSensitiveColumnDetailsStatusEnum

GetUpdateSensitiveColumnDetailsStatusEnumValues Enumerates the set of values for UpdateSensitiveColumnDetailsStatusEnum

type UpdateSensitiveColumnRequest ¶

type UpdateSensitiveColumnRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
	SensitiveColumnKey *string `mandatory:"true" contributesTo:"path" name:"sensitiveColumnKey"`

	// Details to update a sensitive column.
	UpdateSensitiveColumnDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateSensitiveColumnRequest wrapper for the UpdateSensitiveColumn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateSensitiveColumn.go.html to see an example of how to use UpdateSensitiveColumnRequest.

func (UpdateSensitiveColumnRequest) BinaryRequestBody ¶

func (request UpdateSensitiveColumnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSensitiveColumnRequest) HTTPRequest ¶

func (request UpdateSensitiveColumnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSensitiveColumnRequest) RetryPolicy ¶

func (request UpdateSensitiveColumnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSensitiveColumnRequest) String ¶

func (request UpdateSensitiveColumnRequest) String() string

func (UpdateSensitiveColumnRequest) ValidateEnumValue ¶

func (request UpdateSensitiveColumnRequest) 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 UpdateSensitiveColumnResponse ¶

type UpdateSensitiveColumnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateSensitiveColumnResponse wrapper for the UpdateSensitiveColumn operation

func (UpdateSensitiveColumnResponse) HTTPResponse ¶

func (response UpdateSensitiveColumnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSensitiveColumnResponse) String ¶

func (response UpdateSensitiveColumnResponse) String() string

type UpdateSensitiveDataModelDetails ¶

type UpdateSensitiveDataModelDetails struct {

	// The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the reference target database to be associated with the sensitive data model. All operations such as
	// performing data discovery and adding columns manually are done in the context of the associated target database.
	// Note that updating the targetId attribute does not perform data discovery automatically.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
	AppSuiteName *string `mandatory:"false" json:"appSuiteName"`

	// The description of the sensitive data model.
	Description *string `mandatory:"false" json:"description"`

	// The schemas to be used for future data discovery jobs.
	SchemasForDiscovery []string `mandatory:"false" json:"schemasForDiscovery"`

	// The OCIDs of the sensitive types to be used for future data discovery jobs. If OCID of a sensitive category is
	// provided, all its child sensitive types are used for data discovery.
	SensitiveTypeIdsForDiscovery []string `mandatory:"false" json:"sensitiveTypeIdsForDiscovery"`

	// Indicates if data discovery jobs should collect and store sample data values for the discovered columns.
	// Sample data helps review the discovered columns and ensure that they actually contain sensitive data.
	// As it collects original data from the target database, it's disabled by default and should be used only
	// if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data
	// values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
	IsSampleDataCollectionEnabled *bool `mandatory:"false" json:"isSampleDataCollectionEnabled"`

	// Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential
	// relationships between columns. Note that data discovery automatically identifies and adds database-level
	// (dictionary-defined) relationships. This option helps identify application-level relationships that are not
	// defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve
	// referential integrity during data masking. It's disabled by default and should be used only if there is a
	// need to identify application-level relationships.
	IsAppDefinedRelationDiscoveryEnabled *bool `mandatory:"false" json:"isAppDefinedRelationDiscoveryEnabled"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSensitiveDataModelDetails Details to update a sensitive data model. Note that updating any attribute of a sensitive data model does not perform data discovery.

func (UpdateSensitiveDataModelDetails) String ¶

func (UpdateSensitiveDataModelDetails) ValidateEnumValue ¶

func (m UpdateSensitiveDataModelDetails) 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 UpdateSensitiveDataModelRequest ¶

type UpdateSensitiveDataModelRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to update a sensitive data model.
	UpdateSensitiveDataModelDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateSensitiveDataModelRequest wrapper for the UpdateSensitiveDataModel operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateSensitiveDataModel.go.html to see an example of how to use UpdateSensitiveDataModelRequest.

func (UpdateSensitiveDataModelRequest) BinaryRequestBody ¶

func (request UpdateSensitiveDataModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSensitiveDataModelRequest) HTTPRequest ¶

func (request UpdateSensitiveDataModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSensitiveDataModelRequest) RetryPolicy ¶

func (request UpdateSensitiveDataModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSensitiveDataModelRequest) String ¶

func (request UpdateSensitiveDataModelRequest) String() string

func (UpdateSensitiveDataModelRequest) ValidateEnumValue ¶

func (request UpdateSensitiveDataModelRequest) 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 UpdateSensitiveDataModelResponse ¶

type UpdateSensitiveDataModelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateSensitiveDataModelResponse wrapper for the UpdateSensitiveDataModel operation

func (UpdateSensitiveDataModelResponse) HTTPResponse ¶

func (response UpdateSensitiveDataModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSensitiveDataModelResponse) String ¶

func (response UpdateSensitiveDataModelResponse) String() string

type UpdateSensitiveTypeDetails ¶

type UpdateSensitiveTypeDetails interface {

	// The display name of the sensitive type. The name does not have to be unique, and it's changeable.
	GetDisplayName() *string

	// The short name of the sensitive type.
	GetShortName() *string

	// The description of the sensitive type.
	GetDescription() *string

	// The OCID of the parent sensitive category.
	GetParentCategoryId() *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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

UpdateSensitiveTypeDetails Details to update a sensitive type.

type UpdateSensitiveTypePatternDetails ¶

type UpdateSensitiveTypePatternDetails struct {

	// The display name of the sensitive type. The name does not have to be unique, and it's changeable.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short name of the sensitive type.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The description of the sensitive type.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the parent sensitive category.
	ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A regular expression to be used by data discovery for matching column names.
	NamePattern *string `mandatory:"false" json:"namePattern"`

	// A regular expression to be used by data discovery for matching column comments.
	CommentPattern *string `mandatory:"false" json:"commentPattern"`

	// A regular expression to be used by data discovery for matching column data values.
	DataPattern *string `mandatory:"false" json:"dataPattern"`

	// The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
	DefaultMaskingFormatId *string `mandatory:"false" json:"defaultMaskingFormatId"`

	// The search type indicating how the column name, comment and data patterns should be used by data discovery.
	// Learn more (https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-types.html#GUID-1D1AD98E-B93F-4FF2-80AE-CB7D8A14F6CC).
	SearchType SensitiveTypePatternSearchTypeEnum `mandatory:"false" json:"searchType,omitempty"`
}

UpdateSensitiveTypePatternDetails Details to update a sensitive type with regular expressions.

func (UpdateSensitiveTypePatternDetails) GetDefinedTags ¶

func (m UpdateSensitiveTypePatternDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateSensitiveTypePatternDetails) GetDescription ¶

func (m UpdateSensitiveTypePatternDetails) GetDescription() *string

GetDescription returns Description

func (UpdateSensitiveTypePatternDetails) GetDisplayName ¶

func (m UpdateSensitiveTypePatternDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateSensitiveTypePatternDetails) GetFreeformTags ¶

func (m UpdateSensitiveTypePatternDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateSensitiveTypePatternDetails) GetParentCategoryId ¶

func (m UpdateSensitiveTypePatternDetails) GetParentCategoryId() *string

GetParentCategoryId returns ParentCategoryId

func (UpdateSensitiveTypePatternDetails) GetShortName ¶

func (m UpdateSensitiveTypePatternDetails) GetShortName() *string

GetShortName returns ShortName

func (UpdateSensitiveTypePatternDetails) MarshalJSON ¶

func (m UpdateSensitiveTypePatternDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateSensitiveTypePatternDetails) String ¶

func (UpdateSensitiveTypePatternDetails) ValidateEnumValue ¶

func (m UpdateSensitiveTypePatternDetails) 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 UpdateSensitiveTypeRequest ¶

type UpdateSensitiveTypeRequest struct {

	// The OCID of the sensitive type.
	SensitiveTypeId *string `mandatory:"true" contributesTo:"path" name:"sensitiveTypeId"`

	// Details to update a sensitive type.
	UpdateSensitiveTypeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateSensitiveTypeRequest wrapper for the UpdateSensitiveType operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateSensitiveType.go.html to see an example of how to use UpdateSensitiveTypeRequest.

func (UpdateSensitiveTypeRequest) BinaryRequestBody ¶

func (request UpdateSensitiveTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSensitiveTypeRequest) HTTPRequest ¶

func (request UpdateSensitiveTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSensitiveTypeRequest) RetryPolicy ¶

func (request UpdateSensitiveTypeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSensitiveTypeRequest) String ¶

func (request UpdateSensitiveTypeRequest) String() string

func (UpdateSensitiveTypeRequest) ValidateEnumValue ¶

func (request UpdateSensitiveTypeRequest) 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 UpdateSensitiveTypeResponse ¶

type UpdateSensitiveTypeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateSensitiveTypeResponse wrapper for the UpdateSensitiveType operation

func (UpdateSensitiveTypeResponse) HTTPResponse ¶

func (response UpdateSensitiveTypeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSensitiveTypeResponse) String ¶

func (response UpdateSensitiveTypeResponse) String() string

type UpdateTargetAlertPolicyAssociationDetails ¶

type UpdateTargetAlertPolicyAssociationDetails struct {

	// Indicates if the target-alert policy association is enabled or disabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// The display name of the target-alert policy association.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Describes the target-alert policy association.
	Description *string `mandatory:"false" json:"description"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateTargetAlertPolicyAssociationDetails The details used to update a target-alert policy association.

func (UpdateTargetAlertPolicyAssociationDetails) String ¶

func (UpdateTargetAlertPolicyAssociationDetails) ValidateEnumValue ¶

func (m UpdateTargetAlertPolicyAssociationDetails) 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 UpdateTargetAlertPolicyAssociationRequest ¶

type UpdateTargetAlertPolicyAssociationRequest struct {

	// The OCID of the target-alert policy association.
	TargetAlertPolicyAssociationId *string `mandatory:"true" contributesTo:"path" name:"targetAlertPolicyAssociationId"`

	// The details used to update the target-alert policy association.
	UpdateTargetAlertPolicyAssociationDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UpdateTargetAlertPolicyAssociationRequest wrapper for the UpdateTargetAlertPolicyAssociation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateTargetAlertPolicyAssociation.go.html to see an example of how to use UpdateTargetAlertPolicyAssociationRequest.

func (UpdateTargetAlertPolicyAssociationRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetAlertPolicyAssociationRequest) HTTPRequest ¶

func (request UpdateTargetAlertPolicyAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetAlertPolicyAssociationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetAlertPolicyAssociationRequest) String ¶

func (UpdateTargetAlertPolicyAssociationRequest) ValidateEnumValue ¶

func (request UpdateTargetAlertPolicyAssociationRequest) 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 UpdateTargetAlertPolicyAssociationResponse ¶

type UpdateTargetAlertPolicyAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateTargetAlertPolicyAssociationResponse wrapper for the UpdateTargetAlertPolicyAssociation operation

func (UpdateTargetAlertPolicyAssociationResponse) HTTPResponse ¶

func (response UpdateTargetAlertPolicyAssociationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetAlertPolicyAssociationResponse) String ¶

type UpdateTargetDatabaseDetails ¶

type UpdateTargetDatabaseDetails struct {

	// The display name of the target database in Data Safe.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the target database in Data Safe.
	Description *string `mandatory:"false" json:"description"`

	DatabaseDetails DatabaseDetails `mandatory:"false" json:"databaseDetails"`

	Credentials *Credentials `mandatory:"false" json:"credentials"`

	TlsConfig *TlsConfig `mandatory:"false" json:"tlsConfig"`

	ConnectionOption ConnectionOption `mandatory:"false" json:"connectionOption"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateTargetDatabaseDetails The details of the database used for updating the target database in Data Safe.

func (UpdateTargetDatabaseDetails) String ¶

func (*UpdateTargetDatabaseDetails) UnmarshalJSON ¶

func (m *UpdateTargetDatabaseDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateTargetDatabaseDetails) ValidateEnumValue ¶

func (m UpdateTargetDatabaseDetails) 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 UpdateTargetDatabaseRequest ¶

type UpdateTargetDatabaseRequest struct {

	// The OCID of the Data Safe target database.
	TargetDatabaseId *string `mandatory:"true" contributesTo:"path" name:"targetDatabaseId"`

	// Details used to update the target database in Data Safe.
	UpdateTargetDatabaseDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag 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 might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

UpdateTargetDatabaseRequest wrapper for the UpdateTargetDatabase operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateTargetDatabase.go.html to see an example of how to use UpdateTargetDatabaseRequest.

func (UpdateTargetDatabaseRequest) BinaryRequestBody ¶

func (request UpdateTargetDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetDatabaseRequest) HTTPRequest ¶

func (request UpdateTargetDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDatabaseRequest) RetryPolicy ¶

func (request UpdateTargetDatabaseRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDatabaseRequest) String ¶

func (request UpdateTargetDatabaseRequest) String() string

func (UpdateTargetDatabaseRequest) ValidateEnumValue ¶

func (request UpdateTargetDatabaseRequest) 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 UpdateTargetDatabaseResponse ¶

type UpdateTargetDatabaseResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateTargetDatabaseResponse wrapper for the UpdateTargetDatabase operation

func (UpdateTargetDatabaseResponse) HTTPResponse ¶

func (response UpdateTargetDatabaseResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDatabaseResponse) String ¶

func (response UpdateTargetDatabaseResponse) String() string

type UpdateUserAssessmentDetails ¶

type UpdateUserAssessmentDetails struct {

	// The description of the user assessment.
	Description *string `mandatory:"false" json:"description"`

	// The display name of the user assessment.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The schedule for periodically saving the assessment. This is applicable only for assessments of type save schedule and latest assessment. It updates the existing schedule in a specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	// <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// 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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateUserAssessmentDetails Updates one or more attributes of the specified user assessment.

func (UpdateUserAssessmentDetails) String ¶

func (UpdateUserAssessmentDetails) ValidateEnumValue ¶

func (m UpdateUserAssessmentDetails) 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 UpdateUserAssessmentRequest ¶

type UpdateUserAssessmentRequest struct {

	// The OCID of the user assessment.
	UserAssessmentId *string `mandatory:"true" contributesTo:"path" name:"userAssessmentId"`

	// The information to be updated.
	UpdateUserAssessmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// 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
}

UpdateUserAssessmentRequest wrapper for the UpdateUserAssessment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UpdateUserAssessment.go.html to see an example of how to use UpdateUserAssessmentRequest.

func (UpdateUserAssessmentRequest) BinaryRequestBody ¶

func (request UpdateUserAssessmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateUserAssessmentRequest) HTTPRequest ¶

func (request UpdateUserAssessmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateUserAssessmentRequest) RetryPolicy ¶

func (request UpdateUserAssessmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateUserAssessmentRequest) String ¶

func (request UpdateUserAssessmentRequest) String() string

func (UpdateUserAssessmentRequest) ValidateEnumValue ¶

func (request UpdateUserAssessmentRequest) 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 UpdateUserAssessmentResponse ¶

type UpdateUserAssessmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateUserAssessmentResponse wrapper for the UpdateUserAssessment operation

func (UpdateUserAssessmentResponse) HTTPResponse ¶

func (response UpdateUserAssessmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateUserAssessmentResponse) String ¶

func (response UpdateUserAssessmentResponse) String() string

type UploadMaskingPolicyRequest ¶

type UploadMaskingPolicyRequest struct {

	// Details to upload a masking policy file.
	UploadMaskingPolicyDetails io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`

	// The OCID of the masking policy.
	MaskingPolicyId *string `mandatory:"true" contributesTo:"path" name:"maskingPolicyId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UploadMaskingPolicyRequest wrapper for the UploadMaskingPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UploadMaskingPolicy.go.html to see an example of how to use UploadMaskingPolicyRequest.

func (UploadMaskingPolicyRequest) BinaryRequestBody ¶

func (request UploadMaskingPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UploadMaskingPolicyRequest) HTTPRequest ¶

func (request UploadMaskingPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UploadMaskingPolicyRequest) RetryPolicy ¶

func (request UploadMaskingPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UploadMaskingPolicyRequest) String ¶

func (request UploadMaskingPolicyRequest) String() string

func (UploadMaskingPolicyRequest) ValidateEnumValue ¶

func (request UploadMaskingPolicyRequest) 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 UploadMaskingPolicyResponse ¶

type UploadMaskingPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UploadMaskingPolicyResponse wrapper for the UploadMaskingPolicy operation

func (UploadMaskingPolicyResponse) HTTPResponse ¶

func (response UploadMaskingPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UploadMaskingPolicyResponse) String ¶

func (response UploadMaskingPolicyResponse) String() string

type UploadSensitiveDataModelRequest ¶

type UploadSensitiveDataModelRequest struct {

	// The OCID of the sensitive data model.
	SensitiveDataModelId *string `mandatory:"true" contributesTo:"path" name:"sensitiveDataModelId"`

	// Details to upload a sensitive data model file.
	UploadSensitiveDataModelDetails io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the if-match parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique identifier for the request.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
}

UploadSensitiveDataModelRequest wrapper for the UploadSensitiveDataModel operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/datasafe/UploadSensitiveDataModel.go.html to see an example of how to use UploadSensitiveDataModelRequest.

func (UploadSensitiveDataModelRequest) BinaryRequestBody ¶

func (request UploadSensitiveDataModelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UploadSensitiveDataModelRequest) HTTPRequest ¶

func (request UploadSensitiveDataModelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UploadSensitiveDataModelRequest) RetryPolicy ¶

func (request UploadSensitiveDataModelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UploadSensitiveDataModelRequest) String ¶

func (request UploadSensitiveDataModelRequest) String() string

func (UploadSensitiveDataModelRequest) ValidateEnumValue ¶

func (request UploadSensitiveDataModelRequest) 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 UploadSensitiveDataModelResponse ¶

type UploadSensitiveDataModelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UploadSensitiveDataModelResponse wrapper for the UploadSensitiveDataModel operation

func (UploadSensitiveDataModelResponse) HTTPResponse ¶

func (response UploadSensitiveDataModelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UploadSensitiveDataModelResponse) String ¶

func (response UploadSensitiveDataModelResponse) String() string

type UserAggregation ¶

type UserAggregation struct {

	// The array of user aggregation data.
	Items []map[string]interface{} `mandatory:"true" json:"items"`
}

UserAggregation The user aggregation provides information about the overall security state of database users. For example, it states how many users have the DBA role and how many users are in the critical category.

func (UserAggregation) String ¶

func (m UserAggregation) String() string

func (UserAggregation) ValidateEnumValue ¶

func (m UserAggregation) 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 UserAssessment ¶

type UserAssessment struct {

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the user assessment.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the user assessment.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the user assessment.
	LifecycleState UserAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the user assessment was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the user assessment was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Type of user assessment. Type can be:
	// LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
	// SAVED: A saved user assessment. LATEST assessments will always be saved to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
	// SAVE_SCHEDULE: A schedule to periodically save LATEST assessments.
	// COMPARTMENT: An automatic managed assessment type that stores all details of targets in one compartment. This will keep an up-to-date status of all potential risks identified in the compartment.
	//        It also keeps track of user count and target count for each profile available on the targets in a given compartment.
	//        It is automatically updated once the latest assessment or refresh action is executed, as well as when a target is deleted or moved to a different compartment.
	Type UserAssessmentTypeEnum `mandatory:"true" json:"type"`

	// The description of the user assessment.
	Description *string `mandatory:"false" json:"description"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredTargets []interface{} `mandatory:"false" json:"ignoredTargets"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

	// Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
	IsBaseline *bool `mandatory:"false" json:"isBaseline"`

	// Indicates if the user assessment deviates from the baseline.
	IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

	// The OCID of the last user assessment baseline against which the latest assessment was compared.
	LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

	// Details about the current state of the user assessment.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID of the user assessment that is responsible for creating this scheduled save assessment.
	ScheduleAssessmentId *string `mandatory:"false" json:"scheduleAssessmentId"`

	// Schedule of the assessment that runs periodically in this specified format:
	//   <version-string>;<version-specific-schedule>
	//   Allowed version strings - "v1"
	//   v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	//   Each of the above fields potentially introduce constraints. A workrequest is created only
	//   when clock time satisfies all the constraints. Constraints introduced:
	//   1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	//   2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	//   3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	//   <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	//   4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	//   <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	//   5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// Map that contains maps of values.
	//  Example: `{"Operations": {"CostCenter": "42"}}`
	Statistics map[string]map[string]interface{} `mandatory:"false" json:"statistics"`

	// Array of database target OCIDs.
	TargetIds []string `mandatory:"false" json:"targetIds"`

	// The date and time the user assessment was last run, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastAssessed *common.SDKTime `mandatory:"false" json:"timeLastAssessed"`

	// Indicates whether the user assessment was created by system or user.
	TriggeredBy UserAssessmentTriggeredByEnum `mandatory:"false" json:"triggeredBy,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

UserAssessment The details of the user assessment, which includes statistics related to target database users.

func (UserAssessment) String ¶

func (m UserAssessment) String() string

func (UserAssessment) ValidateEnumValue ¶

func (m UserAssessment) 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 UserAssessmentBaseLineDetails ¶

type UserAssessmentBaseLineDetails struct {

	// The list of user assessment OCIDs that need to be updated while setting the baseline.
	AssessmentIds []string `mandatory:"false" json:"assessmentIds"`
}

UserAssessmentBaseLineDetails The details reqired to set baseline assessment.

func (UserAssessmentBaseLineDetails) String ¶

func (UserAssessmentBaseLineDetails) ValidateEnumValue ¶

func (m UserAssessmentBaseLineDetails) 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 UserAssessmentComparison ¶

type UserAssessmentComparison struct {

	// The current state of the user assessment comparison.
	LifecycleState UserAssessmentComparisonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the user assessment comparison was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	Summary []interface{} `mandatory:"false" json:"summary"`
}

UserAssessmentComparison Provides a list of differences for user assessment when compared with the baseline value.

func (UserAssessmentComparison) String ¶

func (m UserAssessmentComparison) String() string

func (UserAssessmentComparison) ValidateEnumValue ¶

func (m UserAssessmentComparison) 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 UserAssessmentComparisonLifecycleStateEnum ¶

type UserAssessmentComparisonLifecycleStateEnum string

UserAssessmentComparisonLifecycleStateEnum Enum with underlying type: string

const (
	UserAssessmentComparisonLifecycleStateCreating  UserAssessmentComparisonLifecycleStateEnum = "CREATING"
	UserAssessmentComparisonLifecycleStateSucceeded UserAssessmentComparisonLifecycleStateEnum = "SUCCEEDED"
	UserAssessmentComparisonLifecycleStateFailed    UserAssessmentComparisonLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for UserAssessmentComparisonLifecycleStateEnum

func GetMappingUserAssessmentComparisonLifecycleStateEnum ¶

func GetMappingUserAssessmentComparisonLifecycleStateEnum(val string) (UserAssessmentComparisonLifecycleStateEnum, bool)

GetMappingUserAssessmentComparisonLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserAssessmentComparisonLifecycleStateEnumValues ¶

func GetUserAssessmentComparisonLifecycleStateEnumValues() []UserAssessmentComparisonLifecycleStateEnum

GetUserAssessmentComparisonLifecycleStateEnumValues Enumerates the set of values for UserAssessmentComparisonLifecycleStateEnum

type UserAssessmentLifecycleStateEnum ¶

type UserAssessmentLifecycleStateEnum string

UserAssessmentLifecycleStateEnum Enum with underlying type: string

const (
	UserAssessmentLifecycleStateCreating  UserAssessmentLifecycleStateEnum = "CREATING"
	UserAssessmentLifecycleStateSucceeded UserAssessmentLifecycleStateEnum = "SUCCEEDED"
	UserAssessmentLifecycleStateUpdating  UserAssessmentLifecycleStateEnum = "UPDATING"
	UserAssessmentLifecycleStateDeleting  UserAssessmentLifecycleStateEnum = "DELETING"
	UserAssessmentLifecycleStateDeleted   UserAssessmentLifecycleStateEnum = "DELETED"
	UserAssessmentLifecycleStateFailed    UserAssessmentLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for UserAssessmentLifecycleStateEnum

func GetMappingUserAssessmentLifecycleStateEnum ¶

func GetMappingUserAssessmentLifecycleStateEnum(val string) (UserAssessmentLifecycleStateEnum, bool)

GetMappingUserAssessmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserAssessmentLifecycleStateEnumValues ¶

func GetUserAssessmentLifecycleStateEnumValues() []UserAssessmentLifecycleStateEnum

GetUserAssessmentLifecycleStateEnumValues Enumerates the set of values for UserAssessmentLifecycleStateEnum

type UserAssessmentSummary ¶

type UserAssessmentSummary struct {

	// The OCID of the compartment that contains the user assessment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The display name of the user assessment.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the user assessment.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the user assessment.
	LifecycleState UserAssessmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time when the user assessment was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The last date and time when the user assessment was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Type of user assessment. The possible types are:
	// LATEST: The most up-to-date assessment that is running automatically for a target. It is system generated.
	// SAVED: A saved user assessment. LATEST assessments are always saved to maintain the history of runs. A SAVED assessment is also generated by a 'refresh' action (triggered by the user).
	// SAVE_SCHEDULE: The schedule for periodic save of LATEST assessments.
	// COMPARTMENT: An automatic managed assessment type that stores all details of targets in one compartment. This will keep an up-to-date status of all potential risks identified in the compartment.
	//        It is automatically updated once the latest assessment or refresh action is executed, as well as when a target is deleted or moved to a different compartment.
	Type UserAssessmentSummaryTypeEnum `mandatory:"true" json:"type"`

	// The description of the user assessment.
	Description *string `mandatory:"false" json:"description"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredTargets []interface{} `mandatory:"false" json:"ignoredTargets"`

	// List containing maps as values.
	// Example: `{"Operations": [ {"CostCenter": "42"} ] }`
	IgnoredAssessmentIds []interface{} `mandatory:"false" json:"ignoredAssessmentIds"`

	// Indicates if the assessment is a baseline assessment. This applies to saved user assessments only.
	IsBaseline *bool `mandatory:"false" json:"isBaseline"`

	// Indicates if the assessment has deviated from the baseline.
	IsDeviatedFromBaseline *bool `mandatory:"false" json:"isDeviatedFromBaseline"`

	// The OCID of the last user assessment baseline against which the latest assessment was compared.
	LastComparedBaselineId *string `mandatory:"false" json:"lastComparedBaselineId"`

	// Details about the current state of the user assessment.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The OCID of the user assessment that created this scheduled save assessment.
	ScheduleAssessmentId *string `mandatory:"false" json:"scheduleAssessmentId"`

	// Schedule to save the assessment periodically in the specified format:
	// <version-string>;<version-specific-schedule>
	// Allowed version strings - "v1"
	// v1's version specific schedule -<ss> <mm> <hh> <day-of-week> <day-of-month>
	// Each of the above fields potentially introduce constraints. A workrequest is created only
	// when clock time satisfies all the constraints. Constraints introduced:
	// 1. seconds = <ss> (So, the allowed range for <ss> is [0, 59])
	// 2. minutes = <mm> (So, the allowed range for <mm> is [0, 59])
	// 3. hours = <hh> (So, the allowed range for <hh> is [0, 23])
	// <day-of-week> can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday))
	// 4. No constraint introduced when it is '*'. When not, day of week must equal the given value
	// <day-of-month> can be either '*' (without quotes or a number between 1 and 28)
	// 5. No constraint introduced when it is '*'. When not, day of month must equal the given value
	Schedule *string `mandatory:"false" json:"schedule"`

	// Map that contains maps of values.
	//  Example: `{"Operations": {"CostCenter": "42"}}`
	Statistics map[string]map[string]interface{} `mandatory:"false" json:"statistics"`

	// Array of database target OCIDs.
	TargetIds []string `mandatory:"false" json:"targetIds"`

	// The date and time the user assessment was last run, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastAssessed *common.SDKTime `mandatory:"false" json:"timeLastAssessed"`

	// Indicates whether the user assessment was created by system or user.
	TriggeredBy UserAssessmentSummaryTriggeredByEnum `mandatory:"false" json:"triggeredBy,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/iaas/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/iaas/Content/General/Concepts/resourcetags.htm)
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UserAssessmentSummary The summary of the user assessment.

func (UserAssessmentSummary) String ¶

func (m UserAssessmentSummary) String() string

func (UserAssessmentSummary) ValidateEnumValue ¶

func (m UserAssessmentSummary) 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 UserAssessmentSummaryTriggeredByEnum ¶

type UserAssessmentSummaryTriggeredByEnum string

UserAssessmentSummaryTriggeredByEnum Enum with underlying type: string

const (
	UserAssessmentSummaryTriggeredByUser   UserAssessmentSummaryTriggeredByEnum = "USER"
	UserAssessmentSummaryTriggeredBySystem UserAssessmentSummaryTriggeredByEnum = "SYSTEM"
)

Set of constants representing the allowable values for UserAssessmentSummaryTriggeredByEnum

func GetMappingUserAssessmentSummaryTriggeredByEnum ¶

func GetMappingUserAssessmentSummaryTriggeredByEnum(val string) (UserAssessmentSummaryTriggeredByEnum, bool)

GetMappingUserAssessmentSummaryTriggeredByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserAssessmentSummaryTriggeredByEnumValues ¶

func GetUserAssessmentSummaryTriggeredByEnumValues() []UserAssessmentSummaryTriggeredByEnum

GetUserAssessmentSummaryTriggeredByEnumValues Enumerates the set of values for UserAssessmentSummaryTriggeredByEnum

type UserAssessmentSummaryTypeEnum ¶

type UserAssessmentSummaryTypeEnum string

UserAssessmentSummaryTypeEnum Enum with underlying type: string

const (
	UserAssessmentSummaryTypeLatest       UserAssessmentSummaryTypeEnum = "LATEST"
	UserAssessmentSummaryTypeSaved        UserAssessmentSummaryTypeEnum = "SAVED"
	UserAssessmentSummaryTypeSaveSchedule UserAssessmentSummaryTypeEnum = "SAVE_SCHEDULE"
	UserAssessmentSummaryTypeCompartment  UserAssessmentSummaryTypeEnum = "COMPARTMENT"
)

Set of constants representing the allowable values for UserAssessmentSummaryTypeEnum

func GetMappingUserAssessmentSummaryTypeEnum ¶

func GetMappingUserAssessmentSummaryTypeEnum(val string) (UserAssessmentSummaryTypeEnum, bool)

GetMappingUserAssessmentSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserAssessmentSummaryTypeEnumValues ¶

func GetUserAssessmentSummaryTypeEnumValues() []UserAssessmentSummaryTypeEnum

GetUserAssessmentSummaryTypeEnumValues Enumerates the set of values for UserAssessmentSummaryTypeEnum

type UserAssessmentTriggeredByEnum ¶

type UserAssessmentTriggeredByEnum string

UserAssessmentTriggeredByEnum Enum with underlying type: string

const (
	UserAssessmentTriggeredByUser   UserAssessmentTriggeredByEnum = "USER"
	UserAssessmentTriggeredBySystem UserAssessmentTriggeredByEnum = "SYSTEM"
)

Set of constants representing the allowable values for UserAssessmentTriggeredByEnum

func GetMappingUserAssessmentTriggeredByEnum ¶

func GetMappingUserAssessmentTriggeredByEnum(val string) (UserAssessmentTriggeredByEnum, bool)

GetMappingUserAssessmentTriggeredByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserAssessmentTriggeredByEnumValues ¶

func GetUserAssessmentTriggeredByEnumValues() []UserAssessmentTriggeredByEnum

GetUserAssessmentTriggeredByEnumValues Enumerates the set of values for UserAssessmentTriggeredByEnum

type UserAssessmentTypeEnum ¶

type UserAssessmentTypeEnum string

UserAssessmentTypeEnum Enum with underlying type: string

const (
	UserAssessmentTypeLatest       UserAssessmentTypeEnum = "LATEST"
	UserAssessmentTypeSaved        UserAssessmentTypeEnum = "SAVED"
	UserAssessmentTypeSaveSchedule UserAssessmentTypeEnum = "SAVE_SCHEDULE"
	UserAssessmentTypeCompartment  UserAssessmentTypeEnum = "COMPARTMENT"
)

Set of constants representing the allowable values for UserAssessmentTypeEnum

func GetMappingUserAssessmentTypeEnum ¶

func GetMappingUserAssessmentTypeEnum(val string) (UserAssessmentTypeEnum, bool)

GetMappingUserAssessmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserAssessmentTypeEnumValues ¶

func GetUserAssessmentTypeEnumValues() []UserAssessmentTypeEnum

GetUserAssessmentTypeEnumValues Enumerates the set of values for UserAssessmentTypeEnum

type UserDetails ¶

type UserDetails struct {

	// The name of the user.
	Name *string `mandatory:"false" json:"name"`

	// The status of the user account.
	Status *string `mandatory:"false" json:"status"`

	// The name of the profile assigned to the user.
	Profile *string `mandatory:"false" json:"profile"`

	// The default tablespace of the user.
	Tablespace *string `mandatory:"false" json:"tablespace"`

	// Indicates whether or not the user is predefined by ORACLE.
	IsUserPredefinedByOracle *bool `mandatory:"false" json:"isUserPredefinedByOracle"`

	// The authentication type of the user.
	AuthenticationType UserDetailsAuthenticationTypeEnum `mandatory:"false" json:"authenticationType,omitempty"`
}

UserDetails The details of a particular user.

func (UserDetails) String ¶

func (m UserDetails) String() string

func (UserDetails) ValidateEnumValue ¶

func (m UserDetails) 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 UserDetailsAuthenticationTypeEnum ¶

type UserDetailsAuthenticationTypeEnum string

UserDetailsAuthenticationTypeEnum Enum with underlying type: string

const (
	UserDetailsAuthenticationTypePassword UserDetailsAuthenticationTypeEnum = "PASSWORD"
	UserDetailsAuthenticationTypeNone     UserDetailsAuthenticationTypeEnum = "NONE"
)

Set of constants representing the allowable values for UserDetailsAuthenticationTypeEnum

func GetMappingUserDetailsAuthenticationTypeEnum ¶

func GetMappingUserDetailsAuthenticationTypeEnum(val string) (UserDetailsAuthenticationTypeEnum, bool)

GetMappingUserDetailsAuthenticationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserDetailsAuthenticationTypeEnumValues ¶

func GetUserDetailsAuthenticationTypeEnumValues() []UserDetailsAuthenticationTypeEnum

GetUserDetailsAuthenticationTypeEnumValues Enumerates the set of values for UserDetailsAuthenticationTypeEnum

type UserSummary ¶

type UserSummary struct {

	// The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
	Key *string `mandatory:"true" json:"key"`

	// The database user name.
	UserName *string `mandatory:"true" json:"userName"`

	// The OCID of the target database.
	TargetId *string `mandatory:"true" json:"targetId"`

	// The user category based on the privileges and other details of the user.
	UserCategory UserSummaryUserCategoryEnum `mandatory:"false" json:"userCategory,omitempty"`

	// The user account status.
	AccountStatus UserSummaryAccountStatusEnum `mandatory:"false" json:"accountStatus,omitempty"`

	// The date and time when the user last logged in, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastLogin *common.SDKTime `mandatory:"false" json:"timeLastLogin"`

	// The date and time when the user was created in the database, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUserCreated *common.SDKTime `mandatory:"false" json:"timeUserCreated"`

	// The user authentication method.
	AuthenticationType UserSummaryAuthenticationTypeEnum `mandatory:"false" json:"authenticationType,omitempty"`

	// The user profile name.
	UserProfile *string `mandatory:"false" json:"userProfile"`

	// The date and time when the user password was last changed, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimePasswordChanged *common.SDKTime `mandatory:"false" json:"timePasswordChanged"`

	// The user type, which can be a combination of the following:
	// 'Admin Privileged': The user has administrative privileges.
	// 'Application': The user is an Oracle E-Business Suite Applications (EBS) or Fusion Applications (FA) user.
	// 'Privileged': The user is a privileged user.
	// 'Schema': The user is EXPIRED & LOCKED / EXPIRED / LOCKED, or a schema-only account (authentication type is NONE).
	// 'Non-privileged': The user is a non-privileged user.
	UserTypes []UserSummaryUserTypesEnum `mandatory:"false" json:"userTypes,omitempty"`

	// The admin roles granted to the user.
	AdminRoles []UserSummaryAdminRolesEnum `mandatory:"false" json:"adminRoles,omitempty"`
}

UserSummary The summary of information about the database user. It includes details such as user type, account status, last login time, user creation time, authentication type, user profile, and time and date of the last password change. It also contains the user category derived from these user details, as well as granted privileges.

func (UserSummary) String ¶

func (m UserSummary) String() string

func (UserSummary) ValidateEnumValue ¶

func (m UserSummary) 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 UserSummaryAccountStatusEnum ¶

type UserSummaryAccountStatusEnum string

UserSummaryAccountStatusEnum Enum with underlying type: string

const (
	UserSummaryAccountStatusOpen             UserSummaryAccountStatusEnum = "OPEN"
	UserSummaryAccountStatusLocked           UserSummaryAccountStatusEnum = "LOCKED"
	UserSummaryAccountStatusExpired          UserSummaryAccountStatusEnum = "EXPIRED"
	UserSummaryAccountStatusExpiredAndLocked UserSummaryAccountStatusEnum = "EXPIRED_AND_LOCKED"
	UserSummaryAccountStatusNone             UserSummaryAccountStatusEnum = "NONE"
)

Set of constants representing the allowable values for UserSummaryAccountStatusEnum

func GetMappingUserSummaryAccountStatusEnum ¶

func GetMappingUserSummaryAccountStatusEnum(val string) (UserSummaryAccountStatusEnum, bool)

GetMappingUserSummaryAccountStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserSummaryAccountStatusEnumValues ¶

func GetUserSummaryAccountStatusEnumValues() []UserSummaryAccountStatusEnum

GetUserSummaryAccountStatusEnumValues Enumerates the set of values for UserSummaryAccountStatusEnum

type UserSummaryAdminRolesEnum ¶

type UserSummaryAdminRolesEnum string

UserSummaryAdminRolesEnum Enum with underlying type: string

const (
	UserSummaryAdminRolesPdbDba     UserSummaryAdminRolesEnum = "PDB_DBA"
	UserSummaryAdminRolesDba        UserSummaryAdminRolesEnum = "DBA"
	UserSummaryAdminRolesDvAdmin    UserSummaryAdminRolesEnum = "DV_ADMIN"
	UserSummaryAdminRolesAuditAdmin UserSummaryAdminRolesEnum = "AUDIT_ADMIN"
)

Set of constants representing the allowable values for UserSummaryAdminRolesEnum

func GetMappingUserSummaryAdminRolesEnum ¶

func GetMappingUserSummaryAdminRolesEnum(val string) (UserSummaryAdminRolesEnum, bool)

GetMappingUserSummaryAdminRolesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserSummaryAdminRolesEnumValues ¶

func GetUserSummaryAdminRolesEnumValues() []UserSummaryAdminRolesEnum

GetUserSummaryAdminRolesEnumValues Enumerates the set of values for UserSummaryAdminRolesEnum

type UserSummaryAuthenticationTypeEnum ¶

type UserSummaryAuthenticationTypeEnum string

UserSummaryAuthenticationTypeEnum Enum with underlying type: string

const (
	UserSummaryAuthenticationTypePassword UserSummaryAuthenticationTypeEnum = "PASSWORD"
	UserSummaryAuthenticationTypeNone     UserSummaryAuthenticationTypeEnum = "NONE"
)

Set of constants representing the allowable values for UserSummaryAuthenticationTypeEnum

func GetMappingUserSummaryAuthenticationTypeEnum ¶

func GetMappingUserSummaryAuthenticationTypeEnum(val string) (UserSummaryAuthenticationTypeEnum, bool)

GetMappingUserSummaryAuthenticationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserSummaryAuthenticationTypeEnumValues ¶

func GetUserSummaryAuthenticationTypeEnumValues() []UserSummaryAuthenticationTypeEnum

GetUserSummaryAuthenticationTypeEnumValues Enumerates the set of values for UserSummaryAuthenticationTypeEnum

type UserSummaryUserCategoryEnum ¶

type UserSummaryUserCategoryEnum string

UserSummaryUserCategoryEnum Enum with underlying type: string

const (
	UserSummaryUserCategoryCritical UserSummaryUserCategoryEnum = "CRITICAL"
	UserSummaryUserCategoryHigh     UserSummaryUserCategoryEnum = "HIGH"
	UserSummaryUserCategoryMedium   UserSummaryUserCategoryEnum = "MEDIUM"
	UserSummaryUserCategoryLow      UserSummaryUserCategoryEnum = "LOW"
)

Set of constants representing the allowable values for UserSummaryUserCategoryEnum

func GetMappingUserSummaryUserCategoryEnum ¶

func GetMappingUserSummaryUserCategoryEnum(val string) (UserSummaryUserCategoryEnum, bool)

GetMappingUserSummaryUserCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserSummaryUserCategoryEnumValues ¶

func GetUserSummaryUserCategoryEnumValues() []UserSummaryUserCategoryEnum

GetUserSummaryUserCategoryEnumValues Enumerates the set of values for UserSummaryUserCategoryEnum

type UserSummaryUserTypesEnum ¶

type UserSummaryUserTypesEnum string

UserSummaryUserTypesEnum Enum with underlying type: string

const (
	UserSummaryUserTypesAdminPrivileged UserSummaryUserTypesEnum = "ADMIN_PRIVILEGED"
	UserSummaryUserTypesApplication     UserSummaryUserTypesEnum = "APPLICATION"
	UserSummaryUserTypesPrivileged      UserSummaryUserTypesEnum = "PRIVILEGED"
	UserSummaryUserTypesSchema          UserSummaryUserTypesEnum = "SCHEMA"
	UserSummaryUserTypesNonPrivileged   UserSummaryUserTypesEnum = "NON_PRIVILEGED"
)

Set of constants representing the allowable values for UserSummaryUserTypesEnum

func GetMappingUserSummaryUserTypesEnum ¶

func GetMappingUserSummaryUserTypesEnum(val string) (UserSummaryUserTypesEnum, bool)

GetMappingUserSummaryUserTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUserSummaryUserTypesEnumValues ¶

func GetUserSummaryUserTypesEnumValues() []UserSummaryUserTypesEnum

GetUserSummaryUserTypesEnumValues Enumerates the set of values for UserSummaryUserTypesEnum

type WorkRequest ¶

type WorkRequest struct {

	// The resources that are affected by the work request.
	OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

	// The current status of the work request.
	Status WorkRequestStatusEnum `mandatory:"true" json:"status"`

	// The OCID of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources that are affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Progress of the work request in percentage.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was accepted, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either FAILED or SUCCEEDED. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest An asynchronous work request.

func (WorkRequest) String ¶

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue ¶

func (m WorkRequest) 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 WorkRequestError ¶

type WorkRequestError struct {

	// A machine-usable error code. For a list of common errors, see API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the error occurred, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error related to a work request.

func (WorkRequestError) String ¶

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue ¶

func (m WorkRequestError) 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 WorkRequestLogEntry ¶

type WorkRequestLogEntry struct {

	// A human-readable log entry.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the log entry was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log entry related to a work request.

func (WorkRequestLogEntry) String ¶

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue ¶

func (m WorkRequestLogEntry) 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 WorkRequestOperationTypeEnum ¶

type WorkRequestOperationTypeEnum string

WorkRequestOperationTypeEnum Enum with underlying type: string

const (
	WorkRequestOperationTypeEnableDataSafeConfiguration           WorkRequestOperationTypeEnum = "ENABLE_DATA_SAFE_CONFIGURATION"
	WorkRequestOperationTypeCreatePrivateEndpoint                 WorkRequestOperationTypeEnum = "CREATE_PRIVATE_ENDPOINT"
	WorkRequestOperationTypeUpdatePrivateEndpoint                 WorkRequestOperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT"
	WorkRequestOperationTypeDeletePrivateEndpoint                 WorkRequestOperationTypeEnum = "DELETE_PRIVATE_ENDPOINT"
	WorkRequestOperationTypeChangePrivateEndpointCompartment      WorkRequestOperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT"
	WorkRequestOperationTypeCreateOnpremConnector                 WorkRequestOperationTypeEnum = "CREATE_ONPREM_CONNECTOR"
	WorkRequestOperationTypeUpdateOnpremConnector                 WorkRequestOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR"
	WorkRequestOperationTypeDeleteOnpremConnector                 WorkRequestOperationTypeEnum = "DELETE_ONPREM_CONNECTOR"
	WorkRequestOperationTypeUpdateOnpremConnectorWallet           WorkRequestOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR_WALLET"
	WorkRequestOperationTypeChangeOnpremConnectorCompartment      WorkRequestOperationTypeEnum = "CHANGE_ONPREM_CONNECTOR_COMPARTMENT"
	WorkRequestOperationTypeCreateTargetDatabase                  WorkRequestOperationTypeEnum = "CREATE_TARGET_DATABASE"
	WorkRequestOperationTypeUpdateTargetDatabase                  WorkRequestOperationTypeEnum = "UPDATE_TARGET_DATABASE"
	WorkRequestOperationTypeActivateTargetDatabase                WorkRequestOperationTypeEnum = "ACTIVATE_TARGET_DATABASE"
	WorkRequestOperationTypeDeactivateTargetDatabase              WorkRequestOperationTypeEnum = "DEACTIVATE_TARGET_DATABASE"
	WorkRequestOperationTypeDeleteTargetDatabase                  WorkRequestOperationTypeEnum = "DELETE_TARGET_DATABASE"
	WorkRequestOperationTypeChangeTargetDatabaseCompartment       WorkRequestOperationTypeEnum = "CHANGE_TARGET_DATABASE_COMPARTMENT"
	WorkRequestOperationTypeProvisionPolicy                       WorkRequestOperationTypeEnum = "PROVISION_POLICY"
	WorkRequestOperationTypeRetrievePolicy                        WorkRequestOperationTypeEnum = "RETRIEVE_POLICY"
	WorkRequestOperationTypeUpdatePolicy                          WorkRequestOperationTypeEnum = "UPDATE_POLICY"
	WorkRequestOperationTypeChangePolicyCompartment               WorkRequestOperationTypeEnum = "CHANGE_POLICY_COMPARTMENT"
	WorkRequestOperationTypeCreateUserAssessment                  WorkRequestOperationTypeEnum = "CREATE_USER_ASSESSMENT"
	WorkRequestOperationTypeAssessUserAssessment                  WorkRequestOperationTypeEnum = "ASSESS_USER_ASSESSMENT"
	WorkRequestOperationTypeCreateSnapshotUserAssessment          WorkRequestOperationTypeEnum = "CREATE_SNAPSHOT_USER_ASSESSMENT"
	WorkRequestOperationTypeCreateScheduleUserAssessment          WorkRequestOperationTypeEnum = "CREATE_SCHEDULE_USER_ASSESSMENT"
	WorkRequestOperationTypeCompareWithBaselineUserAssessment     WorkRequestOperationTypeEnum = "COMPARE_WITH_BASELINE_USER_ASSESSMENT"
	WorkRequestOperationTypeDeleteUserAssessment                  WorkRequestOperationTypeEnum = "DELETE_USER_ASSESSMENT"
	WorkRequestOperationTypeUpdateUserAssessment                  WorkRequestOperationTypeEnum = "UPDATE_USER_ASSESSMENT"
	WorkRequestOperationTypeChangeUserAssessmentCompartment       WorkRequestOperationTypeEnum = "CHANGE_USER_ASSESSMENT_COMPARTMENT"
	WorkRequestOperationTypeSetUserAssessmentBaseline             WorkRequestOperationTypeEnum = "SET_USER_ASSESSMENT_BASELINE"
	WorkRequestOperationTypeUnsetUserAssessmentBaseline           WorkRequestOperationTypeEnum = "UNSET_USER_ASSESSMENT_BASELINE"
	WorkRequestOperationTypeGenerateUserAssessmentReport          WorkRequestOperationTypeEnum = "GENERATE_USER_ASSESSMENT_REPORT"
	WorkRequestOperationTypeCreateSecurityAssessment              WorkRequestOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeCreateSecurityAssessmentNow           WorkRequestOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT_NOW"
	WorkRequestOperationTypeAssessSecurityAssessment              WorkRequestOperationTypeEnum = "ASSESS_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeCreateSnapshotSecurityAssessment      WorkRequestOperationTypeEnum = "CREATE_SNAPSHOT_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeCreateScheduleSecurityAssessment      WorkRequestOperationTypeEnum = "CREATE_SCHEDULE_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeCompareWithBaselineSecurityAssessment WorkRequestOperationTypeEnum = "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeDeleteSecurityAssessment              WorkRequestOperationTypeEnum = "DELETE_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeUpdateSecurityAssessment              WorkRequestOperationTypeEnum = "UPDATE_SECURITY_ASSESSMENT"
	WorkRequestOperationTypeChangeSecurityAssessmentCompartment   WorkRequestOperationTypeEnum = "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT"
	WorkRequestOperationTypeSetSecurityAssessmentBaseline         WorkRequestOperationTypeEnum = "SET_SECURITY_ASSESSMENT_BASELINE"
	WorkRequestOperationTypeUnsetSecurityAssessmentBaseline       WorkRequestOperationTypeEnum = "UNSET_SECURITY_ASSESSMENT_BASELINE"
	WorkRequestOperationTypeGenerateSecurityAssessmentReport      WorkRequestOperationTypeEnum = "GENERATE_SECURITY_ASSESSMENT_REPORT"
	WorkRequestOperationTypeCreateAuditProfile                    WorkRequestOperationTypeEnum = "CREATE_AUDIT_PROFILE"
	WorkRequestOperationTypeCalculateVolume                       WorkRequestOperationTypeEnum = "CALCULATE_VOLUME"
	WorkRequestOperationTypeCalculateCollectedVolume              WorkRequestOperationTypeEnum = "CALCULATE_COLLECTED_VOLUME"
	WorkRequestOperationTypeAuditTrail                            WorkRequestOperationTypeEnum = "AUDIT_TRAIL"
	WorkRequestOperationTypeDeleteAuditTrail                      WorkRequestOperationTypeEnum = "DELETE_AUDIT_TRAIL"
	WorkRequestOperationTypeDiscoverAuditTrails                   WorkRequestOperationTypeEnum = "DISCOVER_AUDIT_TRAILS"
	WorkRequestOperationTypeUpdateAuditTrail                      WorkRequestOperationTypeEnum = "UPDATE_AUDIT_TRAIL"
	WorkRequestOperationTypeUpdateAuditProfile                    WorkRequestOperationTypeEnum = "UPDATE_AUDIT_PROFILE"
	WorkRequestOperationTypeAuditChangeCompartment                WorkRequestOperationTypeEnum = "AUDIT_CHANGE_COMPARTMENT"
	WorkRequestOperationTypeCreateReportDefinition                WorkRequestOperationTypeEnum = "CREATE_REPORT_DEFINITION"
	WorkRequestOperationTypeUpdateReportDefinition                WorkRequestOperationTypeEnum = "UPDATE_REPORT_DEFINITION"
	WorkRequestOperationTypeChangeReportDefinitionCompartment     WorkRequestOperationTypeEnum = "CHANGE_REPORT_DEFINITION_COMPARTMENT"
	WorkRequestOperationTypeDeleteReportDefinition                WorkRequestOperationTypeEnum = "DELETE_REPORT_DEFINITION"
	WorkRequestOperationTypeGenerateReport                        WorkRequestOperationTypeEnum = "GENERATE_REPORT"
	WorkRequestOperationTypeChangeReportCompartment               WorkRequestOperationTypeEnum = "CHANGE_REPORT_COMPARTMENT"
	WorkRequestOperationTypeDeleteArchiveRetrieval                WorkRequestOperationTypeEnum = "DELETE_ARCHIVE_RETRIEVAL"
	WorkRequestOperationTypeCreateArchiveRetrieval                WorkRequestOperationTypeEnum = "CREATE_ARCHIVE_RETRIEVAL"
	WorkRequestOperationTypeUpdateArchiveRetrieval                WorkRequestOperationTypeEnum = "UPDATE_ARCHIVE_RETRIEVAL"
	WorkRequestOperationTypeChangeArchiveRetrievalCompartment     WorkRequestOperationTypeEnum = "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT"
	WorkRequestOperationTypeUpdateAlert                           WorkRequestOperationTypeEnum = "UPDATE_ALERT"
	WorkRequestOperationTypeTargetAlertPolicyAssociation          WorkRequestOperationTypeEnum = "TARGET_ALERT_POLICY_ASSOCIATION"
	WorkRequestOperationTypeCreateSensitiveDataModel              WorkRequestOperationTypeEnum = "CREATE_SENSITIVE_DATA_MODEL"
	WorkRequestOperationTypeUpdateSensitiveDataModel              WorkRequestOperationTypeEnum = "UPDATE_SENSITIVE_DATA_MODEL"
	WorkRequestOperationTypeDeleteSensitiveDataModel              WorkRequestOperationTypeEnum = "DELETE_SENSITIVE_DATA_MODEL"
	WorkRequestOperationTypeUploadSensitiveDataModel              WorkRequestOperationTypeEnum = "UPLOAD_SENSITIVE_DATA_MODEL"
	WorkRequestOperationTypeGenerateSensitiveDataModelForDownload WorkRequestOperationTypeEnum = "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD"
	WorkRequestOperationTypeCreateSensitiveColumn                 WorkRequestOperationTypeEnum = "CREATE_SENSITIVE_COLUMN"
	WorkRequestOperationTypeUpdateSensitiveColumn                 WorkRequestOperationTypeEnum = "UPDATE_SENSITIVE_COLUMN"
	WorkRequestOperationTypePatchSensitiveColumns                 WorkRequestOperationTypeEnum = "PATCH_SENSITIVE_COLUMNS"
	WorkRequestOperationTypeCreateDiscoveryJob                    WorkRequestOperationTypeEnum = "CREATE_DISCOVERY_JOB"
	WorkRequestOperationTypeDeleteDiscoveryJob                    WorkRequestOperationTypeEnum = "DELETE_DISCOVERY_JOB"
	WorkRequestOperationTypePatchDiscoveryJobResult               WorkRequestOperationTypeEnum = "PATCH_DISCOVERY_JOB_RESULT"
	WorkRequestOperationTypeApplyDiscoveryJobResult               WorkRequestOperationTypeEnum = "APPLY_DISCOVERY_JOB_RESULT"
	WorkRequestOperationTypeGenerateDiscoveryReport               WorkRequestOperationTypeEnum = "GENERATE_DISCOVERY_REPORT"
	WorkRequestOperationTypeCreateSensitiveType                   WorkRequestOperationTypeEnum = "CREATE_SENSITIVE_TYPE"
	WorkRequestOperationTypeUpdateSensitiveType                   WorkRequestOperationTypeEnum = "UPDATE_SENSITIVE_TYPE"
	WorkRequestOperationTypeCreateMaskingPolicy                   WorkRequestOperationTypeEnum = "CREATE_MASKING_POLICY"
	WorkRequestOperationTypeUpdateMaskingPolicy                   WorkRequestOperationTypeEnum = "UPDATE_MASKING_POLICY"
	WorkRequestOperationTypeDeleteMaskingPolicy                   WorkRequestOperationTypeEnum = "DELETE_MASKING_POLICY"
	WorkRequestOperationTypeUploadMaskingPolicy                   WorkRequestOperationTypeEnum = "UPLOAD_MASKING_POLICY"
	WorkRequestOperationTypeGenerateMaskingPolicyForDownload      WorkRequestOperationTypeEnum = "GENERATE_MASKING_POLICY_FOR_DOWNLOAD"
	WorkRequestOperationTypeCreateMaskingColumn                   WorkRequestOperationTypeEnum = "CREATE_MASKING_COLUMN"
	WorkRequestOperationTypeUpdateMaskingColumn                   WorkRequestOperationTypeEnum = "UPDATE_MASKING_COLUMN"
	WorkRequestOperationTypePatchMaskingColumns                   WorkRequestOperationTypeEnum = "PATCH_MASKING_COLUMNS"
	WorkRequestOperationTypeGenerateMaskingReport                 WorkRequestOperationTypeEnum = "GENERATE_MASKING_REPORT"
	WorkRequestOperationTypeCreateLibraryMaskingFormat            WorkRequestOperationTypeEnum = "CREATE_LIBRARY_MASKING_FORMAT"
	WorkRequestOperationTypeUpdateLibraryMaskingFormat            WorkRequestOperationTypeEnum = "UPDATE_LIBRARY_MASKING_FORMAT"
	WorkRequestOperationTypeAddColumnsFromSdm                     WorkRequestOperationTypeEnum = "ADD_COLUMNS_FROM_SDM"
	WorkRequestOperationTypeMaskingJob                            WorkRequestOperationTypeEnum = "MASKING_JOB"
	WorkRequestOperationTypeCreateDifference                      WorkRequestOperationTypeEnum = "CREATE_DIFFERENCE"
	WorkRequestOperationTypeDeleteDifference                      WorkRequestOperationTypeEnum = "DELETE_DIFFERENCE"
	WorkRequestOperationTypeUpdateDifference                      WorkRequestOperationTypeEnum = "UPDATE_DIFFERENCE"
	WorkRequestOperationTypePatchDifference                       WorkRequestOperationTypeEnum = "PATCH_DIFFERENCE"
	WorkRequestOperationTypeApplyDifference                       WorkRequestOperationTypeEnum = "APPLY_DIFFERENCE"
	WorkRequestOperationTypeCreateSchedule                        WorkRequestOperationTypeEnum = "CREATE_SCHEDULE"
	WorkRequestOperationTypeRemoveScheduleReport                  WorkRequestOperationTypeEnum = "REMOVE_SCHEDULE_REPORT"
	WorkRequestOperationTypeUpdateAllAlert                        WorkRequestOperationTypeEnum = "UPDATE_ALL_ALERT"
	WorkRequestOperationTypePatchTargetAlertPolicyAssociation     WorkRequestOperationTypeEnum = "PATCH_TARGET_ALERT_POLICY_ASSOCIATION"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum ¶

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestOperationTypeEnumValues ¶

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource ¶

type WorkRequestResource struct {

	// The resource type impacted by the work request.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource was affected by the operation that spawned the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

	// An OCID or other unique identifier for the resource.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can use for a GET request to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

func (WorkRequestResource) String ¶

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue ¶

func (m WorkRequestResource) 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 WorkRequestResourceActionTypeEnum ¶

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
	WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
	WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
	WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
	WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
	WorkRequestResourceActionTypeFailed     WorkRequestResourceActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum ¶

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceActionTypeEnumValues ¶

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum ¶

type WorkRequestStatusEnum string

WorkRequestStatusEnum Enum with underlying type: string

const (
	WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
	WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
	WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
	WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
	WorkRequestStatusCanceling  WorkRequestStatusEnum = "CANCELING"
	WorkRequestStatusCanceled   WorkRequestStatusEnum = "CANCELED"
	WorkRequestStatusSuspending WorkRequestStatusEnum = "SUSPENDING"
	WorkRequestStatusSuspended  WorkRequestStatusEnum = "SUSPENDED"
)

Set of constants representing the allowable values for WorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum ¶

func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)

GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestStatusEnumValues ¶

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary ¶

type WorkRequestSummary struct {

	// The asynchronous operation tracked by this work request.
	OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"`

	// The current status of the work request.
	Status WorkRequestSummaryStatusEnum `mandatory:"true" json:"status"`

	// The OCID of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources that are affected by the work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Progress of the work request in percentage.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the work request was accepted, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary Summary of a work request.

func (WorkRequestSummary) String ¶

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue ¶

func (m WorkRequestSummary) 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 WorkRequestSummaryOperationTypeEnum ¶

type WorkRequestSummaryOperationTypeEnum string

WorkRequestSummaryOperationTypeEnum Enum with underlying type: string

const (
	WorkRequestSummaryOperationTypeEnableDataSafeConfiguration           WorkRequestSummaryOperationTypeEnum = "ENABLE_DATA_SAFE_CONFIGURATION"
	WorkRequestSummaryOperationTypeCreatePrivateEndpoint                 WorkRequestSummaryOperationTypeEnum = "CREATE_PRIVATE_ENDPOINT"
	WorkRequestSummaryOperationTypeUpdatePrivateEndpoint                 WorkRequestSummaryOperationTypeEnum = "UPDATE_PRIVATE_ENDPOINT"
	WorkRequestSummaryOperationTypeDeletePrivateEndpoint                 WorkRequestSummaryOperationTypeEnum = "DELETE_PRIVATE_ENDPOINT"
	WorkRequestSummaryOperationTypeChangePrivateEndpointCompartment      WorkRequestSummaryOperationTypeEnum = "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT"
	WorkRequestSummaryOperationTypeCreateOnpremConnector                 WorkRequestSummaryOperationTypeEnum = "CREATE_ONPREM_CONNECTOR"
	WorkRequestSummaryOperationTypeUpdateOnpremConnector                 WorkRequestSummaryOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR"
	WorkRequestSummaryOperationTypeDeleteOnpremConnector                 WorkRequestSummaryOperationTypeEnum = "DELETE_ONPREM_CONNECTOR"
	WorkRequestSummaryOperationTypeUpdateOnpremConnectorWallet           WorkRequestSummaryOperationTypeEnum = "UPDATE_ONPREM_CONNECTOR_WALLET"
	WorkRequestSummaryOperationTypeChangeOnpremConnectorCompartment      WorkRequestSummaryOperationTypeEnum = "CHANGE_ONPREM_CONNECTOR_COMPARTMENT"
	WorkRequestSummaryOperationTypeProvisionPolicy                       WorkRequestSummaryOperationTypeEnum = "PROVISION_POLICY"
	WorkRequestSummaryOperationTypeRetrievePolicy                        WorkRequestSummaryOperationTypeEnum = "RETRIEVE_POLICY"
	WorkRequestSummaryOperationTypeUpdatePolicy                          WorkRequestSummaryOperationTypeEnum = "UPDATE_POLICY"
	WorkRequestSummaryOperationTypeChangePolicyCompartment               WorkRequestSummaryOperationTypeEnum = "CHANGE_POLICY_COMPARTMENT"
	WorkRequestSummaryOperationTypeCreateTargetDatabase                  WorkRequestSummaryOperationTypeEnum = "CREATE_TARGET_DATABASE"
	WorkRequestSummaryOperationTypeUpdateTargetDatabase                  WorkRequestSummaryOperationTypeEnum = "UPDATE_TARGET_DATABASE"
	WorkRequestSummaryOperationTypeActivateTargetDatabase                WorkRequestSummaryOperationTypeEnum = "ACTIVATE_TARGET_DATABASE"
	WorkRequestSummaryOperationTypeDeactivateTargetDatabase              WorkRequestSummaryOperationTypeEnum = "DEACTIVATE_TARGET_DATABASE"
	WorkRequestSummaryOperationTypeDeleteTargetDatabase                  WorkRequestSummaryOperationTypeEnum = "DELETE_TARGET_DATABASE"
	WorkRequestSummaryOperationTypeChangeTargetDatabaseCompartment       WorkRequestSummaryOperationTypeEnum = "CHANGE_TARGET_DATABASE_COMPARTMENT"
	WorkRequestSummaryOperationTypeCreateUserAssessment                  WorkRequestSummaryOperationTypeEnum = "CREATE_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeAssessUserAssessment                  WorkRequestSummaryOperationTypeEnum = "ASSESS_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeCreateSnapshotUserAssessment          WorkRequestSummaryOperationTypeEnum = "CREATE_SNAPSHOT_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeCreateScheduleUserAssessment          WorkRequestSummaryOperationTypeEnum = "CREATE_SCHEDULE_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeCompareWithBaselineUserAssessment     WorkRequestSummaryOperationTypeEnum = "COMPARE_WITH_BASELINE_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeDeleteUserAssessment                  WorkRequestSummaryOperationTypeEnum = "DELETE_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeUpdateUserAssessment                  WorkRequestSummaryOperationTypeEnum = "UPDATE_USER_ASSESSMENT"
	WorkRequestSummaryOperationTypeChangeUserAssessmentCompartment       WorkRequestSummaryOperationTypeEnum = "CHANGE_USER_ASSESSMENT_COMPARTMENT"
	WorkRequestSummaryOperationTypeSetUserAssessmentBaseline             WorkRequestSummaryOperationTypeEnum = "SET_USER_ASSESSMENT_BASELINE"
	WorkRequestSummaryOperationTypeUnsetUserAssessmentBaseline           WorkRequestSummaryOperationTypeEnum = "UNSET_USER_ASSESSMENT_BASELINE"
	WorkRequestSummaryOperationTypeGenerateUserAssessmentReport          WorkRequestSummaryOperationTypeEnum = "GENERATE_USER_ASSESSMENT_REPORT"
	WorkRequestSummaryOperationTypeCreateSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeCreateSecurityAssessmentNow           WorkRequestSummaryOperationTypeEnum = "CREATE_SECURITY_ASSESSMENT_NOW"
	WorkRequestSummaryOperationTypeAssessSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "ASSESS_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeCreateSnapshotSecurityAssessment      WorkRequestSummaryOperationTypeEnum = "CREATE_SNAPSHOT_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeCreateScheduleSecurityAssessment      WorkRequestSummaryOperationTypeEnum = "CREATE_SCHEDULE_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeCompareWithBaselineSecurityAssessment WorkRequestSummaryOperationTypeEnum = "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeDeleteSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "DELETE_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeUpdateSecurityAssessment              WorkRequestSummaryOperationTypeEnum = "UPDATE_SECURITY_ASSESSMENT"
	WorkRequestSummaryOperationTypeChangeSecurityAssessmentCompartment   WorkRequestSummaryOperationTypeEnum = "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT"
	WorkRequestSummaryOperationTypeSetSecurityAssessmentBaseline         WorkRequestSummaryOperationTypeEnum = "SET_SECURITY_ASSESSMENT_BASELINE"
	WorkRequestSummaryOperationTypeUnsetSecurityAssessmentBaseline       WorkRequestSummaryOperationTypeEnum = "UNSET_SECURITY_ASSESSMENT_BASELINE"
	WorkRequestSummaryOperationTypeGenerateSecurityAssessmentReport      WorkRequestSummaryOperationTypeEnum = "GENERATE_SECURITY_ASSESSMENT_REPORT"
	WorkRequestSummaryOperationTypeCalculateVolume                       WorkRequestSummaryOperationTypeEnum = "CALCULATE_VOLUME"
	WorkRequestSummaryOperationTypeCalculateCollectedVolume              WorkRequestSummaryOperationTypeEnum = "CALCULATE_COLLECTED_VOLUME"
	WorkRequestSummaryOperationTypeAuditTrail                            WorkRequestSummaryOperationTypeEnum = "AUDIT_TRAIL"
	WorkRequestSummaryOperationTypeDeleteAuditTrail                      WorkRequestSummaryOperationTypeEnum = "DELETE_AUDIT_TRAIL"
	WorkRequestSummaryOperationTypeDiscoverAuditTrails                   WorkRequestSummaryOperationTypeEnum = "DISCOVER_AUDIT_TRAILS"
	WorkRequestSummaryOperationTypeUpdateAuditTrail                      WorkRequestSummaryOperationTypeEnum = "UPDATE_AUDIT_TRAIL"
	WorkRequestSummaryOperationTypeUpdateAuditProfile                    WorkRequestSummaryOperationTypeEnum = "UPDATE_AUDIT_PROFILE"
	WorkRequestSummaryOperationTypeAuditChangeCompartment                WorkRequestSummaryOperationTypeEnum = "AUDIT_CHANGE_COMPARTMENT"
	WorkRequestSummaryOperationTypeCreateReportDefinition                WorkRequestSummaryOperationTypeEnum = "CREATE_REPORT_DEFINITION"
	WorkRequestSummaryOperationTypeUpdateReportDefinition                WorkRequestSummaryOperationTypeEnum = "UPDATE_REPORT_DEFINITION"
	WorkRequestSummaryOperationTypeChangeReportDefinitionCompartment     WorkRequestSummaryOperationTypeEnum = "CHANGE_REPORT_DEFINITION_COMPARTMENT"
	WorkRequestSummaryOperationTypeDeleteReportDefinition                WorkRequestSummaryOperationTypeEnum = "DELETE_REPORT_DEFINITION"
	WorkRequestSummaryOperationTypeGenerateReport                        WorkRequestSummaryOperationTypeEnum = "GENERATE_REPORT"
	WorkRequestSummaryOperationTypeChangeReportCompartment               WorkRequestSummaryOperationTypeEnum = "CHANGE_REPORT_COMPARTMENT"
	WorkRequestSummaryOperationTypeDeleteArchiveRetrieval                WorkRequestSummaryOperationTypeEnum = "DELETE_ARCHIVE_RETRIEVAL"
	WorkRequestSummaryOperationTypeCreateArchiveRetrieval                WorkRequestSummaryOperationTypeEnum = "CREATE_ARCHIVE_RETRIEVAL"
	WorkRequestSummaryOperationTypeUpdateArchiveRetrieval                WorkRequestSummaryOperationTypeEnum = "UPDATE_ARCHIVE_RETRIEVAL"
	WorkRequestSummaryOperationTypeChangeArchiveRetrievalCompartment     WorkRequestSummaryOperationTypeEnum = "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT"
	WorkRequestSummaryOperationTypeUpdateAlert                           WorkRequestSummaryOperationTypeEnum = "UPDATE_ALERT"
	WorkRequestSummaryOperationTypeTargetAlertPolicyAssociation          WorkRequestSummaryOperationTypeEnum = "TARGET_ALERT_POLICY_ASSOCIATION"
	WorkRequestSummaryOperationTypeCreateSensitiveDataModel              WorkRequestSummaryOperationTypeEnum = "CREATE_SENSITIVE_DATA_MODEL"
	WorkRequestSummaryOperationTypeUpdateSensitiveDataModel              WorkRequestSummaryOperationTypeEnum = "UPDATE_SENSITIVE_DATA_MODEL"
	WorkRequestSummaryOperationTypeDeleteSensitiveDataModel              WorkRequestSummaryOperationTypeEnum = "DELETE_SENSITIVE_DATA_MODEL"
	WorkRequestSummaryOperationTypeUploadSensitiveDataModel              WorkRequestSummaryOperationTypeEnum = "UPLOAD_SENSITIVE_DATA_MODEL"
	WorkRequestSummaryOperationTypeGenerateSensitiveDataModelForDownload WorkRequestSummaryOperationTypeEnum = "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD"
	WorkRequestSummaryOperationTypeCreateSensitiveColumn                 WorkRequestSummaryOperationTypeEnum = "CREATE_SENSITIVE_COLUMN"
	WorkRequestSummaryOperationTypeUpdateSensitiveColumn                 WorkRequestSummaryOperationTypeEnum = "UPDATE_SENSITIVE_COLUMN"
	WorkRequestSummaryOperationTypePatchSensitiveColumns                 WorkRequestSummaryOperationTypeEnum = "PATCH_SENSITIVE_COLUMNS"
	WorkRequestSummaryOperationTypeCreateDiscoveryJob                    WorkRequestSummaryOperationTypeEnum = "CREATE_DISCOVERY_JOB"
	WorkRequestSummaryOperationTypeDeleteDiscoveryJob                    WorkRequestSummaryOperationTypeEnum = "DELETE_DISCOVERY_JOB"
	WorkRequestSummaryOperationTypePatchDiscoveryJobResult               WorkRequestSummaryOperationTypeEnum = "PATCH_DISCOVERY_JOB_RESULT"
	WorkRequestSummaryOperationTypeApplyDiscoveryJobResult               WorkRequestSummaryOperationTypeEnum = "APPLY_DISCOVERY_JOB_RESULT"
	WorkRequestSummaryOperationTypeGenerateDiscoveryReport               WorkRequestSummaryOperationTypeEnum = "GENERATE_DISCOVERY_REPORT"
	WorkRequestSummaryOperationTypeCreateSensitiveType                   WorkRequestSummaryOperationTypeEnum = "CREATE_SENSITIVE_TYPE"
	WorkRequestSummaryOperationTypeUpdateSensitiveType                   WorkRequestSummaryOperationTypeEnum = "UPDATE_SENSITIVE_TYPE"
	WorkRequestSummaryOperationTypeCreateMaskingPolicy                   WorkRequestSummaryOperationTypeEnum = "CREATE_MASKING_POLICY"
	WorkRequestSummaryOperationTypeUpdateMaskingPolicy                   WorkRequestSummaryOperationTypeEnum = "UPDATE_MASKING_POLICY"
	WorkRequestSummaryOperationTypeDeleteMaskingPolicy                   WorkRequestSummaryOperationTypeEnum = "DELETE_MASKING_POLICY"
	WorkRequestSummaryOperationTypeUploadMaskingPolicy                   WorkRequestSummaryOperationTypeEnum = "UPLOAD_MASKING_POLICY"
	WorkRequestSummaryOperationTypeGenerateMaskingPolicyForDownload      WorkRequestSummaryOperationTypeEnum = "GENERATE_MASKING_POLICY_FOR_DOWNLOAD"
	WorkRequestSummaryOperationTypeCreateMaskingColumn                   WorkRequestSummaryOperationTypeEnum = "CREATE_MASKING_COLUMN"
	WorkRequestSummaryOperationTypeUpdateMaskingColumn                   WorkRequestSummaryOperationTypeEnum = "UPDATE_MASKING_COLUMN"
	WorkRequestSummaryOperationTypePatchMaskingColumns                   WorkRequestSummaryOperationTypeEnum = "PATCH_MASKING_COLUMNS"
	WorkRequestSummaryOperationTypeGenerateMaskingReport                 WorkRequestSummaryOperationTypeEnum = "GENERATE_MASKING_REPORT"
	WorkRequestSummaryOperationTypeCreateLibraryMaskingFormat            WorkRequestSummaryOperationTypeEnum = "CREATE_LIBRARY_MASKING_FORMAT"
	WorkRequestSummaryOperationTypeUpdateLibraryMaskingFormat            WorkRequestSummaryOperationTypeEnum = "UPDATE_LIBRARY_MASKING_FORMAT"
	WorkRequestSummaryOperationTypeAddColumnsFromSdm                     WorkRequestSummaryOperationTypeEnum = "ADD_COLUMNS_FROM_SDM"
	WorkRequestSummaryOperationTypeMaskingJob                            WorkRequestSummaryOperationTypeEnum = "MASKING_JOB"
	WorkRequestSummaryOperationTypeCreateDifference                      WorkRequestSummaryOperationTypeEnum = "CREATE_DIFFERENCE"
	WorkRequestSummaryOperationTypeDeleteDifference                      WorkRequestSummaryOperationTypeEnum = "DELETE_DIFFERENCE"
	WorkRequestSummaryOperationTypeUpdateDifference                      WorkRequestSummaryOperationTypeEnum = "UPDATE_DIFFERENCE"
	WorkRequestSummaryOperationTypePatchDifference                       WorkRequestSummaryOperationTypeEnum = "PATCH_DIFFERENCE"
	WorkRequestSummaryOperationTypeApplyDifference                       WorkRequestSummaryOperationTypeEnum = "APPLY_DIFFERENCE"
	WorkRequestSummaryOperationTypeCreateSchedule                        WorkRequestSummaryOperationTypeEnum = "CREATE_SCHEDULE"
	WorkRequestSummaryOperationTypeRemoveScheduleReport                  WorkRequestSummaryOperationTypeEnum = "REMOVE_SCHEDULE_REPORT"
	WorkRequestSummaryOperationTypeUpdateAllAlert                        WorkRequestSummaryOperationTypeEnum = "UPDATE_ALL_ALERT"
	WorkRequestSummaryOperationTypePatchTargetAlertPolicyAssociation     WorkRequestSummaryOperationTypeEnum = "PATCH_TARGET_ALERT_POLICY_ASSOCIATION"
)

Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum

func GetMappingWorkRequestSummaryOperationTypeEnum ¶

func GetMappingWorkRequestSummaryOperationTypeEnum(val string) (WorkRequestSummaryOperationTypeEnum, bool)

GetMappingWorkRequestSummaryOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestSummaryOperationTypeEnumValues ¶

func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum

type WorkRequestSummaryStatusEnum ¶

type WorkRequestSummaryStatusEnum string

WorkRequestSummaryStatusEnum Enum with underlying type: string

const (
	WorkRequestSummaryStatusAccepted   WorkRequestSummaryStatusEnum = "ACCEPTED"
	WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS"
	WorkRequestSummaryStatusFailed     WorkRequestSummaryStatusEnum = "FAILED"
	WorkRequestSummaryStatusSucceeded  WorkRequestSummaryStatusEnum = "SUCCEEDED"
	WorkRequestSummaryStatusCanceling  WorkRequestSummaryStatusEnum = "CANCELING"
	WorkRequestSummaryStatusCanceled   WorkRequestSummaryStatusEnum = "CANCELED"
	WorkRequestSummaryStatusSuspending WorkRequestSummaryStatusEnum = "SUSPENDING"
	WorkRequestSummaryStatusSuspended  WorkRequestSummaryStatusEnum = "SUSPENDED"
)

Set of constants representing the allowable values for WorkRequestSummaryStatusEnum

func GetMappingWorkRequestSummaryStatusEnum ¶

func GetMappingWorkRequestSummaryStatusEnum(val string) (WorkRequestSummaryStatusEnum, bool)

GetMappingWorkRequestSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestSummaryStatusEnumValues ¶

func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL