func GetAddDataFilesDetailsFileTypeEnumStringValues() []string
GetAddDataFilesDetailsFileTypeEnumStringValues Enumerates the set of values in String for AddDataFilesDetailsFileTypeEnum
func GetAwrDbReportFormatEnumStringValues() []string
GetAwrDbReportFormatEnumStringValues Enumerates the set of values in String for AwrDbReportFormatEnum
func GetAwrDbSqlReportFormatEnumStringValues() []string
GetAwrDbSqlReportFormatEnumStringValues Enumerates the set of values in String for AwrDbSqlReportFormatEnum
func GetAwrQueryResultAwrResultTypeEnumStringValues() []string
GetAwrQueryResultAwrResultTypeEnumStringValues Enumerates the set of values in String for AwrQueryResultAwrResultTypeEnum
func GetCompareTypeEnumStringValues() []string
GetCompareTypeEnumStringValues Enumerates the set of values in String for CompareTypeEnum
func GetConsumerGroupPrivilegeSummaryGrantOptionEnumStringValues() []string
GetConsumerGroupPrivilegeSummaryGrantOptionEnumStringValues Enumerates the set of values in String for ConsumerGroupPrivilegeSummaryGrantOptionEnum
func GetConsumerGroupPrivilegeSummaryInitialGroupEnumStringValues() []string
GetConsumerGroupPrivilegeSummaryInitialGroupEnumStringValues Enumerates the set of values in String for ConsumerGroupPrivilegeSummaryInitialGroupEnum
func GetCreateTablespaceDetailsDefaultCompressEnumStringValues() []string
GetCreateTablespaceDetailsDefaultCompressEnumStringValues Enumerates the set of values in String for CreateTablespaceDetailsDefaultCompressEnum
func GetCreateTablespaceDetailsExtentManagementEnumStringValues() []string
GetCreateTablespaceDetailsExtentManagementEnumStringValues Enumerates the set of values in String for CreateTablespaceDetailsExtentManagementEnum
func GetCreateTablespaceDetailsSegmentManagementEnumStringValues() []string
GetCreateTablespaceDetailsSegmentManagementEnumStringValues Enumerates the set of values in String for CreateTablespaceDetailsSegmentManagementEnum
func GetCreateTablespaceDetailsStatusEnumStringValues() []string
GetCreateTablespaceDetailsStatusEnumStringValues Enumerates the set of values in String for CreateTablespaceDetailsStatusEnum
func GetCreateTablespaceDetailsTypeEnumStringValues() []string
GetCreateTablespaceDetailsTypeEnumStringValues Enumerates the set of values in String for CreateTablespaceDetailsTypeEnum
func GetDatabaseCredentialsRoleEnumStringValues() []string
GetDatabaseCredentialsRoleEnumStringValues Enumerates the set of values in String for DatabaseCredentialsRoleEnum
func GetDatabaseParameterSummaryConstraintEnumStringValues() []string
GetDatabaseParameterSummaryConstraintEnumStringValues Enumerates the set of values in String for DatabaseParameterSummaryConstraintEnum
func GetDatabaseParameterSummaryIsModifiedEnumStringValues() []string
GetDatabaseParameterSummaryIsModifiedEnumStringValues Enumerates the set of values in String for DatabaseParameterSummaryIsModifiedEnum
func GetDatabaseParameterSummaryIsSystemModifiableEnumStringValues() []string
GetDatabaseParameterSummaryIsSystemModifiableEnumStringValues Enumerates the set of values in String for DatabaseParameterSummaryIsSystemModifiableEnum
func GetDatabaseParameterSummaryTypeEnumStringValues() []string
GetDatabaseParameterSummaryTypeEnumStringValues Enumerates the set of values in String for DatabaseParameterSummaryTypeEnum
func GetDatabaseParameterUpdateStatusStatusEnumStringValues() []string
GetDatabaseParameterUpdateStatusStatusEnumStringValues Enumerates the set of values in String for DatabaseParameterUpdateStatusStatusEnum
func GetDatabaseStatusEnumStringValues() []string
GetDatabaseStatusEnumStringValues Enumerates the set of values in String for DatabaseStatusEnum
func GetDatabaseSubTypeEnumStringValues() []string
GetDatabaseSubTypeEnumStringValues Enumerates the set of values in String for DatabaseSubTypeEnum
func GetDatabaseTypeEnumStringValues() []string
GetDatabaseTypeEnumStringValues Enumerates the set of values in String for DatabaseTypeEnum
func GetDatafileLostWriteProtectEnumStringValues() []string
GetDatafileLostWriteProtectEnumStringValues Enumerates the set of values in String for DatafileLostWriteProtectEnum
func GetDatafileOnlineStatusEnumStringValues() []string
GetDatafileOnlineStatusEnumStringValues Enumerates the set of values in String for DatafileOnlineStatusEnum
func GetDatafileSharedEnumStringValues() []string
GetDatafileSharedEnumStringValues Enumerates the set of values in String for DatafileSharedEnum
func GetDatafileStatusEnumStringValues() []string
GetDatafileStatusEnumStringValues Enumerates the set of values in String for DatafileStatusEnum
func GetDeploymentTypeEnumStringValues() []string
GetDeploymentTypeEnumStringValues Enumerates the set of values in String for DeploymentTypeEnum
func GetGetAwrDbReportReportFormatEnumStringValues() []string
GetGetAwrDbReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrDbReportReportFormatEnum
func GetGetAwrDbReportReportTypeEnumStringValues() []string
GetGetAwrDbReportReportTypeEnumStringValues Enumerates the set of values in String for GetAwrDbReportReportTypeEnum
func GetGetAwrDbSqlReportReportFormatEnumStringValues() []string
GetGetAwrDbSqlReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrDbSqlReportReportFormatEnum
func GetGetDatabaseFleetHealthMetricsCompareTypeEnumStringValues() []string
GetGetDatabaseFleetHealthMetricsCompareTypeEnumStringValues Enumerates the set of values in String for GetDatabaseFleetHealthMetricsCompareTypeEnum
func GetGetPdbMetricsCompareTypeEnumStringValues() []string
GetGetPdbMetricsCompareTypeEnumStringValues Enumerates the set of values in String for GetPdbMetricsCompareTypeEnum
func GetGetSqlExecutionPlanAttributeEnumStringValues() []string
GetGetSqlExecutionPlanAttributeEnumStringValues Enumerates the set of values in String for GetSqlExecutionPlanAttributeEnum
func GetGetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnumStringValues() []string
GetGetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnumStringValues Enumerates the set of values in String for GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum
func GetInstanceDetailsStatusEnumStringValues() []string
GetInstanceDetailsStatusEnumStringValues Enumerates the set of values in String for InstanceDetailsStatusEnum
func GetJobExecutionResultDetailsTypeEnumStringValues() []string
GetJobExecutionResultDetailsTypeEnumStringValues Enumerates the set of values in String for JobExecutionResultDetailsTypeEnum
func GetJobExecutionResultLocationTypeEnumStringValues() []string
GetJobExecutionResultLocationTypeEnumStringValues Enumerates the set of values in String for JobExecutionResultLocationTypeEnum
func GetJobExecutionStatusEnumStringValues() []string
GetJobExecutionStatusEnumStringValues Enumerates the set of values in String for JobExecutionStatusEnum
func GetJobExecutionsStatusSummaryStatusEnumStringValues() []string
GetJobExecutionsStatusSummaryStatusEnumStringValues Enumerates the set of values in String for JobExecutionsStatusSummaryStatusEnum
func GetJobLifecycleStateEnumStringValues() []string
GetJobLifecycleStateEnumStringValues Enumerates the set of values in String for JobLifecycleStateEnum
func GetJobRunRunStatusEnumStringValues() []string
GetJobRunRunStatusEnumStringValues Enumerates the set of values in String for JobRunRunStatusEnum
func GetJobScheduleDetailsIntervalTypeEnumStringValues() []string
GetJobScheduleDetailsIntervalTypeEnumStringValues Enumerates the set of values in String for JobScheduleDetailsIntervalTypeEnum
func GetJobScheduleTypeEnumStringValues() []string
GetJobScheduleTypeEnumStringValues Enumerates the set of values in String for JobScheduleTypeEnum
func GetJobTypesEnumStringValues() []string
GetJobTypesEnumStringValues Enumerates the set of values in String for JobTypesEnum
func GetLifecycleStatesEnumStringValues() []string
GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum
func GetListAsmPropertiesSortByEnumStringValues() []string
GetListAsmPropertiesSortByEnumStringValues Enumerates the set of values in String for ListAsmPropertiesSortByEnum
func GetListAsmPropertiesSortOrderEnumStringValues() []string
GetListAsmPropertiesSortOrderEnumStringValues Enumerates the set of values in String for ListAsmPropertiesSortOrderEnum
func GetListAssociatedDatabasesSortByEnumStringValues() []string
GetListAssociatedDatabasesSortByEnumStringValues Enumerates the set of values in String for ListAssociatedDatabasesSortByEnum
func GetListAssociatedDatabasesSortOrderEnumStringValues() []string
GetListAssociatedDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListAssociatedDatabasesSortOrderEnum
func GetListAwrDbSnapshotsSortByEnumStringValues() []string
GetListAwrDbSnapshotsSortByEnumStringValues Enumerates the set of values in String for ListAwrDbSnapshotsSortByEnum
func GetListAwrDbSnapshotsSortOrderEnumStringValues() []string
GetListAwrDbSnapshotsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrDbSnapshotsSortOrderEnum
func GetListAwrDbsSortByEnumStringValues() []string
GetListAwrDbsSortByEnumStringValues Enumerates the set of values in String for ListAwrDbsSortByEnum
func GetListAwrDbsSortOrderEnumStringValues() []string
GetListAwrDbsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrDbsSortOrderEnum
func GetListConsumerGroupPrivilegesSortByEnumStringValues() []string
GetListConsumerGroupPrivilegesSortByEnumStringValues Enumerates the set of values in String for ListConsumerGroupPrivilegesSortByEnum
func GetListConsumerGroupPrivilegesSortOrderEnumStringValues() []string
GetListConsumerGroupPrivilegesSortOrderEnumStringValues Enumerates the set of values in String for ListConsumerGroupPrivilegesSortOrderEnum
func GetListDataAccessContainersSortByEnumStringValues() []string
GetListDataAccessContainersSortByEnumStringValues Enumerates the set of values in String for ListDataAccessContainersSortByEnum
func GetListDataAccessContainersSortOrderEnumStringValues() []string
GetListDataAccessContainersSortOrderEnumStringValues Enumerates the set of values in String for ListDataAccessContainersSortOrderEnum
func GetListDatabaseParametersSortByEnumStringValues() []string
GetListDatabaseParametersSortByEnumStringValues Enumerates the set of values in String for ListDatabaseParametersSortByEnum
func GetListDatabaseParametersSortOrderEnumStringValues() []string
GetListDatabaseParametersSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseParametersSortOrderEnum
func GetListDatabaseParametersSourceEnumStringValues() []string
GetListDatabaseParametersSourceEnumStringValues Enumerates the set of values in String for ListDatabaseParametersSourceEnum
func GetListDbManagementPrivateEndpointsLifecycleStateEnumStringValues() []string
GetListDbManagementPrivateEndpointsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDbManagementPrivateEndpointsLifecycleStateEnum
func GetListDbManagementPrivateEndpointsSortByEnumStringValues() []string
GetListDbManagementPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListDbManagementPrivateEndpointsSortByEnum
func GetListDbManagementPrivateEndpointsSortOrderEnumStringValues() []string
GetListDbManagementPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListDbManagementPrivateEndpointsSortOrderEnum
func GetListJobExecutionsSortByEnumStringValues() []string
GetListJobExecutionsSortByEnumStringValues Enumerates the set of values in String for ListJobExecutionsSortByEnum
func GetListJobExecutionsSortOrderEnumStringValues() []string
GetListJobExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListJobExecutionsSortOrderEnum
func GetListJobRunsSortByEnumStringValues() []string
GetListJobRunsSortByEnumStringValues Enumerates the set of values in String for ListJobRunsSortByEnum
func GetListJobRunsSortOrderEnumStringValues() []string
GetListJobRunsSortOrderEnumStringValues Enumerates the set of values in String for ListJobRunsSortOrderEnum
func GetListJobsSortByEnumStringValues() []string
GetListJobsSortByEnumStringValues Enumerates the set of values in String for ListJobsSortByEnum
func GetListJobsSortOrderEnumStringValues() []string
GetListJobsSortOrderEnumStringValues Enumerates the set of values in String for ListJobsSortOrderEnum
func GetListManagedDatabaseGroupsLifecycleStateEnumStringValues() []string
GetListManagedDatabaseGroupsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedDatabaseGroupsLifecycleStateEnum
func GetListManagedDatabaseGroupsSortByEnumStringValues() []string
GetListManagedDatabaseGroupsSortByEnumStringValues Enumerates the set of values in String for ListManagedDatabaseGroupsSortByEnum
func GetListManagedDatabaseGroupsSortOrderEnumStringValues() []string
GetListManagedDatabaseGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedDatabaseGroupsSortOrderEnum
func GetListManagedDatabasesDeploymentTypeEnumStringValues() []string
GetListManagedDatabasesDeploymentTypeEnumStringValues Enumerates the set of values in String for ListManagedDatabasesDeploymentTypeEnum
func GetListManagedDatabasesManagementOptionEnumStringValues() []string
GetListManagedDatabasesManagementOptionEnumStringValues Enumerates the set of values in String for ListManagedDatabasesManagementOptionEnum
func GetListManagedDatabasesSortByEnumStringValues() []string
GetListManagedDatabasesSortByEnumStringValues Enumerates the set of values in String for ListManagedDatabasesSortByEnum
func GetListManagedDatabasesSortOrderEnumStringValues() []string
GetListManagedDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedDatabasesSortOrderEnum
func GetListObjectPrivilegesSortByEnumStringValues() []string
GetListObjectPrivilegesSortByEnumStringValues Enumerates the set of values in String for ListObjectPrivilegesSortByEnum
func GetListObjectPrivilegesSortOrderEnumStringValues() []string
GetListObjectPrivilegesSortOrderEnumStringValues Enumerates the set of values in String for ListObjectPrivilegesSortOrderEnum
func GetListProxiedForUsersSortByEnumStringValues() []string
GetListProxiedForUsersSortByEnumStringValues Enumerates the set of values in String for ListProxiedForUsersSortByEnum
func GetListProxiedForUsersSortOrderEnumStringValues() []string
GetListProxiedForUsersSortOrderEnumStringValues Enumerates the set of values in String for ListProxiedForUsersSortOrderEnum
func GetListProxyUsersSortByEnumStringValues() []string
GetListProxyUsersSortByEnumStringValues Enumerates the set of values in String for ListProxyUsersSortByEnum
func GetListProxyUsersSortOrderEnumStringValues() []string
GetListProxyUsersSortOrderEnumStringValues Enumerates the set of values in String for ListProxyUsersSortOrderEnum
func GetListRolesSortByEnumStringValues() []string
GetListRolesSortByEnumStringValues Enumerates the set of values in String for ListRolesSortByEnum
func GetListRolesSortOrderEnumStringValues() []string
GetListRolesSortOrderEnumStringValues Enumerates the set of values in String for ListRolesSortOrderEnum
func GetListSqlTuningAdvisorTaskFindingsFindingFilterEnumStringValues() []string
GetListSqlTuningAdvisorTaskFindingsFindingFilterEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTaskFindingsFindingFilterEnum
func GetListSqlTuningAdvisorTaskFindingsSearchPeriodEnumStringValues() []string
GetListSqlTuningAdvisorTaskFindingsSearchPeriodEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum
func GetListSqlTuningAdvisorTaskFindingsSortByEnumStringValues() []string
GetListSqlTuningAdvisorTaskFindingsSortByEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTaskFindingsSortByEnum
func GetListSqlTuningAdvisorTaskFindingsSortOrderEnumStringValues() []string
GetListSqlTuningAdvisorTaskFindingsSortOrderEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTaskFindingsSortOrderEnum
func GetListSqlTuningAdvisorTaskRecommendationsSortByEnumStringValues() []string
GetListSqlTuningAdvisorTaskRecommendationsSortByEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTaskRecommendationsSortByEnum
func GetListSqlTuningAdvisorTaskRecommendationsSortOrderEnumStringValues() []string
GetListSqlTuningAdvisorTaskRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum
func GetListSqlTuningAdvisorTasksSortByEnumStringValues() []string
GetListSqlTuningAdvisorTasksSortByEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTasksSortByEnum
func GetListSqlTuningAdvisorTasksSortOrderEnumStringValues() []string
GetListSqlTuningAdvisorTasksSortOrderEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTasksSortOrderEnum
func GetListSqlTuningAdvisorTasksStatusEnumStringValues() []string
GetListSqlTuningAdvisorTasksStatusEnumStringValues Enumerates the set of values in String for ListSqlTuningAdvisorTasksStatusEnum
func GetListSystemPrivilegesSortByEnumStringValues() []string
GetListSystemPrivilegesSortByEnumStringValues Enumerates the set of values in String for ListSystemPrivilegesSortByEnum
func GetListSystemPrivilegesSortOrderEnumStringValues() []string
GetListSystemPrivilegesSortOrderEnumStringValues Enumerates the set of values in String for ListSystemPrivilegesSortOrderEnum
func GetListTablespacesSortByEnumStringValues() []string
GetListTablespacesSortByEnumStringValues Enumerates the set of values in String for ListTablespacesSortByEnum
func GetListTablespacesSortOrderEnumStringValues() []string
GetListTablespacesSortOrderEnumStringValues Enumerates the set of values in String for ListTablespacesSortOrderEnum
func GetListUsersSortByEnumStringValues() []string
GetListUsersSortByEnumStringValues Enumerates the set of values in String for ListUsersSortByEnum
func GetListUsersSortOrderEnumStringValues() []string
GetListUsersSortOrderEnumStringValues Enumerates the set of values in String for ListUsersSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetManagementOptionEnumStringValues() []string
GetManagementOptionEnumStringValues Enumerates the set of values in String for ManagementOptionEnum
func GetObjectPrivilegeSummaryCommonEnumStringValues() []string
GetObjectPrivilegeSummaryCommonEnumStringValues Enumerates the set of values in String for ObjectPrivilegeSummaryCommonEnum
func GetObjectPrivilegeSummaryGrantOptionEnumStringValues() []string
GetObjectPrivilegeSummaryGrantOptionEnumStringValues Enumerates the set of values in String for ObjectPrivilegeSummaryGrantOptionEnum
func GetObjectPrivilegeSummaryHierarchyEnumStringValues() []string
GetObjectPrivilegeSummaryHierarchyEnumStringValues Enumerates the set of values in String for ObjectPrivilegeSummaryHierarchyEnum
func GetObjectPrivilegeSummaryInheritedEnumStringValues() []string
GetObjectPrivilegeSummaryInheritedEnumStringValues Enumerates the set of values in String for ObjectPrivilegeSummaryInheritedEnum
func GetParameterScopeEnumStringValues() []string
GetParameterScopeEnumStringValues Enumerates the set of values in String for ParameterScopeEnum
func GetProxiedForUserSummaryAuthenticationEnumStringValues() []string
GetProxiedForUserSummaryAuthenticationEnumStringValues Enumerates the set of values in String for ProxiedForUserSummaryAuthenticationEnum
func GetProxiedForUserSummaryFlagsEnumStringValues() []string
GetProxiedForUserSummaryFlagsEnumStringValues Enumerates the set of values in String for ProxiedForUserSummaryFlagsEnum
func GetProxyUserSummaryAuthenticationEnumStringValues() []string
GetProxyUserSummaryAuthenticationEnumStringValues Enumerates the set of values in String for ProxyUserSummaryAuthenticationEnum
func GetProxyUserSummaryFlagsEnumStringValues() []string
GetProxyUserSummaryFlagsEnumStringValues Enumerates the set of values in String for ProxyUserSummaryFlagsEnum
func GetRemoveDataFileDetailsFileTypeEnumStringValues() []string
GetRemoveDataFileDetailsFileTypeEnumStringValues Enumerates the set of values in String for RemoveDataFileDetailsFileTypeEnum
func GetResizeDataFileDetailsFileTypeEnumStringValues() []string
GetResizeDataFileDetailsFileTypeEnumStringValues Enumerates the set of values in String for ResizeDataFileDetailsFileTypeEnum
func GetRoleSummaryAdminOptionEnumStringValues() []string
GetRoleSummaryAdminOptionEnumStringValues Enumerates the set of values in String for RoleSummaryAdminOptionEnum
func GetRoleSummaryCommonEnumStringValues() []string
GetRoleSummaryCommonEnumStringValues Enumerates the set of values in String for RoleSummaryCommonEnum
func GetRoleSummaryDefaultRoleEnumStringValues() []string
GetRoleSummaryDefaultRoleEnumStringValues Enumerates the set of values in String for RoleSummaryDefaultRoleEnum
func GetRoleSummaryDelegateOptionEnumStringValues() []string
GetRoleSummaryDelegateOptionEnumStringValues Enumerates the set of values in String for RoleSummaryDelegateOptionEnum
func GetRoleSummaryInheritedEnumStringValues() []string
GetRoleSummaryInheritedEnumStringValues Enumerates the set of values in String for RoleSummaryInheritedEnum
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
func GetSqlJobOperationTypeEnumStringValues() []string
GetSqlJobOperationTypeEnumStringValues Enumerates the set of values in String for SqlJobOperationTypeEnum
func GetSqlJobRoleEnumStringValues() []string
GetSqlJobRoleEnumStringValues Enumerates the set of values in String for SqlJobRoleEnum
func GetSqlJobSqlTypeEnumStringValues() []string
GetSqlJobSqlTypeEnumStringValues Enumerates the set of values in String for SqlJobSqlTypeEnum
func GetSqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnumStringValues() []string
GetSqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnumStringValues Enumerates the set of values in String for SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum
func GetSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnumStringValues() []string
GetSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnumStringValues Enumerates the set of values in String for SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum
func GetSqlTuningTaskCredentialDetailsRoleEnumStringValues() []string
GetSqlTuningTaskCredentialDetailsRoleEnumStringValues Enumerates the set of values in String for SqlTuningTaskCredentialDetailsRoleEnum
func GetSqlTuningTaskCredentialTypesEnumStringValues() []string
GetSqlTuningTaskCredentialTypesEnumStringValues Enumerates the set of values in String for SqlTuningTaskCredentialTypesEnum
func GetSqlTuningTaskPlanStatsPlanStatusEnumStringValues() []string
GetSqlTuningTaskPlanStatsPlanStatusEnumStringValues Enumerates the set of values in String for SqlTuningTaskPlanStatsPlanStatusEnum
func GetSqlTuningTaskStatusTypesEnumStringValues() []string
GetSqlTuningTaskStatusTypesEnumStringValues Enumerates the set of values in String for SqlTuningTaskStatusTypesEnum
func GetStartSqlTuningTaskDetailsScopeEnumStringValues() []string
GetStartSqlTuningTaskDetailsScopeEnumStringValues Enumerates the set of values in String for StartSqlTuningTaskDetailsScopeEnum
func GetSummarizeAwrDbCpuUsagesSessionTypeEnumStringValues() []string
GetSummarizeAwrDbCpuUsagesSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDbCpuUsagesSessionTypeEnum
func GetSummarizeAwrDbCpuUsagesSortByEnumStringValues() []string
GetSummarizeAwrDbCpuUsagesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbCpuUsagesSortByEnum
func GetSummarizeAwrDbCpuUsagesSortOrderEnumStringValues() []string
GetSummarizeAwrDbCpuUsagesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbCpuUsagesSortOrderEnum
func GetSummarizeAwrDbMetricsSortByEnumStringValues() []string
GetSummarizeAwrDbMetricsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbMetricsSortByEnum
func GetSummarizeAwrDbMetricsSortOrderEnumStringValues() []string
GetSummarizeAwrDbMetricsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbMetricsSortOrderEnum
func GetSummarizeAwrDbParameterChangesSortByEnumStringValues() []string
GetSummarizeAwrDbParameterChangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParameterChangesSortByEnum
func GetSummarizeAwrDbParameterChangesSortOrderEnumStringValues() []string
GetSummarizeAwrDbParameterChangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParameterChangesSortOrderEnum
func GetSummarizeAwrDbParametersSortByEnumStringValues() []string
GetSummarizeAwrDbParametersSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParametersSortByEnum
func GetSummarizeAwrDbParametersSortOrderEnumStringValues() []string
GetSummarizeAwrDbParametersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParametersSortOrderEnum
func GetSummarizeAwrDbParametersValueChangedEnumStringValues() []string
GetSummarizeAwrDbParametersValueChangedEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParametersValueChangedEnum
func GetSummarizeAwrDbParametersValueDefaultEnumStringValues() []string
GetSummarizeAwrDbParametersValueDefaultEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParametersValueDefaultEnum
func GetSummarizeAwrDbParametersValueModifiedEnumStringValues() []string
GetSummarizeAwrDbParametersValueModifiedEnumStringValues Enumerates the set of values in String for SummarizeAwrDbParametersValueModifiedEnum
func GetSummarizeAwrDbSnapshotRangesSortByEnumStringValues() []string
GetSummarizeAwrDbSnapshotRangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbSnapshotRangesSortByEnum
func GetSummarizeAwrDbSnapshotRangesSortOrderEnumStringValues() []string
GetSummarizeAwrDbSnapshotRangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbSnapshotRangesSortOrderEnum
func GetSummarizeAwrDbSysstatsSortByEnumStringValues() []string
GetSummarizeAwrDbSysstatsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbSysstatsSortByEnum
func GetSummarizeAwrDbSysstatsSortOrderEnumStringValues() []string
GetSummarizeAwrDbSysstatsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbSysstatsSortOrderEnum
func GetSummarizeAwrDbTopWaitEventsSessionTypeEnumStringValues() []string
GetSummarizeAwrDbTopWaitEventsSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDbTopWaitEventsSessionTypeEnum
func GetSummarizeAwrDbTopWaitEventsSortByEnumStringValues() []string
GetSummarizeAwrDbTopWaitEventsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbTopWaitEventsSortByEnum
func GetSummarizeAwrDbTopWaitEventsSortOrderEnumStringValues() []string
GetSummarizeAwrDbTopWaitEventsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbTopWaitEventsSortOrderEnum
func GetSummarizeAwrDbWaitEventBucketsSortByEnumStringValues() []string
GetSummarizeAwrDbWaitEventBucketsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbWaitEventBucketsSortByEnum
func GetSummarizeAwrDbWaitEventBucketsSortOrderEnumStringValues() []string
GetSummarizeAwrDbWaitEventBucketsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbWaitEventBucketsSortOrderEnum
func GetSummarizeAwrDbWaitEventsSessionTypeEnumStringValues() []string
GetSummarizeAwrDbWaitEventsSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDbWaitEventsSessionTypeEnum
func GetSummarizeAwrDbWaitEventsSortByEnumStringValues() []string
GetSummarizeAwrDbWaitEventsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDbWaitEventsSortByEnum
func GetSummarizeAwrDbWaitEventsSortOrderEnumStringValues() []string
GetSummarizeAwrDbWaitEventsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDbWaitEventsSortOrderEnum
func GetSummarizeJobExecutionsStatusesSortByEnumStringValues() []string
GetSummarizeJobExecutionsStatusesSortByEnumStringValues Enumerates the set of values in String for SummarizeJobExecutionsStatusesSortByEnum
func GetSummarizeJobExecutionsStatusesSortOrderEnumStringValues() []string
GetSummarizeJobExecutionsStatusesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeJobExecutionsStatusesSortOrderEnum
func GetSystemPrivilegeSummaryAdminOptionEnumStringValues() []string
GetSystemPrivilegeSummaryAdminOptionEnumStringValues Enumerates the set of values in String for SystemPrivilegeSummaryAdminOptionEnum
func GetSystemPrivilegeSummaryCommonEnumStringValues() []string
GetSystemPrivilegeSummaryCommonEnumStringValues Enumerates the set of values in String for SystemPrivilegeSummaryCommonEnum
func GetSystemPrivilegeSummaryInheritedEnumStringValues() []string
GetSystemPrivilegeSummaryInheritedEnumStringValues Enumerates the set of values in String for SystemPrivilegeSummaryInheritedEnum
func GetTablespaceAdminCredentialDetailsRoleEnumStringValues() []string
GetTablespaceAdminCredentialDetailsRoleEnumStringValues Enumerates the set of values in String for TablespaceAdminCredentialDetailsRoleEnum
func GetTablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnumStringValues() []string
GetTablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnumStringValues Enumerates the set of values in String for TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum
func GetTablespaceAdminStatusStatusEnumStringValues() []string
GetTablespaceAdminStatusStatusEnumStringValues Enumerates the set of values in String for TablespaceAdminStatusStatusEnum
func GetTablespaceAllocationTypeEnumStringValues() []string
GetTablespaceAllocationTypeEnumStringValues Enumerates the set of values in String for TablespaceAllocationTypeEnum
func GetTablespaceCompressForEnumStringValues() []string
GetTablespaceCompressForEnumStringValues Enumerates the set of values in String for TablespaceCompressForEnum
func GetTablespaceDefaultInMemoryCompressionEnumStringValues() []string
GetTablespaceDefaultInMemoryCompressionEnumStringValues Enumerates the set of values in String for TablespaceDefaultInMemoryCompressionEnum
func GetTablespaceDefaultInMemoryDistributeEnumStringValues() []string
GetTablespaceDefaultInMemoryDistributeEnumStringValues Enumerates the set of values in String for TablespaceDefaultInMemoryDistributeEnum
func GetTablespaceDefaultInMemoryDuplicateEnumStringValues() []string
GetTablespaceDefaultInMemoryDuplicateEnumStringValues Enumerates the set of values in String for TablespaceDefaultInMemoryDuplicateEnum
func GetTablespaceDefaultInMemoryEnumStringValues() []string
GetTablespaceDefaultInMemoryEnumStringValues Enumerates the set of values in String for TablespaceDefaultInMemoryEnum
func GetTablespaceDefaultInMemoryPriorityEnumStringValues() []string
GetTablespaceDefaultInMemoryPriorityEnumStringValues Enumerates the set of values in String for TablespaceDefaultInMemoryPriorityEnum
func GetTablespaceDefaultInMemoryServiceEnumStringValues() []string
GetTablespaceDefaultInMemoryServiceEnumStringValues Enumerates the set of values in String for TablespaceDefaultInMemoryServiceEnum
func GetTablespaceDefaultIndexCompressionEnumStringValues() []string
GetTablespaceDefaultIndexCompressionEnumStringValues Enumerates the set of values in String for TablespaceDefaultIndexCompressionEnum
func GetTablespaceDefaultTableCompressionEnumStringValues() []string
GetTablespaceDefaultTableCompressionEnumStringValues Enumerates the set of values in String for TablespaceDefaultTableCompressionEnum
func GetTablespaceExtentManagementEnumStringValues() []string
GetTablespaceExtentManagementEnumStringValues Enumerates the set of values in String for TablespaceExtentManagementEnum
func GetTablespaceIndexCompressForEnumStringValues() []string
GetTablespaceIndexCompressForEnumStringValues Enumerates the set of values in String for TablespaceIndexCompressForEnum
func GetTablespaceLoggingEnumStringValues() []string
GetTablespaceLoggingEnumStringValues Enumerates the set of values in String for TablespaceLoggingEnum
func GetTablespaceLostWriteProtectEnumStringValues() []string
GetTablespaceLostWriteProtectEnumStringValues Enumerates the set of values in String for TablespaceLostWriteProtectEnum
func GetTablespacePredicateEvaluationEnumStringValues() []string
GetTablespacePredicateEvaluationEnumStringValues Enumerates the set of values in String for TablespacePredicateEvaluationEnum
func GetTablespaceRetentionEnumStringValues() []string
GetTablespaceRetentionEnumStringValues Enumerates the set of values in String for TablespaceRetentionEnum
func GetTablespaceSegmentSpaceManagementEnumStringValues() []string
GetTablespaceSegmentSpaceManagementEnumStringValues Enumerates the set of values in String for TablespaceSegmentSpaceManagementEnum
func GetTablespaceSharedEnumStringValues() []string
GetTablespaceSharedEnumStringValues Enumerates the set of values in String for TablespaceSharedEnum
func GetTablespaceStatusEnumStringValues() []string
GetTablespaceStatusEnumStringValues Enumerates the set of values in String for TablespaceStatusEnum
func GetTablespaceStorageSizeUnitEnumStringValues() []string
GetTablespaceStorageSizeUnitEnumStringValues Enumerates the set of values in String for TablespaceStorageSizeUnitEnum
func GetTablespaceSummaryAllocationTypeEnumStringValues() []string
GetTablespaceSummaryAllocationTypeEnumStringValues Enumerates the set of values in String for TablespaceSummaryAllocationTypeEnum
func GetTablespaceSummaryCompressForEnumStringValues() []string
GetTablespaceSummaryCompressForEnumStringValues Enumerates the set of values in String for TablespaceSummaryCompressForEnum
func GetTablespaceSummaryDefaultInMemoryCompressionEnumStringValues() []string
GetTablespaceSummaryDefaultInMemoryCompressionEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultInMemoryCompressionEnum
func GetTablespaceSummaryDefaultInMemoryDistributeEnumStringValues() []string
GetTablespaceSummaryDefaultInMemoryDistributeEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultInMemoryDistributeEnum
func GetTablespaceSummaryDefaultInMemoryDuplicateEnumStringValues() []string
GetTablespaceSummaryDefaultInMemoryDuplicateEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultInMemoryDuplicateEnum
func GetTablespaceSummaryDefaultInMemoryEnumStringValues() []string
GetTablespaceSummaryDefaultInMemoryEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultInMemoryEnum
func GetTablespaceSummaryDefaultInMemoryPriorityEnumStringValues() []string
GetTablespaceSummaryDefaultInMemoryPriorityEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultInMemoryPriorityEnum
func GetTablespaceSummaryDefaultInMemoryServiceEnumStringValues() []string
GetTablespaceSummaryDefaultInMemoryServiceEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultInMemoryServiceEnum
func GetTablespaceSummaryDefaultIndexCompressionEnumStringValues() []string
GetTablespaceSummaryDefaultIndexCompressionEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultIndexCompressionEnum
func GetTablespaceSummaryDefaultTableCompressionEnumStringValues() []string
GetTablespaceSummaryDefaultTableCompressionEnumStringValues Enumerates the set of values in String for TablespaceSummaryDefaultTableCompressionEnum
func GetTablespaceSummaryExtentManagementEnumStringValues() []string
GetTablespaceSummaryExtentManagementEnumStringValues Enumerates the set of values in String for TablespaceSummaryExtentManagementEnum
func GetTablespaceSummaryIndexCompressForEnumStringValues() []string
GetTablespaceSummaryIndexCompressForEnumStringValues Enumerates the set of values in String for TablespaceSummaryIndexCompressForEnum
func GetTablespaceSummaryLoggingEnumStringValues() []string
GetTablespaceSummaryLoggingEnumStringValues Enumerates the set of values in String for TablespaceSummaryLoggingEnum
func GetTablespaceSummaryLostWriteProtectEnumStringValues() []string
GetTablespaceSummaryLostWriteProtectEnumStringValues Enumerates the set of values in String for TablespaceSummaryLostWriteProtectEnum
func GetTablespaceSummaryPredicateEvaluationEnumStringValues() []string
GetTablespaceSummaryPredicateEvaluationEnumStringValues Enumerates the set of values in String for TablespaceSummaryPredicateEvaluationEnum
func GetTablespaceSummaryRetentionEnumStringValues() []string
GetTablespaceSummaryRetentionEnumStringValues Enumerates the set of values in String for TablespaceSummaryRetentionEnum
func GetTablespaceSummarySegmentSpaceManagementEnumStringValues() []string
GetTablespaceSummarySegmentSpaceManagementEnumStringValues Enumerates the set of values in String for TablespaceSummarySegmentSpaceManagementEnum
func GetTablespaceSummarySharedEnumStringValues() []string
GetTablespaceSummarySharedEnumStringValues Enumerates the set of values in String for TablespaceSummarySharedEnum
func GetTablespaceSummaryStatusEnumStringValues() []string
GetTablespaceSummaryStatusEnumStringValues Enumerates the set of values in String for TablespaceSummaryStatusEnum
func GetTablespaceSummaryTypeEnumStringValues() []string
GetTablespaceSummaryTypeEnumStringValues Enumerates the set of values in String for TablespaceSummaryTypeEnum
func GetTablespaceTypeEnumStringValues() []string
GetTablespaceTypeEnumStringValues Enumerates the set of values in String for TablespaceTypeEnum
func GetUpdateTablespaceDetailsStatusEnumStringValues() []string
GetUpdateTablespaceDetailsStatusEnumStringValues Enumerates the set of values in String for UpdateTablespaceDetailsStatusEnum
func GetUpdateTablespaceDetailsTypeEnumStringValues() []string
GetUpdateTablespaceDetailsTypeEnumStringValues Enumerates the set of values in String for UpdateTablespaceDetailsTypeEnum
func GetUserAllSharedEnumStringValues() []string
GetUserAllSharedEnumStringValues Enumerates the set of values in String for UserAllSharedEnum
func GetUserAuthenticationEnumStringValues() []string
GetUserAuthenticationEnumStringValues Enumerates the set of values in String for UserAuthenticationEnum
func GetUserCommonEnumStringValues() []string
GetUserCommonEnumStringValues Enumerates the set of values in String for UserCommonEnum
func GetUserEditionsEnabledEnumStringValues() []string
GetUserEditionsEnabledEnumStringValues Enumerates the set of values in String for UserEditionsEnabledEnum
func GetUserExternalSharedEnumStringValues() []string
GetUserExternalSharedEnumStringValues Enumerates the set of values in String for UserExternalSharedEnum
func GetUserImplicitEnumStringValues() []string
GetUserImplicitEnumStringValues Enumerates the set of values in String for UserImplicitEnum
func GetUserInheritedEnumStringValues() []string
GetUserInheritedEnumStringValues Enumerates the set of values in String for UserInheritedEnum
func GetUserOracleMaintainedEnumStringValues() []string
GetUserOracleMaintainedEnumStringValues Enumerates the set of values in String for UserOracleMaintainedEnum
func GetUserProxyConnectEnumStringValues() []string
GetUserProxyConnectEnumStringValues Enumerates the set of values in String for UserProxyConnectEnum
func GetUserStatusEnumStringValues() []string
GetUserStatusEnumStringValues Enumerates the set of values in String for UserStatusEnum
func GetUserSummaryStatusEnumStringValues() []string
GetUserSummaryStatusEnumStringValues Enumerates the set of values in String for UserSummaryStatusEnum
func GetWorkRequestOperationTypeEnumStringValues() []string
GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum
func GetWorkRequestResourceActionTypeEnumStringValues() []string
GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum
func GetWorkRequestStatusEnumStringValues() []string
GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum
func GetWorkloadTypeEnumStringValues() []string
GetWorkloadTypeEnumStringValues Enumerates the set of values in String for WorkloadTypeEnum
ActivityTimeSeriesMetrics The response object representing activityMetric details for a specific database at a particular time.
type ActivityTimeSeriesMetrics struct { // The date and time the activity metric was created. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` CpuTime *MetricDataPoint `mandatory:"false" json:"cpuTime"` WaitTime *MetricDataPoint `mandatory:"false" json:"waitTime"` UserIoTime *MetricDataPoint `mandatory:"false" json:"userIoTime"` CpuCount *MetricDataPoint `mandatory:"false" json:"cpuCount"` Cluster *MetricDataPoint `mandatory:"false" json:"cluster"` }
func (m ActivityTimeSeriesMetrics) String() string
func (m ActivityTimeSeriesMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDataFilesDetails The details required to add data files or temp files to the tablespace.
type AddDataFilesDetails struct { CredentialDetails TablespaceAdminCredentialDetails `mandatory:"true" json:"credentialDetails"` // Specifies whether the file is a data file or temp file. FileType AddDataFilesDetailsFileTypeEnum `mandatory:"true" json:"fileType"` // The list of data files or temp files added to the tablespace. DataFiles []string `mandatory:"false" json:"dataFiles"` // The number of data files or temp files to be added for the tablespace. This is for Oracle Managed Files only. FileCount *int `mandatory:"false" json:"fileCount"` // The size of each data file or temp file. FileSize *TablespaceStorageSize `mandatory:"false" json:"fileSize"` // Specifies whether Oracle can reuse the data file or temp file. Reuse is only allowed when the file name is provided. IsReusable *bool `mandatory:"false" json:"isReusable"` // Specifies whether the data file or temp file can be extended automatically. IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"` // The size of the next increment of disk space to be allocated automatically when more extents are required. AutoExtendNextSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendNextSize"` // The maximum disk space allowed for automatic extension of the data files or temp files. AutoExtendMaxSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendMaxSize"` // Specifies whether the disk space of the data file or temp file can be limited. IsMaxSizeUnlimited *bool `mandatory:"false" json:"isMaxSizeUnlimited"` }
func (m AddDataFilesDetails) String() string
func (m *AddDataFilesDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AddDataFilesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDataFilesDetailsFileTypeEnum Enum with underlying type: string
type AddDataFilesDetailsFileTypeEnum string
Set of constants representing the allowable values for AddDataFilesDetailsFileTypeEnum
const ( AddDataFilesDetailsFileTypeDatafile AddDataFilesDetailsFileTypeEnum = "DATAFILE" AddDataFilesDetailsFileTypeTempfile AddDataFilesDetailsFileTypeEnum = "TEMPFILE" )
func GetAddDataFilesDetailsFileTypeEnumValues() []AddDataFilesDetailsFileTypeEnum
GetAddDataFilesDetailsFileTypeEnumValues Enumerates the set of values for AddDataFilesDetailsFileTypeEnum
func GetMappingAddDataFilesDetailsFileTypeEnum(val string) (AddDataFilesDetailsFileTypeEnum, bool)
GetMappingAddDataFilesDetailsFileTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddDataFilesRequest wrapper for the AddDataFiles operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/AddDataFiles.go.html to see an example of how to use AddDataFilesRequest.
type AddDataFilesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the tablespace. TablespaceName *string `mandatory:"true" contributesTo:"path" name:"tablespaceName"` // The details required to add data files or temp files to the tablespace. AddDataFilesDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request AddDataFilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddDataFilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddDataFilesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddDataFilesRequest) String() string
func (request AddDataFilesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddDataFilesResponse wrapper for the AddDataFiles operation
type AddDataFilesResponse struct { // The underlying http response RawResponse *http.Response // The TablespaceAdminStatus instance TablespaceAdminStatus `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"` }
func (response AddDataFilesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddDataFilesResponse) String() string
AddManagedDatabaseToManagedDatabaseGroupDetails The Managed Database details required to add it to a Managed Database Group.
type AddManagedDatabaseToManagedDatabaseGroupDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` }
func (m AddManagedDatabaseToManagedDatabaseGroupDetails) String() string
func (m AddManagedDatabaseToManagedDatabaseGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddManagedDatabaseToManagedDatabaseGroupRequest wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroupRequest.
type AddManagedDatabaseToManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The Managed Database details required to add the Managed Database to a Managed Database Group. AddManagedDatabaseToManagedDatabaseGroupDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) String() string
func (request AddManagedDatabaseToManagedDatabaseGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddManagedDatabaseToManagedDatabaseGroupResponse wrapper for the AddManagedDatabaseToManagedDatabaseGroup operation
type AddManagedDatabaseToManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response AddManagedDatabaseToManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddManagedDatabaseToManagedDatabaseGroupResponse) String() string
AllowedParameterValue A valid value for a database parameter.
type AllowedParameterValue struct { // The ordinal number in the list (1-based). Ordinal *float32 `mandatory:"false" json:"ordinal"` // The parameter value at ordinal. Value *string `mandatory:"false" json:"value"` // Indicates whether the given ordinal value is the default value for the parameter. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m AllowedParameterValue) String() string
func (m AllowedParameterValue) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AsmProperty The details of ASM properties.
type AsmProperty struct { // The name of the disk group. DiskGroup *string `mandatory:"true" json:"diskGroup"` }
func (m AsmProperty) String() string
func (m AsmProperty) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AsmPropertyCollection A collection of ASM properties for a specific database.
type AsmPropertyCollection struct { // An array of AsmPropertySummary resources. Items []AsmPropertySummary `mandatory:"true" json:"items"` }
func (m AsmPropertyCollection) String() string
func (m AsmPropertyCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AsmPropertySummary The summary of ASM properties.
type AsmPropertySummary struct { // The name of the disk group. DiskGroup *string `mandatory:"true" json:"diskGroup"` }
func (m AsmPropertySummary) String() string
func (m AsmPropertySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssociatedDatabaseCollection A collection of databases using a Database Management private endpoint.
type AssociatedDatabaseCollection struct { // A list of databases using a Database Management private endpoint. Items []AssociatedDatabaseSummary `mandatory:"true" json:"items"` }
func (m AssociatedDatabaseCollection) String() string
func (m AssociatedDatabaseCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AssociatedDatabaseSummary The summary of a database currently using a Database Management private endpoint.
type AssociatedDatabaseSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database. Id *string `mandatory:"true" json:"id"` // The name of the database. Name *string `mandatory:"true" json:"name"` // The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the database. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time when Database Management was enabled for the database. TimeRegistered *common.SDKTime `mandatory:"true" json:"timeRegistered"` }
func (m AssociatedDatabaseSummary) String() string
func (m AssociatedDatabaseSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbCollection The result of AWR query.
type AwrDbCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR summary data. Items []AwrDbSummary `mandatory:"false" json:"items"` }
func (m AwrDbCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbCollection) GetName() *string
GetName returns Name
func (m AwrDbCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbCollection) String() string
func (m AwrDbCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbCpuUsageCollection The AWR CPU usage data.
type AwrDbCpuUsageCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The number of available CPU cores, which include subcores of multicore and single-core CPUs. NumCpuCores *int `mandatory:"false" json:"numCpuCores"` // The number of CPUs available for the database to use. CpuCount *int `mandatory:"false" json:"cpuCount"` // The number of available CPUs or processors. NumCpus *float64 `mandatory:"false" json:"numCpus"` // A list of AWR CPU usage summary data. Items []AwrDbCpuUsageSummary `mandatory:"false" json:"items"` }
func (m AwrDbCpuUsageCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbCpuUsageCollection) GetName() *string
GetName returns Name
func (m AwrDbCpuUsageCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbCpuUsageCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbCpuUsageCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbCpuUsageCollection) String() string
func (m AwrDbCpuUsageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbCpuUsageSummary A summary of the AWR CPU resource limits and metrics.
type AwrDbCpuUsageSummary struct { // The timestamp for the CPU summary data. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The average CPU usage per second. AvgValue *float64 `mandatory:"false" json:"avgValue"` }
func (m AwrDbCpuUsageSummary) String() string
func (m AwrDbCpuUsageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbMetricCollection The AWR metrics time series summary data.
type AwrDbMetricCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR metric summary data. Items []AwrDbMetricSummary `mandatory:"false" json:"items"` }
func (m AwrDbMetricCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbMetricCollection) GetName() *string
GetName returns Name
func (m AwrDbMetricCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbMetricCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbMetricCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbMetricCollection) String() string
func (m AwrDbMetricCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbMetricSummary The summary of the AWR metric data for a particular metric at a specific time.
type AwrDbMetricSummary struct { // The name of the metric. Name *string `mandatory:"true" json:"name"` // The time of the sampling. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The average value of the sampling period. AvgValue *float64 `mandatory:"false" json:"avgValue"` // The minimum value of the sampling period. MinValue *float64 `mandatory:"false" json:"minValue"` // The maximum value of the sampling period. MaxValue *float64 `mandatory:"false" json:"maxValue"` }
func (m AwrDbMetricSummary) String() string
func (m AwrDbMetricSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbParameterChangeCollection The AWR database parameter change history.
type AwrDbParameterChangeCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR database parameter change summary data. Items []AwrDbParameterChangeSummary `mandatory:"false" json:"items"` }
func (m AwrDbParameterChangeCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbParameterChangeCollection) GetName() *string
GetName returns Name
func (m AwrDbParameterChangeCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbParameterChangeCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbParameterChangeCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbParameterChangeCollection) String() string
func (m AwrDbParameterChangeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbParameterChangeSummary A summary of the changes made to a single AWR database parameter.
type AwrDbParameterChangeSummary struct { // The ID of the snapshot with the parameter value changed. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots SnapshotId *int `mandatory:"true" json:"snapshotId"` // The start time of the interval. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the interval. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The database instance number. InstanceNumber *int `mandatory:"false" json:"instanceNumber"` // The previous value of the database parameter. PreviousValue *string `mandatory:"false" json:"previousValue"` // The current value of the database parameter. Value *string `mandatory:"false" json:"value"` // Indicates whether the parameter has been modified after instance startup: // - MODIFIED - Parameter has been modified with ALTER SESSION // - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions’ values to be modified) // - FALSE - Parameter has not been modified after instance startup ValueModified *string `mandatory:"false" json:"valueModified"` // Indicates whether the parameter value in the end snapshot is the default. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m AwrDbParameterChangeSummary) String() string
func (m AwrDbParameterChangeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbParameterCollection The AWR database parameter data.
type AwrDbParameterCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR database parameter summary data. Items []AwrDbParameterSummary `mandatory:"false" json:"items"` }
func (m AwrDbParameterCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbParameterCollection) GetName() *string
GetName returns Name
func (m AwrDbParameterCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbParameterCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbParameterCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbParameterCollection) String() string
func (m AwrDbParameterCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbParameterSummary The summary of the AWR change history data for a single database parameter.
type AwrDbParameterSummary struct { // The name of the parameter. Name *string `mandatory:"true" json:"name"` // The database instance number. InstanceNumber *int `mandatory:"false" json:"instanceNumber"` // The parameter value when the period began. BeginValue *string `mandatory:"false" json:"beginValue"` // The parameter value when the period ended. EndValue *string `mandatory:"false" json:"endValue"` // Indicates whether the parameter value changed within the period. IsChanged *bool `mandatory:"false" json:"isChanged"` // Indicates whether the parameter has been modified after instance startup: // - MODIFIED - Parameter has been modified with ALTER SESSION // - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions’ values to be modified) // - FALSE - Parameter has not been modified after instance startup ValueModified *string `mandatory:"false" json:"valueModified"` // Indicates whether the parameter value in the end snapshot is the default. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m AwrDbParameterSummary) String() string
func (m AwrDbParameterSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbReport The result of the AWR report.
type AwrDbReport struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The content of the report. Content *string `mandatory:"false" json:"content"` // The format of the report. Format AwrDbReportFormatEnum `mandatory:"false" json:"format,omitempty"` }
func (m AwrDbReport) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbReport) GetName() *string
GetName returns Name
func (m AwrDbReport) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbReport) GetVersion() *string
GetVersion returns Version
func (m AwrDbReport) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbReport) String() string
func (m AwrDbReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbReportFormatEnum Enum with underlying type: string
type AwrDbReportFormatEnum string
Set of constants representing the allowable values for AwrDbReportFormatEnum
const ( AwrDbReportFormatHtml AwrDbReportFormatEnum = "HTML" AwrDbReportFormatText AwrDbReportFormatEnum = "TEXT" AwrDbReportFormatXml AwrDbReportFormatEnum = "XML" )
func GetAwrDbReportFormatEnumValues() []AwrDbReportFormatEnum
GetAwrDbReportFormatEnumValues Enumerates the set of values for AwrDbReportFormatEnum
func GetMappingAwrDbReportFormatEnum(val string) (AwrDbReportFormatEnum, bool)
GetMappingAwrDbReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
AwrDbSnapshotCollection The list of AWR snapshots for one database.
type AwrDbSnapshotCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR snapshot summary data. Items []AwrDbSnapshotSummary `mandatory:"false" json:"items"` }
func (m AwrDbSnapshotCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSnapshotCollection) GetName() *string
GetName returns Name
func (m AwrDbSnapshotCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSnapshotCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbSnapshotCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSnapshotCollection) String() string
func (m AwrDbSnapshotCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSnapshotRangeCollection The AWR snapshot range list.
type AwrDbSnapshotRangeCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR snapshot range summary data. Items []AwrDbSnapshotRangeSummary `mandatory:"false" json:"items"` }
func (m AwrDbSnapshotRangeCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSnapshotRangeCollection) GetName() *string
GetName returns Name
func (m AwrDbSnapshotRangeCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSnapshotRangeCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbSnapshotRangeCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSnapshotRangeCollection) String() string
func (m AwrDbSnapshotRangeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSnapshotRangeSummary The summary data for a range of AWR snapshots.
type AwrDbSnapshotRangeSummary struct { // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" json:"awrDbId"` // The name of the database. DbName *string `mandatory:"true" json:"dbName"` // The database instance numbers. InstanceList []int `mandatory:"false" json:"instanceList"` // The timestamp of the database startup. TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"` // The start time of the earliest snapshot. TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"` // The end time of the latest snapshot. TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"` // The ID of the earliest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots FirstSnapshotId *int `mandatory:"false" json:"firstSnapshotId"` // The ID of the latest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots LatestSnapshotId *int `mandatory:"false" json:"latestSnapshotId"` // The total number of snapshots. SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"` // The interval time between snapshots (in minutes). SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"` // ID of the database container. The database container ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" json:"containerId"` // The version of the database. DbVersion *string `mandatory:"false" json:"dbVersion"` // The time zone of the snapshot. SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"` }
func (m AwrDbSnapshotRangeSummary) String() string
func (m AwrDbSnapshotRangeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSnapshotSummary The AWR snapshot summary of one snapshot.
type AwrDbSnapshotSummary struct { // Internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" json:"awrDbId"` // The ID of the snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots SnapshotId *int `mandatory:"true" json:"snapshotId"` // The database instance number. InstanceNumber *int `mandatory:"false" json:"instanceNumber"` // The timestamp of the database startup. TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"` // The start time of the snapshot. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the snapshot. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The total number of errors. ErrorCount *int64 `mandatory:"false" json:"errorCount"` }
func (m AwrDbSnapshotSummary) String() string
func (m AwrDbSnapshotSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSqlReport The result of the AWR SQL report.
type AwrDbSqlReport struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The content of the report. Content *string `mandatory:"false" json:"content"` // The format of the report. Format AwrDbSqlReportFormatEnum `mandatory:"false" json:"format,omitempty"` }
func (m AwrDbSqlReport) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSqlReport) GetName() *string
GetName returns Name
func (m AwrDbSqlReport) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSqlReport) GetVersion() *string
GetVersion returns Version
func (m AwrDbSqlReport) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSqlReport) String() string
func (m AwrDbSqlReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSqlReportFormatEnum Enum with underlying type: string
type AwrDbSqlReportFormatEnum string
Set of constants representing the allowable values for AwrDbSqlReportFormatEnum
const ( AwrDbSqlReportFormatHtml AwrDbSqlReportFormatEnum = "HTML" AwrDbSqlReportFormatText AwrDbSqlReportFormatEnum = "TEXT" )
func GetAwrDbSqlReportFormatEnumValues() []AwrDbSqlReportFormatEnum
GetAwrDbSqlReportFormatEnumValues Enumerates the set of values for AwrDbSqlReportFormatEnum
func GetMappingAwrDbSqlReportFormatEnum(val string) (AwrDbSqlReportFormatEnum, bool)
GetMappingAwrDbSqlReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
AwrDbSummary The AWR summary for a database.
type AwrDbSummary struct { // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" json:"awrDbId"` // The name of the database. DbName *string `mandatory:"true" json:"dbName"` // The database instance numbers. InstanceList []int `mandatory:"false" json:"instanceList"` // The timestamp of the database startup. TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"` // The start time of the earliest snapshot. TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"` // The end time of the latest snapshot. TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"` // The ID of the earliest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots FirstSnapshotId *int `mandatory:"false" json:"firstSnapshotId"` // The ID of the latest snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots LatestSnapshotId *int `mandatory:"false" json:"latestSnapshotId"` // The total number of snapshots. SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"` // The interval time between snapshots (in minutes). SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"` // ID of the database container. The database container ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" json:"containerId"` // The version of the database. DbVersion *string `mandatory:"false" json:"dbVersion"` // The time zone of the snapshot. SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"` }
func (m AwrDbSummary) String() string
func (m AwrDbSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSysstatCollection The AWR SYSSTAT time series summary data.
type AwrDbSysstatCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR SYSSTAT summary data. Items []AwrDbSysstatSummary `mandatory:"false" json:"items"` }
func (m AwrDbSysstatCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbSysstatCollection) GetName() *string
GetName returns Name
func (m AwrDbSysstatCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbSysstatCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbSysstatCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbSysstatCollection) String() string
func (m AwrDbSysstatCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbSysstatSummary The summary of the AWR SYSSTAT data.
type AwrDbSysstatSummary struct { // The name of the SYSSTAT. Name *string `mandatory:"true" json:"name"` // The name of the SYSSTAT category. Category *string `mandatory:"false" json:"category"` // The start time of the SYSSTAT. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the SYSSTAT. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The average value of the SYSSTAT. AvgValue *float64 `mandatory:"false" json:"avgValue"` // The last value of the SYSSTAT. CurrentValue *float64 `mandatory:"false" json:"currentValue"` }
func (m AwrDbSysstatSummary) String() string
func (m AwrDbSysstatSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbTopWaitEventCollection The AWR top wait event data.
type AwrDbTopWaitEventCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR top event summary data. Items []AwrDbTopWaitEventSummary `mandatory:"false" json:"items"` }
func (m AwrDbTopWaitEventCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbTopWaitEventCollection) GetName() *string
GetName returns Name
func (m AwrDbTopWaitEventCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbTopWaitEventCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbTopWaitEventCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbTopWaitEventCollection) String() string
func (m AwrDbTopWaitEventCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbTopWaitEventSummary A summary of the AWR top wait event data for one event.
type AwrDbTopWaitEventSummary struct { // The name of the event. Name *string `mandatory:"true" json:"name"` // The wait count per second. WaitsPerSec *float64 `mandatory:"false" json:"waitsPerSec"` // The average wait time per second. AvgWaitTimePerSec *float64 `mandatory:"false" json:"avgWaitTimePerSec"` }
func (m AwrDbTopWaitEventSummary) String() string
func (m AwrDbTopWaitEventSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbWaitEventBucketCollection The percentage distribution of waits in the AWR wait event buckets.
type AwrDbWaitEventBucketCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // The total waits of the database. TotalWaits *int64 `mandatory:"false" json:"totalWaits"` // A list of AWR wait event buckets. Items []AwrDbWaitEventBucketSummary `mandatory:"false" json:"items"` }
func (m AwrDbWaitEventBucketCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbWaitEventBucketCollection) GetName() *string
GetName returns Name
func (m AwrDbWaitEventBucketCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbWaitEventBucketCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbWaitEventBucketCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbWaitEventBucketCollection) String() string
func (m AwrDbWaitEventBucketCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbWaitEventBucketSummary A summary of the AWR wait event bucket and waits percentage.
type AwrDbWaitEventBucketSummary struct { // The name of the wait event frequency category. Normally, it is the upper range of the waits within the AWR wait event bucket. Category *string `mandatory:"true" json:"category"` // The percentage of waits in a wait event bucket over the total waits of the database. Percentage *float64 `mandatory:"true" json:"percentage"` }
func (m AwrDbWaitEventBucketSummary) String() string
func (m AwrDbWaitEventBucketSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbWaitEventCollection The AWR wait event data.
type AwrDbWaitEventCollection struct { // The name of the query result. Name *string `mandatory:"true" json:"name"` // The version of the query result. Version *string `mandatory:"false" json:"version"` // The ID assigned to the query instance. QueryKey *string `mandatory:"false" json:"queryKey"` // The time taken to query the database tier (in seconds). DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"` // A list of AWR wait events. Items []AwrDbWaitEventSummary `mandatory:"false" json:"items"` }
func (m AwrDbWaitEventCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDbWaitEventCollection) GetName() *string
GetName returns Name
func (m AwrDbWaitEventCollection) GetQueryKey() *string
GetQueryKey returns QueryKey
func (m AwrDbWaitEventCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDbWaitEventCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDbWaitEventCollection) String() string
func (m AwrDbWaitEventCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDbWaitEventSummary The summary of the AWR wait event time series data for one event.
type AwrDbWaitEventSummary struct { // The name of the event. Name *string `mandatory:"true" json:"name"` // The begin time of the wait event. TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"` // The end time of the wait event. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The wait count per second. WaitsPerSec *float64 `mandatory:"false" json:"waitsPerSec"` // The average wait time per second. AvgWaitTimePerSec *float64 `mandatory:"false" json:"avgWaitTimePerSec"` // The ID of the snapshot. The snapshot ID is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots SnapshotId *int `mandatory:"false" json:"snapshotId"` }
func (m AwrDbWaitEventSummary) String() string
func (m AwrDbWaitEventSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrQueryResult The AWR query result.
type AwrQueryResult interface { // The name of the query result. GetName() *string // The version of the query result. GetVersion() *string // The ID assigned to the query instance. GetQueryKey() *string // The time taken to query the database tier (in seconds). GetDbQueryTimeInSecs() *float64 }
AwrQueryResultAwrResultTypeEnum Enum with underlying type: string
type AwrQueryResultAwrResultTypeEnum string
Set of constants representing the allowable values for AwrQueryResultAwrResultTypeEnum
const ( AwrQueryResultAwrResultTypeSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SET" AwrQueryResultAwrResultTypeSnapshotRangeSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SNAPSHOT_RANGE_SET" AwrQueryResultAwrResultTypeSnapshotSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SNAPSHOT_SET" AwrQueryResultAwrResultTypeMetricsSet AwrQueryResultAwrResultTypeEnum = "AWRDB_METRICS_SET" AwrQueryResultAwrResultTypeSysstatSet AwrQueryResultAwrResultTypeEnum = "AWRDB_SYSSTAT_SET" AwrQueryResultAwrResultTypeTopEventSet AwrQueryResultAwrResultTypeEnum = "AWRDB_TOP_EVENT_SET" AwrQueryResultAwrResultTypeEventSet AwrQueryResultAwrResultTypeEnum = "AWRDB_EVENT_SET" AwrQueryResultAwrResultTypeEventHistogram AwrQueryResultAwrResultTypeEnum = "AWRDB_EVENT_HISTOGRAM" AwrQueryResultAwrResultTypeDbParameterSet AwrQueryResultAwrResultTypeEnum = "AWRDB_DB_PARAMETER_SET" AwrQueryResultAwrResultTypeDbParameterChange AwrQueryResultAwrResultTypeEnum = "AWRDB_DB_PARAMETER_CHANGE" AwrQueryResultAwrResultTypeAshCpuUsageSet AwrQueryResultAwrResultTypeEnum = "AWRDB_ASH_CPU_USAGE_SET" AwrQueryResultAwrResultTypeDbReport AwrQueryResultAwrResultTypeEnum = "AWRDB_DB_REPORT" AwrQueryResultAwrResultTypeSqlReport AwrQueryResultAwrResultTypeEnum = "AWRDB_SQL_REPORT" )
func GetAwrQueryResultAwrResultTypeEnumValues() []AwrQueryResultAwrResultTypeEnum
GetAwrQueryResultAwrResultTypeEnumValues Enumerates the set of values for AwrQueryResultAwrResultTypeEnum
func GetMappingAwrQueryResultAwrResultTypeEnum(val string) (AwrQueryResultAwrResultTypeEnum, bool)
GetMappingAwrQueryResultAwrResultTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ChangeDatabaseParameterDetails The value of a database parameter to change.
type ChangeDatabaseParameterDetails struct { // The parameter name. Name *string `mandatory:"true" json:"name"` // The parameter value. Value *string `mandatory:"true" json:"value"` // A comment string to associate with the change in parameter value. // It cannot contain control characters or a line break. UpdateComment *string `mandatory:"false" json:"updateComment"` }
func (m ChangeDatabaseParameterDetails) String() string
func (m ChangeDatabaseParameterDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseParametersDetails The details required to change database parameter values.
type ChangeDatabaseParametersDetails struct { Credentials *DatabaseCredentials `mandatory:"true" json:"credentials"` // The clause used to specify when the parameter change takes effect. // Use `MEMORY` to make the change in memory and affect it immediately. // Use `SPFILE` to make the change in the server parameter file. The // change takes effect when the database is next shut down and started // up again. Use `BOTH` to make the change in memory and in the server // parameter file. The change takes effect immediately and persists // after the database is shut down and started up again. Scope ParameterScopeEnum `mandatory:"true" json:"scope"` // A list of database parameters and their values. Parameters []ChangeDatabaseParameterDetails `mandatory:"true" json:"parameters"` }
func (m ChangeDatabaseParametersDetails) String() string
func (m ChangeDatabaseParametersDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseParametersRequest wrapper for the ChangeDatabaseParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParametersRequest.
type ChangeDatabaseParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The details required to change database parameter values. ChangeDatabaseParametersDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request ChangeDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseParametersRequest) String() string
func (request ChangeDatabaseParametersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseParametersResponse wrapper for the ChangeDatabaseParameters operation
type ChangeDatabaseParametersResponse struct { // The underlying http response RawResponse *http.Response // The UpdateDatabaseParametersResult instance UpdateDatabaseParametersResult `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"` }
func (response ChangeDatabaseParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseParametersResponse) String() string
ChangeDbManagementPrivateEndpointCompartmentDetails The details used to move the Database Management private endpoint to another compartment.
type ChangeDbManagementPrivateEndpointCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to which the Database Management private endpoint needs to be moved. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeDbManagementPrivateEndpointCompartmentDetails) String() string
func (m ChangeDbManagementPrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDbManagementPrivateEndpointCompartmentRequest wrapper for the ChangeDbManagementPrivateEndpointCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeDbManagementPrivateEndpointCompartment.go.html to see an example of how to use ChangeDbManagementPrivateEndpointCompartmentRequest.
type ChangeDbManagementPrivateEndpointCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. DbManagementPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dbManagementPrivateEndpointId"` // The details used to move the Database Management private endpoint to another compartment. ChangeDbManagementPrivateEndpointCompartmentDetails `contributesTo:"body"` // The client request ID for tracing. 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"` // 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 }
func (request ChangeDbManagementPrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDbManagementPrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDbManagementPrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDbManagementPrivateEndpointCompartmentRequest) String() string
func (request ChangeDbManagementPrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDbManagementPrivateEndpointCompartmentResponse wrapper for the ChangeDbManagementPrivateEndpointCompartment operation
type ChangeDbManagementPrivateEndpointCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDbManagementPrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDbManagementPrivateEndpointCompartmentResponse) String() string
ChangeJobCompartmentDetails The details required to change the compartment of a job.
type ChangeJobCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment to which the job should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeJobCompartmentDetails) String() string
func (m ChangeJobCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeJobCompartmentRequest wrapper for the ChangeJobCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartmentRequest.
type ChangeJobCompartmentRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the job to. ChangeJobCompartmentDetails `contributesTo:"body"` // The client request ID for tracing. 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"` // 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 }
func (request ChangeJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeJobCompartmentRequest) String() string
func (request ChangeJobCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeJobCompartmentResponse wrapper for the ChangeJobCompartment operation
type ChangeJobCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeJobCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeJobCompartmentResponse) String() string
ChangeManagedDatabaseGroupCompartmentDetails The details required to change the compartment of a Managed Database Group.
type ChangeManagedDatabaseGroupCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the // compartment to which the Managed Database Group should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeManagedDatabaseGroupCompartmentDetails) String() string
func (m ChangeManagedDatabaseGroupCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeManagedDatabaseGroupCompartmentRequest wrapper for the ChangeManagedDatabaseGroupCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartmentRequest.
type ChangeManagedDatabaseGroupCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the Managed Database Group to. ChangeManagedDatabaseGroupCompartmentDetails `contributesTo:"body"` // The client request ID for tracing. 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"` // 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 }
func (request ChangeManagedDatabaseGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeManagedDatabaseGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagedDatabaseGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagedDatabaseGroupCompartmentRequest) String() string
func (request ChangeManagedDatabaseGroupCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeManagedDatabaseGroupCompartmentResponse wrapper for the ChangeManagedDatabaseGroupCompartment operation
type ChangeManagedDatabaseGroupCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeManagedDatabaseGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagedDatabaseGroupCompartmentResponse) String() string
ChildDatabase The child Managed Database of a Managed Database Group.
type ChildDatabase struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time the Managed Database was added to the group. TimeAdded *common.SDKTime `mandatory:"true" json:"timeAdded"` // The infrastructure used to deploy the Oracle Database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, // Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` }
func (m ChildDatabase) String() string
func (m ChildDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloneSqlTuningTaskDetails The request to clone and run a SQL tuning task. The new task uses the same inputs as the one being cloned.
type CloneSqlTuningTaskDetails struct { // The name of the SQL tuning task. The name is unique per user in a database, and it is case-sensitive. TaskName *string `mandatory:"true" json:"taskName"` // The identifier of the SQL tuning task being cloned. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint // ListSqlTuningAdvisorTasks. OriginalTaskId *int64 `mandatory:"true" json:"originalTaskId"` CredentialDetails SqlTuningTaskCredentialDetails `mandatory:"true" json:"credentialDetails"` // The description of the SQL tuning task. TaskDescription *string `mandatory:"false" json:"taskDescription"` }
func (m CloneSqlTuningTaskDetails) String() string
func (m *CloneSqlTuningTaskDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CloneSqlTuningTaskDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloneSqlTuningTaskRequest wrapper for the CloneSqlTuningTask operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CloneSqlTuningTask.go.html to see an example of how to use CloneSqlTuningTaskRequest.
type CloneSqlTuningTaskRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The detailed inputs required to clone a SQL tuning task. CloneSqlTuningTaskDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request CloneSqlTuningTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CloneSqlTuningTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CloneSqlTuningTaskRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CloneSqlTuningTaskRequest) String() string
func (request CloneSqlTuningTaskRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloneSqlTuningTaskResponse wrapper for the CloneSqlTuningTask operation
type CloneSqlTuningTaskResponse struct { // The underlying http response RawResponse *http.Response // The SqlTuningTaskReturn instance SqlTuningTaskReturn `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"` }
func (response CloneSqlTuningTaskResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CloneSqlTuningTaskResponse) String() string
ClusterCacheMetric The response containing the cluster cache metrics for the Oracle Real Application Clusters (Oracle RAC) database.
type ClusterCacheMetric struct { // A list of cluster cache metrics for a specific database. ClusterCacheMetrics []TimeSeriesMetricDefinition `mandatory:"true" json:"clusterCacheMetrics"` }
func (m ClusterCacheMetric) String() string
func (m ClusterCacheMetric) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CompareTypeEnum Enum with underlying type: string
type CompareTypeEnum string
Set of constants representing the allowable values for CompareTypeEnum
const ( CompareTypeHour CompareTypeEnum = "HOUR" CompareTypeDay CompareTypeEnum = "DAY" )
func GetCompareTypeEnumValues() []CompareTypeEnum
GetCompareTypeEnumValues Enumerates the set of values for CompareTypeEnum
func GetMappingCompareTypeEnum(val string) (CompareTypeEnum, bool)
GetMappingCompareTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConsumerGroupPrivilegeCollection A collection of consumer group privileges granted to the current user.
type ConsumerGroupPrivilegeCollection struct { // An array of consumer group privileges. Items []ConsumerGroupPrivilegeSummary `mandatory:"true" json:"items"` }
func (m ConsumerGroupPrivilegeCollection) String() string
func (m ConsumerGroupPrivilegeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConsumerGroupPrivilegeSummary A summary of consumer group privileges.
type ConsumerGroupPrivilegeSummary struct { // The name of the granted consumer group privilege. Name *string `mandatory:"false" json:"name"` // Indicates whether the privilege is granted with the GRANT option (YES) or not (NO). GrantOption ConsumerGroupPrivilegeSummaryGrantOptionEnum `mandatory:"false" json:"grantOption,omitempty"` // Indicates whether the consumer group is designated as the default for this user or role (YES) or not (NO). InitialGroup ConsumerGroupPrivilegeSummaryInitialGroupEnum `mandatory:"false" json:"initialGroup,omitempty"` }
func (m ConsumerGroupPrivilegeSummary) String() string
func (m ConsumerGroupPrivilegeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConsumerGroupPrivilegeSummaryGrantOptionEnum Enum with underlying type: string
type ConsumerGroupPrivilegeSummaryGrantOptionEnum string
Set of constants representing the allowable values for ConsumerGroupPrivilegeSummaryGrantOptionEnum
const ( ConsumerGroupPrivilegeSummaryGrantOptionYes ConsumerGroupPrivilegeSummaryGrantOptionEnum = "YES" ConsumerGroupPrivilegeSummaryGrantOptionNo ConsumerGroupPrivilegeSummaryGrantOptionEnum = "NO" )
func GetConsumerGroupPrivilegeSummaryGrantOptionEnumValues() []ConsumerGroupPrivilegeSummaryGrantOptionEnum
GetConsumerGroupPrivilegeSummaryGrantOptionEnumValues Enumerates the set of values for ConsumerGroupPrivilegeSummaryGrantOptionEnum
func GetMappingConsumerGroupPrivilegeSummaryGrantOptionEnum(val string) (ConsumerGroupPrivilegeSummaryGrantOptionEnum, bool)
GetMappingConsumerGroupPrivilegeSummaryGrantOptionEnum performs case Insensitive comparison on enum value and return the desired enum
ConsumerGroupPrivilegeSummaryInitialGroupEnum Enum with underlying type: string
type ConsumerGroupPrivilegeSummaryInitialGroupEnum string
Set of constants representing the allowable values for ConsumerGroupPrivilegeSummaryInitialGroupEnum
const ( ConsumerGroupPrivilegeSummaryInitialGroupYes ConsumerGroupPrivilegeSummaryInitialGroupEnum = "YES" ConsumerGroupPrivilegeSummaryInitialGroupNo ConsumerGroupPrivilegeSummaryInitialGroupEnum = "NO" )
func GetConsumerGroupPrivilegeSummaryInitialGroupEnumValues() []ConsumerGroupPrivilegeSummaryInitialGroupEnum
GetConsumerGroupPrivilegeSummaryInitialGroupEnumValues Enumerates the set of values for ConsumerGroupPrivilegeSummaryInitialGroupEnum
func GetMappingConsumerGroupPrivilegeSummaryInitialGroupEnum(val string) (ConsumerGroupPrivilegeSummaryInitialGroupEnum, bool)
GetMappingConsumerGroupPrivilegeSummaryInitialGroupEnum performs case Insensitive comparison on enum value and return the desired enum
CpuUtilizationAggregateMetrics The CPU utilization metrics for Autonomous Databases.
type CpuUtilizationAggregateMetrics struct { CpuUtilization *MetricDataPoint `mandatory:"false" json:"cpuUtilization"` }
func (m CpuUtilizationAggregateMetrics) String() string
func (m CpuUtilizationAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDbManagementPrivateEndpointDetails The details used to create a new Database Management private endpoint.
type CreateDbManagementPrivateEndpointDetails struct { // The display name of the Database Management private endpoint. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. IsCluster *bool `mandatory:"false" json:"isCluster"` // The description of the private endpoint. Description *string `mandatory:"false" json:"description"` // The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m CreateDbManagementPrivateEndpointDetails) String() string
func (m CreateDbManagementPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDbManagementPrivateEndpointRequest wrapper for the CreateDbManagementPrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateDbManagementPrivateEndpoint.go.html to see an example of how to use CreateDbManagementPrivateEndpointRequest.
type CreateDbManagementPrivateEndpointRequest struct { // Details used to create a new Database Management private endpoint. CreateDbManagementPrivateEndpointDetails `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"` // The client request ID for tracing. 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 }
func (request CreateDbManagementPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDbManagementPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDbManagementPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDbManagementPrivateEndpointRequest) String() string
func (request CreateDbManagementPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDbManagementPrivateEndpointResponse wrapper for the CreateDbManagementPrivateEndpoint operation
type CreateDbManagementPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DbManagementPrivateEndpoint instance DbManagementPrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the 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 Database Management private endpoint. Location *string `presentIn:"header" name:"location"` }
func (response CreateDbManagementPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDbManagementPrivateEndpointResponse) String() string
CreateJobDetails The details required to create a job.
type CreateJobDetails interface { // The name of the job. Valid characters are uppercase or lowercase letters, // numbers, and "_". The name of the job cannot be modified. It must be unique // in the compartment and must begin with an alphabetic character. GetName() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. GetCompartmentId() *string // The schedule type of the job. GetScheduleType() JobScheduleTypeEnum // The description of the job. GetDescription() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. GetManagedDatabaseGroupId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. GetManagedDatabaseId() *string // The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. GetDatabaseSubType() DatabaseSubTypeEnum // The job timeout duration, which is expressed like "1h 10m 15s". GetTimeout() *string GetResultLocation() JobExecutionResultLocation GetScheduleDetails() *JobScheduleDetails }
CreateJobRequest wrapper for the CreateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateJob.go.html to see an example of how to use CreateJobRequest.
type CreateJobRequest struct { // The details required to create a job. CreateJobDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request CreateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateJobRequest) String() string
func (request CreateJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateJobResponse wrapper for the CreateJob operation
type CreateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // A link to the created job. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateJobResponse) String() string
CreateManagedDatabaseGroupDetails The details required to create a Managed Database Group.
type CreateManagedDatabaseGroupDetails struct { // The name of the Managed Database Group. Valid characters are uppercase or // lowercase letters, numbers, and "_". The name of the Managed Database Group // cannot be modified. It must be unique in the compartment and must begin with // an alphabetic character. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // in which the Managed Database Group resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` }
func (m CreateManagedDatabaseGroupDetails) String() string
func (m CreateManagedDatabaseGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateManagedDatabaseGroupRequest wrapper for the CreateManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroupRequest.
type CreateManagedDatabaseGroupRequest struct { // The details required to create a Managed Database Group. CreateManagedDatabaseGroupDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request CreateManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagedDatabaseGroupRequest) String() string
func (request CreateManagedDatabaseGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateManagedDatabaseGroupResponse wrapper for the CreateManagedDatabaseGroup operation
type CreateManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabaseGroup instance ManagedDatabaseGroup `presentIn:"body"` // A link to the newly created Managed Database Group. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedDatabaseGroupResponse) String() string
CreateSqlJobDetails The details specific to the SQL job request.
type CreateSqlJobDetails struct { // The name of the job. Valid characters are uppercase or lowercase letters, // numbers, and "_". The name of the job cannot be modified. It must be unique // in the compartment and must begin with an alphabetic character. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The description of the job. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"` ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"` // The SQL text to be executed as part of the job. SqlText *string `mandatory:"false" json:"sqlText"` // The database user name used to execute the SQL job. If the job is being executed on a // Managed Database Group, then the user name should exist on all the databases in the // group with the same password. UserName *string `mandatory:"false" json:"userName"` // The password for the database user name used to execute the SQL job. Password *string `mandatory:"false" json:"password"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the secret containing the user password. SecretId *string `mandatory:"false" json:"secretId"` // The schedule type of the job. ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"` // The SQL operation type. OperationType SqlJobOperationTypeEnum `mandatory:"true" json:"operationType"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"` }
func (m CreateSqlJobDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateSqlJobDetails) GetDatabaseSubType() DatabaseSubTypeEnum
GetDatabaseSubType returns DatabaseSubType
func (m CreateSqlJobDetails) GetDescription() *string
GetDescription returns Description
func (m CreateSqlJobDetails) GetManagedDatabaseGroupId() *string
GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
func (m CreateSqlJobDetails) GetManagedDatabaseId() *string
GetManagedDatabaseId returns ManagedDatabaseId
func (m CreateSqlJobDetails) GetName() *string
GetName returns Name
func (m CreateSqlJobDetails) GetResultLocation() JobExecutionResultLocation
GetResultLocation returns ResultLocation
func (m CreateSqlJobDetails) GetScheduleDetails() *JobScheduleDetails
GetScheduleDetails returns ScheduleDetails
func (m CreateSqlJobDetails) GetScheduleType() JobScheduleTypeEnum
GetScheduleType returns ScheduleType
func (m CreateSqlJobDetails) GetTimeout() *string
GetTimeout returns Timeout
func (m CreateSqlJobDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateSqlJobDetails) String() string
func (m *CreateSqlJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateSqlJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTablespaceDetails The details required to create a tablespace.
type CreateTablespaceDetails struct { CredentialDetails TablespaceAdminCredentialDetails `mandatory:"true" json:"credentialDetails"` // The name of the tablespace. It must be unique within a database. Name *string `mandatory:"true" json:"name"` // The type of tablespace. Type CreateTablespaceDetailsTypeEnum `mandatory:"false" json:"type,omitempty"` // Specifies whether the tablespace is a bigfile or smallfile tablespace. // A bigfile tablespace contains only one data file or temp file, which can contain up to approximately 4 billion (232) blocks. // A smallfile tablespace is a traditional Oracle tablespace, which can contain 1022 data files or temp files, each of which can contain up to approximately 4 million (222) blocks. IsBigfile *bool `mandatory:"false" json:"isBigfile"` // The list of data files or temp files created for the tablespace. DataFiles []string `mandatory:"false" json:"dataFiles"` // The number of data files or temp files created for the tablespace. This is for Oracle Managed Files only. FileCount *int `mandatory:"false" json:"fileCount"` // The size of each data file or temp file. FileSize *TablespaceStorageSize `mandatory:"false" json:"fileSize"` // Specifies whether Oracle can reuse the data file or temp file. Reuse is only allowed when the file name is provided. IsReusable *bool `mandatory:"false" json:"isReusable"` // Specifies whether the data file or temp file can be extended automatically. IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"` // The size of the next increment of disk space to be allocated automatically when more extents are required. AutoExtendNextSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendNextSize"` // The maximum disk space allowed for automatic extension of the data files or temp files. AutoExtendMaxSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendMaxSize"` // Specifies whether the disk space of the data file or temp file can be limited. IsMaxSizeUnlimited *bool `mandatory:"false" json:"isMaxSizeUnlimited"` // Block size for the tablespace. BlockSizeInKilobytes *int `mandatory:"false" json:"blockSizeInKilobytes"` // Indicates whether the tablespace is encrypted. IsEncrypted *bool `mandatory:"false" json:"isEncrypted"` // The name of the encryption algorithm to be used for tablespace encryption. EncryptionAlgorithm *string `mandatory:"false" json:"encryptionAlgorithm"` // The default compression of data for all tables created in the tablespace. DefaultCompress CreateTablespaceDetailsDefaultCompressEnum `mandatory:"false" json:"defaultCompress,omitempty"` // The status of the tablespace. Status CreateTablespaceDetailsStatusEnum `mandatory:"false" json:"status,omitempty"` // Specifies how the extents of the tablespace should be managed. ExtentManagement CreateTablespaceDetailsExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"` // The size of the extent when the tablespace is managed with uniform extents of a specific size. ExtentUniformSize *TablespaceStorageSize `mandatory:"false" json:"extentUniformSize"` // Specifies whether tablespace segment management should be automatic or manual. SegmentManagement CreateTablespaceDetailsSegmentManagementEnum `mandatory:"false" json:"segmentManagement,omitempty"` // Specifies whether the tablespace is the default tablespace. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m CreateTablespaceDetails) String() string
func (m *CreateTablespaceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateTablespaceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTablespaceDetailsDefaultCompressEnum Enum with underlying type: string
type CreateTablespaceDetailsDefaultCompressEnum string
Set of constants representing the allowable values for CreateTablespaceDetailsDefaultCompressEnum
const ( CreateTablespaceDetailsDefaultCompressNoCompress CreateTablespaceDetailsDefaultCompressEnum = "NO_COMPRESS" CreateTablespaceDetailsDefaultCompressBasicCompress CreateTablespaceDetailsDefaultCompressEnum = "BASIC_COMPRESS" )
func GetCreateTablespaceDetailsDefaultCompressEnumValues() []CreateTablespaceDetailsDefaultCompressEnum
GetCreateTablespaceDetailsDefaultCompressEnumValues Enumerates the set of values for CreateTablespaceDetailsDefaultCompressEnum
func GetMappingCreateTablespaceDetailsDefaultCompressEnum(val string) (CreateTablespaceDetailsDefaultCompressEnum, bool)
GetMappingCreateTablespaceDetailsDefaultCompressEnum performs case Insensitive comparison on enum value and return the desired enum
CreateTablespaceDetailsExtentManagementEnum Enum with underlying type: string
type CreateTablespaceDetailsExtentManagementEnum string
Set of constants representing the allowable values for CreateTablespaceDetailsExtentManagementEnum
const ( CreateTablespaceDetailsExtentManagementAutoallocate CreateTablespaceDetailsExtentManagementEnum = "AUTOALLOCATE" CreateTablespaceDetailsExtentManagementUniform CreateTablespaceDetailsExtentManagementEnum = "UNIFORM" )
func GetCreateTablespaceDetailsExtentManagementEnumValues() []CreateTablespaceDetailsExtentManagementEnum
GetCreateTablespaceDetailsExtentManagementEnumValues Enumerates the set of values for CreateTablespaceDetailsExtentManagementEnum
func GetMappingCreateTablespaceDetailsExtentManagementEnum(val string) (CreateTablespaceDetailsExtentManagementEnum, bool)
GetMappingCreateTablespaceDetailsExtentManagementEnum performs case Insensitive comparison on enum value and return the desired enum
CreateTablespaceDetailsSegmentManagementEnum Enum with underlying type: string
type CreateTablespaceDetailsSegmentManagementEnum string
Set of constants representing the allowable values for CreateTablespaceDetailsSegmentManagementEnum
const ( CreateTablespaceDetailsSegmentManagementAuto CreateTablespaceDetailsSegmentManagementEnum = "AUTO" CreateTablespaceDetailsSegmentManagementManual CreateTablespaceDetailsSegmentManagementEnum = "MANUAL" )
func GetCreateTablespaceDetailsSegmentManagementEnumValues() []CreateTablespaceDetailsSegmentManagementEnum
GetCreateTablespaceDetailsSegmentManagementEnumValues Enumerates the set of values for CreateTablespaceDetailsSegmentManagementEnum
func GetMappingCreateTablespaceDetailsSegmentManagementEnum(val string) (CreateTablespaceDetailsSegmentManagementEnum, bool)
GetMappingCreateTablespaceDetailsSegmentManagementEnum performs case Insensitive comparison on enum value and return the desired enum
CreateTablespaceDetailsStatusEnum Enum with underlying type: string
type CreateTablespaceDetailsStatusEnum string
Set of constants representing the allowable values for CreateTablespaceDetailsStatusEnum
const ( CreateTablespaceDetailsStatusOnly CreateTablespaceDetailsStatusEnum = "READ_ONLY" CreateTablespaceDetailsStatusWrite CreateTablespaceDetailsStatusEnum = "READ_WRITE" )
func GetCreateTablespaceDetailsStatusEnumValues() []CreateTablespaceDetailsStatusEnum
GetCreateTablespaceDetailsStatusEnumValues Enumerates the set of values for CreateTablespaceDetailsStatusEnum
func GetMappingCreateTablespaceDetailsStatusEnum(val string) (CreateTablespaceDetailsStatusEnum, bool)
GetMappingCreateTablespaceDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CreateTablespaceDetailsTypeEnum Enum with underlying type: string
type CreateTablespaceDetailsTypeEnum string
Set of constants representing the allowable values for CreateTablespaceDetailsTypeEnum
const ( CreateTablespaceDetailsTypePermanent CreateTablespaceDetailsTypeEnum = "PERMANENT" CreateTablespaceDetailsTypeTemporary CreateTablespaceDetailsTypeEnum = "TEMPORARY" )
func GetCreateTablespaceDetailsTypeEnumValues() []CreateTablespaceDetailsTypeEnum
GetCreateTablespaceDetailsTypeEnumValues Enumerates the set of values for CreateTablespaceDetailsTypeEnum
func GetMappingCreateTablespaceDetailsTypeEnum(val string) (CreateTablespaceDetailsTypeEnum, bool)
GetMappingCreateTablespaceDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateTablespaceRequest wrapper for the CreateTablespace operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateTablespace.go.html to see an example of how to use CreateTablespaceRequest.
type CreateTablespaceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The details required to create a tablespace. CreateTablespaceDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request CreateTablespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTablespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTablespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTablespaceRequest) String() string
func (request CreateTablespaceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTablespaceResponse wrapper for the CreateTablespace operation
type CreateTablespaceResponse struct { // The underlying http response RawResponse *http.Response // The Tablespace instance Tablespace `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"` }
func (response CreateTablespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTablespaceResponse) String() string
DataAccessContainerCollection A collection of specific containers for the current user. This is only applicable if ALL_CONTAINERS !='Y'.
type DataAccessContainerCollection struct { // An array of container resources. Items []DataAccessContainerSummary `mandatory:"true" json:"items"` }
func (m DataAccessContainerCollection) String() string
func (m DataAccessContainerCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataAccessContainerSummary A summary of the ContainerDataAccess user.
type DataAccessContainerSummary struct { // The name of the container included in the attribute. Name *string `mandatory:"false" json:"name"` }
func (m DataAccessContainerSummary) String() string
func (m DataAccessContainerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseCredentials The database credentials used to perform management activity.
type DatabaseCredentials struct { // The database user name used to perform management activity. UserName *string `mandatory:"false" json:"userName"` // The password for the database user name. Password *string `mandatory:"false" json:"password"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the secret containing the user password. SecretId *string `mandatory:"false" json:"secretId"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role DatabaseCredentialsRoleEnum `mandatory:"false" json:"role,omitempty"` }
func (m DatabaseCredentials) String() string
func (m DatabaseCredentials) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseCredentialsRoleEnum Enum with underlying type: string
type DatabaseCredentialsRoleEnum string
Set of constants representing the allowable values for DatabaseCredentialsRoleEnum
const ( DatabaseCredentialsRoleNormal DatabaseCredentialsRoleEnum = "NORMAL" DatabaseCredentialsRoleSysdba DatabaseCredentialsRoleEnum = "SYSDBA" )
func GetDatabaseCredentialsRoleEnumValues() []DatabaseCredentialsRoleEnum
GetDatabaseCredentialsRoleEnumValues Enumerates the set of values for DatabaseCredentialsRoleEnum
func GetMappingDatabaseCredentialsRoleEnum(val string) (DatabaseCredentialsRoleEnum, bool)
GetMappingDatabaseCredentialsRoleEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseFleetHealthMetrics The details of the fleet health metrics.
type DatabaseFleetHealthMetrics struct { // The baseline date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". // This is the date and time against which percentage change is calculated. CompareBaselineTime *string `mandatory:"true" json:"compareBaselineTime"` // The target date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". // All the metrics are returned for the target date and time and the percentage change // is calculated against the baseline date and time. CompareTargetTime *string `mandatory:"true" json:"compareTargetTime"` // A list of the databases present in the fleet and their usage metrics. FleetDatabases []DatabaseUsageMetrics `mandatory:"true" json:"fleetDatabases"` // The time window used for metrics comparison. CompareType CompareTypeEnum `mandatory:"false" json:"compareType,omitempty"` FleetSummary *FleetSummary `mandatory:"false" json:"fleetSummary"` }
func (m DatabaseFleetHealthMetrics) String() string
func (m DatabaseFleetHealthMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseHomeMetricDefinition The response containing the CPU, Storage, Wait, DB Time, and Memory metrics for a specific database.
type DatabaseHomeMetricDefinition struct { // A list of the active session metrics for CPU and Wait time for a specific database. ActivityTimeSeriesMetrics []ActivityTimeSeriesMetrics `mandatory:"true" json:"activityTimeSeriesMetrics"` DbTimeAggregateMetrics *DatabaseTimeAggregateMetrics `mandatory:"true" json:"dbTimeAggregateMetrics"` IoAggregateMetrics *DatabaseIoAggregateMetrics `mandatory:"true" json:"ioAggregateMetrics"` MemoryAggregateMetrics *MemoryAggregateMetrics `mandatory:"true" json:"memoryAggregateMetrics"` DbStorageAggregateMetrics *DatabaseStorageAggregateMetrics `mandatory:"true" json:"dbStorageAggregateMetrics"` CpuUtilizationAggregateMetrics *CpuUtilizationAggregateMetrics `mandatory:"false" json:"cpuUtilizationAggregateMetrics"` StatementsAggregateMetrics *StatementsAggregateMetrics `mandatory:"false" json:"statementsAggregateMetrics"` FailedConnectionsAggregateMetrics *FailedConnectionsAggregateMetrics `mandatory:"false" json:"failedConnectionsAggregateMetrics"` }
func (m DatabaseHomeMetricDefinition) String() string
func (m DatabaseHomeMetricDefinition) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseHomeMetrics The response containing the metric collection for a specific database.
type DatabaseHomeMetrics struct { DatabaseHomeMetrics *DatabaseHomeMetricDefinition `mandatory:"true" json:"databaseHomeMetrics"` // The metrics for the RAC database instances. DatabaseInstanceHomeMetrics []DatabaseInstanceHomeMetricsDefinition `mandatory:"false" json:"databaseInstanceHomeMetrics"` }
func (m DatabaseHomeMetrics) String() string
func (m DatabaseHomeMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseInstanceHomeMetricsDefinition The response containing the CPU, Wait, DB Time, and Memory metrics for a specific Oracle Real Application Clusters (Oracle RAC) database instance.
type DatabaseInstanceHomeMetricsDefinition struct { // The name of the Oracle Real Application Clusters (Oracle RAC) // database instance to which the corresponding metrics belong. InstanceName *string `mandatory:"true" json:"instanceName"` // The number of Oracle Real Application Clusters (Oracle RAC) // database instance to which the corresponding metrics belong. InstanceNumber *int `mandatory:"true" json:"instanceNumber"` // A list of the active session metrics for CPU and Wait time for // a specific Oracle Real Application Clusters (Oracle RAC) // database instance. ActivityTimeSeriesMetrics []ActivityTimeSeriesMetrics `mandatory:"true" json:"activityTimeSeriesMetrics"` DbTimeAggregateMetrics *DatabaseTimeAggregateMetrics `mandatory:"true" json:"dbTimeAggregateMetrics"` IoAggregateMetrics *DatabaseIoAggregateMetrics `mandatory:"true" json:"ioAggregateMetrics"` MemoryAggregateMetrics *MemoryAggregateMetrics `mandatory:"true" json:"memoryAggregateMetrics"` CpuUtilizationAggregateMetrics *CpuUtilizationAggregateMetrics `mandatory:"false" json:"cpuUtilizationAggregateMetrics"` }
func (m DatabaseInstanceHomeMetricsDefinition) String() string
func (m DatabaseInstanceHomeMetricsDefinition) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseIoAggregateMetrics The database Input/Output metric details.
type DatabaseIoAggregateMetrics struct { // A list of the Input/Output Operations Per Second metrics grouped by IOType for a specific database. Iops []MetricDataPoint `mandatory:"false" json:"iops"` // A list of the IOThroughput metrics grouped for a specific database. IoThroughput []MetricDataPoint `mandatory:"false" json:"ioThroughput"` }
func (m DatabaseIoAggregateMetrics) String() string
func (m DatabaseIoAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseParameterSummary A summary of the database parameter.
type DatabaseParameterSummary struct { // The parameter name. Name *string `mandatory:"true" json:"name"` // The parameter type. Type DatabaseParameterSummaryTypeEnum `mandatory:"true" json:"type"` // The parameter value. Value *string `mandatory:"true" json:"value"` // The parameter value in a user-friendly format. For example, if the `value` property shows the value 262144 for a big integer parameter, then the `displayValue` property will show the value 256K. DisplayValue *string `mandatory:"true" json:"displayValue"` // The parameter number. Number *float32 `mandatory:"false" json:"number"` // Indicates whether the parameter is set to the default value (`TRUE`) or the parameter value was specified in the parameter file (`FALSE`). IsDefault *bool `mandatory:"false" json:"isDefault"` // Indicates whether the parameter can be changed with `ALTER SESSION` (`TRUE`) or not (`FALSE`) IsSessionModifiable *bool `mandatory:"false" json:"isSessionModifiable"` // Indicates whether the parameter can be changed with `ALTER SYSTEM` and when the change takes effect: // - IMMEDIATE: Parameter can be changed with `ALTER SYSTEM` regardless of the type of parameter file used to start the instance. The change takes effect immediately. // - DEFERRED: Parameter can be changed with `ALTER SYSTEM` regardless of the type of parameter file used to start the instance. The change takes effect in subsequent sessions. // - FALSE: Parameter cannot be changed with `ALTER SYSTEM` unless a server parameter file was used to start the instance. The change takes effect in subsequent instances. IsSystemModifiable DatabaseParameterSummaryIsSystemModifiableEnum `mandatory:"false" json:"isSystemModifiable,omitempty"` // Indicates whether the parameter can be modified on a per-PDB basis (`TRUE`) or not (`FALSE`). In a non-CDB, the value of this property is `null`. IsPdbModifiable *bool `mandatory:"false" json:"isPdbModifiable"` // For parameters that can be changed with `ALTER SYSTEM`, indicates whether the value of the parameter can be different for every instance (`TRUE`) or whether the parameter must have the same value for all Real Application Clusters instances (`FALSE`). For other parameters, this is always `FALSE`. IsInstanceModifiable *bool `mandatory:"false" json:"isInstanceModifiable"` // Indicates how the parameter was modified. If an `ALTER SYSTEM` was performed, the value will be `MODIFIED`. IsModified DatabaseParameterSummaryIsModifiedEnum `mandatory:"false" json:"isModified,omitempty"` // Indicates whether Oracle adjusted the input value to a more suitable value. IsAdjusted *bool `mandatory:"false" json:"isAdjusted"` // Indicates whether the parameter has been deprecated (`TRUE`) or not (`FALSE`). IsDeprecated *bool `mandatory:"false" json:"isDeprecated"` // Indicates whether the parameter is a basic parameter (`TRUE`) or not (`FALSE`). IsBasic *bool `mandatory:"false" json:"isBasic"` // The description of the parameter. Description *string `mandatory:"false" json:"description"` // The position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings. Ordinal *float32 `mandatory:"false" json:"ordinal"` // The comments associated with the most recent update. UpdateComment *string `mandatory:"false" json:"updateComment"` // The ID of the database container to which the data pertains. // Possible values include: // - `0`: This value is used for data that pertain to the entire CDB. This value is also used for data in non-CDBs. // - `1`: This value is used for data that pertain to only the root container. // - `n`: Where n is the applicable container ID for the data. ContainerId *float32 `mandatory:"false" json:"containerId"` // The parameter category. Category *string `mandatory:"false" json:"category"` // Applicable in case of Oracle Real Application Clusters (Oracle RAC) databases. // A `UNIQUE` parameter is one which is unique to each Oracle Real Application // Clusters (Oracle RAC) instance. For example, the parameter `INSTANCE_NUMBER` // must have different values in each instance. An `IDENTICAL` parameter must // have the same value for every instance. For example, the parameter // `DB_BLOCK_SIZE` must have the same value in all instances. Constraint DatabaseParameterSummaryConstraintEnum `mandatory:"false" json:"constraint,omitempty"` // The database instance SID for which the parameter is defined. Sid *string `mandatory:"false" json:"sid"` // Indicates whether the parameter was specified in the server parameter file (`TRUE`) or not (`FALSE`). Applicable only when the parameter source is `SPFILE`. IsSpecified *bool `mandatory:"false" json:"isSpecified"` // A list of allowed values for this parameter. AllowedValues []AllowedParameterValue `mandatory:"false" json:"allowedValues"` }
func (m DatabaseParameterSummary) String() string
func (m DatabaseParameterSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseParameterSummaryConstraintEnum Enum with underlying type: string
type DatabaseParameterSummaryConstraintEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryConstraintEnum
const ( DatabaseParameterSummaryConstraintUnique DatabaseParameterSummaryConstraintEnum = "UNIQUE" DatabaseParameterSummaryConstraintIdentical DatabaseParameterSummaryConstraintEnum = "IDENTICAL" DatabaseParameterSummaryConstraintNone DatabaseParameterSummaryConstraintEnum = "NONE" )
func GetDatabaseParameterSummaryConstraintEnumValues() []DatabaseParameterSummaryConstraintEnum
GetDatabaseParameterSummaryConstraintEnumValues Enumerates the set of values for DatabaseParameterSummaryConstraintEnum
func GetMappingDatabaseParameterSummaryConstraintEnum(val string) (DatabaseParameterSummaryConstraintEnum, bool)
GetMappingDatabaseParameterSummaryConstraintEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseParameterSummaryIsModifiedEnum Enum with underlying type: string
type DatabaseParameterSummaryIsModifiedEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryIsModifiedEnum
const ( DatabaseParameterSummaryIsModifiedModified DatabaseParameterSummaryIsModifiedEnum = "MODIFIED" DatabaseParameterSummaryIsModifiedFalse DatabaseParameterSummaryIsModifiedEnum = "FALSE" )
func GetDatabaseParameterSummaryIsModifiedEnumValues() []DatabaseParameterSummaryIsModifiedEnum
GetDatabaseParameterSummaryIsModifiedEnumValues Enumerates the set of values for DatabaseParameterSummaryIsModifiedEnum
func GetMappingDatabaseParameterSummaryIsModifiedEnum(val string) (DatabaseParameterSummaryIsModifiedEnum, bool)
GetMappingDatabaseParameterSummaryIsModifiedEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseParameterSummaryIsSystemModifiableEnum Enum with underlying type: string
type DatabaseParameterSummaryIsSystemModifiableEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryIsSystemModifiableEnum
const ( DatabaseParameterSummaryIsSystemModifiableImmediate DatabaseParameterSummaryIsSystemModifiableEnum = "IMMEDIATE" DatabaseParameterSummaryIsSystemModifiableDeferred DatabaseParameterSummaryIsSystemModifiableEnum = "DEFERRED" DatabaseParameterSummaryIsSystemModifiableFalse DatabaseParameterSummaryIsSystemModifiableEnum = "FALSE" )
func GetDatabaseParameterSummaryIsSystemModifiableEnumValues() []DatabaseParameterSummaryIsSystemModifiableEnum
GetDatabaseParameterSummaryIsSystemModifiableEnumValues Enumerates the set of values for DatabaseParameterSummaryIsSystemModifiableEnum
func GetMappingDatabaseParameterSummaryIsSystemModifiableEnum(val string) (DatabaseParameterSummaryIsSystemModifiableEnum, bool)
GetMappingDatabaseParameterSummaryIsSystemModifiableEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseParameterSummaryTypeEnum Enum with underlying type: string
type DatabaseParameterSummaryTypeEnum string
Set of constants representing the allowable values for DatabaseParameterSummaryTypeEnum
const ( DatabaseParameterSummaryTypeBoolean DatabaseParameterSummaryTypeEnum = "BOOLEAN" DatabaseParameterSummaryTypeString DatabaseParameterSummaryTypeEnum = "STRING" DatabaseParameterSummaryTypeInteger DatabaseParameterSummaryTypeEnum = "INTEGER" DatabaseParameterSummaryTypeFilename DatabaseParameterSummaryTypeEnum = "FILENAME" DatabaseParameterSummaryTypeBigInteger DatabaseParameterSummaryTypeEnum = "BIG_INTEGER" DatabaseParameterSummaryTypeReserved DatabaseParameterSummaryTypeEnum = "RESERVED" )
func GetDatabaseParameterSummaryTypeEnumValues() []DatabaseParameterSummaryTypeEnum
GetDatabaseParameterSummaryTypeEnumValues Enumerates the set of values for DatabaseParameterSummaryTypeEnum
func GetMappingDatabaseParameterSummaryTypeEnum(val string) (DatabaseParameterSummaryTypeEnum, bool)
GetMappingDatabaseParameterSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseParameterUpdateStatus The result of database parameter update.
type DatabaseParameterUpdateStatus struct { // The status of the parameter update. Status DatabaseParameterUpdateStatusStatusEnum `mandatory:"false" json:"status,omitempty"` // An error code that defines the failure or `null` if the parameter // was updated successfully. ErrorCode *string `mandatory:"false" json:"errorCode"` // The error message indicating the reason for failure or `null` if // the parameter was updated successfully. ErrorMessage *string `mandatory:"false" json:"errorMessage"` }
func (m DatabaseParameterUpdateStatus) String() string
func (m DatabaseParameterUpdateStatus) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseParameterUpdateStatusStatusEnum Enum with underlying type: string
type DatabaseParameterUpdateStatusStatusEnum string
Set of constants representing the allowable values for DatabaseParameterUpdateStatusStatusEnum
const ( DatabaseParameterUpdateStatusStatusSucceeded DatabaseParameterUpdateStatusStatusEnum = "SUCCEEDED" DatabaseParameterUpdateStatusStatusFailed DatabaseParameterUpdateStatusStatusEnum = "FAILED" )
func GetDatabaseParameterUpdateStatusStatusEnumValues() []DatabaseParameterUpdateStatusStatusEnum
GetDatabaseParameterUpdateStatusStatusEnumValues Enumerates the set of values for DatabaseParameterUpdateStatusStatusEnum
func GetMappingDatabaseParameterUpdateStatusStatusEnum(val string) (DatabaseParameterUpdateStatusStatusEnum, bool)
GetMappingDatabaseParameterUpdateStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseParametersCollection A collection of database parameters.
type DatabaseParametersCollection struct { // The name of the Managed Database. DatabaseName *string `mandatory:"true" json:"databaseName"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The subtype of the Oracle Database. Indicates whether the database // is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"` // The Oracle Database version. DatabaseVersion *string `mandatory:"true" json:"databaseVersion"` // An array of DatabaseParameterSummary objects. Items []DatabaseParameterSummary `mandatory:"true" json:"items"` }
func (m DatabaseParametersCollection) String() string
func (m DatabaseParametersCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseStatusEnum Enum with underlying type: string
type DatabaseStatusEnum string
Set of constants representing the allowable values for DatabaseStatusEnum
const ( DatabaseStatusUp DatabaseStatusEnum = "UP" DatabaseStatusDown DatabaseStatusEnum = "DOWN" DatabaseStatusUnknown DatabaseStatusEnum = "UNKNOWN" )
func GetDatabaseStatusEnumValues() []DatabaseStatusEnum
GetDatabaseStatusEnumValues Enumerates the set of values for DatabaseStatusEnum
func GetMappingDatabaseStatusEnum(val string) (DatabaseStatusEnum, bool)
GetMappingDatabaseStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseStorageAggregateMetrics The database storage metric values.
type DatabaseStorageAggregateMetrics struct { StorageAllocated *MetricDataPoint `mandatory:"false" json:"storageAllocated"` StorageUsed *MetricDataPoint `mandatory:"false" json:"storageUsed"` // A list of the storage metrics grouped by TableSpace for a specific database. StorageUsedByTableSpace []MetricDataPoint `mandatory:"false" json:"storageUsedByTableSpace"` }
func (m DatabaseStorageAggregateMetrics) String() string
func (m DatabaseStorageAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseSubTypeEnum Enum with underlying type: string
type DatabaseSubTypeEnum string
Set of constants representing the allowable values for DatabaseSubTypeEnum
const ( DatabaseSubTypeCdb DatabaseSubTypeEnum = "CDB" DatabaseSubTypePdb DatabaseSubTypeEnum = "PDB" DatabaseSubTypeNonCdb DatabaseSubTypeEnum = "NON_CDB" DatabaseSubTypeAcd DatabaseSubTypeEnum = "ACD" DatabaseSubTypeAdb DatabaseSubTypeEnum = "ADB" )
func GetDatabaseSubTypeEnumValues() []DatabaseSubTypeEnum
GetDatabaseSubTypeEnumValues Enumerates the set of values for DatabaseSubTypeEnum
func GetMappingDatabaseSubTypeEnum(val string) (DatabaseSubTypeEnum, bool)
GetMappingDatabaseSubTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseTimeAggregateMetrics The database time metric details.
type DatabaseTimeAggregateMetrics struct { CpuCount *MetricDataPoint `mandatory:"false" json:"cpuCount"` CpuTime *MetricDataPoint `mandatory:"false" json:"cpuTime"` WaitTime *MetricDataPoint `mandatory:"false" json:"waitTime"` UserIoTime *MetricDataPoint `mandatory:"false" json:"userIoTime"` Cluster *MetricDataPoint `mandatory:"false" json:"cluster"` }
func (m DatabaseTimeAggregateMetrics) String() string
func (m DatabaseTimeAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseTypeEnum Enum with underlying type: string
type DatabaseTypeEnum string
Set of constants representing the allowable values for DatabaseTypeEnum
const ( DatabaseTypeExternalSidb DatabaseTypeEnum = "EXTERNAL_SIDB" DatabaseTypeExternalRac DatabaseTypeEnum = "EXTERNAL_RAC" DatabaseTypeCloudSidb DatabaseTypeEnum = "CLOUD_SIDB" DatabaseTypeCloudRac DatabaseTypeEnum = "CLOUD_RAC" DatabaseTypeEnum = "SHARED" DatabaseTypeDedicated DatabaseTypeEnum = "DEDICATED" )
func GetDatabaseTypeEnumValues() []DatabaseTypeEnum
GetDatabaseTypeEnumValues Enumerates the set of values for DatabaseTypeEnum
func GetMappingDatabaseTypeEnum(val string) (DatabaseTypeEnum, bool)
GetMappingDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseUsageMetrics The list of aggregated metrics for Managed Databases in the fleet.
type DatabaseUsageMetrics struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. DbId *string `mandatory:"false" json:"dbId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where the Managed Database resides. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, // Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The infrastructure used to deploy the Oracle Database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // The Oracle Database version. DatabaseVersion *string `mandatory:"false" json:"databaseVersion"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` // The display name of the Managed Database. DatabaseName *string `mandatory:"false" json:"databaseName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database, in the case of a Pluggable Database. DatabaseContainerId *string `mandatory:"false" json:"databaseContainerId"` // A list of the database health metrics like CPU, Storage, and Memory. Metrics []FleetMetricDefinition `mandatory:"false" json:"metrics"` }
func (m DatabaseUsageMetrics) String() string
func (m DatabaseUsageMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Datafile The details of a data file.
type Datafile struct { // The filename (including the path) of the data file or temp file. Name *string `mandatory:"true" json:"name"` // The status of the file. INVALID status is used when the file number is not in use, for example, a file in a tablespace that was removed. Status DatafileStatusEnum `mandatory:"false" json:"status,omitempty"` // The online status of the file. OnlineStatus DatafileOnlineStatusEnum `mandatory:"false" json:"onlineStatus,omitempty"` // Indicates whether the data file is auto-extensible. IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"` // The lost write protection status of the file. LostWriteProtect DatafileLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"` // Type of tablespace this file belongs to. If it's for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types. Shared DatafileSharedEnum `mandatory:"false" json:"shared,omitempty"` // Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces. InstanceId *float32 `mandatory:"false" json:"instanceId"` // The maximum file size in KB. MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"` // The allocated file size in KB. AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"` // The size of the file available for user data in KB. The actual size of the file minus the USER_BYTES value is used to store file-related metadata. UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"` // The number of blocks used as auto-extension increment. IncrementBy *float32 `mandatory:"false" json:"incrementBy"` // The free space available in the data file in KB. FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"` // The total space used in the data file in KB. UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"` // The percentage of used space out of the maximum available space in the file. UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"` // The percentage of used space out of the total allocated space in the file. UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"` }
func (m Datafile) String() string
func (m Datafile) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatafileLostWriteProtectEnum Enum with underlying type: string
type DatafileLostWriteProtectEnum string
Set of constants representing the allowable values for DatafileLostWriteProtectEnum
const ( DatafileLostWriteProtectEnabled DatafileLostWriteProtectEnum = "ENABLED" DatafileLostWriteProtectProtectOff DatafileLostWriteProtectEnum = "PROTECT_OFF" DatafileLostWriteProtectSuspend DatafileLostWriteProtectEnum = "SUSPEND" )
func GetDatafileLostWriteProtectEnumValues() []DatafileLostWriteProtectEnum
GetDatafileLostWriteProtectEnumValues Enumerates the set of values for DatafileLostWriteProtectEnum
func GetMappingDatafileLostWriteProtectEnum(val string) (DatafileLostWriteProtectEnum, bool)
GetMappingDatafileLostWriteProtectEnum performs case Insensitive comparison on enum value and return the desired enum
DatafileOnlineStatusEnum Enum with underlying type: string
type DatafileOnlineStatusEnum string
Set of constants representing the allowable values for DatafileOnlineStatusEnum
const ( DatafileOnlineStatusSysoff DatafileOnlineStatusEnum = "SYSOFF" DatafileOnlineStatusSystem DatafileOnlineStatusEnum = "SYSTEM" DatafileOnlineStatusOffline DatafileOnlineStatusEnum = "OFFLINE" DatafileOnlineStatusOnline DatafileOnlineStatusEnum = "ONLINE" DatafileOnlineStatusRecover DatafileOnlineStatusEnum = "RECOVER" )
func GetDatafileOnlineStatusEnumValues() []DatafileOnlineStatusEnum
GetDatafileOnlineStatusEnumValues Enumerates the set of values for DatafileOnlineStatusEnum
func GetMappingDatafileOnlineStatusEnum(val string) (DatafileOnlineStatusEnum, bool)
GetMappingDatafileOnlineStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DatafileSharedEnum Enum with underlying type: string
type DatafileSharedEnum string
Set of constants representing the allowable values for DatafileSharedEnum
const ( DatafileSharedEnum = "SHARED" DatafileSharedEnum = "LOCAL_FOR_RIM" DatafileSharedEnum = "LOCAL_FOR_ALL" )
func GetDatafileSharedEnumValues() []DatafileSharedEnum
GetDatafileSharedEnumValues Enumerates the set of values for DatafileSharedEnum
func GetMappingDatafileSharedEnum(val string) (DatafileSharedEnum, bool)
GetMappingDatafileSharedEnum performs case Insensitive comparison on enum value and return the desired enum
DatafileStatusEnum Enum with underlying type: string
type DatafileStatusEnum string
Set of constants representing the allowable values for DatafileStatusEnum
const ( DatafileStatusAvailable DatafileStatusEnum = "AVAILABLE" DatafileStatusInvalid DatafileStatusEnum = "INVALID" DatafileStatusOffline DatafileStatusEnum = "OFFLINE" DatafileStatusOnline DatafileStatusEnum = "ONLINE" DatafileStatusUnknown DatafileStatusEnum = "UNKNOWN" )
func GetDatafileStatusEnumValues() []DatafileStatusEnum
GetDatafileStatusEnumValues Enumerates the set of values for DatafileStatusEnum
func GetMappingDatafileStatusEnum(val string) (DatafileStatusEnum, bool)
GetMappingDatafileStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DbManagementClient a client for DbManagement
type DbManagementClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDbManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DbManagementClient, err error)
NewDbManagementClientWithConfigurationProvider Creates a new default DbManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDbManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DbManagementClient, err error)
NewDbManagementClientWithOboToken Creates a new default DbManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DbManagementClient) AddDataFiles(ctx context.Context, request AddDataFilesRequest) (response AddDataFilesResponse, err error)
AddDataFiles Adds data files or temp files to the tablespace.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/AddDataFiles.go.html to see an example of how to use AddDataFiles API.
func (client DbManagementClient) AddManagedDatabaseToManagedDatabaseGroup(ctx context.Context, request AddManagedDatabaseToManagedDatabaseGroupRequest) (response AddManagedDatabaseToManagedDatabaseGroupResponse, err error)
AddManagedDatabaseToManagedDatabaseGroup Adds a Managed Database to a specific Managed Database Group. After the database is added, it will be included in the management activities performed on the Managed Database Group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.go.html to see an example of how to use AddManagedDatabaseToManagedDatabaseGroup API.
func (client DbManagementClient) ChangeDatabaseParameters(ctx context.Context, request ChangeDatabaseParametersRequest) (response ChangeDatabaseParametersResponse, err error)
ChangeDatabaseParameters Changes database parameter values. There are two kinds of database parameters: - Dynamic parameters: They can be changed for the current Oracle Database instance. The changes take effect immediately. - Static parameters: They cannot be changed for the current instance. You must change these parameters and then restart the database before changes take effect. **Note:** If the instance is started using a text initialization parameter file, the parameter changes are applicable only for the current instance. You must update them manually to be passed to a future instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeDatabaseParameters.go.html to see an example of how to use ChangeDatabaseParameters API.
func (client DbManagementClient) ChangeDbManagementPrivateEndpointCompartment(ctx context.Context, request ChangeDbManagementPrivateEndpointCompartmentRequest) (response ChangeDbManagementPrivateEndpointCompartmentResponse, err error)
ChangeDbManagementPrivateEndpointCompartment Moves the Database Management private endpoint and its dependent resources to the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeDbManagementPrivateEndpointCompartment.go.html to see an example of how to use ChangeDbManagementPrivateEndpointCompartment API.
func (client DbManagementClient) ChangeJobCompartment(ctx context.Context, request ChangeJobCompartmentRequest) (response ChangeJobCompartmentResponse, err error)
ChangeJobCompartment Moves a job.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeJobCompartment.go.html to see an example of how to use ChangeJobCompartment API.
func (client DbManagementClient) ChangeManagedDatabaseGroupCompartment(ctx context.Context, request ChangeManagedDatabaseGroupCompartmentRequest) (response ChangeManagedDatabaseGroupCompartmentResponse, err error)
ChangeManagedDatabaseGroupCompartment Moves a Managed Database Group to a different compartment. The destination compartment must not have a Managed Database Group with the same name.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ChangeManagedDatabaseGroupCompartment.go.html to see an example of how to use ChangeManagedDatabaseGroupCompartment API.
func (client *DbManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DbManagementClient) CreateDbManagementPrivateEndpoint(ctx context.Context, request CreateDbManagementPrivateEndpointRequest) (response CreateDbManagementPrivateEndpointResponse, err error)
CreateDbManagementPrivateEndpoint Creates a new Database Management private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateDbManagementPrivateEndpoint.go.html to see an example of how to use CreateDbManagementPrivateEndpoint API.
func (client DbManagementClient) CreateJob(ctx context.Context, request CreateJobRequest) (response CreateJobResponse, err error)
CreateJob Creates a job to be executed on a Managed Database or Managed Database Group. Only one of the parameters, managedDatabaseId or managedDatabaseGroupId should be provided as input in CreateJobDetails resource in request body.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateJob.go.html to see an example of how to use CreateJob API.
func (client DbManagementClient) CreateManagedDatabaseGroup(ctx context.Context, request CreateManagedDatabaseGroupRequest) (response CreateManagedDatabaseGroupResponse, err error)
CreateManagedDatabaseGroup Creates a Managed Database Group. The group does not contain any Managed Databases when it is created, and they must be added later.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateManagedDatabaseGroup.go.html to see an example of how to use CreateManagedDatabaseGroup API.
func (client DbManagementClient) CreateTablespace(ctx context.Context, request CreateTablespaceRequest) (response CreateTablespaceResponse, err error)
CreateTablespace Creates a tablespace within the Managed Database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CreateTablespace.go.html to see an example of how to use CreateTablespace API.
func (client DbManagementClient) DeleteDbManagementPrivateEndpoint(ctx context.Context, request DeleteDbManagementPrivateEndpointRequest) (response DeleteDbManagementPrivateEndpointResponse, err error)
DeleteDbManagementPrivateEndpoint Deletes a specific Database Management private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DeleteDbManagementPrivateEndpoint.go.html to see an example of how to use DeleteDbManagementPrivateEndpoint API.
func (client DbManagementClient) DeleteJob(ctx context.Context, request DeleteJobRequest) (response DeleteJobResponse, err error)
DeleteJob Deletes the job specified by jobId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJob API.
func (client DbManagementClient) DeleteManagedDatabaseGroup(ctx context.Context, request DeleteManagedDatabaseGroupRequest) (response DeleteManagedDatabaseGroupResponse, err error)
DeleteManagedDatabaseGroup Deletes the Managed Database Group specified by managedDatabaseGroupId. If the group contains Managed Databases, then it cannot be deleted.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroup API.
func (client DbManagementClient) DropTablespace(ctx context.Context, request DropTablespaceRequest) (response DropTablespaceResponse, err error)
DropTablespace Drops the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DropTablespace.go.html to see an example of how to use DropTablespace API.
func (client DbManagementClient) GetAwrDbReport(ctx context.Context, request GetAwrDbReportRequest) (response GetAwrDbReportResponse, err error)
GetAwrDbReport Gets the AWR report for the specific database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetAwrDbReport.go.html to see an example of how to use GetAwrDbReport API.
func (client DbManagementClient) GetAwrDbSqlReport(ctx context.Context, request GetAwrDbSqlReportRequest) (response GetAwrDbSqlReportResponse, err error)
GetAwrDbSqlReport Gets the SQL health check report for one SQL of the specific database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetAwrDbSqlReport.go.html to see an example of how to use GetAwrDbSqlReport API.
func (client DbManagementClient) GetClusterCacheMetric(ctx context.Context, request GetClusterCacheMetricRequest) (response GetClusterCacheMetricResponse, err error)
GetClusterCacheMetric Gets the metrics related to cluster cache for the Oracle Real Application Clusters (Oracle RAC) database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetClusterCacheMetric.go.html to see an example of how to use GetClusterCacheMetric API.
func (client DbManagementClient) GetDatabaseFleetHealthMetrics(ctx context.Context, request GetDatabaseFleetHealthMetricsRequest) (response GetDatabaseFleetHealthMetricsResponse, err error)
GetDatabaseFleetHealthMetrics Gets the health metrics for a fleet of databases in a compartment or in a Managed Database Group. Either the CompartmentId or the ManagedDatabaseGroupId query parameters must be provided to retrieve the health metrics.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetrics API.
func (client DbManagementClient) GetDatabaseHomeMetrics(ctx context.Context, request GetDatabaseHomeMetricsRequest) (response GetDatabaseHomeMetricsResponse, err error)
GetDatabaseHomeMetrics Gets a summary of the activity and resource usage metrics like DB Time, CPU, User I/O, Wait, Storage, and Memory for a Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetrics API.
func (client DbManagementClient) GetDbManagementPrivateEndpoint(ctx context.Context, request GetDbManagementPrivateEndpointRequest) (response GetDbManagementPrivateEndpointResponse, err error)
GetDbManagementPrivateEndpoint Gets the details of a specific Database Management private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetDbManagementPrivateEndpoint.go.html to see an example of how to use GetDbManagementPrivateEndpoint API.
func (client DbManagementClient) GetJob(ctx context.Context, request GetJobRequest) (response GetJobResponse, err error)
GetJob Gets the details for the job specified by jobId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetJob.go.html to see an example of how to use GetJob API.
func (client DbManagementClient) GetJobExecution(ctx context.Context, request GetJobExecutionRequest) (response GetJobExecutionResponse, err error)
GetJobExecution Gets the details for the job execution specified by jobExecutionId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecution API.
func (client DbManagementClient) GetJobRun(ctx context.Context, request GetJobRunRequest) (response GetJobRunResponse, err error)
GetJobRun Gets the details for the job run specified by jobRunId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRun API.
func (client DbManagementClient) GetManagedDatabase(ctx context.Context, request GetManagedDatabaseRequest) (response GetManagedDatabaseResponse, err error)
GetManagedDatabase Gets the details for the Managed Database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabase API.
func (client DbManagementClient) GetManagedDatabaseGroup(ctx context.Context, request GetManagedDatabaseGroupRequest) (response GetManagedDatabaseGroupResponse, err error)
GetManagedDatabaseGroup Gets the details for the Managed Database Group specified by managedDatabaseGroupId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroup API.
func (client DbManagementClient) GetPdbMetrics(ctx context.Context, request GetPdbMetricsRequest) (response GetPdbMetricsResponse, err error)
GetPdbMetrics Gets a summary of the resource usage metrics such as CPU, User I/O, and Storage for each PDB within a specific CDB. If comparmentId is specified, then the metrics for each PDB (within the CDB) in the specified compartment are retrieved. If compartmentId is not specified, then the metrics for all the PDBs within the CDB are retrieved.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetPdbMetrics.go.html to see an example of how to use GetPdbMetrics API.
func (client DbManagementClient) GetTablespace(ctx context.Context, request GetTablespaceRequest) (response GetTablespaceResponse, err error)
GetTablespace Gets the details of the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetTablespace.go.html to see an example of how to use GetTablespace API.
func (client DbManagementClient) GetUser(ctx context.Context, request GetUserRequest) (response GetUserResponse, err error)
GetUser Gets the details of the user specified by managedDatabaseId and userName.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetUser.go.html to see an example of how to use GetUser API.
func (client DbManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given Work Request ID
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client DbManagementClient) ListAsmProperties(ctx context.Context, request ListAsmPropertiesRequest) (response ListAsmPropertiesResponse, err error)
ListAsmProperties Gets the list of ASM properties for the specified managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAsmProperties.go.html to see an example of how to use ListAsmProperties API.
func (client DbManagementClient) ListAssociatedDatabases(ctx context.Context, request ListAssociatedDatabasesRequest) (response ListAssociatedDatabasesResponse, err error)
ListAssociatedDatabases Gets the list of databases using a specific Database Management private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAssociatedDatabases.go.html to see an example of how to use ListAssociatedDatabases API.
func (client DbManagementClient) ListAwrDbSnapshots(ctx context.Context, request ListAwrDbSnapshotsRequest) (response ListAwrDbSnapshotsResponse, err error)
ListAwrDbSnapshots Lists AWR snapshots for the specified database in the AWR.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAwrDbSnapshots.go.html to see an example of how to use ListAwrDbSnapshots API.
func (client DbManagementClient) ListAwrDbs(ctx context.Context, request ListAwrDbsRequest) (response ListAwrDbsResponse, err error)
ListAwrDbs Gets the list of databases and their snapshot summary details available in the AWR of the specified Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAwrDbs.go.html to see an example of how to use ListAwrDbs API.
func (client DbManagementClient) ListConsumerGroupPrivileges(ctx context.Context, request ListConsumerGroupPrivilegesRequest) (response ListConsumerGroupPrivilegesResponse, err error)
ListConsumerGroupPrivileges Gets the list of consumer group privileges granted to a specific user.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListConsumerGroupPrivileges.go.html to see an example of how to use ListConsumerGroupPrivileges API.
func (client DbManagementClient) ListDataAccessContainers(ctx context.Context, request ListDataAccessContainersRequest) (response ListDataAccessContainersResponse, err error)
ListDataAccessContainers Gets the list of containers for a specific user. This is only applicable if ALL_CONTAINERS !='Y'.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListDataAccessContainers.go.html to see an example of how to use ListDataAccessContainers API.
func (client DbManagementClient) ListDatabaseParameters(ctx context.Context, request ListDatabaseParametersRequest) (response ListDatabaseParametersResponse, err error)
ListDatabaseParameters Gets the list of database parameters for the specified Managed Database. The parameters are listed in alphabetical order, along with their current values.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParameters API.
func (client DbManagementClient) ListDbManagementPrivateEndpoints(ctx context.Context, request ListDbManagementPrivateEndpointsRequest) (response ListDbManagementPrivateEndpointsResponse, err error)
ListDbManagementPrivateEndpoints Gets a list of Database Management private endpoints.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListDbManagementPrivateEndpoints.go.html to see an example of how to use ListDbManagementPrivateEndpoints API.
func (client DbManagementClient) ListJobExecutions(ctx context.Context, request ListJobExecutionsRequest) (response ListJobExecutionsResponse, err error)
ListJobExecutions Gets the job execution for a specific ID or the list of job executions for a job, job run, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, jobRunId, managedDatabaseId or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered based on the name and status parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutions API.
func (client DbManagementClient) ListJobRuns(ctx context.Context, request ListJobRunsRequest) (response ListJobRunsResponse, err error)
ListJobRuns Gets the job run for a specific ID or the list of job runs for a job, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job runs in the compartment are listed. Job runs can also be filtered based on name and runStatus parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRuns API.
func (client DbManagementClient) ListJobs(ctx context.Context, request ListJobsRequest) (response ListJobsResponse, err error)
ListJobs Gets the job for a specific ID or the list of jobs for a Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, managedDatabaseId or managedDatabaseGroupId, should be provided. If none of these parameters is provided, all the jobs in the compartment are listed. Jobs can also be filtered based on the name and lifecycleState parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListJobs.go.html to see an example of how to use ListJobs API.
func (client DbManagementClient) ListManagedDatabaseGroups(ctx context.Context, request ListManagedDatabaseGroupsRequest) (response ListManagedDatabaseGroupsResponse, err error)
ListManagedDatabaseGroups Gets the Managed Database Group for a specific ID or the list of Managed Database Groups in a specific compartment. Managed Database Groups can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Database Groups in the compartment are listed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroups API.
func (client DbManagementClient) ListManagedDatabases(ctx context.Context, request ListManagedDatabasesRequest) (response ListManagedDatabasesResponse, err error)
ListManagedDatabases Gets the Managed Database for a specific ID or the list of Managed Databases in a specific compartment. Managed Databases can be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If neither of these parameters is provided, all the Managed Databases in the compartment are listed. Managed Databases can also be filtered based on the deployment type and management option. If the deployment type is not specified or if it is `ONPREMISE`, then the management option is not considered and Managed Databases with `ADVANCED` management option are listed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabases API.
func (client DbManagementClient) ListObjectPrivileges(ctx context.Context, request ListObjectPrivilegesRequest) (response ListObjectPrivilegesResponse, err error)
ListObjectPrivileges Gets the list of object privileges granted to a specific user.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListObjectPrivileges.go.html to see an example of how to use ListObjectPrivileges API.
func (client DbManagementClient) ListProxiedForUsers(ctx context.Context, request ListProxiedForUsersRequest) (response ListProxiedForUsersResponse, err error)
ListProxiedForUsers Gets the list of users on whose behalf the current user acts as proxy.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListProxiedForUsers.go.html to see an example of how to use ListProxiedForUsers API.
func (client DbManagementClient) ListProxyUsers(ctx context.Context, request ListProxyUsersRequest) (response ListProxyUsersResponse, err error)
ListProxyUsers Gets the list of proxy users for the current user.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListProxyUsers.go.html to see an example of how to use ListProxyUsers API.
func (client DbManagementClient) ListRoles(ctx context.Context, request ListRolesRequest) (response ListRolesResponse, err error)
ListRoles Gets the list of roles granted to a specific user.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListRoles.go.html to see an example of how to use ListRoles API.
func (client DbManagementClient) ListSystemPrivileges(ctx context.Context, request ListSystemPrivilegesRequest) (response ListSystemPrivilegesResponse, err error)
ListSystemPrivileges Gets the list of system privileges granted to a specific user.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSystemPrivileges.go.html to see an example of how to use ListSystemPrivileges API.
func (client DbManagementClient) ListTablespaces(ctx context.Context, request ListTablespacesRequest) (response ListTablespacesResponse, err error)
ListTablespaces Gets the list of tablespaces for the specified managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespaces API.
func (client DbManagementClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error)
ListUsers Gets the list of users for the specified managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListUsers.go.html to see an example of how to use ListUsers API.
func (client DbManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a paginated list of errors for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client DbManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a paginated list of logs for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client DbManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests The list of work requests in a specific compartment was retrieved successfully.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client DbManagementClient) RemoveDataFile(ctx context.Context, request RemoveDataFileRequest) (response RemoveDataFileResponse, err error)
RemoveDataFile Removes a data file or temp file from the tablespace.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/RemoveDataFile.go.html to see an example of how to use RemoveDataFile API.
func (client DbManagementClient) RemoveManagedDatabaseFromManagedDatabaseGroup(ctx context.Context, request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) (response RemoveManagedDatabaseFromManagedDatabaseGroupResponse, err error)
RemoveManagedDatabaseFromManagedDatabaseGroup Removes a Managed Database from a Managed Database Group. Any management activities that are currently running on this database will continue to run to completion. However, any activities scheduled to run in the future will not be performed on this database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.
func (client DbManagementClient) ResetDatabaseParameters(ctx context.Context, request ResetDatabaseParametersRequest) (response ResetDatabaseParametersResponse, err error)
ResetDatabaseParameters Resets database parameter values to their default or startup values.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParameters API.
func (client DbManagementClient) ResizeDataFile(ctx context.Context, request ResizeDataFileRequest) (response ResizeDataFileResponse, err error)
ResizeDataFile Resizes a data file or temp file within the tablespace.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ResizeDataFile.go.html to see an example of how to use ResizeDataFile API.
func (client *DbManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DbManagementClient) SummarizeAwrDbCpuUsages(ctx context.Context, request SummarizeAwrDbCpuUsagesRequest) (response SummarizeAwrDbCpuUsagesResponse, err error)
SummarizeAwrDbCpuUsages Summarizes the AWR CPU resource limits and metrics for the specified database in AWR.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbCpuUsages.go.html to see an example of how to use SummarizeAwrDbCpuUsages API.
func (client DbManagementClient) SummarizeAwrDbMetrics(ctx context.Context, request SummarizeAwrDbMetricsRequest) (response SummarizeAwrDbMetricsResponse, err error)
SummarizeAwrDbMetrics Summarizes the metric samples for the specified database in the AWR. The metric samples are summarized based on the Time dimension for each metric.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbMetrics.go.html to see an example of how to use SummarizeAwrDbMetrics API.
func (client DbManagementClient) SummarizeAwrDbParameterChanges(ctx context.Context, request SummarizeAwrDbParameterChangesRequest) (response SummarizeAwrDbParameterChangesResponse, err error)
SummarizeAwrDbParameterChanges Summarizes the database parameter change history for one database parameter of the specified database in AWR. One change history record contains the previous value, the changed value, and the corresponding time range. If the database parameter value was changed multiple times within the time range, then multiple change history records are created for the same parameter. Note that this API only returns information on change history details for one database parameter. To get a list of all the database parameters whose values were changed during a specified time range, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameters
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbParameterChanges.go.html to see an example of how to use SummarizeAwrDbParameterChanges API.
func (client DbManagementClient) SummarizeAwrDbParameters(ctx context.Context, request SummarizeAwrDbParametersRequest) (response SummarizeAwrDbParametersResponse, err error)
SummarizeAwrDbParameters Summarizes the database parameter history for the specified database in AWR. This includes the list of database parameters, with information on whether the parameter values were modified within the query time range. Note that each database parameter is only listed once. Depending on the optional query parameters, the returned summary gets all the database parameters, which include: - Each parameter whose value was changed during the time range: (valueChanged ="Y") - Each parameter whose value was unchanged during the time range: (valueChanged ="N") - Each parameter whose value was changed at the system level during the time range: (valueChanged ="Y" and valueModified = "SYSTEM_MOD") - Each parameter whose value was unchanged during the time range, however, the value is not the default value: (valueChanged ="N" and valueDefault = "FALSE") Note that this API does not return information on the number of times each database parameter has been changed within the time range. To get the database parameter value change history for a specific parameter, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameterChanges
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbParameters.go.html to see an example of how to use SummarizeAwrDbParameters API.
func (client DbManagementClient) SummarizeAwrDbSnapshotRanges(ctx context.Context, request SummarizeAwrDbSnapshotRangesRequest) (response SummarizeAwrDbSnapshotRangesResponse, err error)
SummarizeAwrDbSnapshotRanges Summarizes the AWR snapshot ranges that contain continuous snapshots, for the specified Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbSnapshotRanges.go.html to see an example of how to use SummarizeAwrDbSnapshotRanges API.
func (client DbManagementClient) SummarizeAwrDbSysstats(ctx context.Context, request SummarizeAwrDbSysstatsRequest) (response SummarizeAwrDbSysstatsResponse, err error)
SummarizeAwrDbSysstats Summarizes the AWR SYSSTAT sample data for the specified database in AWR. The statistical data is summarized based on the Time dimension for each statistic.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbSysstats.go.html to see an example of how to use SummarizeAwrDbSysstats API.
func (client DbManagementClient) SummarizeAwrDbTopWaitEvents(ctx context.Context, request SummarizeAwrDbTopWaitEventsRequest) (response SummarizeAwrDbTopWaitEventsResponse, err error)
SummarizeAwrDbTopWaitEvents Summarizes the AWR top wait events.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbTopWaitEvents.go.html to see an example of how to use SummarizeAwrDbTopWaitEvents API.
func (client DbManagementClient) SummarizeAwrDbWaitEventBuckets(ctx context.Context, request SummarizeAwrDbWaitEventBucketsRequest) (response SummarizeAwrDbWaitEventBucketsResponse, err error)
SummarizeAwrDbWaitEventBuckets Summarizes AWR wait event data into value buckets and frequency, for the specified database in the AWR.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbWaitEventBuckets.go.html to see an example of how to use SummarizeAwrDbWaitEventBuckets API.
func (client DbManagementClient) SummarizeAwrDbWaitEvents(ctx context.Context, request SummarizeAwrDbWaitEventsRequest) (response SummarizeAwrDbWaitEventsResponse, err error)
SummarizeAwrDbWaitEvents Summarizes the AWR wait event sample data for the specified database in the AWR. The event data is summarized based on the Time dimension for each event.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbWaitEvents.go.html to see an example of how to use SummarizeAwrDbWaitEvents API.
func (client DbManagementClient) SummarizeJobExecutionsStatuses(ctx context.Context, request SummarizeJobExecutionsStatusesRequest) (response SummarizeJobExecutionsStatusesResponse, err error)
SummarizeJobExecutionsStatuses Gets the number of job executions grouped by status for a job, Managed Database, or Database Group in a specific compartment. Only one of the parameters, jobId, managedDatabaseId, or managedDatabaseGroupId should be provided.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeJobExecutionsStatuses.go.html to see an example of how to use SummarizeJobExecutionsStatuses API.
func (client DbManagementClient) UpdateDbManagementPrivateEndpoint(ctx context.Context, request UpdateDbManagementPrivateEndpointRequest) (response UpdateDbManagementPrivateEndpointResponse, err error)
UpdateDbManagementPrivateEndpoint Updates one or more attributes of a specific Database Management private endpoint.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateDbManagementPrivateEndpoint.go.html to see an example of how to use UpdateDbManagementPrivateEndpoint API.
func (client DbManagementClient) UpdateJob(ctx context.Context, request UpdateJobRequest) (response UpdateJobResponse, err error)
UpdateJob Updates the details for the recurring scheduled job specified by jobId. Note that non-recurring (one time) jobs cannot be updated.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateJob.go.html to see an example of how to use UpdateJob API.
func (client DbManagementClient) UpdateManagedDatabaseGroup(ctx context.Context, request UpdateManagedDatabaseGroupRequest) (response UpdateManagedDatabaseGroupResponse, err error)
UpdateManagedDatabaseGroup Updates the Managed Database Group specified by managedDatabaseGroupId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroup API.
func (client DbManagementClient) UpdateTablespace(ctx context.Context, request UpdateTablespaceRequest) (response UpdateTablespaceResponse, err error)
UpdateTablespace Updates the attributes of the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateTablespace.go.html to see an example of how to use UpdateTablespace API.
DbManagementPrivateEndpoint A Database Management private endpoint allows Database Management to connect to databases in a Virtual Cloud Network (VCN).
type DbManagementPrivateEndpoint struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. Id *string `mandatory:"true" json:"id"` // The display name of the Database Management private endpoint. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster. IsCluster *bool `mandatory:"false" json:"isCluster"` // The IP addresses assigned to the Database Management private endpoint. PrivateIp *string `mandatory:"false" json:"privateIp"` // The description of the Database Management private endpoint. Description *string `mandatory:"false" json:"description"` // The date and time the Database Managament 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 lifecycle state of the Database Management private endpoint. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m DbManagementPrivateEndpoint) String() string
func (m DbManagementPrivateEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbManagementPrivateEndpointCollection A collection of Database Management private endpoint objects.
type DbManagementPrivateEndpointCollection struct { // A list of DbManagementPrivateEndpointSummary objects. Items []DbManagementPrivateEndpointSummary `mandatory:"true" json:"items"` }
func (m DbManagementPrivateEndpointCollection) String() string
func (m DbManagementPrivateEndpointCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbManagementPrivateEndpointSummary The summary of a Database Management private endpoint.
type DbManagementPrivateEndpointSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. Id *string `mandatory:"true" json:"id"` // The display name of the Database Management private endpoint. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // 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 lifecycle state of the private endpoint. LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DbManagementPrivateEndpointSummary) String() string
func (m DbManagementPrivateEndpointSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDbManagementPrivateEndpointRequest wrapper for the DeleteDbManagementPrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DeleteDbManagementPrivateEndpoint.go.html to see an example of how to use DeleteDbManagementPrivateEndpointRequest.
type DeleteDbManagementPrivateEndpointRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. DbManagementPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dbManagementPrivateEndpointId"` // The client request ID for tracing. 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 }
func (request DeleteDbManagementPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDbManagementPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDbManagementPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDbManagementPrivateEndpointRequest) String() string
func (request DeleteDbManagementPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDbManagementPrivateEndpointResponse wrapper for the DeleteDbManagementPrivateEndpoint operation
type DeleteDbManagementPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDbManagementPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDbManagementPrivateEndpointResponse) String() string
DeleteJobRequest wrapper for the DeleteJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DeleteJob.go.html to see an example of how to use DeleteJobRequest.
type DeleteJobRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // 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"` // The client request ID for tracing. 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 }
func (request DeleteJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJobRequest) String() string
func (request DeleteJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteJobResponse wrapper for the DeleteJob operation
type DeleteJobResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJobResponse) String() string
DeleteManagedDatabaseGroupRequest wrapper for the DeleteManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DeleteManagedDatabaseGroup.go.html to see an example of how to use DeleteManagedDatabaseGroupRequest.
type DeleteManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // 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"` // The client request ID for tracing. 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 }
func (request DeleteManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagedDatabaseGroupRequest) String() string
func (request DeleteManagedDatabaseGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteManagedDatabaseGroupResponse wrapper for the DeleteManagedDatabaseGroup operation
type DeleteManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagedDatabaseGroupResponse) String() string
DeploymentTypeEnum Enum with underlying type: string
type DeploymentTypeEnum string
Set of constants representing the allowable values for DeploymentTypeEnum
const ( DeploymentTypeOnpremise DeploymentTypeEnum = "ONPREMISE" DeploymentTypeBm DeploymentTypeEnum = "BM" DeploymentTypeVm DeploymentTypeEnum = "VM" DeploymentTypeExadata DeploymentTypeEnum = "EXADATA" DeploymentTypeExadataCc DeploymentTypeEnum = "EXADATA_CC" DeploymentTypeAutonomous DeploymentTypeEnum = "AUTONOMOUS" )
func GetDeploymentTypeEnumValues() []DeploymentTypeEnum
GetDeploymentTypeEnumValues Enumerates the set of values for DeploymentTypeEnum
func GetMappingDeploymentTypeEnum(val string) (DeploymentTypeEnum, bool)
GetMappingDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DropSqlTuningTaskDetails The request to drop a SQL tuning task.
type DropSqlTuningTaskDetails struct { // The identifier of the SQL tuning task being dropped. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint // ListSqlTuningAdvisorTasks. TaskId *int64 `mandatory:"true" json:"taskId"` CredentialDetails SqlTuningTaskCredentialDetails `mandatory:"true" json:"credentialDetails"` }
func (m DropSqlTuningTaskDetails) String() string
func (m *DropSqlTuningTaskDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DropSqlTuningTaskDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DropSqlTuningTaskRequest wrapper for the DropSqlTuningTask operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DropSqlTuningTask.go.html to see an example of how to use DropSqlTuningTaskRequest.
type DropSqlTuningTaskRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The detailed inputs required to drop a SQL tuning task. DropSqlTuningTaskDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request DropSqlTuningTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DropSqlTuningTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DropSqlTuningTaskRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DropSqlTuningTaskRequest) String() string
func (request DropSqlTuningTaskRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DropSqlTuningTaskResponse wrapper for the DropSqlTuningTask operation
type DropSqlTuningTaskResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DropSqlTuningTaskResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DropSqlTuningTaskResponse) String() string
DropTablespaceDetails The details required to drop a tablespace.
type DropTablespaceDetails struct { CredentialDetails TablespaceAdminCredentialDetails `mandatory:"true" json:"credentialDetails"` // Specifies whether all the contents of the tablespace being dropped should be dropped. IsIncludingContents *bool `mandatory:"false" json:"isIncludingContents"` // Specifies whether all the associated data files of the tablespace being dropped should be dropped. IsDroppingDataFiles *bool `mandatory:"false" json:"isDroppingDataFiles"` // Specifies whether all the constraints on the tablespace being dropped should be dropped. IsCascadeConstraints *bool `mandatory:"false" json:"isCascadeConstraints"` }
func (m DropTablespaceDetails) String() string
func (m *DropTablespaceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DropTablespaceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DropTablespaceRequest wrapper for the DropTablespace operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DropTablespace.go.html to see an example of how to use DropTablespaceRequest.
type DropTablespaceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the tablespace. TablespaceName *string `mandatory:"true" contributesTo:"path" name:"tablespaceName"` // The details required to drop a tablespace. DropTablespaceDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request DropTablespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DropTablespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DropTablespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DropTablespaceRequest) String() string
func (request DropTablespaceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DropTablespaceResponse wrapper for the DropTablespace operation
type DropTablespaceResponse struct { // The underlying http response RawResponse *http.Response // The TablespaceAdminStatus instance TablespaceAdminStatus `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"` }
func (response DropTablespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DropTablespaceResponse) String() string
ExecutionPlanStatsComparision The comparison report of the SQL execution plan statistics in the original and modified plan.
type ExecutionPlanStatsComparision struct { Original *SqlTuningTaskPlanStats `mandatory:"true" json:"original"` Modified *SqlTuningTaskPlanStats `mandatory:"true" json:"modified"` }
func (m ExecutionPlanStatsComparision) String() string
func (m ExecutionPlanStatsComparision) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FailedConnectionsAggregateMetrics The failed connection metrics for Autonomous Databases on Shared Exadata Infrastructure.
type FailedConnectionsAggregateMetrics struct { FailedConnections *MetricDataPoint `mandatory:"false" json:"failedConnections"` }
func (m FailedConnectionsAggregateMetrics) String() string
func (m FailedConnectionsAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetMetricDefinition The database metric details.
type FleetMetricDefinition struct { // The name of the metric. MetricName *string `mandatory:"false" json:"metricName"` // The baseline value of the metric. BaselineValue *float64 `mandatory:"false" json:"baselineValue"` // The target value of the metric. TargetValue *float64 `mandatory:"false" json:"targetValue"` // The unit of the value. Unit *string `mandatory:"false" json:"unit"` // The data point date and time in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` // The percentage change in the metric aggregated value compared to the baseline value. PercentageChange *float64 `mandatory:"false" json:"percentageChange"` // The dimensions of the metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m FleetMetricDefinition) String() string
func (m FleetMetricDefinition) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetMetricSummaryDefinition A summary of the fleet metrics, which provides the metric aggregated value of the databases in the fleet.
type FleetMetricSummaryDefinition struct { // The name of the metric. MetricName *string `mandatory:"false" json:"metricName"` // The metric aggregated value at the baseline date and time. BaselineValue *float64 `mandatory:"false" json:"baselineValue"` // The metric aggregated value at the target date and time. TargetValue *float64 `mandatory:"false" json:"targetValue"` // The unit of the value. Unit *string `mandatory:"false" json:"unit"` // The percentage change in the metric aggregated value compared to the baseline value. PercentageChange *float64 `mandatory:"false" json:"percentageChange"` // The unique dimension key and values of the baseline metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m FleetMetricSummaryDefinition) String() string
func (m FleetMetricSummaryDefinition) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetStatusByCategory The number of databases in the fleet, grouped by database type and sub type.
type FleetStatusByCategory struct { // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, // Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The infrastructure used to deploy the Oracle Database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // The number of databases in the fleet. InventoryCount *int `mandatory:"false" json:"inventoryCount"` }
func (m FleetStatusByCategory) String() string
func (m FleetStatusByCategory) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FleetSummary A summary of the inventory count grouped by database type and subtype, and the metrics that describe the aggregated usage of CPU, storage, and so on of all the databases in the fleet.
type FleetSummary struct { // A list of databases present in the fleet and their usage metrics. AggregatedMetrics []FleetMetricSummaryDefinition `mandatory:"false" json:"aggregatedMetrics"` // A list of the databases in the fleet, grouped by database type and subtype. Inventory []FleetStatusByCategory `mandatory:"false" json:"inventory"` }
func (m FleetSummary) String() string
func (m FleetSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrDbReportReportFormatEnum Enum with underlying type: string
type GetAwrDbReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrDbReportReportFormatEnum
const ( GetAwrDbReportReportFormatHtml GetAwrDbReportReportFormatEnum = "HTML" GetAwrDbReportReportFormatText GetAwrDbReportReportFormatEnum = "TEXT" )
func GetGetAwrDbReportReportFormatEnumValues() []GetAwrDbReportReportFormatEnum
GetGetAwrDbReportReportFormatEnumValues Enumerates the set of values for GetAwrDbReportReportFormatEnum
func GetMappingGetAwrDbReportReportFormatEnum(val string) (GetAwrDbReportReportFormatEnum, bool)
GetMappingGetAwrDbReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrDbReportReportTypeEnum Enum with underlying type: string
type GetAwrDbReportReportTypeEnum string
Set of constants representing the allowable values for GetAwrDbReportReportTypeEnum
const ( GetAwrDbReportReportTypeAwr GetAwrDbReportReportTypeEnum = "AWR" GetAwrDbReportReportTypeAsh GetAwrDbReportReportTypeEnum = "ASH" )
func GetGetAwrDbReportReportTypeEnumValues() []GetAwrDbReportReportTypeEnum
GetGetAwrDbReportReportTypeEnumValues Enumerates the set of values for GetAwrDbReportReportTypeEnum
func GetMappingGetAwrDbReportReportTypeEnum(val string) (GetAwrDbReportReportTypeEnum, bool)
GetMappingGetAwrDbReportReportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrDbReportRequest wrapper for the GetAwrDbReport operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetAwrDbReport.go.html to see an example of how to use GetAwrDbReportRequest.
type GetAwrDbReportRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional multiple value query parameter to filter the database instance numbers. InstNums []int `contributesTo:"query" name:"instNums" collectionFormat:"csv"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The query parameter to filter the AWR report types. ReportType GetAwrDbReportReportTypeEnum `mandatory:"false" contributesTo:"query" name:"reportType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The format of the AWR report. ReportFormat GetAwrDbReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request GetAwrDbReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrDbReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrDbReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrDbReportRequest) String() string
func (request GetAwrDbReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrDbReportResponse wrapper for the GetAwrDbReport operation
type GetAwrDbReportResponse struct { // The underlying http response RawResponse *http.Response // The AwrDbReport instance AwrDbReport `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"` }
func (response GetAwrDbReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrDbReportResponse) String() string
GetAwrDbSqlReportReportFormatEnum Enum with underlying type: string
type GetAwrDbSqlReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrDbSqlReportReportFormatEnum
const ( GetAwrDbSqlReportReportFormatHtml GetAwrDbSqlReportReportFormatEnum = "HTML" GetAwrDbSqlReportReportFormatText GetAwrDbSqlReportReportFormatEnum = "TEXT" )
func GetGetAwrDbSqlReportReportFormatEnumValues() []GetAwrDbSqlReportReportFormatEnum
GetGetAwrDbSqlReportReportFormatEnumValues Enumerates the set of values for GetAwrDbSqlReportReportFormatEnum
func GetMappingGetAwrDbSqlReportReportFormatEnum(val string) (GetAwrDbSqlReportReportFormatEnum, bool)
GetMappingGetAwrDbSqlReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrDbSqlReportRequest wrapper for the GetAwrDbSqlReport operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetAwrDbSqlReport.go.html to see an example of how to use GetAwrDbSqlReportRequest.
type GetAwrDbSqlReportRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The parameter to filter SQL by ID. Note that the SQL ID is generated internally by Oracle for each SQL statement and can be retrieved from AWR Report API (/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbReport) or Performance Hub API (/internal/managedDatabases/{managedDatabaseId}/actions/retrievePerformanceData) SqlId *string `mandatory:"true" contributesTo:"query" name:"sqlId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The format of the AWR report. ReportFormat GetAwrDbSqlReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The client request ID for tracing. 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 }
func (request GetAwrDbSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrDbSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrDbSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrDbSqlReportRequest) String() string
func (request GetAwrDbSqlReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrDbSqlReportResponse wrapper for the GetAwrDbSqlReport operation
type GetAwrDbSqlReportResponse struct { // The underlying http response RawResponse *http.Response // The AwrDbSqlReport instance AwrDbSqlReport `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"` }
func (response GetAwrDbSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrDbSqlReportResponse) String() string
GetClusterCacheMetricRequest wrapper for the GetClusterCacheMetric operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetClusterCacheMetric.go.html to see an example of how to use GetClusterCacheMetricRequest.
type GetClusterCacheMetricRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The start time of the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"` // The end time of the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"` // The client request ID for tracing. 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 }
func (request GetClusterCacheMetricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetClusterCacheMetricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetClusterCacheMetricRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetClusterCacheMetricRequest) String() string
func (request GetClusterCacheMetricRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetClusterCacheMetricResponse wrapper for the GetClusterCacheMetric operation
type GetClusterCacheMetricResponse struct { // The underlying http response RawResponse *http.Response // The ClusterCacheMetric instance ClusterCacheMetric `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"` }
func (response GetClusterCacheMetricResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetClusterCacheMetricResponse) String() string
GetDatabaseFleetHealthMetricsCompareTypeEnum Enum with underlying type: string
type GetDatabaseFleetHealthMetricsCompareTypeEnum string
Set of constants representing the allowable values for GetDatabaseFleetHealthMetricsCompareTypeEnum
const ( GetDatabaseFleetHealthMetricsCompareTypeHour GetDatabaseFleetHealthMetricsCompareTypeEnum = "HOUR" GetDatabaseFleetHealthMetricsCompareTypeDay GetDatabaseFleetHealthMetricsCompareTypeEnum = "DAY" )
func GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues() []GetDatabaseFleetHealthMetricsCompareTypeEnum
GetGetDatabaseFleetHealthMetricsCompareTypeEnumValues Enumerates the set of values for GetDatabaseFleetHealthMetricsCompareTypeEnum
func GetMappingGetDatabaseFleetHealthMetricsCompareTypeEnum(val string) (GetDatabaseFleetHealthMetricsCompareTypeEnum, bool)
GetMappingGetDatabaseFleetHealthMetricsCompareTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetDatabaseFleetHealthMetricsRequest wrapper for the GetDatabaseFleetHealthMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetDatabaseFleetHealthMetrics.go.html to see an example of how to use GetDatabaseFleetHealthMetricsRequest.
type GetDatabaseFleetHealthMetricsRequest struct { // The baseline time for metrics comparison. CompareBaselineTime *string `mandatory:"true" contributesTo:"query" name:"compareBaselineTime"` // The target time for metrics comparison. CompareTargetTime *string `mandatory:"true" contributesTo:"query" name:"compareTargetTime"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The time window used for metrics comparison. CompareType GetDatabaseFleetHealthMetricsCompareTypeEnum `mandatory:"false" contributesTo:"query" name:"compareType" omitEmpty:"true"` // The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics. FilterByMetricNames *string `mandatory:"false" contributesTo:"query" name:"filterByMetricNames"` // The filter used to filter the databases in the fleet by a specific Oracle Database type. FilterByDatabaseType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseType"` // The filter used to filter the databases in the fleet by a specific Oracle Database subtype. FilterByDatabaseSubType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseSubType"` // The filter used to filter the databases in the fleet by a specific Oracle Database deployment type. FilterByDatabaseDeploymentType *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseDeploymentType"` // The filter used to filter the databases in the fleet by a specific Oracle Database version. FilterByDatabaseVersion *string `mandatory:"false" contributesTo:"query" name:"filterByDatabaseVersion"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDatabaseFleetHealthMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseFleetHealthMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseFleetHealthMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseFleetHealthMetricsRequest) String() string
func (request GetDatabaseFleetHealthMetricsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseFleetHealthMetricsResponse wrapper for the GetDatabaseFleetHealthMetrics operation
type GetDatabaseFleetHealthMetricsResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseFleetHealthMetrics instance DatabaseFleetHealthMetrics `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"` }
func (response GetDatabaseFleetHealthMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseFleetHealthMetricsResponse) String() string
GetDatabaseHomeMetricsRequest wrapper for the GetDatabaseHomeMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetDatabaseHomeMetrics.go.html to see an example of how to use GetDatabaseHomeMetricsRequest.
type GetDatabaseHomeMetricsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"query" name:"managedDatabaseId"` // The start time of the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"` // The end time of the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"` // The client request ID for tracing. 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 }
func (request GetDatabaseHomeMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseHomeMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseHomeMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseHomeMetricsRequest) String() string
func (request GetDatabaseHomeMetricsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseHomeMetricsResponse wrapper for the GetDatabaseHomeMetrics operation
type GetDatabaseHomeMetricsResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseHomeMetrics instance DatabaseHomeMetrics `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"` }
func (response GetDatabaseHomeMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseHomeMetricsResponse) String() string
GetDbManagementPrivateEndpointRequest wrapper for the GetDbManagementPrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetDbManagementPrivateEndpoint.go.html to see an example of how to use GetDbManagementPrivateEndpointRequest.
type GetDbManagementPrivateEndpointRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. DbManagementPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dbManagementPrivateEndpointId"` // The client request ID for tracing. 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 }
func (request GetDbManagementPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDbManagementPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDbManagementPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDbManagementPrivateEndpointRequest) String() string
func (request GetDbManagementPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDbManagementPrivateEndpointResponse wrapper for the GetDbManagementPrivateEndpoint operation
type GetDbManagementPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DbManagementPrivateEndpoint instance DbManagementPrivateEndpoint `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDbManagementPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDbManagementPrivateEndpointResponse) String() string
GetExecutionPlanStatsComparisionRequest wrapper for the GetExecutionPlanStatsComparision operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetExecutionPlanStatsComparision.go.html to see an example of how to use GetExecutionPlanStatsComparisionRequest.
type GetExecutionPlanStatsComparisionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The SQL tuning task identifier. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" contributesTo:"path" name:"sqlTuningAdvisorTaskId"` // The SQL object ID for the SQL tuning task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlObjectId *int64 `mandatory:"true" contributesTo:"query" name:"sqlObjectId"` // The execution ID for an execution of a SQL tuning task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ExecutionId *int64 `mandatory:"true" contributesTo:"query" name:"executionId"` // The client request ID for tracing. 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 }
func (request GetExecutionPlanStatsComparisionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetExecutionPlanStatsComparisionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetExecutionPlanStatsComparisionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetExecutionPlanStatsComparisionRequest) String() string
func (request GetExecutionPlanStatsComparisionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetExecutionPlanStatsComparisionResponse wrapper for the GetExecutionPlanStatsComparision operation
type GetExecutionPlanStatsComparisionResponse struct { // The underlying http response RawResponse *http.Response // The ExecutionPlanStatsComparision instance ExecutionPlanStatsComparision `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"` }
func (response GetExecutionPlanStatsComparisionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetExecutionPlanStatsComparisionResponse) String() string
GetJobExecutionRequest wrapper for the GetJobExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetJobExecution.go.html to see an example of how to use GetJobExecutionRequest.
type GetJobExecutionRequest struct { // The identifier of the job execution. JobExecutionId *string `mandatory:"true" contributesTo:"path" name:"jobExecutionId"` // The client request ID for tracing. 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 }
func (request GetJobExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobExecutionRequest) String() string
func (request GetJobExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetJobExecutionResponse wrapper for the GetJobExecution operation
type GetJobExecutionResponse struct { // The underlying http response RawResponse *http.Response // The JobExecution instance JobExecution `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"` }
func (response GetJobExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobExecutionResponse) String() string
GetJobRequest wrapper for the GetJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetJob.go.html to see an example of how to use GetJobRequest.
type GetJobRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // The client request ID for tracing. 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 }
func (request GetJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRequest) String() string
func (request GetJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetJobResponse wrapper for the GetJob operation
type GetJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `presentIn:"body"` // A link to the created job. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobResponse) String() string
GetJobRunRequest wrapper for the GetJobRun operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetJobRun.go.html to see an example of how to use GetJobRunRequest.
type GetJobRunRequest struct { // The identifier of the job run. JobRunId *string `mandatory:"true" contributesTo:"path" name:"jobRunId"` // The client request ID for tracing. 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 }
func (request GetJobRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJobRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJobRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJobRunRequest) String() string
func (request GetJobRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetJobRunResponse wrapper for the GetJobRun operation
type GetJobRunResponse struct { // The underlying http response RawResponse *http.Response // The JobRun instance JobRun `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"` }
func (response GetJobRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJobRunResponse) String() string
GetManagedDatabaseGroupRequest wrapper for the GetManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetManagedDatabaseGroup.go.html to see an example of how to use GetManagedDatabaseGroupRequest.
type GetManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The client request ID for tracing. 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 }
func (request GetManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedDatabaseGroupRequest) String() string
func (request GetManagedDatabaseGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetManagedDatabaseGroupResponse wrapper for the GetManagedDatabaseGroup operation
type GetManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabaseGroup instance ManagedDatabaseGroup `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. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedDatabaseGroupResponse) String() string
GetManagedDatabaseRequest wrapper for the GetManagedDatabase operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetManagedDatabase.go.html to see an example of how to use GetManagedDatabaseRequest.
type GetManagedDatabaseRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. 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 }
func (request GetManagedDatabaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedDatabaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedDatabaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedDatabaseRequest) String() string
func (request GetManagedDatabaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetManagedDatabaseResponse wrapper for the GetManagedDatabase operation
type GetManagedDatabaseResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabase instance ManagedDatabase `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"` }
func (response GetManagedDatabaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedDatabaseResponse) String() string
GetPdbMetricsCompareTypeEnum Enum with underlying type: string
type GetPdbMetricsCompareTypeEnum string
Set of constants representing the allowable values for GetPdbMetricsCompareTypeEnum
const ( GetPdbMetricsCompareTypeHour GetPdbMetricsCompareTypeEnum = "HOUR" GetPdbMetricsCompareTypeDay GetPdbMetricsCompareTypeEnum = "DAY" )
func GetGetPdbMetricsCompareTypeEnumValues() []GetPdbMetricsCompareTypeEnum
GetGetPdbMetricsCompareTypeEnumValues Enumerates the set of values for GetPdbMetricsCompareTypeEnum
func GetMappingGetPdbMetricsCompareTypeEnum(val string) (GetPdbMetricsCompareTypeEnum, bool)
GetMappingGetPdbMetricsCompareTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetPdbMetricsRequest wrapper for the GetPdbMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetPdbMetrics.go.html to see an example of how to use GetPdbMetricsRequest.
type GetPdbMetricsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The start time of the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"` // The end time of the time range to retrieve the health metrics of a Managed Database // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The time window used for metrics comparison. CompareType GetPdbMetricsCompareTypeEnum `mandatory:"false" contributesTo:"query" name:"compareType" omitEmpty:"true"` // The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics. FilterByMetricNames *string `mandatory:"false" contributesTo:"query" name:"filterByMetricNames"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetPdbMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPdbMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPdbMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPdbMetricsRequest) String() string
func (request GetPdbMetricsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetPdbMetricsResponse wrapper for the GetPdbMetrics operation
type GetPdbMetricsResponse struct { // The underlying http response RawResponse *http.Response // The PdbMetrics instance PdbMetrics `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"` }
func (response GetPdbMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPdbMetricsResponse) String() string
GetSqlExecutionPlanAttributeEnum Enum with underlying type: string
type GetSqlExecutionPlanAttributeEnum string
Set of constants representing the allowable values for GetSqlExecutionPlanAttributeEnum
const ( GetSqlExecutionPlanAttributeOriginal GetSqlExecutionPlanAttributeEnum = "ORIGINAL" GetSqlExecutionPlanAttributeOriginalWithAdjustedCost GetSqlExecutionPlanAttributeEnum = "ORIGINAL_WITH_ADJUSTED_COST" GetSqlExecutionPlanAttributeUsingSqlProfile GetSqlExecutionPlanAttributeEnum = "USING_SQL_PROFILE" GetSqlExecutionPlanAttributeUsingNewIndices GetSqlExecutionPlanAttributeEnum = "USING_NEW_INDICES" )
func GetGetSqlExecutionPlanAttributeEnumValues() []GetSqlExecutionPlanAttributeEnum
GetGetSqlExecutionPlanAttributeEnumValues Enumerates the set of values for GetSqlExecutionPlanAttributeEnum
func GetMappingGetSqlExecutionPlanAttributeEnum(val string) (GetSqlExecutionPlanAttributeEnum, bool)
GetMappingGetSqlExecutionPlanAttributeEnum performs case Insensitive comparison on enum value and return the desired enum
GetSqlExecutionPlanRequest wrapper for the GetSqlExecutionPlan operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetSqlExecutionPlan.go.html to see an example of how to use GetSqlExecutionPlanRequest.
type GetSqlExecutionPlanRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The SQL tuning task identifier. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" contributesTo:"path" name:"sqlTuningAdvisorTaskId"` // The SQL object ID for the SQL tuning task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlObjectId *int64 `mandatory:"true" contributesTo:"query" name:"sqlObjectId"` // The attribute of the SQL execution plan. Attribute GetSqlExecutionPlanAttributeEnum `mandatory:"true" contributesTo:"query" name:"attribute" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request GetSqlExecutionPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSqlExecutionPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSqlExecutionPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSqlExecutionPlanRequest) String() string
func (request GetSqlExecutionPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetSqlExecutionPlanResponse wrapper for the GetSqlExecutionPlan operation
type GetSqlExecutionPlanResponse struct { // The underlying http response RawResponse *http.Response // The SqlTuningAdvisorTaskSqlExecutionPlan instance SqlTuningAdvisorTaskSqlExecutionPlan `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"` }
func (response GetSqlExecutionPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSqlExecutionPlanResponse) String() string
GetSqlTuningAdvisorTaskSummaryReportRequest wrapper for the GetSqlTuningAdvisorTaskSummaryReport operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetSqlTuningAdvisorTaskSummaryReport.go.html to see an example of how to use GetSqlTuningAdvisorTaskSummaryReportRequest.
type GetSqlTuningAdvisorTaskSummaryReportRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The SQL tuning task identifier. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" contributesTo:"path" name:"sqlTuningAdvisorTaskId"` // How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks. SearchPeriod GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum `mandatory:"false" contributesTo:"query" name:"searchPeriod" omitEmpty:"true"` // The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks. BeginExecIdGreaterThanOrEqualTo *int64 `mandatory:"false" contributesTo:"query" name:"beginExecIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks. EndExecIdLessThanOrEqualTo *int64 `mandatory:"false" contributesTo:"query" name:"endExecIdLessThanOrEqualTo"` // The client request ID for tracing. 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 }
func (request GetSqlTuningAdvisorTaskSummaryReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSqlTuningAdvisorTaskSummaryReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSqlTuningAdvisorTaskSummaryReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSqlTuningAdvisorTaskSummaryReportRequest) String() string
func (request GetSqlTuningAdvisorTaskSummaryReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetSqlTuningAdvisorTaskSummaryReportResponse wrapper for the GetSqlTuningAdvisorTaskSummaryReport operation
type GetSqlTuningAdvisorTaskSummaryReportResponse struct { // The underlying http response RawResponse *http.Response // The SqlTuningAdvisorTaskSummaryReport instance SqlTuningAdvisorTaskSummaryReport `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"` }
func (response GetSqlTuningAdvisorTaskSummaryReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSqlTuningAdvisorTaskSummaryReportResponse) String() string
GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum Enum with underlying type: string
type GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum string
Set of constants representing the allowable values for GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum
const ( GetSqlTuningAdvisorTaskSummaryReportSearchPeriodLast24hr GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum = "LAST_24HR" GetSqlTuningAdvisorTaskSummaryReportSearchPeriodLast7day GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum = "LAST_7DAY" GetSqlTuningAdvisorTaskSummaryReportSearchPeriodLast31day GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum = "LAST_31DAY" GetSqlTuningAdvisorTaskSummaryReportSearchPeriodSinceLast GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum = "SINCE_LAST" GetSqlTuningAdvisorTaskSummaryReportSearchPeriodAll GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum = "ALL" )
func GetGetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnumValues() []GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum
GetGetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnumValues Enumerates the set of values for GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum
func GetMappingGetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum(val string) (GetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum, bool)
GetMappingGetSqlTuningAdvisorTaskSummaryReportSearchPeriodEnum performs case Insensitive comparison on enum value and return the desired enum
GetTablespaceRequest wrapper for the GetTablespace operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetTablespace.go.html to see an example of how to use GetTablespaceRequest.
type GetTablespaceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the tablespace. TablespaceName *string `mandatory:"true" contributesTo:"path" name:"tablespaceName"` // The client request ID for tracing. 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 }
func (request GetTablespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTablespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTablespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTablespaceRequest) String() string
func (request GetTablespaceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetTablespaceResponse wrapper for the GetTablespace operation
type GetTablespaceResponse struct { // The underlying http response RawResponse *http.Response // The Tablespace instance Tablespace `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"` }
func (response GetTablespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTablespaceResponse) String() string
GetUserRequest wrapper for the GetUser operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetUser.go.html to see an example of how to use GetUserRequest.
type GetUserRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. 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 }
func (request GetUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetUserRequest) String() string
func (request GetUserRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetUserResponse wrapper for the GetUser operation
type GetUserResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
func (response GetUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetUserResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. 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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `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"` // A decimal number representing the number of seconds the client should wait before polling this work request again RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
InstanceDetails The details of the Oracle Real Application Clusters (Oracle RAC) database instance.
type InstanceDetails struct { // The ID of the Oracle RAC database instance. Id *int `mandatory:"true" json:"id"` // The name of the Oracle RAC database instance. Name *string `mandatory:"true" json:"name"` // The name of the host of the Oracle RAC database instance. HostName *string `mandatory:"true" json:"hostName"` // The status of the Oracle RAC database instance. Status InstanceDetailsStatusEnum `mandatory:"true" json:"status"` }
func (m InstanceDetails) String() string
func (m InstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstanceDetailsStatusEnum Enum with underlying type: string
type InstanceDetailsStatusEnum string
Set of constants representing the allowable values for InstanceDetailsStatusEnum
const ( InstanceDetailsStatusUp InstanceDetailsStatusEnum = "UP" InstanceDetailsStatusDown InstanceDetailsStatusEnum = "DOWN" InstanceDetailsStatusUnknown InstanceDetailsStatusEnum = "UNKNOWN" )
func GetInstanceDetailsStatusEnumValues() []InstanceDetailsStatusEnum
GetInstanceDetailsStatusEnumValues Enumerates the set of values for InstanceDetailsStatusEnum
func GetMappingInstanceDetailsStatusEnum(val string) (InstanceDetailsStatusEnum, bool)
GetMappingInstanceDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
Job The details of the job.
type Job interface { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job. GetId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. GetCompartmentId() *string // The display name of the job. GetName() *string // The schedule type of the job. GetScheduleType() JobScheduleTypeEnum // The lifecycle state of the job. GetLifecycleState() JobLifecycleStateEnum // The date and time when the job was created. GetTimeCreated() *common.SDKTime // The date and time when the job was last updated. GetTimeUpdated() *common.SDKTime // The description of the job. GetDescription() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. GetManagedDatabaseGroupId() *string // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. GetManagedDatabaseId() *string // The details of the Managed Databases where the job has to be executed. GetManagedDatabasesDetails() []JobDatabase // The subtype of the Oracle Database where the job has to be executed. Applicable only when managedDatabaseGroupId is provided. GetDatabaseSubType() DatabaseSubTypeEnum // The job timeout duration, which is expressed like "1h 10m 15s". GetTimeout() *string GetResultLocation() JobExecutionResultLocation GetScheduleDetails() *JobScheduleDetails // The error message that is returned if the job submission fails. Null is returned in all other scenarios. GetSubmissionErrorMessage() *string }
JobCollection A collection of job objects.
type JobCollection struct { // A list of JobSummary objects. Items []JobSummary `mandatory:"true" json:"items"` }
func (m JobCollection) String() string
func (m JobCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobDatabase The Managed Database on which the job is executed.
type JobDatabase struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // A list of the supported infrastructure that can be used to deploy the database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"false" json:"isCluster"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` }
func (m JobDatabase) String() string
func (m JobDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobExecution The details of a job execution.
type JobExecution struct { // The identifier of the job execution. Id *string `mandatory:"true" json:"id"` // The name of the job execution. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database associated with the job execution. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` // The name of the Managed Database associated with the job execution. ManagedDatabaseName *string `mandatory:"true" json:"managedDatabaseName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The identifier of the associated job run. JobRunId *string `mandatory:"true" json:"jobRunId"` // The status of the job execution. Status JobExecutionStatusEnum `mandatory:"true" json:"status"` // The date and time when the job execution was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // A list of the supported infrastructure that can be used to deploy the database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"false" json:"isCluster"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` // The error message that is returned if the job execution fails. Null is returned if the job is // still running or if the job execution is successful. ErrorMessage *string `mandatory:"false" json:"errorMessage"` ResultDetails JobExecutionResultDetails `mandatory:"false" json:"resultDetails"` // The date and time when the job execution completed. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` // The database user name used to execute the SQL job. UserName *string `mandatory:"false" json:"userName"` // The SQL text executed as part of the job. SqlText *string `mandatory:"false" json:"sqlText"` ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"` }
func (m JobExecution) String() string
func (m *JobExecution) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m JobExecution) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobExecutionCollection A collection of job execution objects.
type JobExecutionCollection struct { // A list of JobExecutionSummary objects. Items []JobExecutionSummary `mandatory:"true" json:"items"` }
func (m JobExecutionCollection) String() string
func (m JobExecutionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobExecutionResultDetails The job execution result details.
type JobExecutionResultDetails interface { }
JobExecutionResultDetailsTypeEnum Enum with underlying type: string
type JobExecutionResultDetailsTypeEnum string
Set of constants representing the allowable values for JobExecutionResultDetailsTypeEnum
const ( JobExecutionResultDetailsTypeObjectStorage JobExecutionResultDetailsTypeEnum = "OBJECT_STORAGE" )
func GetJobExecutionResultDetailsTypeEnumValues() []JobExecutionResultDetailsTypeEnum
GetJobExecutionResultDetailsTypeEnumValues Enumerates the set of values for JobExecutionResultDetailsTypeEnum
func GetMappingJobExecutionResultDetailsTypeEnum(val string) (JobExecutionResultDetailsTypeEnum, bool)
GetMappingJobExecutionResultDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobExecutionResultLocation The location of the job execution result.
type JobExecutionResultLocation interface { }
JobExecutionResultLocationTypeEnum Enum with underlying type: string
type JobExecutionResultLocationTypeEnum string
Set of constants representing the allowable values for JobExecutionResultLocationTypeEnum
const ( JobExecutionResultLocationTypeObjectStorage JobExecutionResultLocationTypeEnum = "OBJECT_STORAGE" )
func GetJobExecutionResultLocationTypeEnumValues() []JobExecutionResultLocationTypeEnum
GetJobExecutionResultLocationTypeEnumValues Enumerates the set of values for JobExecutionResultLocationTypeEnum
func GetMappingJobExecutionResultLocationTypeEnum(val string) (JobExecutionResultLocationTypeEnum, bool)
GetMappingJobExecutionResultLocationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobExecutionStatusEnum Enum with underlying type: string
type JobExecutionStatusEnum string
Set of constants representing the allowable values for JobExecutionStatusEnum
const ( JobExecutionStatusSucceeded JobExecutionStatusEnum = "SUCCEEDED" JobExecutionStatusFailed JobExecutionStatusEnum = "FAILED" JobExecutionStatusInProgress JobExecutionStatusEnum = "IN_PROGRESS" )
func GetJobExecutionStatusEnumValues() []JobExecutionStatusEnum
GetJobExecutionStatusEnumValues Enumerates the set of values for JobExecutionStatusEnum
func GetMappingJobExecutionStatusEnum(val string) (JobExecutionStatusEnum, bool)
GetMappingJobExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
JobExecutionSummary A summary of a job execution on a Managed Database.
type JobExecutionSummary struct { // The identifier of the job execution. Id *string `mandatory:"true" json:"id"` // The name of the job execution. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Managed Database associated with the job execution. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` // The name of the Managed Database associated with the job execution. ManagedDatabaseName *string `mandatory:"true" json:"managedDatabaseName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The status of the job execution. Status JobExecutionStatusEnum `mandatory:"true" json:"status"` // The date and time when the job execution was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"false" json:"databaseType,omitempty"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // A list of the supported infrastructure that can be used to deploy the database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"false" json:"isCluster"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` // The date and time when the job execution was completed. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` }
func (m JobExecutionSummary) String() string
func (m JobExecutionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobExecutionsStatusSummary A summary of the status of the job executions.
type JobExecutionsStatusSummary struct { // The status of the job execution. Status JobExecutionsStatusSummaryStatusEnum `mandatory:"true" json:"status"` // The number of job executions of a particular status. Count *int `mandatory:"true" json:"count"` }
func (m JobExecutionsStatusSummary) String() string
func (m JobExecutionsStatusSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobExecutionsStatusSummaryCollection A collection of job execution status summary objects.
type JobExecutionsStatusSummaryCollection struct { // A list of JobExecutionsSummary objects. Items []JobExecutionsStatusSummary `mandatory:"true" json:"items"` }
func (m JobExecutionsStatusSummaryCollection) String() string
func (m JobExecutionsStatusSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobExecutionsStatusSummaryStatusEnum Enum with underlying type: string
type JobExecutionsStatusSummaryStatusEnum string
Set of constants representing the allowable values for JobExecutionsStatusSummaryStatusEnum
const ( JobExecutionsStatusSummaryStatusSucceeded JobExecutionsStatusSummaryStatusEnum = "SUCCEEDED" JobExecutionsStatusSummaryStatusFailed JobExecutionsStatusSummaryStatusEnum = "FAILED" JobExecutionsStatusSummaryStatusInProgress JobExecutionsStatusSummaryStatusEnum = "IN_PROGRESS" )
func GetJobExecutionsStatusSummaryStatusEnumValues() []JobExecutionsStatusSummaryStatusEnum
GetJobExecutionsStatusSummaryStatusEnumValues Enumerates the set of values for JobExecutionsStatusSummaryStatusEnum
func GetMappingJobExecutionsStatusSummaryStatusEnum(val string) (JobExecutionsStatusSummaryStatusEnum, bool)
GetMappingJobExecutionsStatusSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
JobLifecycleStateEnum Enum with underlying type: string
type JobLifecycleStateEnum string
Set of constants representing the allowable values for JobLifecycleStateEnum
const ( JobLifecycleStateActive JobLifecycleStateEnum = "ACTIVE" JobLifecycleStateInactive JobLifecycleStateEnum = "INACTIVE" )
func GetJobLifecycleStateEnumValues() []JobLifecycleStateEnum
GetJobLifecycleStateEnumValues Enumerates the set of values for JobLifecycleStateEnum
func GetMappingJobLifecycleStateEnum(val string) (JobLifecycleStateEnum, bool)
GetMappingJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
JobRun The details of a specific job run.
type JobRun struct { // The identifier of the job run. Id *string `mandatory:"true" json:"id"` // The name of the job run. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The status of the job run. RunStatus JobRunRunStatusEnum `mandatory:"true" json:"runStatus"` // The date and time when the job run was submitted. TimeSubmitted *common.SDKTime `mandatory:"true" json:"timeSubmitted"` // The date and time when the job run was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of Managed Database where the parent job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` }
func (m JobRun) String() string
func (m JobRun) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobRunCollection A collection of job run objects.
type JobRunCollection struct { // A list of JobRunSummary objects. Items []JobRunSummary `mandatory:"true" json:"items"` }
func (m JobRunCollection) String() string
func (m JobRunCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobRunRunStatusEnum Enum with underlying type: string
type JobRunRunStatusEnum string
Set of constants representing the allowable values for JobRunRunStatusEnum
const ( JobRunRunStatusCompleted JobRunRunStatusEnum = "COMPLETED" JobRunRunStatusFailed JobRunRunStatusEnum = "FAILED" JobRunRunStatusInProgress JobRunRunStatusEnum = "IN_PROGRESS" )
func GetJobRunRunStatusEnumValues() []JobRunRunStatusEnum
GetJobRunRunStatusEnumValues Enumerates the set of values for JobRunRunStatusEnum
func GetMappingJobRunRunStatusEnum(val string) (JobRunRunStatusEnum, bool)
GetMappingJobRunRunStatusEnum performs case Insensitive comparison on enum value and return the desired enum
JobRunSummary A summary of a specific job run.
type JobRunSummary struct { // The identifier of the job run. Id *string `mandatory:"true" json:"id"` // The name of the job run. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the parent job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent job. JobId *string `mandatory:"true" json:"jobId"` // The name of the parent job. JobName *string `mandatory:"true" json:"jobName"` // The status of the job run. RunStatus JobRunRunStatusEnum `mandatory:"true" json:"runStatus"` // The date and time when the job run was submitted. TimeSubmitted *common.SDKTime `mandatory:"true" json:"timeSubmitted"` // The date and time when the job run was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the parent job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the parent job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` }
func (m JobRunSummary) String() string
func (m JobRunSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobScheduleDetails The details of the job schedule.
type JobScheduleDetails struct { // The start time of the scheduled job in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"false" json:"startTime"` // The end time of the scheduled job in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"false" json:"endTime"` // The interval type for a recurring scheduled job. For a non-recurring (one time) job, NEVER must be specified as the interval type. IntervalType JobScheduleDetailsIntervalTypeEnum `mandatory:"false" json:"intervalType,omitempty"` // The value for the interval period for a recurring scheduled job. IntervalValue *string `mandatory:"false" json:"intervalValue"` }
func (m JobScheduleDetails) String() string
func (m JobScheduleDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobScheduleDetailsIntervalTypeEnum Enum with underlying type: string
type JobScheduleDetailsIntervalTypeEnum string
Set of constants representing the allowable values for JobScheduleDetailsIntervalTypeEnum
const ( JobScheduleDetailsIntervalTypeDaily JobScheduleDetailsIntervalTypeEnum = "DAILY" JobScheduleDetailsIntervalTypeHourly JobScheduleDetailsIntervalTypeEnum = "HOURLY" JobScheduleDetailsIntervalTypeWeekly JobScheduleDetailsIntervalTypeEnum = "WEEKLY" JobScheduleDetailsIntervalTypeMonthly JobScheduleDetailsIntervalTypeEnum = "MONTHLY" JobScheduleDetailsIntervalTypeNever JobScheduleDetailsIntervalTypeEnum = "NEVER" )
func GetJobScheduleDetailsIntervalTypeEnumValues() []JobScheduleDetailsIntervalTypeEnum
GetJobScheduleDetailsIntervalTypeEnumValues Enumerates the set of values for JobScheduleDetailsIntervalTypeEnum
func GetMappingJobScheduleDetailsIntervalTypeEnum(val string) (JobScheduleDetailsIntervalTypeEnum, bool)
GetMappingJobScheduleDetailsIntervalTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobScheduleTypeEnum Enum with underlying type: string
type JobScheduleTypeEnum string
Set of constants representing the allowable values for JobScheduleTypeEnum
const ( JobScheduleTypeImmediate JobScheduleTypeEnum = "IMMEDIATE" JobScheduleTypeLater JobScheduleTypeEnum = "LATER" )
func GetJobScheduleTypeEnumValues() []JobScheduleTypeEnum
GetJobScheduleTypeEnumValues Enumerates the set of values for JobScheduleTypeEnum
func GetMappingJobScheduleTypeEnum(val string) (JobScheduleTypeEnum, bool)
GetMappingJobScheduleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
JobSummary A summary of the job.
type JobSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the job. Name *string `mandatory:"true" json:"name"` // The schedule type of the job. ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // The type of job. JobType JobTypesEnum `mandatory:"true" json:"jobType"` // The lifecycle state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time when the job was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time when the job was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The description of the job. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` // The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` // The error message that is returned if the job submission fails. Null is returned in all other scenarios. SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"` }
func (m JobSummary) String() string
func (m JobSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JobTypesEnum Enum with underlying type: string
type JobTypesEnum string
Set of constants representing the allowable values for JobTypesEnum
const ( JobTypesSql JobTypesEnum = "SQL" )
func GetJobTypesEnumValues() []JobTypesEnum
GetJobTypesEnumValues Enumerates the set of values for JobTypesEnum
func GetMappingJobTypesEnum(val string) (JobTypesEnum, bool)
GetMappingJobTypesEnum performs case Insensitive comparison on enum value and return the desired enum
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesCreating LifecycleStatesEnum = "CREATING" LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING" LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" LifecycleStatesDeleting LifecycleStatesEnum = "DELETING" LifecycleStatesDeleted LifecycleStatesEnum = "DELETED" LifecycleStatesFailed LifecycleStatesEnum = "FAILED" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)
GetMappingLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
ListAsmPropertiesRequest wrapper for the ListAsmProperties operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAsmProperties.go.html to see an example of how to use ListAsmPropertiesRequest.
type ListAsmPropertiesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListAsmPropertiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListAsmPropertiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. 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 }
func (request ListAsmPropertiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAsmPropertiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAsmPropertiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAsmPropertiesRequest) String() string
func (request ListAsmPropertiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAsmPropertiesResponse wrapper for the ListAsmProperties operation
type ListAsmPropertiesResponse struct { // The underlying http response RawResponse *http.Response // A list of AsmPropertyCollection instances AsmPropertyCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAsmPropertiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAsmPropertiesResponse) String() string
ListAsmPropertiesSortByEnum Enum with underlying type: string
type ListAsmPropertiesSortByEnum string
Set of constants representing the allowable values for ListAsmPropertiesSortByEnum
const ( ListAsmPropertiesSortByTimecreated ListAsmPropertiesSortByEnum = "TIMECREATED" ListAsmPropertiesSortByName ListAsmPropertiesSortByEnum = "NAME" )
func GetListAsmPropertiesSortByEnumValues() []ListAsmPropertiesSortByEnum
GetListAsmPropertiesSortByEnumValues Enumerates the set of values for ListAsmPropertiesSortByEnum
func GetMappingListAsmPropertiesSortByEnum(val string) (ListAsmPropertiesSortByEnum, bool)
GetMappingListAsmPropertiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAsmPropertiesSortOrderEnum Enum with underlying type: string
type ListAsmPropertiesSortOrderEnum string
Set of constants representing the allowable values for ListAsmPropertiesSortOrderEnum
const ( ListAsmPropertiesSortOrderAsc ListAsmPropertiesSortOrderEnum = "ASC" ListAsmPropertiesSortOrderDesc ListAsmPropertiesSortOrderEnum = "DESC" )
func GetListAsmPropertiesSortOrderEnumValues() []ListAsmPropertiesSortOrderEnum
GetListAsmPropertiesSortOrderEnumValues Enumerates the set of values for ListAsmPropertiesSortOrderEnum
func GetMappingListAsmPropertiesSortOrderEnum(val string) (ListAsmPropertiesSortOrderEnum, bool)
GetMappingListAsmPropertiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssociatedDatabasesRequest wrapper for the ListAssociatedDatabases operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAssociatedDatabases.go.html to see an example of how to use ListAssociatedDatabasesRequest.
type ListAssociatedDatabasesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. DbManagementPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dbManagementPrivateEndpointId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListAssociatedDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The option to sort databases using a specific Database Management private endpoint. SortBy ListAssociatedDatabasesSortByEnum `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 }
func (request ListAssociatedDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAssociatedDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAssociatedDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAssociatedDatabasesRequest) String() string
func (request ListAssociatedDatabasesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAssociatedDatabasesResponse wrapper for the ListAssociatedDatabases operation
type ListAssociatedDatabasesResponse struct { // The underlying http response RawResponse *http.Response // A list of AssociatedDatabaseCollection instances AssociatedDatabaseCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListAssociatedDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAssociatedDatabasesResponse) String() string
ListAssociatedDatabasesSortByEnum Enum with underlying type: string
type ListAssociatedDatabasesSortByEnum string
Set of constants representing the allowable values for ListAssociatedDatabasesSortByEnum
const ( ListAssociatedDatabasesSortByTimeregistered ListAssociatedDatabasesSortByEnum = "timeRegistered" )
func GetListAssociatedDatabasesSortByEnumValues() []ListAssociatedDatabasesSortByEnum
GetListAssociatedDatabasesSortByEnumValues Enumerates the set of values for ListAssociatedDatabasesSortByEnum
func GetMappingListAssociatedDatabasesSortByEnum(val string) (ListAssociatedDatabasesSortByEnum, bool)
GetMappingListAssociatedDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAssociatedDatabasesSortOrderEnum Enum with underlying type: string
type ListAssociatedDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListAssociatedDatabasesSortOrderEnum
const ( ListAssociatedDatabasesSortOrderAsc ListAssociatedDatabasesSortOrderEnum = "ASC" ListAssociatedDatabasesSortOrderDesc ListAssociatedDatabasesSortOrderEnum = "DESC" )
func GetListAssociatedDatabasesSortOrderEnumValues() []ListAssociatedDatabasesSortOrderEnum
GetListAssociatedDatabasesSortOrderEnumValues Enumerates the set of values for ListAssociatedDatabasesSortOrderEnum
func GetMappingListAssociatedDatabasesSortOrderEnum(val string) (ListAssociatedDatabasesSortOrderEnum, bool)
GetMappingListAssociatedDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDbSnapshotsRequest wrapper for the ListAwrDbSnapshots operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAwrDbSnapshots.go.html to see an example of how to use ListAwrDbSnapshotsRequest.
type ListAwrDbSnapshotsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR snapshot summary data. SortBy ListAwrDbSnapshotsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder ListAwrDbSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request ListAwrDbSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrDbSnapshotsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrDbSnapshotsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrDbSnapshotsRequest) String() string
func (request ListAwrDbSnapshotsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrDbSnapshotsResponse wrapper for the ListAwrDbSnapshots operation
type ListAwrDbSnapshotsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbSnapshotCollection instances AwrDbSnapshotCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAwrDbSnapshotsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrDbSnapshotsResponse) String() string
ListAwrDbSnapshotsSortByEnum Enum with underlying type: string
type ListAwrDbSnapshotsSortByEnum string
Set of constants representing the allowable values for ListAwrDbSnapshotsSortByEnum
const ( ListAwrDbSnapshotsSortByTimeBegin ListAwrDbSnapshotsSortByEnum = "TIME_BEGIN" ListAwrDbSnapshotsSortBySnapshotId ListAwrDbSnapshotsSortByEnum = "SNAPSHOT_ID" )
func GetListAwrDbSnapshotsSortByEnumValues() []ListAwrDbSnapshotsSortByEnum
GetListAwrDbSnapshotsSortByEnumValues Enumerates the set of values for ListAwrDbSnapshotsSortByEnum
func GetMappingListAwrDbSnapshotsSortByEnum(val string) (ListAwrDbSnapshotsSortByEnum, bool)
GetMappingListAwrDbSnapshotsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDbSnapshotsSortOrderEnum Enum with underlying type: string
type ListAwrDbSnapshotsSortOrderEnum string
Set of constants representing the allowable values for ListAwrDbSnapshotsSortOrderEnum
const ( ListAwrDbSnapshotsSortOrderAsc ListAwrDbSnapshotsSortOrderEnum = "ASC" ListAwrDbSnapshotsSortOrderDesc ListAwrDbSnapshotsSortOrderEnum = "DESC" )
func GetListAwrDbSnapshotsSortOrderEnumValues() []ListAwrDbSnapshotsSortOrderEnum
GetListAwrDbSnapshotsSortOrderEnumValues Enumerates the set of values for ListAwrDbSnapshotsSortOrderEnum
func GetMappingListAwrDbSnapshotsSortOrderEnum(val string) (ListAwrDbSnapshotsSortOrderEnum, bool)
GetMappingListAwrDbSnapshotsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDbsRequest wrapper for the ListAwrDbs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListAwrDbs.go.html to see an example of how to use ListAwrDbsRequest.
type ListAwrDbsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The optional single value query parameter to filter the entity name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR summary data. SortBy ListAwrDbsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder ListAwrDbsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request ListAwrDbsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrDbsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrDbsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrDbsRequest) String() string
func (request ListAwrDbsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrDbsResponse wrapper for the ListAwrDbs operation
type ListAwrDbsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbCollection instances AwrDbCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAwrDbsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrDbsResponse) String() string
ListAwrDbsSortByEnum Enum with underlying type: string
type ListAwrDbsSortByEnum string
Set of constants representing the allowable values for ListAwrDbsSortByEnum
const ( ListAwrDbsSortByEndIntervalTime ListAwrDbsSortByEnum = "END_INTERVAL_TIME" ListAwrDbsSortByName ListAwrDbsSortByEnum = "NAME" )
func GetListAwrDbsSortByEnumValues() []ListAwrDbsSortByEnum
GetListAwrDbsSortByEnumValues Enumerates the set of values for ListAwrDbsSortByEnum
func GetMappingListAwrDbsSortByEnum(val string) (ListAwrDbsSortByEnum, bool)
GetMappingListAwrDbsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDbsSortOrderEnum Enum with underlying type: string
type ListAwrDbsSortOrderEnum string
Set of constants representing the allowable values for ListAwrDbsSortOrderEnum
const ( ListAwrDbsSortOrderAsc ListAwrDbsSortOrderEnum = "ASC" ListAwrDbsSortOrderDesc ListAwrDbsSortOrderEnum = "DESC" )
func GetListAwrDbsSortOrderEnumValues() []ListAwrDbsSortOrderEnum
GetListAwrDbsSortOrderEnumValues Enumerates the set of values for ListAwrDbsSortOrderEnum
func GetMappingListAwrDbsSortOrderEnum(val string) (ListAwrDbsSortOrderEnum, bool)
GetMappingListAwrDbsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListConsumerGroupPrivilegesRequest wrapper for the ListConsumerGroupPrivileges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListConsumerGroupPrivileges.go.html to see an example of how to use ListConsumerGroupPrivilegesRequest.
type ListConsumerGroupPrivilegesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListConsumerGroupPrivilegesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListConsumerGroupPrivilegesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListConsumerGroupPrivilegesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListConsumerGroupPrivilegesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConsumerGroupPrivilegesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConsumerGroupPrivilegesRequest) String() string
func (request ListConsumerGroupPrivilegesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListConsumerGroupPrivilegesResponse wrapper for the ListConsumerGroupPrivileges operation
type ListConsumerGroupPrivilegesResponse struct { // The underlying http response RawResponse *http.Response // A list of ConsumerGroupPrivilegeCollection instances ConsumerGroupPrivilegeCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListConsumerGroupPrivilegesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConsumerGroupPrivilegesResponse) String() string
ListConsumerGroupPrivilegesSortByEnum Enum with underlying type: string
type ListConsumerGroupPrivilegesSortByEnum string
Set of constants representing the allowable values for ListConsumerGroupPrivilegesSortByEnum
const ( ListConsumerGroupPrivilegesSortByName ListConsumerGroupPrivilegesSortByEnum = "NAME" )
func GetListConsumerGroupPrivilegesSortByEnumValues() []ListConsumerGroupPrivilegesSortByEnum
GetListConsumerGroupPrivilegesSortByEnumValues Enumerates the set of values for ListConsumerGroupPrivilegesSortByEnum
func GetMappingListConsumerGroupPrivilegesSortByEnum(val string) (ListConsumerGroupPrivilegesSortByEnum, bool)
GetMappingListConsumerGroupPrivilegesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListConsumerGroupPrivilegesSortOrderEnum Enum with underlying type: string
type ListConsumerGroupPrivilegesSortOrderEnum string
Set of constants representing the allowable values for ListConsumerGroupPrivilegesSortOrderEnum
const ( ListConsumerGroupPrivilegesSortOrderAsc ListConsumerGroupPrivilegesSortOrderEnum = "ASC" ListConsumerGroupPrivilegesSortOrderDesc ListConsumerGroupPrivilegesSortOrderEnum = "DESC" )
func GetListConsumerGroupPrivilegesSortOrderEnumValues() []ListConsumerGroupPrivilegesSortOrderEnum
GetListConsumerGroupPrivilegesSortOrderEnumValues Enumerates the set of values for ListConsumerGroupPrivilegesSortOrderEnum
func GetMappingListConsumerGroupPrivilegesSortOrderEnum(val string) (ListConsumerGroupPrivilegesSortOrderEnum, bool)
GetMappingListConsumerGroupPrivilegesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataAccessContainersRequest wrapper for the ListDataAccessContainers operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListDataAccessContainers.go.html to see an example of how to use ListDataAccessContainersRequest.
type ListDataAccessContainersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListDataAccessContainersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListDataAccessContainersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDataAccessContainersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataAccessContainersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataAccessContainersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataAccessContainersRequest) String() string
func (request ListDataAccessContainersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDataAccessContainersResponse wrapper for the ListDataAccessContainers operation
type ListDataAccessContainersResponse struct { // The underlying http response RawResponse *http.Response // A list of DataAccessContainerCollection instances DataAccessContainerCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListDataAccessContainersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataAccessContainersResponse) String() string
ListDataAccessContainersSortByEnum Enum with underlying type: string
type ListDataAccessContainersSortByEnum string
Set of constants representing the allowable values for ListDataAccessContainersSortByEnum
const ( ListDataAccessContainersSortByName ListDataAccessContainersSortByEnum = "NAME" )
func GetListDataAccessContainersSortByEnumValues() []ListDataAccessContainersSortByEnum
GetListDataAccessContainersSortByEnumValues Enumerates the set of values for ListDataAccessContainersSortByEnum
func GetMappingListDataAccessContainersSortByEnum(val string) (ListDataAccessContainersSortByEnum, bool)
GetMappingListDataAccessContainersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataAccessContainersSortOrderEnum Enum with underlying type: string
type ListDataAccessContainersSortOrderEnum string
Set of constants representing the allowable values for ListDataAccessContainersSortOrderEnum
const ( ListDataAccessContainersSortOrderAsc ListDataAccessContainersSortOrderEnum = "ASC" ListDataAccessContainersSortOrderDesc ListDataAccessContainersSortOrderEnum = "DESC" )
func GetListDataAccessContainersSortOrderEnumValues() []ListDataAccessContainersSortOrderEnum
GetListDataAccessContainersSortOrderEnumValues Enumerates the set of values for ListDataAccessContainersSortOrderEnum
func GetMappingListDataAccessContainersSortOrderEnum(val string) (ListDataAccessContainersSortOrderEnum, bool)
GetMappingListDataAccessContainersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseParametersRequest wrapper for the ListDatabaseParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListDatabaseParameters.go.html to see an example of how to use ListDatabaseParametersRequest.
type ListDatabaseParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The source used to list database parameters. `CURRENT` is used to get the // database parameters that are currently in effect for the database // instance. `SPFILE` is used to list parameters from the server parameter // file. Default is `CURRENT`. Source ListDatabaseParametersSourceEnum `mandatory:"false" contributesTo:"query" name:"source" omitEmpty:"true"` // A filter to return all parameters that have the text given in their names. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // When true, results include a list of valid values for parameters (if applicable). IsAllowedValuesIncluded *bool `mandatory:"false" contributesTo:"query" name:"isAllowedValuesIncluded"` // The field to sort information by. Only one sortOrder can be used. The // default sort order for `NAME` is ascending and it is case-sensitive. SortBy ListDatabaseParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListDatabaseParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseParametersRequest) String() string
func (request ListDatabaseParametersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseParametersResponse wrapper for the ListDatabaseParameters operation
type ListDatabaseParametersResponse struct { // The underlying http response RawResponse *http.Response // The DatabaseParametersCollection instance DatabaseParametersCollection `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"` }
func (response ListDatabaseParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseParametersResponse) String() string
ListDatabaseParametersSortByEnum Enum with underlying type: string
type ListDatabaseParametersSortByEnum string
Set of constants representing the allowable values for ListDatabaseParametersSortByEnum
const ( ListDatabaseParametersSortByName ListDatabaseParametersSortByEnum = "NAME" )
func GetListDatabaseParametersSortByEnumValues() []ListDatabaseParametersSortByEnum
GetListDatabaseParametersSortByEnumValues Enumerates the set of values for ListDatabaseParametersSortByEnum
func GetMappingListDatabaseParametersSortByEnum(val string) (ListDatabaseParametersSortByEnum, bool)
GetMappingListDatabaseParametersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseParametersSortOrderEnum Enum with underlying type: string
type ListDatabaseParametersSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseParametersSortOrderEnum
const ( ListDatabaseParametersSortOrderAsc ListDatabaseParametersSortOrderEnum = "ASC" ListDatabaseParametersSortOrderDesc ListDatabaseParametersSortOrderEnum = "DESC" )
func GetListDatabaseParametersSortOrderEnumValues() []ListDatabaseParametersSortOrderEnum
GetListDatabaseParametersSortOrderEnumValues Enumerates the set of values for ListDatabaseParametersSortOrderEnum
func GetMappingListDatabaseParametersSortOrderEnum(val string) (ListDatabaseParametersSortOrderEnum, bool)
GetMappingListDatabaseParametersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseParametersSourceEnum Enum with underlying type: string
type ListDatabaseParametersSourceEnum string
Set of constants representing the allowable values for ListDatabaseParametersSourceEnum
const ( ListDatabaseParametersSourceCurrent ListDatabaseParametersSourceEnum = "CURRENT" ListDatabaseParametersSourceSpfile ListDatabaseParametersSourceEnum = "SPFILE" )
func GetListDatabaseParametersSourceEnumValues() []ListDatabaseParametersSourceEnum
GetListDatabaseParametersSourceEnumValues Enumerates the set of values for ListDatabaseParametersSourceEnum
func GetMappingListDatabaseParametersSourceEnum(val string) (ListDatabaseParametersSourceEnum, bool)
GetMappingListDatabaseParametersSourceEnum performs case Insensitive comparison on enum value and return the desired enum
ListDbManagementPrivateEndpointsLifecycleStateEnum Enum with underlying type: string
type ListDbManagementPrivateEndpointsLifecycleStateEnum string
Set of constants representing the allowable values for ListDbManagementPrivateEndpointsLifecycleStateEnum
const ( ListDbManagementPrivateEndpointsLifecycleStateCreating ListDbManagementPrivateEndpointsLifecycleStateEnum = "CREATING" ListDbManagementPrivateEndpointsLifecycleStateUpdating ListDbManagementPrivateEndpointsLifecycleStateEnum = "UPDATING" ListDbManagementPrivateEndpointsLifecycleStateActive ListDbManagementPrivateEndpointsLifecycleStateEnum = "ACTIVE" ListDbManagementPrivateEndpointsLifecycleStateDeleting ListDbManagementPrivateEndpointsLifecycleStateEnum = "DELETING" ListDbManagementPrivateEndpointsLifecycleStateDeleted ListDbManagementPrivateEndpointsLifecycleStateEnum = "DELETED" ListDbManagementPrivateEndpointsLifecycleStateFailed ListDbManagementPrivateEndpointsLifecycleStateEnum = "FAILED" )
func GetListDbManagementPrivateEndpointsLifecycleStateEnumValues() []ListDbManagementPrivateEndpointsLifecycleStateEnum
GetListDbManagementPrivateEndpointsLifecycleStateEnumValues Enumerates the set of values for ListDbManagementPrivateEndpointsLifecycleStateEnum
func GetMappingListDbManagementPrivateEndpointsLifecycleStateEnum(val string) (ListDbManagementPrivateEndpointsLifecycleStateEnum, bool)
GetMappingListDbManagementPrivateEndpointsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDbManagementPrivateEndpointsRequest wrapper for the ListDbManagementPrivateEndpoints operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListDbManagementPrivateEndpoints.go.html to see an example of how to use ListDbManagementPrivateEndpointsRequest.
type ListDbManagementPrivateEndpointsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. IsCluster *bool `mandatory:"false" contributesTo:"query" name:"isCluster"` // The lifecycle state of a resource. LifecycleState ListDbManagementPrivateEndpointsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListDbManagementPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListDbManagementPrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request ListDbManagementPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDbManagementPrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDbManagementPrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDbManagementPrivateEndpointsRequest) String() string
func (request ListDbManagementPrivateEndpointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDbManagementPrivateEndpointsResponse wrapper for the ListDbManagementPrivateEndpoints operation
type ListDbManagementPrivateEndpointsResponse struct { // The underlying http response RawResponse *http.Response // A list of DbManagementPrivateEndpointCollection instances DbManagementPrivateEndpointCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDbManagementPrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDbManagementPrivateEndpointsResponse) String() string
ListDbManagementPrivateEndpointsSortByEnum Enum with underlying type: string
type ListDbManagementPrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListDbManagementPrivateEndpointsSortByEnum
const ( ListDbManagementPrivateEndpointsSortByTimecreated ListDbManagementPrivateEndpointsSortByEnum = "TIMECREATED" ListDbManagementPrivateEndpointsSortByName ListDbManagementPrivateEndpointsSortByEnum = "NAME" )
func GetListDbManagementPrivateEndpointsSortByEnumValues() []ListDbManagementPrivateEndpointsSortByEnum
GetListDbManagementPrivateEndpointsSortByEnumValues Enumerates the set of values for ListDbManagementPrivateEndpointsSortByEnum
func GetMappingListDbManagementPrivateEndpointsSortByEnum(val string) (ListDbManagementPrivateEndpointsSortByEnum, bool)
GetMappingListDbManagementPrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDbManagementPrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListDbManagementPrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListDbManagementPrivateEndpointsSortOrderEnum
const ( ListDbManagementPrivateEndpointsSortOrderAsc ListDbManagementPrivateEndpointsSortOrderEnum = "ASC" ListDbManagementPrivateEndpointsSortOrderDesc ListDbManagementPrivateEndpointsSortOrderEnum = "DESC" )
func GetListDbManagementPrivateEndpointsSortOrderEnumValues() []ListDbManagementPrivateEndpointsSortOrderEnum
GetListDbManagementPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListDbManagementPrivateEndpointsSortOrderEnum
func GetMappingListDbManagementPrivateEndpointsSortOrderEnum(val string) (ListDbManagementPrivateEndpointsSortOrderEnum, bool)
GetMappingListDbManagementPrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobExecutionsRequest wrapper for the ListJobExecutions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListJobExecutions.go.html to see an example of how to use ListJobExecutionsRequest.
type ListJobExecutionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The identifier of the job. JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The status of the job execution. Status *string `mandatory:"false" contributesTo:"query" name:"status"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListJobExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListJobExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The identifier of the job run. JobRunId *string `mandatory:"false" contributesTo:"query" name:"jobRunId"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListJobExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobExecutionsRequest) String() string
func (request ListJobExecutionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListJobExecutionsResponse wrapper for the ListJobExecutions operation
type ListJobExecutionsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobExecutionCollection instances JobExecutionCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJobExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobExecutionsResponse) String() string
ListJobExecutionsSortByEnum Enum with underlying type: string
type ListJobExecutionsSortByEnum string
Set of constants representing the allowable values for ListJobExecutionsSortByEnum
const ( ListJobExecutionsSortByTimecreated ListJobExecutionsSortByEnum = "TIMECREATED" ListJobExecutionsSortByName ListJobExecutionsSortByEnum = "NAME" )
func GetListJobExecutionsSortByEnumValues() []ListJobExecutionsSortByEnum
GetListJobExecutionsSortByEnumValues Enumerates the set of values for ListJobExecutionsSortByEnum
func GetMappingListJobExecutionsSortByEnum(val string) (ListJobExecutionsSortByEnum, bool)
GetMappingListJobExecutionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobExecutionsSortOrderEnum Enum with underlying type: string
type ListJobExecutionsSortOrderEnum string
Set of constants representing the allowable values for ListJobExecutionsSortOrderEnum
const ( ListJobExecutionsSortOrderAsc ListJobExecutionsSortOrderEnum = "ASC" ListJobExecutionsSortOrderDesc ListJobExecutionsSortOrderEnum = "DESC" )
func GetListJobExecutionsSortOrderEnumValues() []ListJobExecutionsSortOrderEnum
GetListJobExecutionsSortOrderEnumValues Enumerates the set of values for ListJobExecutionsSortOrderEnum
func GetMappingListJobExecutionsSortOrderEnum(val string) (ListJobExecutionsSortOrderEnum, bool)
GetMappingListJobExecutionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobRunsRequest wrapper for the ListJobRuns operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListJobRuns.go.html to see an example of how to use ListJobRunsRequest.
type ListJobRunsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The identifier of the job. JobId *string `mandatory:"false" contributesTo:"query" name:"jobId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The status of the job run. RunStatus *string `mandatory:"false" contributesTo:"query" name:"runStatus"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListJobRunsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListJobRunsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListJobRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobRunsRequest) String() string
func (request ListJobRunsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListJobRunsResponse wrapper for the ListJobRuns operation
type ListJobRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobRunCollection instances JobRunCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJobRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobRunsResponse) String() string
ListJobRunsSortByEnum Enum with underlying type: string
type ListJobRunsSortByEnum string
Set of constants representing the allowable values for ListJobRunsSortByEnum
const ( ListJobRunsSortByTimecreated ListJobRunsSortByEnum = "TIMECREATED" ListJobRunsSortByName ListJobRunsSortByEnum = "NAME" )
func GetListJobRunsSortByEnumValues() []ListJobRunsSortByEnum
GetListJobRunsSortByEnumValues Enumerates the set of values for ListJobRunsSortByEnum
func GetMappingListJobRunsSortByEnum(val string) (ListJobRunsSortByEnum, bool)
GetMappingListJobRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobRunsSortOrderEnum Enum with underlying type: string
type ListJobRunsSortOrderEnum string
Set of constants representing the allowable values for ListJobRunsSortOrderEnum
const ( ListJobRunsSortOrderAsc ListJobRunsSortOrderEnum = "ASC" ListJobRunsSortOrderDesc ListJobRunsSortOrderEnum = "DESC" )
func GetListJobRunsSortOrderEnumValues() []ListJobRunsSortOrderEnum
GetListJobRunsSortOrderEnumValues Enumerates the set of values for ListJobRunsSortOrderEnum
func GetMappingListJobRunsSortOrderEnum(val string) (ListJobRunsSortOrderEnum, bool)
GetMappingListJobRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobsRequest wrapper for the ListJobs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListJobs.go.html to see an example of how to use ListJobsRequest.
type ListJobsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The lifecycle state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJobsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJobsRequest) String() string
func (request ListJobsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListJobsResponse wrapper for the ListJobs operation
type ListJobsResponse struct { // The underlying http response RawResponse *http.Response // A list of JobCollection instances JobCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJobsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJobsResponse) String() string
ListJobsSortByEnum Enum with underlying type: string
type ListJobsSortByEnum string
Set of constants representing the allowable values for ListJobsSortByEnum
const ( ListJobsSortByTimecreated ListJobsSortByEnum = "TIMECREATED" ListJobsSortByName ListJobsSortByEnum = "NAME" )
func GetListJobsSortByEnumValues() []ListJobsSortByEnum
GetListJobsSortByEnumValues Enumerates the set of values for ListJobsSortByEnum
func GetMappingListJobsSortByEnum(val string) (ListJobsSortByEnum, bool)
GetMappingListJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJobsSortOrderEnum Enum with underlying type: string
type ListJobsSortOrderEnum string
Set of constants representing the allowable values for ListJobsSortOrderEnum
const ( ListJobsSortOrderAsc ListJobsSortOrderEnum = "ASC" ListJobsSortOrderDesc ListJobsSortOrderEnum = "DESC" )
func GetListJobsSortOrderEnumValues() []ListJobsSortOrderEnum
GetListJobsSortOrderEnumValues Enumerates the set of values for ListJobsSortOrderEnum
func GetMappingListJobsSortOrderEnum(val string) (ListJobsSortOrderEnum, bool)
GetMappingListJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabaseGroupsLifecycleStateEnum Enum with underlying type: string
type ListManagedDatabaseGroupsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedDatabaseGroupsLifecycleStateEnum
const ( ListManagedDatabaseGroupsLifecycleStateCreating ListManagedDatabaseGroupsLifecycleStateEnum = "CREATING" ListManagedDatabaseGroupsLifecycleStateUpdating ListManagedDatabaseGroupsLifecycleStateEnum = "UPDATING" ListManagedDatabaseGroupsLifecycleStateActive ListManagedDatabaseGroupsLifecycleStateEnum = "ACTIVE" ListManagedDatabaseGroupsLifecycleStateDeleting ListManagedDatabaseGroupsLifecycleStateEnum = "DELETING" ListManagedDatabaseGroupsLifecycleStateDeleted ListManagedDatabaseGroupsLifecycleStateEnum = "DELETED" ListManagedDatabaseGroupsLifecycleStateFailed ListManagedDatabaseGroupsLifecycleStateEnum = "FAILED" )
func GetListManagedDatabaseGroupsLifecycleStateEnumValues() []ListManagedDatabaseGroupsLifecycleStateEnum
GetListManagedDatabaseGroupsLifecycleStateEnumValues Enumerates the set of values for ListManagedDatabaseGroupsLifecycleStateEnum
func GetMappingListManagedDatabaseGroupsLifecycleStateEnum(val string) (ListManagedDatabaseGroupsLifecycleStateEnum, bool)
GetMappingListManagedDatabaseGroupsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabaseGroupsRequest wrapper for the ListManagedDatabaseGroups operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListManagedDatabaseGroups.go.html to see an example of how to use ListManagedDatabaseGroupsRequest.
type ListManagedDatabaseGroupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The lifecycle state of a resource. LifecycleState ListManagedDatabaseGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListManagedDatabaseGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListManagedDatabaseGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedDatabaseGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedDatabaseGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedDatabaseGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedDatabaseGroupsRequest) String() string
func (request ListManagedDatabaseGroupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedDatabaseGroupsResponse wrapper for the ListManagedDatabaseGroups operation
type ListManagedDatabaseGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedDatabaseGroupCollection instances ManagedDatabaseGroupCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedDatabaseGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedDatabaseGroupsResponse) String() string
ListManagedDatabaseGroupsSortByEnum Enum with underlying type: string
type ListManagedDatabaseGroupsSortByEnum string
Set of constants representing the allowable values for ListManagedDatabaseGroupsSortByEnum
const ( ListManagedDatabaseGroupsSortByTimecreated ListManagedDatabaseGroupsSortByEnum = "TIMECREATED" ListManagedDatabaseGroupsSortByName ListManagedDatabaseGroupsSortByEnum = "NAME" )
func GetListManagedDatabaseGroupsSortByEnumValues() []ListManagedDatabaseGroupsSortByEnum
GetListManagedDatabaseGroupsSortByEnumValues Enumerates the set of values for ListManagedDatabaseGroupsSortByEnum
func GetMappingListManagedDatabaseGroupsSortByEnum(val string) (ListManagedDatabaseGroupsSortByEnum, bool)
GetMappingListManagedDatabaseGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabaseGroupsSortOrderEnum Enum with underlying type: string
type ListManagedDatabaseGroupsSortOrderEnum string
Set of constants representing the allowable values for ListManagedDatabaseGroupsSortOrderEnum
const ( ListManagedDatabaseGroupsSortOrderAsc ListManagedDatabaseGroupsSortOrderEnum = "ASC" ListManagedDatabaseGroupsSortOrderDesc ListManagedDatabaseGroupsSortOrderEnum = "DESC" )
func GetListManagedDatabaseGroupsSortOrderEnumValues() []ListManagedDatabaseGroupsSortOrderEnum
GetListManagedDatabaseGroupsSortOrderEnumValues Enumerates the set of values for ListManagedDatabaseGroupsSortOrderEnum
func GetMappingListManagedDatabaseGroupsSortOrderEnum(val string) (ListManagedDatabaseGroupsSortOrderEnum, bool)
GetMappingListManagedDatabaseGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabasesDeploymentTypeEnum Enum with underlying type: string
type ListManagedDatabasesDeploymentTypeEnum string
Set of constants representing the allowable values for ListManagedDatabasesDeploymentTypeEnum
const ( ListManagedDatabasesDeploymentTypeOnpremise ListManagedDatabasesDeploymentTypeEnum = "ONPREMISE" ListManagedDatabasesDeploymentTypeBm ListManagedDatabasesDeploymentTypeEnum = "BM" ListManagedDatabasesDeploymentTypeVm ListManagedDatabasesDeploymentTypeEnum = "VM" ListManagedDatabasesDeploymentTypeExadata ListManagedDatabasesDeploymentTypeEnum = "EXADATA" ListManagedDatabasesDeploymentTypeExadataCc ListManagedDatabasesDeploymentTypeEnum = "EXADATA_CC" ListManagedDatabasesDeploymentTypeAutonomous ListManagedDatabasesDeploymentTypeEnum = "AUTONOMOUS" )
func GetListManagedDatabasesDeploymentTypeEnumValues() []ListManagedDatabasesDeploymentTypeEnum
GetListManagedDatabasesDeploymentTypeEnumValues Enumerates the set of values for ListManagedDatabasesDeploymentTypeEnum
func GetMappingListManagedDatabasesDeploymentTypeEnum(val string) (ListManagedDatabasesDeploymentTypeEnum, bool)
GetMappingListManagedDatabasesDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabasesManagementOptionEnum Enum with underlying type: string
type ListManagedDatabasesManagementOptionEnum string
Set of constants representing the allowable values for ListManagedDatabasesManagementOptionEnum
const ( ListManagedDatabasesManagementOptionBasic ListManagedDatabasesManagementOptionEnum = "BASIC" ListManagedDatabasesManagementOptionAdvanced ListManagedDatabasesManagementOptionEnum = "ADVANCED" )
func GetListManagedDatabasesManagementOptionEnumValues() []ListManagedDatabasesManagementOptionEnum
GetListManagedDatabasesManagementOptionEnumValues Enumerates the set of values for ListManagedDatabasesManagementOptionEnum
func GetMappingListManagedDatabasesManagementOptionEnum(val string) (ListManagedDatabasesManagementOptionEnum, bool)
GetMappingListManagedDatabasesManagementOptionEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabasesRequest wrapper for the ListManagedDatabases operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListManagedDatabases.go.html to see an example of how to use ListManagedDatabasesRequest.
type ListManagedDatabasesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return Managed Databases with the specified management option. ManagementOption ListManagedDatabasesManagementOptionEnum `mandatory:"false" contributesTo:"query" name:"managementOption" omitEmpty:"true"` // A filter to return Managed Databases of the specified deployment type. DeploymentType ListManagedDatabasesDeploymentTypeEnum `mandatory:"false" contributesTo:"query" name:"deploymentType" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListManagedDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListManagedDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedDatabasesRequest) String() string
func (request ListManagedDatabasesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListManagedDatabasesResponse wrapper for the ListManagedDatabases operation
type ListManagedDatabasesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedDatabaseCollection instances ManagedDatabaseCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedDatabasesResponse) String() string
ListManagedDatabasesSortByEnum Enum with underlying type: string
type ListManagedDatabasesSortByEnum string
Set of constants representing the allowable values for ListManagedDatabasesSortByEnum
const ( ListManagedDatabasesSortByTimecreated ListManagedDatabasesSortByEnum = "TIMECREATED" ListManagedDatabasesSortByName ListManagedDatabasesSortByEnum = "NAME" )
func GetListManagedDatabasesSortByEnumValues() []ListManagedDatabasesSortByEnum
GetListManagedDatabasesSortByEnumValues Enumerates the set of values for ListManagedDatabasesSortByEnum
func GetMappingListManagedDatabasesSortByEnum(val string) (ListManagedDatabasesSortByEnum, bool)
GetMappingListManagedDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedDatabasesSortOrderEnum Enum with underlying type: string
type ListManagedDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListManagedDatabasesSortOrderEnum
const ( ListManagedDatabasesSortOrderAsc ListManagedDatabasesSortOrderEnum = "ASC" ListManagedDatabasesSortOrderDesc ListManagedDatabasesSortOrderEnum = "DESC" )
func GetListManagedDatabasesSortOrderEnumValues() []ListManagedDatabasesSortOrderEnum
GetListManagedDatabasesSortOrderEnumValues Enumerates the set of values for ListManagedDatabasesSortOrderEnum
func GetMappingListManagedDatabasesSortOrderEnum(val string) (ListManagedDatabasesSortOrderEnum, bool)
GetMappingListManagedDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListObjectPrivilegesRequest wrapper for the ListObjectPrivileges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListObjectPrivileges.go.html to see an example of how to use ListObjectPrivilegesRequest.
type ListObjectPrivilegesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListObjectPrivilegesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListObjectPrivilegesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListObjectPrivilegesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListObjectPrivilegesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListObjectPrivilegesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListObjectPrivilegesRequest) String() string
func (request ListObjectPrivilegesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListObjectPrivilegesResponse wrapper for the ListObjectPrivileges operation
type ListObjectPrivilegesResponse struct { // The underlying http response RawResponse *http.Response // A list of ObjectPrivilegeCollection instances ObjectPrivilegeCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListObjectPrivilegesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListObjectPrivilegesResponse) String() string
ListObjectPrivilegesSortByEnum Enum with underlying type: string
type ListObjectPrivilegesSortByEnum string
Set of constants representing the allowable values for ListObjectPrivilegesSortByEnum
const ( ListObjectPrivilegesSortByName ListObjectPrivilegesSortByEnum = "NAME" )
func GetListObjectPrivilegesSortByEnumValues() []ListObjectPrivilegesSortByEnum
GetListObjectPrivilegesSortByEnumValues Enumerates the set of values for ListObjectPrivilegesSortByEnum
func GetMappingListObjectPrivilegesSortByEnum(val string) (ListObjectPrivilegesSortByEnum, bool)
GetMappingListObjectPrivilegesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListObjectPrivilegesSortOrderEnum Enum with underlying type: string
type ListObjectPrivilegesSortOrderEnum string
Set of constants representing the allowable values for ListObjectPrivilegesSortOrderEnum
const ( ListObjectPrivilegesSortOrderAsc ListObjectPrivilegesSortOrderEnum = "ASC" ListObjectPrivilegesSortOrderDesc ListObjectPrivilegesSortOrderEnum = "DESC" )
func GetListObjectPrivilegesSortOrderEnumValues() []ListObjectPrivilegesSortOrderEnum
GetListObjectPrivilegesSortOrderEnumValues Enumerates the set of values for ListObjectPrivilegesSortOrderEnum
func GetMappingListObjectPrivilegesSortOrderEnum(val string) (ListObjectPrivilegesSortOrderEnum, bool)
GetMappingListObjectPrivilegesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProxiedForUsersRequest wrapper for the ListProxiedForUsers operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListProxiedForUsers.go.html to see an example of how to use ListProxiedForUsersRequest.
type ListProxiedForUsersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListProxiedForUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListProxiedForUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProxiedForUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProxiedForUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProxiedForUsersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProxiedForUsersRequest) String() string
func (request ListProxiedForUsersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListProxiedForUsersResponse wrapper for the ListProxiedForUsers operation
type ListProxiedForUsersResponse struct { // The underlying http response RawResponse *http.Response // A list of ProxiedForUserCollection instances ProxiedForUserCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListProxiedForUsersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProxiedForUsersResponse) String() string
ListProxiedForUsersSortByEnum Enum with underlying type: string
type ListProxiedForUsersSortByEnum string
Set of constants representing the allowable values for ListProxiedForUsersSortByEnum
const ( ListProxiedForUsersSortByName ListProxiedForUsersSortByEnum = "NAME" )
func GetListProxiedForUsersSortByEnumValues() []ListProxiedForUsersSortByEnum
GetListProxiedForUsersSortByEnumValues Enumerates the set of values for ListProxiedForUsersSortByEnum
func GetMappingListProxiedForUsersSortByEnum(val string) (ListProxiedForUsersSortByEnum, bool)
GetMappingListProxiedForUsersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProxiedForUsersSortOrderEnum Enum with underlying type: string
type ListProxiedForUsersSortOrderEnum string
Set of constants representing the allowable values for ListProxiedForUsersSortOrderEnum
const ( ListProxiedForUsersSortOrderAsc ListProxiedForUsersSortOrderEnum = "ASC" ListProxiedForUsersSortOrderDesc ListProxiedForUsersSortOrderEnum = "DESC" )
func GetListProxiedForUsersSortOrderEnumValues() []ListProxiedForUsersSortOrderEnum
GetListProxiedForUsersSortOrderEnumValues Enumerates the set of values for ListProxiedForUsersSortOrderEnum
func GetMappingListProxiedForUsersSortOrderEnum(val string) (ListProxiedForUsersSortOrderEnum, bool)
GetMappingListProxiedForUsersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProxyUsersRequest wrapper for the ListProxyUsers operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListProxyUsers.go.html to see an example of how to use ListProxyUsersRequest.
type ListProxyUsersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListProxyUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListProxyUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProxyUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProxyUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProxyUsersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProxyUsersRequest) String() string
func (request ListProxyUsersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListProxyUsersResponse wrapper for the ListProxyUsers operation
type ListProxyUsersResponse struct { // The underlying http response RawResponse *http.Response // A list of ProxyUserCollection instances ProxyUserCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListProxyUsersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProxyUsersResponse) String() string
ListProxyUsersSortByEnum Enum with underlying type: string
type ListProxyUsersSortByEnum string
Set of constants representing the allowable values for ListProxyUsersSortByEnum
const ( ListProxyUsersSortByName ListProxyUsersSortByEnum = "NAME" )
func GetListProxyUsersSortByEnumValues() []ListProxyUsersSortByEnum
GetListProxyUsersSortByEnumValues Enumerates the set of values for ListProxyUsersSortByEnum
func GetMappingListProxyUsersSortByEnum(val string) (ListProxyUsersSortByEnum, bool)
GetMappingListProxyUsersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProxyUsersSortOrderEnum Enum with underlying type: string
type ListProxyUsersSortOrderEnum string
Set of constants representing the allowable values for ListProxyUsersSortOrderEnum
const ( ListProxyUsersSortOrderAsc ListProxyUsersSortOrderEnum = "ASC" ListProxyUsersSortOrderDesc ListProxyUsersSortOrderEnum = "DESC" )
func GetListProxyUsersSortOrderEnumValues() []ListProxyUsersSortOrderEnum
GetListProxyUsersSortOrderEnumValues Enumerates the set of values for ListProxyUsersSortOrderEnum
func GetMappingListProxyUsersSortOrderEnum(val string) (ListProxyUsersSortOrderEnum, bool)
GetMappingListProxyUsersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListRolesRequest wrapper for the ListRoles operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListRoles.go.html to see an example of how to use ListRolesRequest.
type ListRolesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListRolesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListRolesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListRolesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListRolesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRolesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRolesRequest) String() string
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
ListRolesResponse wrapper for the ListRoles operation
type ListRolesResponse struct { // The underlying http response RawResponse *http.Response // A list of RoleCollection instances RoleCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListRolesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRolesResponse) String() string
ListRolesSortByEnum Enum with underlying type: string
type ListRolesSortByEnum string
Set of constants representing the allowable values for ListRolesSortByEnum
const ( ListRolesSortByName ListRolesSortByEnum = "NAME" )
func GetListRolesSortByEnumValues() []ListRolesSortByEnum
GetListRolesSortByEnumValues Enumerates the set of values for ListRolesSortByEnum
func GetMappingListRolesSortByEnum(val string) (ListRolesSortByEnum, bool)
GetMappingListRolesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListRolesSortOrderEnum Enum with underlying type: string
type ListRolesSortOrderEnum string
Set of constants representing the allowable values for ListRolesSortOrderEnum
const ( ListRolesSortOrderAsc ListRolesSortOrderEnum = "ASC" ListRolesSortOrderDesc ListRolesSortOrderEnum = "DESC" )
func GetListRolesSortOrderEnumValues() []ListRolesSortOrderEnum
GetListRolesSortOrderEnumValues Enumerates the set of values for ListRolesSortOrderEnum
func GetMappingListRolesSortOrderEnum(val string) (ListRolesSortOrderEnum, bool)
GetMappingListRolesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTaskFindingsFindingFilterEnum Enum with underlying type: string
type ListSqlTuningAdvisorTaskFindingsFindingFilterEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTaskFindingsFindingFilterEnum
const ( ListSqlTuningAdvisorTaskFindingsFindingFilterNone ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "none" ListSqlTuningAdvisorTaskFindingsFindingFilterFindings ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "FINDINGS" ListSqlTuningAdvisorTaskFindingsFindingFilterNofindings ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "NOFINDINGS" ListSqlTuningAdvisorTaskFindingsFindingFilterErrors ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "ERRORS" ListSqlTuningAdvisorTaskFindingsFindingFilterProfiles ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "PROFILES" ListSqlTuningAdvisorTaskFindingsFindingFilterIndices ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "INDICES" ListSqlTuningAdvisorTaskFindingsFindingFilterStats ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "STATS" ListSqlTuningAdvisorTaskFindingsFindingFilterRestructure ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "RESTRUCTURE" ListSqlTuningAdvisorTaskFindingsFindingFilterAlternative ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "ALTERNATIVE" ListSqlTuningAdvisorTaskFindingsFindingFilterAutoProfiles ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "AUTO_PROFILES" ListSqlTuningAdvisorTaskFindingsFindingFilterOtherProfiles ListSqlTuningAdvisorTaskFindingsFindingFilterEnum = "OTHER_PROFILES" )
func GetListSqlTuningAdvisorTaskFindingsFindingFilterEnumValues() []ListSqlTuningAdvisorTaskFindingsFindingFilterEnum
GetListSqlTuningAdvisorTaskFindingsFindingFilterEnumValues Enumerates the set of values for ListSqlTuningAdvisorTaskFindingsFindingFilterEnum
func GetMappingListSqlTuningAdvisorTaskFindingsFindingFilterEnum(val string) (ListSqlTuningAdvisorTaskFindingsFindingFilterEnum, bool)
GetMappingListSqlTuningAdvisorTaskFindingsFindingFilterEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTaskFindingsRequest wrapper for the ListSqlTuningAdvisorTaskFindings operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSqlTuningAdvisorTaskFindings.go.html to see an example of how to use ListSqlTuningAdvisorTaskFindingsRequest.
type ListSqlTuningAdvisorTaskFindingsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The SQL tuning task identifier. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" contributesTo:"path" name:"sqlTuningAdvisorTaskId"` // The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. BeginExecId *int64 `mandatory:"false" contributesTo:"query" name:"beginExecId"` // The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. EndExecId *int64 `mandatory:"false" contributesTo:"query" name:"endExecId"` // The search period during which the API will search for begin and end exec id, if not supplied. // Unused if beginExecId and endExecId optional query params are both supplied. SearchPeriod ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum `mandatory:"false" contributesTo:"query" name:"searchPeriod" omitEmpty:"true"` // The filter used to display specific findings in the report. FindingFilter ListSqlTuningAdvisorTaskFindingsFindingFilterEnum `mandatory:"false" contributesTo:"query" name:"findingFilter" omitEmpty:"true"` // The hash value of the object for the statistic finding search. StatsHashFilter *string `mandatory:"false" contributesTo:"query" name:"statsHashFilter"` // The hash value of the index table name. IndexHashFilter *string `mandatory:"false" contributesTo:"query" name:"indexHashFilter"` // The possible sortBy values of an object's recommendations. SortBy ListSqlTuningAdvisorTaskFindingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder ListSqlTuningAdvisorTaskFindingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The client request ID for tracing. 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 }
func (request ListSqlTuningAdvisorTaskFindingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlTuningAdvisorTaskFindingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlTuningAdvisorTaskFindingsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlTuningAdvisorTaskFindingsRequest) String() string
func (request ListSqlTuningAdvisorTaskFindingsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSqlTuningAdvisorTaskFindingsResponse wrapper for the ListSqlTuningAdvisorTaskFindings operation
type ListSqlTuningAdvisorTaskFindingsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlTuningAdvisorTaskFindingCollection instances SqlTuningAdvisorTaskFindingCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSqlTuningAdvisorTaskFindingsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlTuningAdvisorTaskFindingsResponse) String() string
ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum Enum with underlying type: string
type ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum
const ( ListSqlTuningAdvisorTaskFindingsSearchPeriodLast24hr ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum = "LAST_24HR" ListSqlTuningAdvisorTaskFindingsSearchPeriodLast7day ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum = "LAST_7DAY" ListSqlTuningAdvisorTaskFindingsSearchPeriodLast31day ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum = "LAST_31DAY" ListSqlTuningAdvisorTaskFindingsSearchPeriodSinceLast ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum = "SINCE_LAST" ListSqlTuningAdvisorTaskFindingsSearchPeriodAll ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum = "ALL" )
func GetListSqlTuningAdvisorTaskFindingsSearchPeriodEnumValues() []ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum
GetListSqlTuningAdvisorTaskFindingsSearchPeriodEnumValues Enumerates the set of values for ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum
func GetMappingListSqlTuningAdvisorTaskFindingsSearchPeriodEnum(val string) (ListSqlTuningAdvisorTaskFindingsSearchPeriodEnum, bool)
GetMappingListSqlTuningAdvisorTaskFindingsSearchPeriodEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTaskFindingsSortByEnum Enum with underlying type: string
type ListSqlTuningAdvisorTaskFindingsSortByEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTaskFindingsSortByEnum
const ( ListSqlTuningAdvisorTaskFindingsSortByDbtimeBenefit ListSqlTuningAdvisorTaskFindingsSortByEnum = "DBTIME_BENEFIT" ListSqlTuningAdvisorTaskFindingsSortByParsingSchema ListSqlTuningAdvisorTaskFindingsSortByEnum = "PARSING_SCHEMA" ListSqlTuningAdvisorTaskFindingsSortBySqlId ListSqlTuningAdvisorTaskFindingsSortByEnum = "SQL_ID" ListSqlTuningAdvisorTaskFindingsSortByStats ListSqlTuningAdvisorTaskFindingsSortByEnum = "STATS" ListSqlTuningAdvisorTaskFindingsSortByProfiles ListSqlTuningAdvisorTaskFindingsSortByEnum = "PROFILES" ListSqlTuningAdvisorTaskFindingsSortBySqlBenefit ListSqlTuningAdvisorTaskFindingsSortByEnum = "SQL_BENEFIT" ListSqlTuningAdvisorTaskFindingsSortByDate ListSqlTuningAdvisorTaskFindingsSortByEnum = "DATE" ListSqlTuningAdvisorTaskFindingsSortByIndices ListSqlTuningAdvisorTaskFindingsSortByEnum = "INDICES" ListSqlTuningAdvisorTaskFindingsSortByRestructure ListSqlTuningAdvisorTaskFindingsSortByEnum = "RESTRUCTURE" ListSqlTuningAdvisorTaskFindingsSortByAlternative ListSqlTuningAdvisorTaskFindingsSortByEnum = "ALTERNATIVE" ListSqlTuningAdvisorTaskFindingsSortByMisc ListSqlTuningAdvisorTaskFindingsSortByEnum = "MISC" ListSqlTuningAdvisorTaskFindingsSortByError ListSqlTuningAdvisorTaskFindingsSortByEnum = "ERROR" ListSqlTuningAdvisorTaskFindingsSortByTimeouts ListSqlTuningAdvisorTaskFindingsSortByEnum = "TIMEOUTS" )
func GetListSqlTuningAdvisorTaskFindingsSortByEnumValues() []ListSqlTuningAdvisorTaskFindingsSortByEnum
GetListSqlTuningAdvisorTaskFindingsSortByEnumValues Enumerates the set of values for ListSqlTuningAdvisorTaskFindingsSortByEnum
func GetMappingListSqlTuningAdvisorTaskFindingsSortByEnum(val string) (ListSqlTuningAdvisorTaskFindingsSortByEnum, bool)
GetMappingListSqlTuningAdvisorTaskFindingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTaskFindingsSortOrderEnum Enum with underlying type: string
type ListSqlTuningAdvisorTaskFindingsSortOrderEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTaskFindingsSortOrderEnum
const ( ListSqlTuningAdvisorTaskFindingsSortOrderAsc ListSqlTuningAdvisorTaskFindingsSortOrderEnum = "ASC" ListSqlTuningAdvisorTaskFindingsSortOrderDesc ListSqlTuningAdvisorTaskFindingsSortOrderEnum = "DESC" )
func GetListSqlTuningAdvisorTaskFindingsSortOrderEnumValues() []ListSqlTuningAdvisorTaskFindingsSortOrderEnum
GetListSqlTuningAdvisorTaskFindingsSortOrderEnumValues Enumerates the set of values for ListSqlTuningAdvisorTaskFindingsSortOrderEnum
func GetMappingListSqlTuningAdvisorTaskFindingsSortOrderEnum(val string) (ListSqlTuningAdvisorTaskFindingsSortOrderEnum, bool)
GetMappingListSqlTuningAdvisorTaskFindingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTaskRecommendationsRequest wrapper for the ListSqlTuningAdvisorTaskRecommendations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSqlTuningAdvisorTaskRecommendations.go.html to see an example of how to use ListSqlTuningAdvisorTaskRecommendationsRequest.
type ListSqlTuningAdvisorTaskRecommendationsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The SQL tuning task identifier. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" contributesTo:"path" name:"sqlTuningAdvisorTaskId"` // The SQL object ID for the SQL tuning task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlObjectId *int64 `mandatory:"true" contributesTo:"query" name:"sqlObjectId"` // The execution ID for an execution of a SQL tuning task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ExecutionId *int64 `mandatory:"true" contributesTo:"query" name:"executionId"` // The possible sortBy values of an object's recommendations. SortBy ListSqlTuningAdvisorTaskRecommendationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The client request ID for tracing. 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 }
func (request ListSqlTuningAdvisorTaskRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlTuningAdvisorTaskRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlTuningAdvisorTaskRecommendationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlTuningAdvisorTaskRecommendationsRequest) String() string
func (request ListSqlTuningAdvisorTaskRecommendationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSqlTuningAdvisorTaskRecommendationsResponse wrapper for the ListSqlTuningAdvisorTaskRecommendations operation
type ListSqlTuningAdvisorTaskRecommendationsResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlTuningAdvisorTaskRecommendationCollection instances SqlTuningAdvisorTaskRecommendationCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSqlTuningAdvisorTaskRecommendationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlTuningAdvisorTaskRecommendationsResponse) String() string
ListSqlTuningAdvisorTaskRecommendationsSortByEnum Enum with underlying type: string
type ListSqlTuningAdvisorTaskRecommendationsSortByEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTaskRecommendationsSortByEnum
const ( ListSqlTuningAdvisorTaskRecommendationsSortByRecommendationType ListSqlTuningAdvisorTaskRecommendationsSortByEnum = "RECOMMENDATION_TYPE" ListSqlTuningAdvisorTaskRecommendationsSortByBenefit ListSqlTuningAdvisorTaskRecommendationsSortByEnum = "BENEFIT" )
func GetListSqlTuningAdvisorTaskRecommendationsSortByEnumValues() []ListSqlTuningAdvisorTaskRecommendationsSortByEnum
GetListSqlTuningAdvisorTaskRecommendationsSortByEnumValues Enumerates the set of values for ListSqlTuningAdvisorTaskRecommendationsSortByEnum
func GetMappingListSqlTuningAdvisorTaskRecommendationsSortByEnum(val string) (ListSqlTuningAdvisorTaskRecommendationsSortByEnum, bool)
GetMappingListSqlTuningAdvisorTaskRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum Enum with underlying type: string
type ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum
const ( ListSqlTuningAdvisorTaskRecommendationsSortOrderAsc ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum = "ASC" ListSqlTuningAdvisorTaskRecommendationsSortOrderDesc ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum = "DESC" )
func GetListSqlTuningAdvisorTaskRecommendationsSortOrderEnumValues() []ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum
GetListSqlTuningAdvisorTaskRecommendationsSortOrderEnumValues Enumerates the set of values for ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum
func GetMappingListSqlTuningAdvisorTaskRecommendationsSortOrderEnum(val string) (ListSqlTuningAdvisorTaskRecommendationsSortOrderEnum, bool)
GetMappingListSqlTuningAdvisorTaskRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTasksRequest wrapper for the ListSqlTuningAdvisorTasks operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSqlTuningAdvisorTasks.go.html to see an example of how to use ListSqlTuningAdvisorTasksRequest.
type ListSqlTuningAdvisorTasksRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The optional query parameter to filter the SQL Tuning Advisor task list by name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The optional query parameter to filter the SQL Tuning Advisor task list by status. Status ListSqlTuningAdvisorTasksStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the SQL Tuning Advisor task summary data. SortBy ListSqlTuningAdvisorTasksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder ListSqlTuningAdvisorTasksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request ListSqlTuningAdvisorTasksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlTuningAdvisorTasksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlTuningAdvisorTasksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlTuningAdvisorTasksRequest) String() string
func (request ListSqlTuningAdvisorTasksRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSqlTuningAdvisorTasksResponse wrapper for the ListSqlTuningAdvisorTasks operation
type ListSqlTuningAdvisorTasksResponse struct { // The underlying http response RawResponse *http.Response // A list of SqlTuningAdvisorTaskCollection instances SqlTuningAdvisorTaskCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListSqlTuningAdvisorTasksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlTuningAdvisorTasksResponse) String() string
ListSqlTuningAdvisorTasksSortByEnum Enum with underlying type: string
type ListSqlTuningAdvisorTasksSortByEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTasksSortByEnum
const ( ListSqlTuningAdvisorTasksSortByName ListSqlTuningAdvisorTasksSortByEnum = "NAME" ListSqlTuningAdvisorTasksSortByStartTime ListSqlTuningAdvisorTasksSortByEnum = "START_TIME" )
func GetListSqlTuningAdvisorTasksSortByEnumValues() []ListSqlTuningAdvisorTasksSortByEnum
GetListSqlTuningAdvisorTasksSortByEnumValues Enumerates the set of values for ListSqlTuningAdvisorTasksSortByEnum
func GetMappingListSqlTuningAdvisorTasksSortByEnum(val string) (ListSqlTuningAdvisorTasksSortByEnum, bool)
GetMappingListSqlTuningAdvisorTasksSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTasksSortOrderEnum Enum with underlying type: string
type ListSqlTuningAdvisorTasksSortOrderEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTasksSortOrderEnum
const ( ListSqlTuningAdvisorTasksSortOrderAsc ListSqlTuningAdvisorTasksSortOrderEnum = "ASC" ListSqlTuningAdvisorTasksSortOrderDesc ListSqlTuningAdvisorTasksSortOrderEnum = "DESC" )
func GetListSqlTuningAdvisorTasksSortOrderEnumValues() []ListSqlTuningAdvisorTasksSortOrderEnum
GetListSqlTuningAdvisorTasksSortOrderEnumValues Enumerates the set of values for ListSqlTuningAdvisorTasksSortOrderEnum
func GetMappingListSqlTuningAdvisorTasksSortOrderEnum(val string) (ListSqlTuningAdvisorTasksSortOrderEnum, bool)
GetMappingListSqlTuningAdvisorTasksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlTuningAdvisorTasksStatusEnum Enum with underlying type: string
type ListSqlTuningAdvisorTasksStatusEnum string
Set of constants representing the allowable values for ListSqlTuningAdvisorTasksStatusEnum
const ( ListSqlTuningAdvisorTasksStatusInitial ListSqlTuningAdvisorTasksStatusEnum = "INITIAL" ListSqlTuningAdvisorTasksStatusExecuting ListSqlTuningAdvisorTasksStatusEnum = "EXECUTING" ListSqlTuningAdvisorTasksStatusInterrupted ListSqlTuningAdvisorTasksStatusEnum = "INTERRUPTED" ListSqlTuningAdvisorTasksStatusCompleted ListSqlTuningAdvisorTasksStatusEnum = "COMPLETED" ListSqlTuningAdvisorTasksStatusError ListSqlTuningAdvisorTasksStatusEnum = "ERROR" )
func GetListSqlTuningAdvisorTasksStatusEnumValues() []ListSqlTuningAdvisorTasksStatusEnum
GetListSqlTuningAdvisorTasksStatusEnumValues Enumerates the set of values for ListSqlTuningAdvisorTasksStatusEnum
func GetMappingListSqlTuningAdvisorTasksStatusEnum(val string) (ListSqlTuningAdvisorTasksStatusEnum, bool)
GetMappingListSqlTuningAdvisorTasksStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListSystemPrivilegesRequest wrapper for the ListSystemPrivileges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSystemPrivileges.go.html to see an example of how to use ListSystemPrivilegesRequest.
type ListSystemPrivilegesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the user whose details are to be viewed. UserName *string `mandatory:"true" contributesTo:"path" name:"userName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘NAME’ is ascending. The ‘NAME’ sort order is case-sensitive. SortBy ListSystemPrivilegesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListSystemPrivilegesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListSystemPrivilegesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSystemPrivilegesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSystemPrivilegesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSystemPrivilegesRequest) String() string
func (request ListSystemPrivilegesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSystemPrivilegesResponse wrapper for the ListSystemPrivileges operation
type ListSystemPrivilegesResponse struct { // The underlying http response RawResponse *http.Response // A list of SystemPrivilegeCollection instances SystemPrivilegeCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListSystemPrivilegesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSystemPrivilegesResponse) String() string
ListSystemPrivilegesSortByEnum Enum with underlying type: string
type ListSystemPrivilegesSortByEnum string
Set of constants representing the allowable values for ListSystemPrivilegesSortByEnum
const ( ListSystemPrivilegesSortByName ListSystemPrivilegesSortByEnum = "NAME" )
func GetListSystemPrivilegesSortByEnumValues() []ListSystemPrivilegesSortByEnum
GetListSystemPrivilegesSortByEnumValues Enumerates the set of values for ListSystemPrivilegesSortByEnum
func GetMappingListSystemPrivilegesSortByEnum(val string) (ListSystemPrivilegesSortByEnum, bool)
GetMappingListSystemPrivilegesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSystemPrivilegesSortOrderEnum Enum with underlying type: string
type ListSystemPrivilegesSortOrderEnum string
Set of constants representing the allowable values for ListSystemPrivilegesSortOrderEnum
const ( ListSystemPrivilegesSortOrderAsc ListSystemPrivilegesSortOrderEnum = "ASC" ListSystemPrivilegesSortOrderDesc ListSystemPrivilegesSortOrderEnum = "DESC" )
func GetListSystemPrivilegesSortOrderEnumValues() []ListSystemPrivilegesSortOrderEnum
GetListSystemPrivilegesSortOrderEnumValues Enumerates the set of values for ListSystemPrivilegesSortOrderEnum
func GetMappingListSystemPrivilegesSortOrderEnum(val string) (ListSystemPrivilegesSortOrderEnum, bool)
GetMappingListSystemPrivilegesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTablespacesRequest wrapper for the ListTablespaces operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListTablespaces.go.html to see an example of how to use ListTablespacesRequest.
type ListTablespacesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListTablespacesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListTablespacesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. 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 }
func (request ListTablespacesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTablespacesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTablespacesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTablespacesRequest) String() string
func (request ListTablespacesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListTablespacesResponse wrapper for the ListTablespaces operation
type ListTablespacesResponse struct { // The underlying http response RawResponse *http.Response // A list of TablespaceCollection instances TablespaceCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListTablespacesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTablespacesResponse) String() string
ListTablespacesSortByEnum Enum with underlying type: string
type ListTablespacesSortByEnum string
Set of constants representing the allowable values for ListTablespacesSortByEnum
const ( ListTablespacesSortByTimecreated ListTablespacesSortByEnum = "TIMECREATED" ListTablespacesSortByName ListTablespacesSortByEnum = "NAME" )
func GetListTablespacesSortByEnumValues() []ListTablespacesSortByEnum
GetListTablespacesSortByEnumValues Enumerates the set of values for ListTablespacesSortByEnum
func GetMappingListTablespacesSortByEnum(val string) (ListTablespacesSortByEnum, bool)
GetMappingListTablespacesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTablespacesSortOrderEnum Enum with underlying type: string
type ListTablespacesSortOrderEnum string
Set of constants representing the allowable values for ListTablespacesSortOrderEnum
const ( ListTablespacesSortOrderAsc ListTablespacesSortOrderEnum = "ASC" ListTablespacesSortOrderDesc ListTablespacesSortOrderEnum = "DESC" )
func GetListTablespacesSortOrderEnumValues() []ListTablespacesSortOrderEnum
GetListTablespacesSortOrderEnumValues Enumerates the set of values for ListTablespacesSortOrderEnum
func GetMappingListTablespacesSortOrderEnum(val string) (ListTablespacesSortOrderEnum, bool)
GetMappingListTablespacesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListUsersRequest wrapper for the ListUsers operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListUsers.go.html to see an example of how to use ListUsersRequest.
type ListUsersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy ListUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListUsersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListUsersRequest) String() string
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
ListUsersResponse wrapper for the ListUsers operation
type ListUsersResponse struct { // The underlying http response RawResponse *http.Response // A list of UserCollection instances UserCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListUsersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListUsersResponse) String() string
ListUsersSortByEnum Enum with underlying type: string
type ListUsersSortByEnum string
Set of constants representing the allowable values for ListUsersSortByEnum
const ( ListUsersSortByTimecreated ListUsersSortByEnum = "TIMECREATED" ListUsersSortByName ListUsersSortByEnum = "NAME" )
func GetListUsersSortByEnumValues() []ListUsersSortByEnum
GetListUsersSortByEnumValues Enumerates the set of values for ListUsersSortByEnum
func GetMappingListUsersSortByEnum(val string) (ListUsersSortByEnum, bool)
GetMappingListUsersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListUsersSortOrderEnum Enum with underlying type: string
type ListUsersSortOrderEnum string
Set of constants representing the allowable values for ListUsersSortOrderEnum
const ( ListUsersSortOrderAsc ListUsersSortOrderEnum = "ASC" ListUsersSortOrderDesc ListUsersSortOrderEnum = "DESC" )
func GetListUsersSortOrderEnumValues() []ListUsersSortOrderEnum
GetListUsersSortOrderEnumValues Enumerates the set of values for ListUsersSortOrderEnum
func GetMappingListUsersSortOrderEnum(val string) (ListUsersSortOrderEnum, bool)
GetMappingListUsersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided and the default order for timeAccepted is descending. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided and the default order for timeAccepted is descending. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter that returns the resources whose status matches the given WorkRequestStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided and the default order for timeAccepted is descending. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. 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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedDatabase The details of a Managed Database.
type ManagedDatabase struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, // Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"true" json:"isCluster"` // The date and time the Managed Database was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The infrastructure used to deploy the Oracle Database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // The management option used when enabling Database Management. ManagementOption ManagementOptionEnum `mandatory:"false" json:"managementOption,omitempty"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database // if Managed Database is a Pluggable Database. ParentContainerId *string `mandatory:"false" json:"parentContainerId"` // A list of Managed Database Groups that the Managed Database belongs to. ManagedDatabaseGroups []ParentGroup `mandatory:"false" json:"managedDatabaseGroups"` // The status of the Oracle Database. Indicates whether the status of the database // is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus DatabaseStatusEnum `mandatory:"false" json:"databaseStatus,omitempty"` // The name of the parent Container Database. ParentContainerName *string `mandatory:"false" json:"parentContainerName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // in which the parent Container Database resides, if the Managed Database // is a Pluggable Database (PDB). ParentContainerCompartmentId *string `mandatory:"false" json:"parentContainerCompartmentId"` // The number of Oracle Real Application Clusters (Oracle RAC) database instances. InstanceCount *int `mandatory:"false" json:"instanceCount"` // The details of the Oracle Real Application Clusters (Oracle RAC) database instances. InstanceDetails []InstanceDetails `mandatory:"false" json:"instanceDetails"` // The number of PDBs in the Container Database. PdbCount *int `mandatory:"false" json:"pdbCount"` // The status of the PDB in the Container Database. PdbStatus []PdbStatusDetails `mandatory:"false" json:"pdbStatus"` // The additional details specific to a type of database defined in `{"key": "value"}` format. // Example: `{"bar-key": "value"}` AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"` }
func (m ManagedDatabase) String() string
func (m ManagedDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedDatabaseCollection A collection of Managed Database objects.
type ManagedDatabaseCollection struct { // An array of ManagedDatabaseSummary resources. Items []ManagedDatabaseSummary `mandatory:"true" json:"items"` }
func (m ManagedDatabaseCollection) String() string
func (m ManagedDatabaseCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedDatabaseGroup The details of a Managed Database Group.
type ManagedDatabaseGroup struct { // The name of the Managed Database Group. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A list of Managed Databases in the Managed Database Group. ManagedDatabases []ChildDatabase `mandatory:"true" json:"managedDatabases"` // The current lifecycle state of the Managed Database Group. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The date and time the Managed Database Group was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` // The date and time the Managed Database Group was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
func (m ManagedDatabaseGroup) String() string
func (m ManagedDatabaseGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedDatabaseGroupCollection A collection of Managed Database Group resources.
type ManagedDatabaseGroupCollection struct { // An array of ManagedDatabaseGroupSummary resources. Items []ManagedDatabaseGroupSummary `mandatory:"true" json:"items"` }
func (m ManagedDatabaseGroupCollection) String() string
func (m ManagedDatabaseGroupCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedDatabaseGroupSummary A group of Managed Databases that will be managed together.
type ManagedDatabaseGroupSummary struct { // The name of the Managed Database Group. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The number of Managed Databases in the Managed Database Group. ManagedDatabaseCount *int `mandatory:"true" json:"managedDatabaseCount"` // The current lifecycle state of the Managed Database Group. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // The date and time the Managed Database Group was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` }
func (m ManagedDatabaseGroupSummary) String() string
func (m ManagedDatabaseGroupSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagedDatabaseSummary A summary of the Managed Database.
type ManagedDatabaseSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the Managed Database. Name *string `mandatory:"true" json:"name"` // The type of Oracle Database installation. DatabaseType DatabaseTypeEnum `mandatory:"true" json:"databaseType"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, // Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. DatabaseSubType DatabaseSubTypeEnum `mandatory:"true" json:"databaseSubType"` // Indicates whether the Oracle Database is part of a cluster. IsCluster *bool `mandatory:"true" json:"isCluster"` // The date and time the Managed Database was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The infrastructure used to deploy the Oracle Database. DeploymentType DeploymentTypeEnum `mandatory:"false" json:"deploymentType,omitempty"` // The management option used when enabling Database Management. ManagementOption ManagementOptionEnum `mandatory:"false" json:"managementOption,omitempty"` // The workload type of the Autonomous Database. WorkloadType WorkloadTypeEnum `mandatory:"false" json:"workloadType,omitempty"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the parent Container Database // if the Managed Database is a Pluggable Database. ParentContainerId *string `mandatory:"false" json:"parentContainerId"` }
func (m ManagedDatabaseSummary) String() string
func (m ManagedDatabaseSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManagementOptionEnum Enum with underlying type: string
type ManagementOptionEnum string
Set of constants representing the allowable values for ManagementOptionEnum
const ( ManagementOptionBasic ManagementOptionEnum = "BASIC" ManagementOptionAdvanced ManagementOptionEnum = "ADVANCED" )
func GetManagementOptionEnumValues() []ManagementOptionEnum
GetManagementOptionEnumValues Enumerates the set of values for ManagementOptionEnum
func GetMappingManagementOptionEnum(val string) (ManagementOptionEnum, bool)
GetMappingManagementOptionEnum performs case Insensitive comparison on enum value and return the desired enum
MemoryAggregateMetrics The memory aggregate metric details.
type MemoryAggregateMetrics struct { // A list of the memory usage metrics grouped by memorypool for a specific database. MemoryUsage []MetricDataPoint `mandatory:"false" json:"memoryUsage"` }
func (m MemoryAggregateMetrics) String() string
func (m MemoryAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MetricDataPoint The metric values with dimension details.
type MetricDataPoint struct { // The value of the metric. Value *float64 `mandatory:"false" json:"value"` // The unit of the metric value. Unit *string `mandatory:"false" json:"unit"` // The dimensions of the metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m MetricDataPoint) String() string
func (m MetricDataPoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MetricDimensionDefinition The metric dimension details.
type MetricDimensionDefinition struct { // The name of the dimension. DimensionName *string `mandatory:"false" json:"dimensionName"` // The value of the dimension. DimensionValue *string `mandatory:"false" json:"dimensionValue"` }
func (m MetricDimensionDefinition) String() string
func (m MetricDimensionDefinition) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectPrivilegeCollection A collection of object privileges granted to the current user.
type ObjectPrivilegeCollection struct { // An array of object privileges. Items []ObjectPrivilegeSummary `mandatory:"true" json:"items"` }
func (m ObjectPrivilegeCollection) String() string
func (m ObjectPrivilegeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectPrivilegeSummary A summary of object privileges.
type ObjectPrivilegeSummary struct { // The name of the privilege on the object. Name *string `mandatory:"false" json:"name"` // The type of object. SchemaType *string `mandatory:"false" json:"schemaType"` // The owner of the object. Owner *string `mandatory:"false" json:"owner"` // The name of the user who granted the object privilege. Grantor *string `mandatory:"false" json:"grantor"` // Indicates whether the privilege is granted with the HIERARCHY OPTION (YES) or not (NO). Hierarchy ObjectPrivilegeSummaryHierarchyEnum `mandatory:"false" json:"hierarchy,omitempty"` // The name of the object. The object can be any object, including tables, packages, indexes, sequences, and so on. Object *string `mandatory:"false" json:"object"` // Indicates whether the privilege is granted with the GRANT OPTION (YES) or not (NO). GrantOption ObjectPrivilegeSummaryGrantOptionEnum `mandatory:"false" json:"grantOption,omitempty"` // Indicates how the object privilege was granted. Possible values: // YES if the role is granted commonly (CONTAINER=ALL is used) // NO if the role is granted locally (CONTAINER=ALL is not used) Common ObjectPrivilegeSummaryCommonEnum `mandatory:"false" json:"common,omitempty"` // Indicates whether the granted privilege is inherited from another container (YES) or not (NO). Inherited ObjectPrivilegeSummaryInheritedEnum `mandatory:"false" json:"inherited,omitempty"` }
func (m ObjectPrivilegeSummary) String() string
func (m ObjectPrivilegeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectPrivilegeSummaryCommonEnum Enum with underlying type: string
type ObjectPrivilegeSummaryCommonEnum string
Set of constants representing the allowable values for ObjectPrivilegeSummaryCommonEnum
const ( ObjectPrivilegeSummaryCommonYes ObjectPrivilegeSummaryCommonEnum = "YES" ObjectPrivilegeSummaryCommonNo ObjectPrivilegeSummaryCommonEnum = "NO" )
func GetMappingObjectPrivilegeSummaryCommonEnum(val string) (ObjectPrivilegeSummaryCommonEnum, bool)
GetMappingObjectPrivilegeSummaryCommonEnum performs case Insensitive comparison on enum value and return the desired enum
func GetObjectPrivilegeSummaryCommonEnumValues() []ObjectPrivilegeSummaryCommonEnum
GetObjectPrivilegeSummaryCommonEnumValues Enumerates the set of values for ObjectPrivilegeSummaryCommonEnum
ObjectPrivilegeSummaryGrantOptionEnum Enum with underlying type: string
type ObjectPrivilegeSummaryGrantOptionEnum string
Set of constants representing the allowable values for ObjectPrivilegeSummaryGrantOptionEnum
const ( ObjectPrivilegeSummaryGrantOptionYes ObjectPrivilegeSummaryGrantOptionEnum = "YES" ObjectPrivilegeSummaryGrantOptionNo ObjectPrivilegeSummaryGrantOptionEnum = "NO" )
func GetMappingObjectPrivilegeSummaryGrantOptionEnum(val string) (ObjectPrivilegeSummaryGrantOptionEnum, bool)
GetMappingObjectPrivilegeSummaryGrantOptionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetObjectPrivilegeSummaryGrantOptionEnumValues() []ObjectPrivilegeSummaryGrantOptionEnum
GetObjectPrivilegeSummaryGrantOptionEnumValues Enumerates the set of values for ObjectPrivilegeSummaryGrantOptionEnum
ObjectPrivilegeSummaryHierarchyEnum Enum with underlying type: string
type ObjectPrivilegeSummaryHierarchyEnum string
Set of constants representing the allowable values for ObjectPrivilegeSummaryHierarchyEnum
const ( ObjectPrivilegeSummaryHierarchyYes ObjectPrivilegeSummaryHierarchyEnum = "YES" ObjectPrivilegeSummaryHierarchyNo ObjectPrivilegeSummaryHierarchyEnum = "NO" )
func GetMappingObjectPrivilegeSummaryHierarchyEnum(val string) (ObjectPrivilegeSummaryHierarchyEnum, bool)
GetMappingObjectPrivilegeSummaryHierarchyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetObjectPrivilegeSummaryHierarchyEnumValues() []ObjectPrivilegeSummaryHierarchyEnum
GetObjectPrivilegeSummaryHierarchyEnumValues Enumerates the set of values for ObjectPrivilegeSummaryHierarchyEnum
ObjectPrivilegeSummaryInheritedEnum Enum with underlying type: string
type ObjectPrivilegeSummaryInheritedEnum string
Set of constants representing the allowable values for ObjectPrivilegeSummaryInheritedEnum
const ( ObjectPrivilegeSummaryInheritedYes ObjectPrivilegeSummaryInheritedEnum = "YES" ObjectPrivilegeSummaryInheritedNo ObjectPrivilegeSummaryInheritedEnum = "NO" )
func GetMappingObjectPrivilegeSummaryInheritedEnum(val string) (ObjectPrivilegeSummaryInheritedEnum, bool)
GetMappingObjectPrivilegeSummaryInheritedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetObjectPrivilegeSummaryInheritedEnumValues() []ObjectPrivilegeSummaryInheritedEnum
GetObjectPrivilegeSummaryInheritedEnumValues Enumerates the set of values for ObjectPrivilegeSummaryInheritedEnum
ObjectStorageJobExecutionResultDetails The details of the job execution result stored in Object Storage. The job execution result could be accessed using the Object Storage API.
type ObjectStorageJobExecutionResultDetails struct { // The Object Storage namespace used for job execution result storage. NamespaceName *string `mandatory:"false" json:"namespaceName"` // The name of the bucket used for job execution result storage. BucketName *string `mandatory:"false" json:"bucketName"` // The name of the object containing the job execution result. ObjectName *string `mandatory:"false" json:"objectName"` // The number of rows returned in the result. Only applicable for QUERY SqlType. RowCount *int `mandatory:"false" json:"rowCount"` }
func (m ObjectStorageJobExecutionResultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageJobExecutionResultDetails) String() string
func (m ObjectStorageJobExecutionResultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ObjectStorageJobExecutionResultLocation The details about Object Storage job execution result location type.
type ObjectStorageJobExecutionResultLocation struct { // The Object Storage namespace used for job execution result storage. NamespaceName *string `mandatory:"false" json:"namespaceName"` // The name of the bucket used for job execution result storage. BucketName *string `mandatory:"false" json:"bucketName"` }
func (m ObjectStorageJobExecutionResultLocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ObjectStorageJobExecutionResultLocation) String() string
func (m ObjectStorageJobExecutionResultLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ParameterScopeEnum Enum with underlying type: string
type ParameterScopeEnum string
Set of constants representing the allowable values for ParameterScopeEnum
const ( ParameterScopeMemory ParameterScopeEnum = "MEMORY" ParameterScopeSpfile ParameterScopeEnum = "SPFILE" ParameterScopeBoth ParameterScopeEnum = "BOTH" )
func GetMappingParameterScopeEnum(val string) (ParameterScopeEnum, bool)
GetMappingParameterScopeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetParameterScopeEnumValues() []ParameterScopeEnum
GetParameterScopeEnumValues Enumerates the set of values for ParameterScopeEnum
ParentGroup The parent Managed Database Group of a Managed Database.
type ParentGroup struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. Id *string `mandatory:"true" json:"id"` // The name of the Managed Database Group. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ParentGroup) String() string
func (m ParentGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PdbMetrics The summary of Pluggable Databases (PDBs) and their resource usage metrics, within a specific Container Database (CDB).
type PdbMetrics struct { // A summary of PDBs and their resource usage metrics such as CPU, User I/O, and Storage, within a specific CDB. DatabaseUsageMetrics []DatabaseUsageMetrics `mandatory:"true" json:"databaseUsageMetrics"` }
func (m PdbMetrics) String() string
func (m PdbMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PdbStatusDetails The number and status of PDBs in a Container Database.
type PdbStatusDetails struct { // The status of the PDBs with this count. Status DatabaseStatusEnum `mandatory:"false" json:"status,omitempty"` // The number of PDBs with this status. Count *int `mandatory:"false" json:"count"` }
func (m PdbStatusDetails) String() string
func (m PdbStatusDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProxiedForUserCollection A collection of users on whose behalf the current user acts as proxy.
type ProxiedForUserCollection struct { // An array of user resources. Items []ProxiedForUserSummary `mandatory:"true" json:"items"` }
func (m ProxiedForUserCollection) String() string
func (m ProxiedForUserCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProxiedForUserSummary A summary of users on whose behalf the current user acts as proxy.
type ProxiedForUserSummary struct { // The name of a proxy user or the name of the client user. Name *string `mandatory:"false" json:"name"` // Indicates whether the proxy is required to supply the client credentials (YES) or not (NO). Authentication ProxiedForUserSummaryAuthenticationEnum `mandatory:"false" json:"authentication,omitempty"` // The flags associated with the proxy/client pair. Flags ProxiedForUserSummaryFlagsEnum `mandatory:"false" json:"flags,omitempty"` }
func (m ProxiedForUserSummary) String() string
func (m ProxiedForUserSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProxiedForUserSummaryAuthenticationEnum Enum with underlying type: string
type ProxiedForUserSummaryAuthenticationEnum string
Set of constants representing the allowable values for ProxiedForUserSummaryAuthenticationEnum
const ( ProxiedForUserSummaryAuthenticationYes ProxiedForUserSummaryAuthenticationEnum = "YES" ProxiedForUserSummaryAuthenticationNo ProxiedForUserSummaryAuthenticationEnum = "NO" )
func GetMappingProxiedForUserSummaryAuthenticationEnum(val string) (ProxiedForUserSummaryAuthenticationEnum, bool)
GetMappingProxiedForUserSummaryAuthenticationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProxiedForUserSummaryAuthenticationEnumValues() []ProxiedForUserSummaryAuthenticationEnum
GetProxiedForUserSummaryAuthenticationEnumValues Enumerates the set of values for ProxiedForUserSummaryAuthenticationEnum
ProxiedForUserSummaryFlagsEnum Enum with underlying type: string
type ProxiedForUserSummaryFlagsEnum string
Set of constants representing the allowable values for ProxiedForUserSummaryFlagsEnum
const ( ProxiedForUserSummaryFlagsProxyMayActivateAllClientRoles ProxiedForUserSummaryFlagsEnum = "PROXY_MAY_ACTIVATE_ALL_CLIENT_ROLES" ProxiedForUserSummaryFlagsNoClientRolesMayBeActivated ProxiedForUserSummaryFlagsEnum = "NO_CLIENT_ROLES_MAY_BE_ACTIVATED" ProxiedForUserSummaryFlagsProxyMayActivateRole ProxiedForUserSummaryFlagsEnum = "PROXY_MAY_ACTIVATE_ROLE" ProxiedForUserSummaryFlagsProxyMayNotActivateRole ProxiedForUserSummaryFlagsEnum = "PROXY_MAY_NOT_ACTIVATE_ROLE" )
func GetMappingProxiedForUserSummaryFlagsEnum(val string) (ProxiedForUserSummaryFlagsEnum, bool)
GetMappingProxiedForUserSummaryFlagsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProxiedForUserSummaryFlagsEnumValues() []ProxiedForUserSummaryFlagsEnum
GetProxiedForUserSummaryFlagsEnumValues Enumerates the set of values for ProxiedForUserSummaryFlagsEnum
ProxyUserCollection A collection of proxy users for the current user.
type ProxyUserCollection struct { // An array of user resources. Items []ProxyUserSummary `mandatory:"true" json:"items"` }
func (m ProxyUserCollection) String() string
func (m ProxyUserCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProxyUserSummary A summary of the proxy user.
type ProxyUserSummary struct { // The name of a proxy user or the name of the client user. Name *string `mandatory:"false" json:"name"` // Indicates whether the proxy is required to supply the client credentials (YES) or not (NO). Authentication ProxyUserSummaryAuthenticationEnum `mandatory:"false" json:"authentication,omitempty"` // The flags associated with the proxy/client pair. Flags ProxyUserSummaryFlagsEnum `mandatory:"false" json:"flags,omitempty"` }
func (m ProxyUserSummary) String() string
func (m ProxyUserSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProxyUserSummaryAuthenticationEnum Enum with underlying type: string
type ProxyUserSummaryAuthenticationEnum string
Set of constants representing the allowable values for ProxyUserSummaryAuthenticationEnum
const ( ProxyUserSummaryAuthenticationYes ProxyUserSummaryAuthenticationEnum = "YES" ProxyUserSummaryAuthenticationNo ProxyUserSummaryAuthenticationEnum = "NO" )
func GetMappingProxyUserSummaryAuthenticationEnum(val string) (ProxyUserSummaryAuthenticationEnum, bool)
GetMappingProxyUserSummaryAuthenticationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProxyUserSummaryAuthenticationEnumValues() []ProxyUserSummaryAuthenticationEnum
GetProxyUserSummaryAuthenticationEnumValues Enumerates the set of values for ProxyUserSummaryAuthenticationEnum
ProxyUserSummaryFlagsEnum Enum with underlying type: string
type ProxyUserSummaryFlagsEnum string
Set of constants representing the allowable values for ProxyUserSummaryFlagsEnum
const ( ProxyUserSummaryFlagsProxyMayActivateAllClientRoles ProxyUserSummaryFlagsEnum = "PROXY_MAY_ACTIVATE_ALL_CLIENT_ROLES" ProxyUserSummaryFlagsNoClientRolesMayBeActivated ProxyUserSummaryFlagsEnum = "NO_CLIENT_ROLES_MAY_BE_ACTIVATED" ProxyUserSummaryFlagsProxyMayActivateRole ProxyUserSummaryFlagsEnum = "PROXY_MAY_ACTIVATE_ROLE" ProxyUserSummaryFlagsProxyMayNotActivateRole ProxyUserSummaryFlagsEnum = "PROXY_MAY_NOT_ACTIVATE_ROLE" )
func GetMappingProxyUserSummaryFlagsEnum(val string) (ProxyUserSummaryFlagsEnum, bool)
GetMappingProxyUserSummaryFlagsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProxyUserSummaryFlagsEnumValues() []ProxyUserSummaryFlagsEnum
GetProxyUserSummaryFlagsEnumValues Enumerates the set of values for ProxyUserSummaryFlagsEnum
RemoveDataFileDetails The details required to remove a data file or temp file from the tablespace.
type RemoveDataFileDetails struct { CredentialDetails TablespaceAdminCredentialDetails `mandatory:"true" json:"credentialDetails"` // Specifies whether the file is a data file or temp file. FileType RemoveDataFileDetailsFileTypeEnum `mandatory:"true" json:"fileType"` // Name of the data file or temp file to be removed from the tablespace. DataFile *string `mandatory:"true" json:"dataFile"` }
func (m RemoveDataFileDetails) String() string
func (m *RemoveDataFileDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m RemoveDataFileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDataFileDetailsFileTypeEnum Enum with underlying type: string
type RemoveDataFileDetailsFileTypeEnum string
Set of constants representing the allowable values for RemoveDataFileDetailsFileTypeEnum
const ( RemoveDataFileDetailsFileTypeDatafile RemoveDataFileDetailsFileTypeEnum = "DATAFILE" RemoveDataFileDetailsFileTypeTempfile RemoveDataFileDetailsFileTypeEnum = "TEMPFILE" )
func GetMappingRemoveDataFileDetailsFileTypeEnum(val string) (RemoveDataFileDetailsFileTypeEnum, bool)
GetMappingRemoveDataFileDetailsFileTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemoveDataFileDetailsFileTypeEnumValues() []RemoveDataFileDetailsFileTypeEnum
GetRemoveDataFileDetailsFileTypeEnumValues Enumerates the set of values for RemoveDataFileDetailsFileTypeEnum
RemoveDataFileRequest wrapper for the RemoveDataFile operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/RemoveDataFile.go.html to see an example of how to use RemoveDataFileRequest.
type RemoveDataFileRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the tablespace. TablespaceName *string `mandatory:"true" contributesTo:"path" name:"tablespaceName"` // The details required to remove a data file or temp file from the tablespace. RemoveDataFileDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request RemoveDataFileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveDataFileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveDataFileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveDataFileRequest) String() string
func (request RemoveDataFileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveDataFileResponse wrapper for the RemoveDataFile operation
type RemoveDataFileResponse struct { // The underlying http response RawResponse *http.Response // The TablespaceAdminStatus instance TablespaceAdminStatus `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"` }
func (response RemoveDataFileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveDataFileResponse) String() string
RemoveManagedDatabaseFromManagedDatabaseGroupDetails The Managed Database details required to remove it from a Managed Database Group.
type RemoveManagedDatabaseFromManagedDatabaseGroupDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" json:"managedDatabaseId"` }
func (m RemoveManagedDatabaseFromManagedDatabaseGroupDetails) String() string
func (m RemoveManagedDatabaseFromManagedDatabaseGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveManagedDatabaseFromManagedDatabaseGroupRequest wrapper for the RemoveManagedDatabaseFromManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.go.html to see an example of how to use RemoveManagedDatabaseFromManagedDatabaseGroupRequest.
type RemoveManagedDatabaseFromManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The Managed Database details required to remove the Managed Database from a Managed Database Group. RemoveManagedDatabaseFromManagedDatabaseGroupDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) String() string
func (request RemoveManagedDatabaseFromManagedDatabaseGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RemoveManagedDatabaseFromManagedDatabaseGroupResponse wrapper for the RemoveManagedDatabaseFromManagedDatabaseGroup operation
type RemoveManagedDatabaseFromManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RemoveManagedDatabaseFromManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveManagedDatabaseFromManagedDatabaseGroupResponse) String() string
ResetDatabaseParametersDetails The details required to reset database parameter values.
type ResetDatabaseParametersDetails struct { Credentials *DatabaseCredentials `mandatory:"true" json:"credentials"` // The clause used to specify when the parameter change takes effect. // Use `MEMORY` to make the change in memory and ensure that it takes // effect immediately. Use `SPFILE` to make the change in the server // parameter file. The change takes effect when the database is next // shut down and started up again. Use `BOTH` to make the change in // memory and in the server parameter file. The change takes effect // immediately and persists after the database is shut down and // started up again. Scope ParameterScopeEnum `mandatory:"true" json:"scope"` // A list of database parameter names. Parameters []string `mandatory:"true" json:"parameters"` }
func (m ResetDatabaseParametersDetails) String() string
func (m ResetDatabaseParametersDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResetDatabaseParametersRequest wrapper for the ResetDatabaseParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ResetDatabaseParameters.go.html to see an example of how to use ResetDatabaseParametersRequest.
type ResetDatabaseParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The details required to reset database parameters. ResetDatabaseParametersDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request ResetDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ResetDatabaseParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ResetDatabaseParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ResetDatabaseParametersRequest) String() string
func (request ResetDatabaseParametersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResetDatabaseParametersResponse wrapper for the ResetDatabaseParameters operation
type ResetDatabaseParametersResponse struct { // The underlying http response RawResponse *http.Response // The UpdateDatabaseParametersResult instance UpdateDatabaseParametersResult `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"` }
func (response ResetDatabaseParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ResetDatabaseParametersResponse) String() string
ResizeDataFileDetails The details required to resize a data file or temp file within the tablespace.
type ResizeDataFileDetails struct { CredentialDetails TablespaceAdminCredentialDetails `mandatory:"true" json:"credentialDetails"` // Specifies whether the file is a data file or temp file. FileType ResizeDataFileDetailsFileTypeEnum `mandatory:"true" json:"fileType"` // Name of the data file or temp file to be resized. DataFile *string `mandatory:"true" json:"dataFile"` // The new size of the data file or temp file. FileSize *TablespaceStorageSize `mandatory:"false" json:"fileSize"` // Specifies whether the data file or temp file can be extended automatically. IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"` // The size of the next increment of disk space to be allocated automatically when more extents are required. AutoExtendNextSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendNextSize"` // The maximum disk space allowed for automatic extension of the data files or temp files. AutoExtendMaxSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendMaxSize"` // Specifies whether the disk space of the data file or temp file can be limited. IsMaxSizeUnlimited *bool `mandatory:"false" json:"isMaxSizeUnlimited"` }
func (m ResizeDataFileDetails) String() string
func (m *ResizeDataFileDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ResizeDataFileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResizeDataFileDetailsFileTypeEnum Enum with underlying type: string
type ResizeDataFileDetailsFileTypeEnum string
Set of constants representing the allowable values for ResizeDataFileDetailsFileTypeEnum
const ( ResizeDataFileDetailsFileTypeDatafile ResizeDataFileDetailsFileTypeEnum = "DATAFILE" ResizeDataFileDetailsFileTypeTempfile ResizeDataFileDetailsFileTypeEnum = "TEMPFILE" )
func GetMappingResizeDataFileDetailsFileTypeEnum(val string) (ResizeDataFileDetailsFileTypeEnum, bool)
GetMappingResizeDataFileDetailsFileTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResizeDataFileDetailsFileTypeEnumValues() []ResizeDataFileDetailsFileTypeEnum
GetResizeDataFileDetailsFileTypeEnumValues Enumerates the set of values for ResizeDataFileDetailsFileTypeEnum
ResizeDataFileRequest wrapper for the ResizeDataFile operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ResizeDataFile.go.html to see an example of how to use ResizeDataFileRequest.
type ResizeDataFileRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the tablespace. TablespaceName *string `mandatory:"true" contributesTo:"path" name:"tablespaceName"` // The details required to resize a data file or temp file within the tablespace. ResizeDataFileDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request ResizeDataFileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ResizeDataFileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ResizeDataFileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ResizeDataFileRequest) String() string
func (request ResizeDataFileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResizeDataFileResponse wrapper for the ResizeDataFile operation
type ResizeDataFileResponse struct { // The underlying http response RawResponse *http.Response // The TablespaceAdminStatus instance TablespaceAdminStatus `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"` }
func (response ResizeDataFileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ResizeDataFileResponse) String() string
RoleCollection A collection of roles granted to the current User.
type RoleCollection struct { // An array of roles. Items []RoleSummary `mandatory:"true" json:"items"` }
func (m RoleCollection) String() string
func (m RoleCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RoleSummary A summary of each role.
type RoleSummary struct { // The name of the role granted to the user. Name *string `mandatory:"false" json:"name"` // Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO). AdminOption RoleSummaryAdminOptionEnum `mandatory:"false" json:"adminOption,omitempty"` // Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO). DelegateOption RoleSummaryDelegateOptionEnum `mandatory:"false" json:"delegateOption,omitempty"` // Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO). DefaultRole RoleSummaryDefaultRoleEnum `mandatory:"false" json:"defaultRole,omitempty"` // Indicates how the role was granted. Possible values: // YES if the role is granted commonly (CONTAINER=ALL is used) // NO if the role is granted locally (CONTAINER=ALL is not used) Common RoleSummaryCommonEnum `mandatory:"false" json:"common,omitempty"` // Indicates whether the granted role is inherited from another container (YES) or not (NO). Inherited RoleSummaryInheritedEnum `mandatory:"false" json:"inherited,omitempty"` }
func (m RoleSummary) String() string
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
RoleSummaryAdminOptionEnum Enum with underlying type: string
type RoleSummaryAdminOptionEnum string
Set of constants representing the allowable values for RoleSummaryAdminOptionEnum
const ( RoleSummaryAdminOptionYes RoleSummaryAdminOptionEnum = "YES" RoleSummaryAdminOptionNo RoleSummaryAdminOptionEnum = "NO" )
func GetMappingRoleSummaryAdminOptionEnum(val string) (RoleSummaryAdminOptionEnum, bool)
GetMappingRoleSummaryAdminOptionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRoleSummaryAdminOptionEnumValues() []RoleSummaryAdminOptionEnum
GetRoleSummaryAdminOptionEnumValues Enumerates the set of values for RoleSummaryAdminOptionEnum
RoleSummaryCommonEnum Enum with underlying type: string
type RoleSummaryCommonEnum string
Set of constants representing the allowable values for RoleSummaryCommonEnum
const ( RoleSummaryCommonYes RoleSummaryCommonEnum = "YES" RoleSummaryCommonNo RoleSummaryCommonEnum = "NO" )
func GetMappingRoleSummaryCommonEnum(val string) (RoleSummaryCommonEnum, bool)
GetMappingRoleSummaryCommonEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRoleSummaryCommonEnumValues() []RoleSummaryCommonEnum
GetRoleSummaryCommonEnumValues Enumerates the set of values for RoleSummaryCommonEnum
RoleSummaryDefaultRoleEnum Enum with underlying type: string
type RoleSummaryDefaultRoleEnum string
Set of constants representing the allowable values for RoleSummaryDefaultRoleEnum
const ( RoleSummaryDefaultRoleYes RoleSummaryDefaultRoleEnum = "YES" RoleSummaryDefaultRoleNo RoleSummaryDefaultRoleEnum = "NO" )
func GetMappingRoleSummaryDefaultRoleEnum(val string) (RoleSummaryDefaultRoleEnum, bool)
GetMappingRoleSummaryDefaultRoleEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRoleSummaryDefaultRoleEnumValues() []RoleSummaryDefaultRoleEnum
GetRoleSummaryDefaultRoleEnumValues Enumerates the set of values for RoleSummaryDefaultRoleEnum
RoleSummaryDelegateOptionEnum Enum with underlying type: string
type RoleSummaryDelegateOptionEnum string
Set of constants representing the allowable values for RoleSummaryDelegateOptionEnum
const ( RoleSummaryDelegateOptionYes RoleSummaryDelegateOptionEnum = "YES" RoleSummaryDelegateOptionNo RoleSummaryDelegateOptionEnum = "NO" )
func GetMappingRoleSummaryDelegateOptionEnum(val string) (RoleSummaryDelegateOptionEnum, bool)
GetMappingRoleSummaryDelegateOptionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRoleSummaryDelegateOptionEnumValues() []RoleSummaryDelegateOptionEnum
GetRoleSummaryDelegateOptionEnumValues Enumerates the set of values for RoleSummaryDelegateOptionEnum
RoleSummaryInheritedEnum Enum with underlying type: string
type RoleSummaryInheritedEnum string
Set of constants representing the allowable values for RoleSummaryInheritedEnum
const ( RoleSummaryInheritedYes RoleSummaryInheritedEnum = "YES" RoleSummaryInheritedNo RoleSummaryInheritedEnum = "NO" )
func GetMappingRoleSummaryInheritedEnum(val string) (RoleSummaryInheritedEnum, bool)
GetMappingRoleSummaryInheritedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRoleSummaryInheritedEnumValues() []RoleSummaryInheritedEnum
GetRoleSummaryInheritedEnumValues Enumerates the set of values for RoleSummaryInheritedEnum
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
SqlJob The details of the SQL job.
type SqlJob struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the job. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the job resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the job. Name *string `mandatory:"true" json:"name"` // The date and time when the job was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time when the job was last updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The description of the job. Description *string `mandatory:"false" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group where the job has to be executed. ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database where the job has to be executed. ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"` // The details of the Managed Databases where the job has to be executed. ManagedDatabasesDetails []JobDatabase `mandatory:"false" json:"managedDatabasesDetails"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"` ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"` // The error message that is returned if the job submission fails. Null is returned in all other scenarios. SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"` // The SQL text to be executed in the job. This is a mandatory field for the EXECUTE_SQL operationType. SqlText *string `mandatory:"false" json:"sqlText"` // The database user name used to execute the SQL job. If the job is being executed on a Managed Database Group, // then the user name should exist on all the databases in the group with the same password. UserName *string `mandatory:"false" json:"userName"` // The type of SQL. This is a mandatory field for the EXECUTE_SQL operationType. SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"` // The SQL operation type. OperationType SqlJobOperationTypeEnum `mandatory:"true" json:"operationType"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"` // The subtype of the Oracle Database where the job has to be executed. Applicable only when managedDatabaseGroupId is provided. DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"` // The schedule type of the job. ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // The lifecycle state of the job. LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
func (m SqlJob) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SqlJob) GetDatabaseSubType() DatabaseSubTypeEnum
GetDatabaseSubType returns DatabaseSubType
func (m SqlJob) GetDescription() *string
GetDescription returns Description
func (m SqlJob) GetId() *string
GetId returns Id
func (m SqlJob) GetLifecycleState() JobLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SqlJob) GetManagedDatabaseGroupId() *string
GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
func (m SqlJob) GetManagedDatabaseId() *string
GetManagedDatabaseId returns ManagedDatabaseId
func (m SqlJob) GetManagedDatabasesDetails() []JobDatabase
GetManagedDatabasesDetails returns ManagedDatabasesDetails
func (m SqlJob) GetName() *string
GetName returns Name
func (m SqlJob) GetResultLocation() JobExecutionResultLocation
GetResultLocation returns ResultLocation
func (m SqlJob) GetScheduleDetails() *JobScheduleDetails
GetScheduleDetails returns ScheduleDetails
func (m SqlJob) GetScheduleType() JobScheduleTypeEnum
GetScheduleType returns ScheduleType
func (m SqlJob) GetSubmissionErrorMessage() *string
GetSubmissionErrorMessage returns SubmissionErrorMessage
func (m SqlJob) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SqlJob) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SqlJob) GetTimeout() *string
GetTimeout returns Timeout
func (m SqlJob) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SqlJob) String() string
func (m *SqlJob) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m SqlJob) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlJobOperationTypeEnum Enum with underlying type: string
type SqlJobOperationTypeEnum string
Set of constants representing the allowable values for SqlJobOperationTypeEnum
const ( SqlJobOperationTypeExecuteSql SqlJobOperationTypeEnum = "EXECUTE_SQL" )
func GetMappingSqlJobOperationTypeEnum(val string) (SqlJobOperationTypeEnum, bool)
GetMappingSqlJobOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlJobOperationTypeEnumValues() []SqlJobOperationTypeEnum
GetSqlJobOperationTypeEnumValues Enumerates the set of values for SqlJobOperationTypeEnum
SqlJobRoleEnum Enum with underlying type: string
type SqlJobRoleEnum string
Set of constants representing the allowable values for SqlJobRoleEnum
const ( SqlJobRoleNormal SqlJobRoleEnum = "NORMAL" SqlJobRoleSysdba SqlJobRoleEnum = "SYSDBA" )
func GetMappingSqlJobRoleEnum(val string) (SqlJobRoleEnum, bool)
GetMappingSqlJobRoleEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlJobRoleEnumValues() []SqlJobRoleEnum
GetSqlJobRoleEnumValues Enumerates the set of values for SqlJobRoleEnum
SqlJobSqlTypeEnum Enum with underlying type: string
type SqlJobSqlTypeEnum string
Set of constants representing the allowable values for SqlJobSqlTypeEnum
const ( SqlJobSqlTypeQuery SqlJobSqlTypeEnum = "QUERY" SqlJobSqlTypeDml SqlJobSqlTypeEnum = "DML" SqlJobSqlTypeDdl SqlJobSqlTypeEnum = "DDL" SqlJobSqlTypePlsql SqlJobSqlTypeEnum = "PLSQL" )
func GetMappingSqlJobSqlTypeEnum(val string) (SqlJobSqlTypeEnum, bool)
GetMappingSqlJobSqlTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlJobSqlTypeEnumValues() []SqlJobSqlTypeEnum
GetSqlJobSqlTypeEnumValues Enumerates the set of values for SqlJobSqlTypeEnum
SqlTuningAdvisorTaskCollection The SQL Tuning Advisor task list.
type SqlTuningAdvisorTaskCollection struct { // A list of SQL Tuning Advisor tasks. Items []SqlTuningAdvisorTaskSummary `mandatory:"true" json:"items"` }
func (m SqlTuningAdvisorTaskCollection) String() string
func (m SqlTuningAdvisorTaskCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskFindingCollection The list of findings for a SQL Tuning Advisor task.
type SqlTuningAdvisorTaskFindingCollection struct { // An array of the findings for a tuning task. Items []SqlTuningAdvisorTaskFindingSummary `mandatory:"true" json:"items"` }
func (m SqlTuningAdvisorTaskFindingCollection) String() string
func (m SqlTuningAdvisorTaskFindingCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskFindingSummary A summary of the findings of the objects in a tuning task that match a given filter. This includes the kind of findings that were reported, whether the benefits were analyzed, and the number of benefits obtained.
type SqlTuningAdvisorTaskFindingSummary struct { // The unique identifier of the SQL Tuning Advisor task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" json:"sqlTuningAdvisorTaskId"` // The key of the object to which these recommendations apply. // This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskObjectId *int64 `mandatory:"true" json:"sqlTuningAdvisorTaskObjectId"` // The execution id of the analyzed SQL object. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskObjectExecutionId *int64 `mandatory:"true" json:"sqlTuningAdvisorTaskObjectExecutionId"` // The text of the SQL statement. SqlText *string `mandatory:"true" json:"sqlText"` // The parsing schema of the object. ParsingSchema *string `mandatory:"true" json:"parsingSchema"` // The unique key of this SQL statement. SqlKey *string `mandatory:"true" json:"sqlKey"` // The time benefit (in seconds) for the highest-rated finding for this object. DbTimeBenefit *float32 `mandatory:"false" json:"dbTimeBenefit"` // The per-execution percentage benefit. PerExecutionPercentage *int `mandatory:"false" json:"perExecutionPercentage"` // Indicates whether a statistics recommendation was reported for this SQL statement. IsStatsFindingPresent *bool `mandatory:"false" json:"isStatsFindingPresent"` // Indicates whether a SQL Profile recommendation was reported for this SQL statement. IsSqlProfileFindingPresent *bool `mandatory:"false" json:"isSqlProfileFindingPresent"` // Indicates whether a SQL Profile recommendation has been implemented for this SQL statement. IsSqlProfileFindingImplemented *bool `mandatory:"false" json:"isSqlProfileFindingImplemented"` // Indicates whether an index recommendation was reported for this SQL statement. IsIndexFindingPresent *bool `mandatory:"false" json:"isIndexFindingPresent"` // Indicates whether a restructure SQL recommendation was reported for this SQL statement. IsRestructureSqlFindingPresent *bool `mandatory:"false" json:"isRestructureSqlFindingPresent"` // Indicates whether an alternative execution plan was reported for this SQL statement. IsAlternativePlanFindingPresent *bool `mandatory:"false" json:"isAlternativePlanFindingPresent"` // Indicates whether a miscellaneous finding was reported for this SQL statement. IsMiscellaneousFindingPresent *bool `mandatory:"false" json:"isMiscellaneousFindingPresent"` // Indicates whether there is an error in this SQL statement. IsErrorFindingPresent *bool `mandatory:"false" json:"isErrorFindingPresent"` // Indicates whether the task timed out. IsTimeoutFindingPresent *bool `mandatory:"false" json:"isTimeoutFindingPresent"` }
func (m SqlTuningAdvisorTaskFindingSummary) String() string
func (m SqlTuningAdvisorTaskFindingSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskRecommendationCollection The SQL Tuning Advisor recommendations for a given SQL statement.
type SqlTuningAdvisorTaskRecommendationCollection struct { // A list of SQL Tuning Advisor recommendations. Items []SqlTuningAdvisorTaskRecommendationSummary `mandatory:"true" json:"items"` }
func (m SqlTuningAdvisorTaskRecommendationCollection) String() string
func (m SqlTuningAdvisorTaskRecommendationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskRecommendationSummary A recommendation for a given object in a SQL Tuning Task.
type SqlTuningAdvisorTaskRecommendationSummary struct { // The unique identifier of the task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" json:"sqlTuningAdvisorTaskId"` // The key of the object to which these recommendations apply. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskObjectId *int64 `mandatory:"true" json:"sqlTuningAdvisorTaskObjectId"` // The unique identifier of the recommendation in the scope of the task. RecommendationKey *int `mandatory:"true" json:"recommendationKey"` // Type of recommendation. RecommendationType SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum `mandatory:"true" json:"recommendationType"` // Summary of the issue found in the SQL statement. Finding *string `mandatory:"false" json:"finding"` // The recommendation for a specific finding. Recommendation *string `mandatory:"false" json:"recommendation"` // Describes the reasoning behind the recommendation and how it relates to the finding. Rationale *string `mandatory:"false" json:"rationale"` // The percentage benefit of this implementation. Benefit *float32 `mandatory:"false" json:"benefit"` // Action sql to be implemented based on the recommendation result. ImplementActionSql *string `mandatory:"false" json:"implementActionSql"` }
func (m SqlTuningAdvisorTaskRecommendationSummary) String() string
func (m SqlTuningAdvisorTaskRecommendationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum Enum with underlying type: string
type SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum string
Set of constants representing the allowable values for SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum
const ( SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeStatistics SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "STATISTICS" SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeIndex SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "INDEX" SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeSqlProfile SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "SQL_PROFILE" SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeRestructureSql SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "RESTRUCTURE_SQL" SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeAlternativePlans SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "ALTERNATIVE_PLANS" SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeError SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "ERROR" SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeMiscellaneous SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum = "MISCELLANEOUS" )
func GetMappingSqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum(val string) (SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum, bool)
GetMappingSqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnumValues() []SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum
GetSqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnumValues Enumerates the set of values for SqlTuningAdvisorTaskRecommendationSummaryRecommendationTypeEnum
SqlTuningAdvisorTaskSqlExecutionPlan A SQL execution plan.
type SqlTuningAdvisorTaskSqlExecutionPlan struct { // A SQL execution plan as a list of steps. Plan []SqlTuningTaskSqlExecutionPlanStep `mandatory:"true" json:"plan"` }
func (m SqlTuningAdvisorTaskSqlExecutionPlan) String() string
func (m SqlTuningAdvisorTaskSqlExecutionPlan) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummary The summary of a SQL Tuning Advisor task.
type SqlTuningAdvisorTaskSummary struct { // The unique identifier of the SQL Tuning Advisor task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). SqlTuningAdvisorTaskId *int64 `mandatory:"true" json:"sqlTuningAdvisorTaskId"` // The instance ID of the SQL Tuning Advisor task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). InstanceId *int `mandatory:"false" json:"instanceId"` // The name of the SQL Tuning Advisor task. Name *string `mandatory:"false" json:"name"` // The description of the SQL Tuning Advisor task. Description *string `mandatory:"false" json:"description"` // The owner of the SQL Tuning Advisor task. Owner *string `mandatory:"false" json:"owner"` // The Creation date of the SQL Tuning Advisor task. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The status of the SQL Tuning Advisor task. TaskStatus SqlTuningTaskStatusTypesEnum `mandatory:"false" json:"taskStatus,omitempty"` // The number of days left before the task expires. If the value equals -1, then the task has no expiration time (UNLIMITED). DaysToExpire *int `mandatory:"false" json:"daysToExpire"` // The start time of the task execution. TimeExecutionStarted *common.SDKTime `mandatory:"false" json:"timeExecutionStarted"` // The end time of the task execution. TimeExecutionEnded *common.SDKTime `mandatory:"false" json:"timeExecutionEnded"` // The total number of SQL statements related to the SQL Tuning Advisor task. TotalSqlStatements *int `mandatory:"false" json:"totalSqlStatements"` // The number of recommendations provided for the SQL Tuning Advisor task. RecommendationCount *int `mandatory:"false" json:"recommendationCount"` }
func (m SqlTuningAdvisorTaskSummary) String() string
func (m SqlTuningAdvisorTaskSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryFindingBenefits The benefits of the findings in the SQL Tuning Advisor summary report.
type SqlTuningAdvisorTaskSummaryFindingBenefits struct { // The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented. DbTimeBeforeRecommended *int `mandatory:"true" json:"dbTimeBeforeRecommended"` // The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented. DbTimeAfterRecommended *int `mandatory:"true" json:"dbTimeAfterRecommended"` // The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented. DbTimeAfterImplemented *int `mandatory:"true" json:"dbTimeAfterImplemented"` // The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented. DbTimeBeforeImplemented *int `mandatory:"true" json:"dbTimeBeforeImplemented"` }
func (m SqlTuningAdvisorTaskSummaryFindingBenefits) String() string
func (m SqlTuningAdvisorTaskSummaryFindingBenefits) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryFindingCounts The number of findings in the SQL Tuning Advisor summary report.
type SqlTuningAdvisorTaskSummaryFindingCounts struct { // The number of distinct SQL statements with recommended SQL profiles. RecommendedSqlProfile *int `mandatory:"true" json:"recommendedSqlProfile"` // The number of distinct SQL statements with implemented SQL profiles. ImplementedSqlProfile *int `mandatory:"true" json:"implementedSqlProfile"` // The number of distinct SQL statements with index recommendations. Index *int `mandatory:"true" json:"index"` // The number of distinct SQL statements with restructured SQL recommendations. Restructure *int `mandatory:"true" json:"restructure"` // The number of distinct SQL statements with stale or missing optimizer statistics recommendations. Statistics *int `mandatory:"true" json:"statistics"` // The number of distinct SQL statements with alternative plan recommendations. AlternatePlan *int `mandatory:"true" json:"alternatePlan"` }
func (m SqlTuningAdvisorTaskSummaryFindingCounts) String() string
func (m SqlTuningAdvisorTaskSummaryFindingCounts) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryReport The content of the SQL Tuning Advisor summary report.
type SqlTuningAdvisorTaskSummaryReport struct { TaskInfo *SqlTuningAdvisorTaskSummaryReportTaskInfo `mandatory:"true" json:"taskInfo"` Statistics *SqlTuningAdvisorTaskSummaryReportStatistics `mandatory:"true" json:"statistics"` // The list of object findings related to statistics. ObjectStatFindings []SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary `mandatory:"false" json:"objectStatFindings"` // The list of object findings related to indexes. IndexFindings []SqlTuningAdvisorTaskSummaryReportIndexFindingSummary `mandatory:"false" json:"indexFindings"` }
func (m SqlTuningAdvisorTaskSummaryReport) String() string
func (m SqlTuningAdvisorTaskSummaryReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryReportIndexFindingSummary A summary for all the index findings in a SQL Tuning Advisor task. Includes the index's hash value, table name, schema, index name, reference count and index columns
type SqlTuningAdvisorTaskSummaryReportIndexFindingSummary struct { // Numerical representation of the index. IndexHashValue *int64 `mandatory:"true" json:"indexHashValue"` // Name of the index. IndexName *string `mandatory:"true" json:"indexName"` // Table's name related to the index. TableName *string `mandatory:"true" json:"tableName"` // Schema related to the index. Schema *string `mandatory:"true" json:"schema"` // The number of times the index is referenced within the SQL Tuning advisor task findings. ReferenceCount *int `mandatory:"true" json:"referenceCount"` // Columns of the index. IndexColumns []string `mandatory:"true" json:"indexColumns"` }
func (m SqlTuningAdvisorTaskSummaryReportIndexFindingSummary) String() string
func (m SqlTuningAdvisorTaskSummaryReportIndexFindingSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary A summary for all the statistic findings of an object in a SQL Tuning Advisor task. Includes the object's hash, name, type, schema, problem type and the object reference count.
type SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary struct { // Numerical representation of the object. ObjectHashValue *int64 `mandatory:"true" json:"objectHashValue"` // Name of the object. ObjectName *string `mandatory:"true" json:"objectName"` // Type of the object. ObjectType *string `mandatory:"true" json:"objectType"` // Schema of the object. Schema *string `mandatory:"true" json:"schema"` // Type of statistics problem related to the object. ProblemType SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum `mandatory:"true" json:"problemType"` // The number of the times the object is referenced within the SQL Tuning advisor task findings. ReferenceCount *int `mandatory:"true" json:"referenceCount"` }
func (m SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary) String() string
func (m SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum Enum with underlying type: string
type SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum string
Set of constants representing the allowable values for SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum
const ( SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeMissing SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum = "MISSING" SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeStale SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum = "STALE" )
func GetMappingSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum(val string) (SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum, bool)
GetMappingSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnumValues() []SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum
GetSqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnumValues Enumerates the set of values for SqlTuningAdvisorTaskSummaryReportObjectStatFindingSummaryProblemTypeEnum
SqlTuningAdvisorTaskSummaryReportStatementCounts The number of statements in the SQL Tuning Advisor summary report.
type SqlTuningAdvisorTaskSummaryReportStatementCounts struct { // The number of distinct SQL statements. DistinctSql *int `mandatory:"true" json:"distinctSql"` // The total number of SQL statements. TotalSql *int `mandatory:"true" json:"totalSql"` // The number of distinct SQL statements with findings. FindingCount *int `mandatory:"true" json:"findingCount"` // The number of distinct SQL statements with errors. ErrorCount *int `mandatory:"true" json:"errorCount"` }
func (m SqlTuningAdvisorTaskSummaryReportStatementCounts) String() string
func (m SqlTuningAdvisorTaskSummaryReportStatementCounts) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryReportStatistics The statistics of the statements and findings in the SQL Tuning Advisor summary report.
type SqlTuningAdvisorTaskSummaryReportStatistics struct { StatementCounts *SqlTuningAdvisorTaskSummaryReportStatementCounts `mandatory:"true" json:"statementCounts"` FindingCounts *SqlTuningAdvisorTaskSummaryFindingCounts `mandatory:"true" json:"findingCounts"` FindingBenefits *SqlTuningAdvisorTaskSummaryFindingBenefits `mandatory:"true" json:"findingBenefits"` }
func (m SqlTuningAdvisorTaskSummaryReportStatistics) String() string
func (m SqlTuningAdvisorTaskSummaryReportStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningAdvisorTaskSummaryReportTaskInfo The general information regarding the SQL Tuning Advisor task.
type SqlTuningAdvisorTaskSummaryReportTaskInfo struct { // The ID of the SQL Tuning Advisor task. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Id *int64 `mandatory:"true" json:"id"` // The name of the SQL Tuning Advisor task. Name *string `mandatory:"true" json:"name"` // The owner of the SQL Tuning Advisor task. Owner *string `mandatory:"true" json:"owner"` // The start time of the task execution. TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The end time of the task execution. TimeEnded *common.SDKTime `mandatory:"true" json:"timeEnded"` // The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks. Description *string `mandatory:"false" json:"description"` // The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks. Status SqlTuningTaskStatusTypesEnum `mandatory:"false" json:"status,omitempty"` // The total running time in seconds. This is not defined for Auto SQL Tuning tasks. RunningTime *int `mandatory:"false" json:"runningTime"` }
func (m SqlTuningAdvisorTaskSummaryReportTaskInfo) String() string
func (m SqlTuningAdvisorTaskSummaryReportTaskInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningClient a client for SqlTuning
type SqlTuningClient struct { common.BaseClient // contains filtered or unexported fields }
func NewSqlTuningClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SqlTuningClient, err error)
NewSqlTuningClientWithConfigurationProvider Creates a new default SqlTuning client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewSqlTuningClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SqlTuningClient, err error)
NewSqlTuningClientWithOboToken Creates a new default SqlTuning client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client SqlTuningClient) CloneSqlTuningTask(ctx context.Context, request CloneSqlTuningTaskRequest) (response CloneSqlTuningTaskResponse, err error)
CloneSqlTuningTask Clones and runs a SQL tuning task in the database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/CloneSqlTuningTask.go.html to see an example of how to use CloneSqlTuningTask API.
func (client *SqlTuningClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client SqlTuningClient) DropSqlTuningTask(ctx context.Context, request DropSqlTuningTaskRequest) (response DropSqlTuningTaskResponse, err error)
DropSqlTuningTask Drops a SQL tuning task and its related results from the database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/DropSqlTuningTask.go.html to see an example of how to use DropSqlTuningTask API.
func (client SqlTuningClient) GetExecutionPlanStatsComparision(ctx context.Context, request GetExecutionPlanStatsComparisionRequest) (response GetExecutionPlanStatsComparisionResponse, err error)
GetExecutionPlanStatsComparision Retrieves a comparison of the existing SQL execution plan and a new plan. A SQL tuning task may suggest a new execution plan for a SQL, and this API retrieves the comparison report of the statistics of the two plans.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetExecutionPlanStatsComparision.go.html to see an example of how to use GetExecutionPlanStatsComparision API.
func (client SqlTuningClient) GetSqlExecutionPlan(ctx context.Context, request GetSqlExecutionPlanRequest) (response GetSqlExecutionPlanResponse, err error)
GetSqlExecutionPlan Retrieves a SQL execution plan for the SQL being tuned.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetSqlExecutionPlan.go.html to see an example of how to use GetSqlExecutionPlan API.
func (client SqlTuningClient) GetSqlTuningAdvisorTaskSummaryReport(ctx context.Context, request GetSqlTuningAdvisorTaskSummaryReportRequest) (response GetSqlTuningAdvisorTaskSummaryReportResponse, err error)
GetSqlTuningAdvisorTaskSummaryReport Gets the summary report for the specified SQL Tuning Advisor task.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/GetSqlTuningAdvisorTaskSummaryReport.go.html to see an example of how to use GetSqlTuningAdvisorTaskSummaryReport API.
func (client SqlTuningClient) ListSqlTuningAdvisorTaskFindings(ctx context.Context, request ListSqlTuningAdvisorTaskFindingsRequest) (response ListSqlTuningAdvisorTaskFindingsResponse, err error)
ListSqlTuningAdvisorTaskFindings Gets an array of the details of the findings that match specific filters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSqlTuningAdvisorTaskFindings.go.html to see an example of how to use ListSqlTuningAdvisorTaskFindings API.
func (client SqlTuningClient) ListSqlTuningAdvisorTaskRecommendations(ctx context.Context, request ListSqlTuningAdvisorTaskRecommendationsRequest) (response ListSqlTuningAdvisorTaskRecommendationsResponse, err error)
ListSqlTuningAdvisorTaskRecommendations Gets the findings and possible actions for a given object in a SQL tuning task. The task ID and object ID are used to retrieve the findings and recommendations.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSqlTuningAdvisorTaskRecommendations.go.html to see an example of how to use ListSqlTuningAdvisorTaskRecommendations API.
func (client SqlTuningClient) ListSqlTuningAdvisorTasks(ctx context.Context, request ListSqlTuningAdvisorTasksRequest) (response ListSqlTuningAdvisorTasksResponse, err error)
ListSqlTuningAdvisorTasks Lists the SQL Tuning Advisor tasks for the specified Managed Database.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/ListSqlTuningAdvisorTasks.go.html to see an example of how to use ListSqlTuningAdvisorTasks API.
func (client *SqlTuningClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client SqlTuningClient) StartSqlTuningTask(ctx context.Context, request StartSqlTuningTaskRequest) (response StartSqlTuningTaskResponse, err error)
StartSqlTuningTask Starts a SQL tuning task for a given set of SQL statements from the active session history top SQL statements.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/StartSqlTuningTask.go.html to see an example of how to use StartSqlTuningTask API.
SqlTuningTaskCredentialDetails The credential used to connect to the database.
type SqlTuningTaskCredentialDetails interface { // The user name used to connect to the database. GetUsername() *string // The role of the database user. GetRole() SqlTuningTaskCredentialDetailsRoleEnum }
SqlTuningTaskCredentialDetailsRoleEnum Enum with underlying type: string
type SqlTuningTaskCredentialDetailsRoleEnum string
Set of constants representing the allowable values for SqlTuningTaskCredentialDetailsRoleEnum
const ( SqlTuningTaskCredentialDetailsRoleNormal SqlTuningTaskCredentialDetailsRoleEnum = "NORMAL" SqlTuningTaskCredentialDetailsRoleSysdba SqlTuningTaskCredentialDetailsRoleEnum = "SYSDBA" )
func GetMappingSqlTuningTaskCredentialDetailsRoleEnum(val string) (SqlTuningTaskCredentialDetailsRoleEnum, bool)
GetMappingSqlTuningTaskCredentialDetailsRoleEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlTuningTaskCredentialDetailsRoleEnumValues() []SqlTuningTaskCredentialDetailsRoleEnum
GetSqlTuningTaskCredentialDetailsRoleEnumValues Enumerates the set of values for SqlTuningTaskCredentialDetailsRoleEnum
SqlTuningTaskCredentialTypesEnum Enum with underlying type: string
type SqlTuningTaskCredentialTypesEnum string
Set of constants representing the allowable values for SqlTuningTaskCredentialTypesEnum
const ( SqlTuningTaskCredentialTypesSecret SqlTuningTaskCredentialTypesEnum = "SECRET" SqlTuningTaskCredentialTypesPassword SqlTuningTaskCredentialTypesEnum = "PASSWORD" )
func GetMappingSqlTuningTaskCredentialTypesEnum(val string) (SqlTuningTaskCredentialTypesEnum, bool)
GetMappingSqlTuningTaskCredentialTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlTuningTaskCredentialTypesEnumValues() []SqlTuningTaskCredentialTypesEnum
GetSqlTuningTaskCredentialTypesEnumValues Enumerates the set of values for SqlTuningTaskCredentialTypesEnum
SqlTuningTaskPasswordCredentialDetails The password provided by the user to connect to the database.
type SqlTuningTaskPasswordCredentialDetails struct { // The user name used to connect to the database. Username *string `mandatory:"true" json:"username"` // The database user's password encoded using BASE64 scheme. Password *string `mandatory:"true" json:"password"` // The role of the database user. Role SqlTuningTaskCredentialDetailsRoleEnum `mandatory:"true" json:"role"` }
func (m SqlTuningTaskPasswordCredentialDetails) GetRole() SqlTuningTaskCredentialDetailsRoleEnum
GetRole returns Role
func (m SqlTuningTaskPasswordCredentialDetails) GetUsername() *string
GetUsername returns Username
func (m SqlTuningTaskPasswordCredentialDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SqlTuningTaskPasswordCredentialDetails) String() string
func (m SqlTuningTaskPasswordCredentialDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningTaskPlanStats The statistics of a SQL execution plan.
type SqlTuningTaskPlanStats struct { // The type of the original or modified plan with profile, index, and so on. PlanType *string `mandatory:"true" json:"planType"` // A map contains the statistics for the SQL execution using the plan. // The key of the map is the metric's name. The value of the map is the metric's value. PlanStats map[string]float64 `mandatory:"true" json:"planStats"` // The status of the execution using the plan. PlanStatus SqlTuningTaskPlanStatsPlanStatusEnum `mandatory:"true" json:"planStatus"` }
func (m SqlTuningTaskPlanStats) String() string
func (m SqlTuningTaskPlanStats) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningTaskPlanStatsPlanStatusEnum Enum with underlying type: string
type SqlTuningTaskPlanStatsPlanStatusEnum string
Set of constants representing the allowable values for SqlTuningTaskPlanStatsPlanStatusEnum
const ( SqlTuningTaskPlanStatsPlanStatusComplete SqlTuningTaskPlanStatsPlanStatusEnum = "COMPLETE" SqlTuningTaskPlanStatsPlanStatusPartial SqlTuningTaskPlanStatsPlanStatusEnum = "PARTIAL" )
func GetMappingSqlTuningTaskPlanStatsPlanStatusEnum(val string) (SqlTuningTaskPlanStatsPlanStatusEnum, bool)
GetMappingSqlTuningTaskPlanStatsPlanStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlTuningTaskPlanStatsPlanStatusEnumValues() []SqlTuningTaskPlanStatsPlanStatusEnum
GetSqlTuningTaskPlanStatsPlanStatusEnumValues Enumerates the set of values for SqlTuningTaskPlanStatsPlanStatusEnum
SqlTuningTaskReturn The returned object for starting or cloning a SQL tuning advisor task.
type SqlTuningTaskReturn struct { // The identifier of the task being started or cloned. This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // It can be retrieved from the following endpoint // ListSqlTuningAdvisorTasks. SqlTuningTaskId *int64 `mandatory:"true" json:"sqlTuningTaskId"` }
func (m SqlTuningTaskReturn) String() string
func (m SqlTuningTaskReturn) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningTaskSecretCredentialDetails The OCID of the Secret provided by the user to retrieve the password to connect to the database.
type SqlTuningTaskSecretCredentialDetails struct { // The user name used to connect to the database. Username *string `mandatory:"true" json:"username"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Secret // where the database password is stored. PasswordSecretId *string `mandatory:"true" json:"passwordSecretId"` // The role of the database user. Role SqlTuningTaskCredentialDetailsRoleEnum `mandatory:"true" json:"role"` }
func (m SqlTuningTaskSecretCredentialDetails) GetRole() SqlTuningTaskCredentialDetailsRoleEnum
GetRole returns Role
func (m SqlTuningTaskSecretCredentialDetails) GetUsername() *string
GetUsername returns Username
func (m SqlTuningTaskSecretCredentialDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SqlTuningTaskSecretCredentialDetails) String() string
func (m SqlTuningTaskSecretCredentialDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningTaskSqlDetail The details of the SQL statements on which SQL tuning is performed.
type SqlTuningTaskSqlDetail struct { // The identifier of a SQL statement. SqlId *string `mandatory:"true" json:"sqlId"` }
func (m SqlTuningTaskSqlDetail) String() string
func (m SqlTuningTaskSqlDetail) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningTaskSqlExecutionPlanStep A step in the SQL execution plan.
type SqlTuningTaskSqlExecutionPlanStep struct { // The numerical representation of the SQL execution plan. PlanHashValue *int64 `mandatory:"false" json:"planHashValue"` // The identification number of a step in the SQL execution plan. This is unique within the SQL execution plan. // This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). StepId *int `mandatory:"false" json:"stepId"` // The ID of the next step that operates on the results of this step. // This is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). ParentStepId *int `mandatory:"false" json:"parentStepId"` // The order of processing for steps with the same parent ID. Position *int `mandatory:"false" json:"position"` // The name of the operation performed at this step. Operation *string `mandatory:"false" json:"operation"` // The options used for the operation performed at this step. Options *string `mandatory:"false" json:"options"` // The current mode of the optimizer, such as all_rows, first_rows_n (where n = 1, 10, 100, 1000, and so on). OptimizerMode *string `mandatory:"false" json:"optimizerMode"` // The cost of the current operation estimated by the cost-based optimizer (CBO). Cost *float64 `mandatory:"false" json:"cost"` // The number of rows returned by the current operation (estimated by the CBO). Cardinality *int64 `mandatory:"false" json:"cardinality"` // The number of bytes returned by the current operation. Bytes *int64 `mandatory:"false" json:"bytes"` // The CPU cost of the current operation. CpuCost *float64 `mandatory:"false" json:"cpuCost"` // The I/O cost of the current operation. IoCost *float64 `mandatory:"false" json:"ioCost"` // The temporary space usage (in bytes) of the operation (sort or hash-join) as estimated by the CBO. TempSpace *int64 `mandatory:"false" json:"tempSpace"` // The elapsed time (in seconds) of the operation as estimated by the CBO. Time *int64 `mandatory:"false" json:"time"` // The name of the database link used to reference the object. ObjectNode *string `mandatory:"false" json:"objectNode"` // The owner of the object. ObjectOwner *string `mandatory:"false" json:"objectOwner"` // The name of the object. ObjectName *string `mandatory:"false" json:"objectName"` // The numbered position of the object name in the original SQL statement. ObjectPosition *int `mandatory:"false" json:"objectPosition"` // The descriptive modifier that further describes the type of object. ObjectType *string `mandatory:"false" json:"objectType"` // A step may get data from a range of partitions of a partitioned object, such as table or index, // based on predicates and sorting order. The partionStart is the starting partition of the range. // The partitionStop is the ending partition of the range. PartitionStart *string `mandatory:"false" json:"partitionStart"` // A step may get data from a range of partitions of a partitioned object, such as table or index, // based on predicates and sorting order. The partionStart is the starting partition of the range. // The partitionStop is the ending partition of the range. PartitionStop *string `mandatory:"false" json:"partitionStop"` // The ID of the step in the execution plan that has computed the pair of values of partitionStart and partitionStop. PartitionId *int `mandatory:"false" json:"partitionId"` // The place for comments that can be added to the steps of the execution plan. Remarks *string `mandatory:"false" json:"remarks"` // Number of index columns with start and stop keys (that is, the number of columns with matching predicates). NumberOfSearchColumn *int `mandatory:"false" json:"numberOfSearchColumn"` // Information about parallel execution servers and parallel queries Other *string `mandatory:"false" json:"other"` // Describes the function of the SQL text in the OTHER column. OtherTag *string `mandatory:"false" json:"otherTag"` // The text string identifying the type of execution plan. Attribute *string `mandatory:"false" json:"attribute"` // The predicates used to locate rows in an access structure. For example, // start or stop predicates for an index range scan. AccessPredicates *string `mandatory:"false" json:"accessPredicates"` // The predicates used to filter rows before producing them. FilterPredicates *string `mandatory:"false" json:"filterPredicates"` }
func (m SqlTuningTaskSqlExecutionPlanStep) String() string
func (m SqlTuningTaskSqlExecutionPlanStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SqlTuningTaskStatusTypesEnum Enum with underlying type: string
type SqlTuningTaskStatusTypesEnum string
Set of constants representing the allowable values for SqlTuningTaskStatusTypesEnum
const ( SqlTuningTaskStatusTypesCompleted SqlTuningTaskStatusTypesEnum = "COMPLETED" SqlTuningTaskStatusTypesInitial SqlTuningTaskStatusTypesEnum = "INITIAL" SqlTuningTaskStatusTypesExecuting SqlTuningTaskStatusTypesEnum = "EXECUTING" SqlTuningTaskStatusTypesInterrupted SqlTuningTaskStatusTypesEnum = "INTERRUPTED" SqlTuningTaskStatusTypesError SqlTuningTaskStatusTypesEnum = "ERROR" )
func GetMappingSqlTuningTaskStatusTypesEnum(val string) (SqlTuningTaskStatusTypesEnum, bool)
GetMappingSqlTuningTaskStatusTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSqlTuningTaskStatusTypesEnumValues() []SqlTuningTaskStatusTypesEnum
GetSqlTuningTaskStatusTypesEnumValues Enumerates the set of values for SqlTuningTaskStatusTypesEnum
StartSqlTuningTaskDetails The request to start a SQL tuning task.
type StartSqlTuningTaskDetails struct { // The name of the SQL tuning task. The name is unique per user in a database, and it is case-sensitive. TaskName *string `mandatory:"true" json:"taskName"` CredentialDetails SqlTuningTaskCredentialDetails `mandatory:"true" json:"credentialDetails"` // The time limit for running the SQL tuning task. TotalTimeLimitInMinutes *int `mandatory:"true" json:"totalTimeLimitInMinutes"` // The scope for the SQL tuning task. For LIMITED scope, the SQL profile recommendation // is excluded, so the task is executed faster. For COMPREHENSIVE scope, the SQL profile recommendation // is included. Scope StartSqlTuningTaskDetailsScopeEnum `mandatory:"true" json:"scope"` // The array of the details of SQL statement on which tuning is performed. SqlDetails []SqlTuningTaskSqlDetail `mandatory:"true" json:"sqlDetails"` // The start time of the period in which SQL statements are running. TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The end time of the period in which SQL statements are running. TimeEnded *common.SDKTime `mandatory:"true" json:"timeEnded"` // The description of the SQL tuning task. TaskDescription *string `mandatory:"false" json:"taskDescription"` // The time limit per SQL statement (in minutes). This is for a task with the COMPREHENSIVE scope. // The time limit per SQL statement should not be more than the total time limit. StatementTimeLimitInMinutes *int `mandatory:"false" json:"statementTimeLimitInMinutes"` }
func (m StartSqlTuningTaskDetails) String() string
func (m *StartSqlTuningTaskDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m StartSqlTuningTaskDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StartSqlTuningTaskDetailsScopeEnum Enum with underlying type: string
type StartSqlTuningTaskDetailsScopeEnum string
Set of constants representing the allowable values for StartSqlTuningTaskDetailsScopeEnum
const ( StartSqlTuningTaskDetailsScopeLimited StartSqlTuningTaskDetailsScopeEnum = "LIMITED" StartSqlTuningTaskDetailsScopeComprehensive StartSqlTuningTaskDetailsScopeEnum = "COMPREHENSIVE" )
func GetMappingStartSqlTuningTaskDetailsScopeEnum(val string) (StartSqlTuningTaskDetailsScopeEnum, bool)
GetMappingStartSqlTuningTaskDetailsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetStartSqlTuningTaskDetailsScopeEnumValues() []StartSqlTuningTaskDetailsScopeEnum
GetStartSqlTuningTaskDetailsScopeEnumValues Enumerates the set of values for StartSqlTuningTaskDetailsScopeEnum
StartSqlTuningTaskRequest wrapper for the StartSqlTuningTask operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/StartSqlTuningTask.go.html to see an example of how to use StartSqlTuningTaskRequest.
type StartSqlTuningTaskRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The detailed inputs required to start a SQL tuning task. StartSqlTuningTaskDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request StartSqlTuningTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request StartSqlTuningTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartSqlTuningTaskRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartSqlTuningTaskRequest) String() string
func (request StartSqlTuningTaskRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
StartSqlTuningTaskResponse wrapper for the StartSqlTuningTask operation
type StartSqlTuningTaskResponse struct { // The underlying http response RawResponse *http.Response // The SqlTuningTaskReturn instance SqlTuningTaskReturn `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"` }
func (response StartSqlTuningTaskResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartSqlTuningTaskResponse) String() string
StatementsAggregateMetrics The queued and running statement metrics for Autonomous Databases.
type StatementsAggregateMetrics struct { QueuedStatements *MetricDataPoint `mandatory:"false" json:"queuedStatements"` RunningStatements *MetricDataPoint `mandatory:"false" json:"runningStatements"` }
func (m StatementsAggregateMetrics) String() string
func (m StatementsAggregateMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbCpuUsagesRequest wrapper for the SummarizeAwrDbCpuUsages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbCpuUsages.go.html to see an example of how to use SummarizeAwrDbCpuUsagesRequest.
type SummarizeAwrDbCpuUsagesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. SessionType SummarizeAwrDbCpuUsagesSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR CPU usage summary data. SortBy SummarizeAwrDbCpuUsagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbCpuUsagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbCpuUsagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbCpuUsagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbCpuUsagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbCpuUsagesRequest) String() string
func (request SummarizeAwrDbCpuUsagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbCpuUsagesResponse wrapper for the SummarizeAwrDbCpuUsages operation
type SummarizeAwrDbCpuUsagesResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbCpuUsageCollection instances AwrDbCpuUsageCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbCpuUsagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbCpuUsagesResponse) String() string
SummarizeAwrDbCpuUsagesSessionTypeEnum Enum with underlying type: string
type SummarizeAwrDbCpuUsagesSessionTypeEnum string
Set of constants representing the allowable values for SummarizeAwrDbCpuUsagesSessionTypeEnum
const ( SummarizeAwrDbCpuUsagesSessionTypeForeground SummarizeAwrDbCpuUsagesSessionTypeEnum = "FOREGROUND" SummarizeAwrDbCpuUsagesSessionTypeBackground SummarizeAwrDbCpuUsagesSessionTypeEnum = "BACKGROUND" SummarizeAwrDbCpuUsagesSessionTypeAll SummarizeAwrDbCpuUsagesSessionTypeEnum = "ALL" )
func GetMappingSummarizeAwrDbCpuUsagesSessionTypeEnum(val string) (SummarizeAwrDbCpuUsagesSessionTypeEnum, bool)
GetMappingSummarizeAwrDbCpuUsagesSessionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbCpuUsagesSessionTypeEnumValues() []SummarizeAwrDbCpuUsagesSessionTypeEnum
GetSummarizeAwrDbCpuUsagesSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDbCpuUsagesSessionTypeEnum
SummarizeAwrDbCpuUsagesSortByEnum Enum with underlying type: string
type SummarizeAwrDbCpuUsagesSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbCpuUsagesSortByEnum
const ( SummarizeAwrDbCpuUsagesSortByTimeSampled SummarizeAwrDbCpuUsagesSortByEnum = "TIME_SAMPLED" SummarizeAwrDbCpuUsagesSortByAvgValue SummarizeAwrDbCpuUsagesSortByEnum = "AVG_VALUE" )
func GetMappingSummarizeAwrDbCpuUsagesSortByEnum(val string) (SummarizeAwrDbCpuUsagesSortByEnum, bool)
GetMappingSummarizeAwrDbCpuUsagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbCpuUsagesSortByEnumValues() []SummarizeAwrDbCpuUsagesSortByEnum
GetSummarizeAwrDbCpuUsagesSortByEnumValues Enumerates the set of values for SummarizeAwrDbCpuUsagesSortByEnum
SummarizeAwrDbCpuUsagesSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbCpuUsagesSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbCpuUsagesSortOrderEnum
const ( SummarizeAwrDbCpuUsagesSortOrderAsc SummarizeAwrDbCpuUsagesSortOrderEnum = "ASC" SummarizeAwrDbCpuUsagesSortOrderDesc SummarizeAwrDbCpuUsagesSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbCpuUsagesSortOrderEnum(val string) (SummarizeAwrDbCpuUsagesSortOrderEnum, bool)
GetMappingSummarizeAwrDbCpuUsagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbCpuUsagesSortOrderEnumValues() []SummarizeAwrDbCpuUsagesSortOrderEnum
GetSummarizeAwrDbCpuUsagesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbCpuUsagesSortOrderEnum
SummarizeAwrDbMetricsRequest wrapper for the SummarizeAwrDbMetrics operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbMetrics.go.html to see an example of how to use SummarizeAwrDbMetricsRequest.
type SummarizeAwrDbMetricsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR time series summary data. SortBy SummarizeAwrDbMetricsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbMetricsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbMetricsRequest) String() string
func (request SummarizeAwrDbMetricsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbMetricsResponse wrapper for the SummarizeAwrDbMetrics operation
type SummarizeAwrDbMetricsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbMetricCollection instances AwrDbMetricCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbMetricsResponse) String() string
SummarizeAwrDbMetricsSortByEnum Enum with underlying type: string
type SummarizeAwrDbMetricsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbMetricsSortByEnum
const ( SummarizeAwrDbMetricsSortByTimestamp SummarizeAwrDbMetricsSortByEnum = "TIMESTAMP" SummarizeAwrDbMetricsSortByName SummarizeAwrDbMetricsSortByEnum = "NAME" )
func GetMappingSummarizeAwrDbMetricsSortByEnum(val string) (SummarizeAwrDbMetricsSortByEnum, bool)
GetMappingSummarizeAwrDbMetricsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbMetricsSortByEnumValues() []SummarizeAwrDbMetricsSortByEnum
GetSummarizeAwrDbMetricsSortByEnumValues Enumerates the set of values for SummarizeAwrDbMetricsSortByEnum
SummarizeAwrDbMetricsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbMetricsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbMetricsSortOrderEnum
const ( SummarizeAwrDbMetricsSortOrderAsc SummarizeAwrDbMetricsSortOrderEnum = "ASC" SummarizeAwrDbMetricsSortOrderDesc SummarizeAwrDbMetricsSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbMetricsSortOrderEnum(val string) (SummarizeAwrDbMetricsSortOrderEnum, bool)
GetMappingSummarizeAwrDbMetricsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbMetricsSortOrderEnumValues() []SummarizeAwrDbMetricsSortOrderEnum
GetSummarizeAwrDbMetricsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbMetricsSortOrderEnum
SummarizeAwrDbParameterChangesRequest wrapper for the SummarizeAwrDbParameterChanges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbParameterChanges.go.html to see an example of how to use SummarizeAwrDbParameterChangesRequest.
type SummarizeAwrDbParameterChangesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required single value query parameter to filter the entity name. Name *string `mandatory:"true" contributesTo:"query" name:"name"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR database parameter change history data. SortBy SummarizeAwrDbParameterChangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbParameterChangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbParameterChangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbParameterChangesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbParameterChangesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbParameterChangesRequest) String() string
func (request SummarizeAwrDbParameterChangesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbParameterChangesResponse wrapper for the SummarizeAwrDbParameterChanges operation
type SummarizeAwrDbParameterChangesResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbParameterChangeCollection instances AwrDbParameterChangeCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbParameterChangesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbParameterChangesResponse) String() string
SummarizeAwrDbParameterChangesSortByEnum Enum with underlying type: string
type SummarizeAwrDbParameterChangesSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbParameterChangesSortByEnum
const ( SummarizeAwrDbParameterChangesSortByIsChanged SummarizeAwrDbParameterChangesSortByEnum = "IS_CHANGED" SummarizeAwrDbParameterChangesSortByName SummarizeAwrDbParameterChangesSortByEnum = "NAME" )
func GetMappingSummarizeAwrDbParameterChangesSortByEnum(val string) (SummarizeAwrDbParameterChangesSortByEnum, bool)
GetMappingSummarizeAwrDbParameterChangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParameterChangesSortByEnumValues() []SummarizeAwrDbParameterChangesSortByEnum
GetSummarizeAwrDbParameterChangesSortByEnumValues Enumerates the set of values for SummarizeAwrDbParameterChangesSortByEnum
SummarizeAwrDbParameterChangesSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbParameterChangesSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbParameterChangesSortOrderEnum
const ( SummarizeAwrDbParameterChangesSortOrderAsc SummarizeAwrDbParameterChangesSortOrderEnum = "ASC" SummarizeAwrDbParameterChangesSortOrderDesc SummarizeAwrDbParameterChangesSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbParameterChangesSortOrderEnum(val string) (SummarizeAwrDbParameterChangesSortOrderEnum, bool)
GetMappingSummarizeAwrDbParameterChangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParameterChangesSortOrderEnumValues() []SummarizeAwrDbParameterChangesSortOrderEnum
GetSummarizeAwrDbParameterChangesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbParameterChangesSortOrderEnum
SummarizeAwrDbParametersRequest wrapper for the SummarizeAwrDbParameters operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbParameters.go.html to see an example of how to use SummarizeAwrDbParametersRequest.
type SummarizeAwrDbParametersRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The optional multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional contains query parameter to filter the entity name by any part of the name. NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"` // The optional query parameter to filter database parameters whose values were changed. ValueChanged SummarizeAwrDbParametersValueChangedEnum `mandatory:"false" contributesTo:"query" name:"valueChanged" omitEmpty:"true"` // The optional query parameter to filter the database parameters that had the default value in the last snapshot. ValueDefault SummarizeAwrDbParametersValueDefaultEnum `mandatory:"false" contributesTo:"query" name:"valueDefault" omitEmpty:"true"` // The optional query parameter to filter the database parameters that had a modified value in the last snapshot. ValueModified SummarizeAwrDbParametersValueModifiedEnum `mandatory:"false" contributesTo:"query" name:"valueModified" omitEmpty:"true"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR database parameter change history data. SortBy SummarizeAwrDbParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbParametersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbParametersRequest) String() string
func (request SummarizeAwrDbParametersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbParametersResponse wrapper for the SummarizeAwrDbParameters operation
type SummarizeAwrDbParametersResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbParameterCollection instances AwrDbParameterCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbParametersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbParametersResponse) String() string
SummarizeAwrDbParametersSortByEnum Enum with underlying type: string
type SummarizeAwrDbParametersSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersSortByEnum
const ( SummarizeAwrDbParametersSortByIsChanged SummarizeAwrDbParametersSortByEnum = "IS_CHANGED" SummarizeAwrDbParametersSortByName SummarizeAwrDbParametersSortByEnum = "NAME" )
func GetMappingSummarizeAwrDbParametersSortByEnum(val string) (SummarizeAwrDbParametersSortByEnum, bool)
GetMappingSummarizeAwrDbParametersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParametersSortByEnumValues() []SummarizeAwrDbParametersSortByEnum
GetSummarizeAwrDbParametersSortByEnumValues Enumerates the set of values for SummarizeAwrDbParametersSortByEnum
SummarizeAwrDbParametersSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbParametersSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersSortOrderEnum
const ( SummarizeAwrDbParametersSortOrderAsc SummarizeAwrDbParametersSortOrderEnum = "ASC" SummarizeAwrDbParametersSortOrderDesc SummarizeAwrDbParametersSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbParametersSortOrderEnum(val string) (SummarizeAwrDbParametersSortOrderEnum, bool)
GetMappingSummarizeAwrDbParametersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParametersSortOrderEnumValues() []SummarizeAwrDbParametersSortOrderEnum
GetSummarizeAwrDbParametersSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbParametersSortOrderEnum
SummarizeAwrDbParametersValueChangedEnum Enum with underlying type: string
type SummarizeAwrDbParametersValueChangedEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersValueChangedEnum
const ( SummarizeAwrDbParametersValueChangedY SummarizeAwrDbParametersValueChangedEnum = "Y" SummarizeAwrDbParametersValueChangedN SummarizeAwrDbParametersValueChangedEnum = "N" )
func GetMappingSummarizeAwrDbParametersValueChangedEnum(val string) (SummarizeAwrDbParametersValueChangedEnum, bool)
GetMappingSummarizeAwrDbParametersValueChangedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParametersValueChangedEnumValues() []SummarizeAwrDbParametersValueChangedEnum
GetSummarizeAwrDbParametersValueChangedEnumValues Enumerates the set of values for SummarizeAwrDbParametersValueChangedEnum
SummarizeAwrDbParametersValueDefaultEnum Enum with underlying type: string
type SummarizeAwrDbParametersValueDefaultEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersValueDefaultEnum
const ( SummarizeAwrDbParametersValueDefaultTrue SummarizeAwrDbParametersValueDefaultEnum = "TRUE" SummarizeAwrDbParametersValueDefaultFalse SummarizeAwrDbParametersValueDefaultEnum = "FALSE" )
func GetMappingSummarizeAwrDbParametersValueDefaultEnum(val string) (SummarizeAwrDbParametersValueDefaultEnum, bool)
GetMappingSummarizeAwrDbParametersValueDefaultEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParametersValueDefaultEnumValues() []SummarizeAwrDbParametersValueDefaultEnum
GetSummarizeAwrDbParametersValueDefaultEnumValues Enumerates the set of values for SummarizeAwrDbParametersValueDefaultEnum
SummarizeAwrDbParametersValueModifiedEnum Enum with underlying type: string
type SummarizeAwrDbParametersValueModifiedEnum string
Set of constants representing the allowable values for SummarizeAwrDbParametersValueModifiedEnum
const ( SummarizeAwrDbParametersValueModifiedModified SummarizeAwrDbParametersValueModifiedEnum = "MODIFIED" SummarizeAwrDbParametersValueModifiedSystemMod SummarizeAwrDbParametersValueModifiedEnum = "SYSTEM_MOD" SummarizeAwrDbParametersValueModifiedFalse SummarizeAwrDbParametersValueModifiedEnum = "FALSE" )
func GetMappingSummarizeAwrDbParametersValueModifiedEnum(val string) (SummarizeAwrDbParametersValueModifiedEnum, bool)
GetMappingSummarizeAwrDbParametersValueModifiedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbParametersValueModifiedEnumValues() []SummarizeAwrDbParametersValueModifiedEnum
GetSummarizeAwrDbParametersValueModifiedEnumValues Enumerates the set of values for SummarizeAwrDbParametersValueModifiedEnum
SummarizeAwrDbSnapshotRangesRequest wrapper for the SummarizeAwrDbSnapshotRanges operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbSnapshotRanges.go.html to see an example of how to use SummarizeAwrDbSnapshotRangesRequest.
type SummarizeAwrDbSnapshotRangesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The optional single value query parameter to filter the entity name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in the paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the AWR summary data. SortBy SummarizeAwrDbSnapshotRangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbSnapshotRangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbSnapshotRangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbSnapshotRangesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbSnapshotRangesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbSnapshotRangesRequest) String() string
func (request SummarizeAwrDbSnapshotRangesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbSnapshotRangesResponse wrapper for the SummarizeAwrDbSnapshotRanges operation
type SummarizeAwrDbSnapshotRangesResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbSnapshotRangeCollection instances AwrDbSnapshotRangeCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbSnapshotRangesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbSnapshotRangesResponse) String() string
SummarizeAwrDbSnapshotRangesSortByEnum Enum with underlying type: string
type SummarizeAwrDbSnapshotRangesSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbSnapshotRangesSortByEnum
const ( SummarizeAwrDbSnapshotRangesSortByEndIntervalTime SummarizeAwrDbSnapshotRangesSortByEnum = "END_INTERVAL_TIME" SummarizeAwrDbSnapshotRangesSortByName SummarizeAwrDbSnapshotRangesSortByEnum = "NAME" )
func GetMappingSummarizeAwrDbSnapshotRangesSortByEnum(val string) (SummarizeAwrDbSnapshotRangesSortByEnum, bool)
GetMappingSummarizeAwrDbSnapshotRangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbSnapshotRangesSortByEnumValues() []SummarizeAwrDbSnapshotRangesSortByEnum
GetSummarizeAwrDbSnapshotRangesSortByEnumValues Enumerates the set of values for SummarizeAwrDbSnapshotRangesSortByEnum
SummarizeAwrDbSnapshotRangesSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbSnapshotRangesSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbSnapshotRangesSortOrderEnum
const ( SummarizeAwrDbSnapshotRangesSortOrderAsc SummarizeAwrDbSnapshotRangesSortOrderEnum = "ASC" SummarizeAwrDbSnapshotRangesSortOrderDesc SummarizeAwrDbSnapshotRangesSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbSnapshotRangesSortOrderEnum(val string) (SummarizeAwrDbSnapshotRangesSortOrderEnum, bool)
GetMappingSummarizeAwrDbSnapshotRangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbSnapshotRangesSortOrderEnumValues() []SummarizeAwrDbSnapshotRangesSortOrderEnum
GetSummarizeAwrDbSnapshotRangesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbSnapshotRangesSortOrderEnum
SummarizeAwrDbSysstatsRequest wrapper for the SummarizeAwrDbSysstats operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbSysstats.go.html to see an example of how to use SummarizeAwrDbSysstatsRequest.
type SummarizeAwrDbSysstatsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the data within a time period. SortBy SummarizeAwrDbSysstatsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbSysstatsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbSysstatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbSysstatsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbSysstatsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbSysstatsRequest) String() string
func (request SummarizeAwrDbSysstatsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbSysstatsResponse wrapper for the SummarizeAwrDbSysstats operation
type SummarizeAwrDbSysstatsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbSysstatCollection instances AwrDbSysstatCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbSysstatsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbSysstatsResponse) String() string
SummarizeAwrDbSysstatsSortByEnum Enum with underlying type: string
type SummarizeAwrDbSysstatsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbSysstatsSortByEnum
const ( SummarizeAwrDbSysstatsSortByTimeBegin SummarizeAwrDbSysstatsSortByEnum = "TIME_BEGIN" SummarizeAwrDbSysstatsSortByName SummarizeAwrDbSysstatsSortByEnum = "NAME" )
func GetMappingSummarizeAwrDbSysstatsSortByEnum(val string) (SummarizeAwrDbSysstatsSortByEnum, bool)
GetMappingSummarizeAwrDbSysstatsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbSysstatsSortByEnumValues() []SummarizeAwrDbSysstatsSortByEnum
GetSummarizeAwrDbSysstatsSortByEnumValues Enumerates the set of values for SummarizeAwrDbSysstatsSortByEnum
SummarizeAwrDbSysstatsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbSysstatsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbSysstatsSortOrderEnum
const ( SummarizeAwrDbSysstatsSortOrderAsc SummarizeAwrDbSysstatsSortOrderEnum = "ASC" SummarizeAwrDbSysstatsSortOrderDesc SummarizeAwrDbSysstatsSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbSysstatsSortOrderEnum(val string) (SummarizeAwrDbSysstatsSortOrderEnum, bool)
GetMappingSummarizeAwrDbSysstatsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbSysstatsSortOrderEnumValues() []SummarizeAwrDbSysstatsSortOrderEnum
GetSummarizeAwrDbSysstatsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbSysstatsSortOrderEnum
SummarizeAwrDbTopWaitEventsRequest wrapper for the SummarizeAwrDbTopWaitEvents operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbTopWaitEvents.go.html to see an example of how to use SummarizeAwrDbTopWaitEventsRequest.
type SummarizeAwrDbTopWaitEventsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. SessionType SummarizeAwrDbTopWaitEventsSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The optional query parameter to filter the number of top categories to be returned. TopN *int `mandatory:"false" contributesTo:"query" name:"topN"` // The option to sort the AWR top event summary data. SortBy SummarizeAwrDbTopWaitEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbTopWaitEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbTopWaitEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbTopWaitEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbTopWaitEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbTopWaitEventsRequest) String() string
func (request SummarizeAwrDbTopWaitEventsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbTopWaitEventsResponse wrapper for the SummarizeAwrDbTopWaitEvents operation
type SummarizeAwrDbTopWaitEventsResponse struct { // The underlying http response RawResponse *http.Response // The AwrDbTopWaitEventCollection instance AwrDbTopWaitEventCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbTopWaitEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbTopWaitEventsResponse) String() string
SummarizeAwrDbTopWaitEventsSessionTypeEnum Enum with underlying type: string
type SummarizeAwrDbTopWaitEventsSessionTypeEnum string
Set of constants representing the allowable values for SummarizeAwrDbTopWaitEventsSessionTypeEnum
const ( SummarizeAwrDbTopWaitEventsSessionTypeForeground SummarizeAwrDbTopWaitEventsSessionTypeEnum = "FOREGROUND" SummarizeAwrDbTopWaitEventsSessionTypeBackground SummarizeAwrDbTopWaitEventsSessionTypeEnum = "BACKGROUND" SummarizeAwrDbTopWaitEventsSessionTypeAll SummarizeAwrDbTopWaitEventsSessionTypeEnum = "ALL" )
func GetMappingSummarizeAwrDbTopWaitEventsSessionTypeEnum(val string) (SummarizeAwrDbTopWaitEventsSessionTypeEnum, bool)
GetMappingSummarizeAwrDbTopWaitEventsSessionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbTopWaitEventsSessionTypeEnumValues() []SummarizeAwrDbTopWaitEventsSessionTypeEnum
GetSummarizeAwrDbTopWaitEventsSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDbTopWaitEventsSessionTypeEnum
SummarizeAwrDbTopWaitEventsSortByEnum Enum with underlying type: string
type SummarizeAwrDbTopWaitEventsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbTopWaitEventsSortByEnum
const ( SummarizeAwrDbTopWaitEventsSortByWaitsPersec SummarizeAwrDbTopWaitEventsSortByEnum = "WAITS_PERSEC" SummarizeAwrDbTopWaitEventsSortByAvgWaitTimePersec SummarizeAwrDbTopWaitEventsSortByEnum = "AVG_WAIT_TIME_PERSEC" )
func GetMappingSummarizeAwrDbTopWaitEventsSortByEnum(val string) (SummarizeAwrDbTopWaitEventsSortByEnum, bool)
GetMappingSummarizeAwrDbTopWaitEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbTopWaitEventsSortByEnumValues() []SummarizeAwrDbTopWaitEventsSortByEnum
GetSummarizeAwrDbTopWaitEventsSortByEnumValues Enumerates the set of values for SummarizeAwrDbTopWaitEventsSortByEnum
SummarizeAwrDbTopWaitEventsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbTopWaitEventsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbTopWaitEventsSortOrderEnum
const ( SummarizeAwrDbTopWaitEventsSortOrderAsc SummarizeAwrDbTopWaitEventsSortOrderEnum = "ASC" SummarizeAwrDbTopWaitEventsSortOrderDesc SummarizeAwrDbTopWaitEventsSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbTopWaitEventsSortOrderEnum(val string) (SummarizeAwrDbTopWaitEventsSortOrderEnum, bool)
GetMappingSummarizeAwrDbTopWaitEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbTopWaitEventsSortOrderEnumValues() []SummarizeAwrDbTopWaitEventsSortOrderEnum
GetSummarizeAwrDbTopWaitEventsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbTopWaitEventsSortOrderEnum
SummarizeAwrDbWaitEventBucketsRequest wrapper for the SummarizeAwrDbWaitEventBuckets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbWaitEventBuckets.go.html to see an example of how to use SummarizeAwrDbWaitEventBucketsRequest.
type SummarizeAwrDbWaitEventBucketsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The required single value query parameter to filter the entity name. Name *string `mandatory:"true" contributesTo:"query" name:"name"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The number of buckets within the histogram. NumBucket *int `mandatory:"false" contributesTo:"query" name:"numBucket"` // The minimum value of the histogram. MinValue *float64 `mandatory:"false" contributesTo:"query" name:"minValue"` // The maximum value of the histogram. MaxValue *float64 `mandatory:"false" contributesTo:"query" name:"maxValue"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort distribution data. SortBy SummarizeAwrDbWaitEventBucketsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder SummarizeAwrDbWaitEventBucketsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbWaitEventBucketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventBucketsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventBucketsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbWaitEventBucketsRequest) String() string
func (request SummarizeAwrDbWaitEventBucketsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbWaitEventBucketsResponse wrapper for the SummarizeAwrDbWaitEventBuckets operation
type SummarizeAwrDbWaitEventBucketsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbWaitEventBucketCollection instances AwrDbWaitEventBucketCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbWaitEventBucketsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbWaitEventBucketsResponse) String() string
SummarizeAwrDbWaitEventBucketsSortByEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventBucketsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventBucketsSortByEnum
const ( SummarizeAwrDbWaitEventBucketsSortByCategory SummarizeAwrDbWaitEventBucketsSortByEnum = "CATEGORY" SummarizeAwrDbWaitEventBucketsSortByPercentage SummarizeAwrDbWaitEventBucketsSortByEnum = "PERCENTAGE" )
func GetMappingSummarizeAwrDbWaitEventBucketsSortByEnum(val string) (SummarizeAwrDbWaitEventBucketsSortByEnum, bool)
GetMappingSummarizeAwrDbWaitEventBucketsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbWaitEventBucketsSortByEnumValues() []SummarizeAwrDbWaitEventBucketsSortByEnum
GetSummarizeAwrDbWaitEventBucketsSortByEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventBucketsSortByEnum
SummarizeAwrDbWaitEventBucketsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventBucketsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventBucketsSortOrderEnum
const ( SummarizeAwrDbWaitEventBucketsSortOrderAsc SummarizeAwrDbWaitEventBucketsSortOrderEnum = "ASC" SummarizeAwrDbWaitEventBucketsSortOrderDesc SummarizeAwrDbWaitEventBucketsSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbWaitEventBucketsSortOrderEnum(val string) (SummarizeAwrDbWaitEventBucketsSortOrderEnum, bool)
GetMappingSummarizeAwrDbWaitEventBucketsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbWaitEventBucketsSortOrderEnumValues() []SummarizeAwrDbWaitEventBucketsSortOrderEnum
GetSummarizeAwrDbWaitEventBucketsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventBucketsSortOrderEnum
SummarizeAwrDbWaitEventsRequest wrapper for the SummarizeAwrDbWaitEvents operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeAwrDbWaitEvents.go.html to see an example of how to use SummarizeAwrDbWaitEventsRequest.
type SummarizeAwrDbWaitEventsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The parameter to filter the database by internal ID. // Note that the internal ID of the database can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbs AwrDbId *string `mandatory:"true" contributesTo:"path" name:"awrDbId"` // The optional single value query parameter to filter the database instance number. InstNum *string `mandatory:"false" contributesTo:"query" name:"instNum"` // The optional greater than or equal to filter on the snapshot ID. BeginSnIdGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnIdGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the snapshot ID. EndSnIdLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnIdLessThanOrEqualTo"` // The optional greater than or equal to query parameter to filter the timestamp. TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"` // The optional less than or equal to query parameter to filter the timestamp. TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"` // The optional multiple value query parameter to filter the entity name. Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"` // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. SessionType SummarizeAwrDbWaitEventsSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"` // The optional query parameter to filter the database container by an exact ID value. // Note that the database container ID can be retrieved from the following endpoint: // /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges ContainerId *int `mandatory:"false" contributesTo:"query" name:"containerId"` // The page token representing the page from where the next set of paginated results // are retrieved. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of records returned in large paginated response. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The option to sort the data within a time period. SortBy SummarizeAwrDbWaitEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. SortOrder SummarizeAwrDbWaitEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The client request ID for tracing. 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 }
func (request SummarizeAwrDbWaitEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeAwrDbWaitEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeAwrDbWaitEventsRequest) String() string
func (request SummarizeAwrDbWaitEventsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeAwrDbWaitEventsResponse wrapper for the SummarizeAwrDbWaitEvents operation
type SummarizeAwrDbWaitEventsResponse struct { // The underlying http response RawResponse *http.Response // A list of AwrDbWaitEventCollection instances AwrDbWaitEventCollection `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 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 next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeAwrDbWaitEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeAwrDbWaitEventsResponse) String() string
SummarizeAwrDbWaitEventsSessionTypeEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventsSessionTypeEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventsSessionTypeEnum
const ( SummarizeAwrDbWaitEventsSessionTypeForeground SummarizeAwrDbWaitEventsSessionTypeEnum = "FOREGROUND" SummarizeAwrDbWaitEventsSessionTypeBackground SummarizeAwrDbWaitEventsSessionTypeEnum = "BACKGROUND" SummarizeAwrDbWaitEventsSessionTypeAll SummarizeAwrDbWaitEventsSessionTypeEnum = "ALL" )
func GetMappingSummarizeAwrDbWaitEventsSessionTypeEnum(val string) (SummarizeAwrDbWaitEventsSessionTypeEnum, bool)
GetMappingSummarizeAwrDbWaitEventsSessionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbWaitEventsSessionTypeEnumValues() []SummarizeAwrDbWaitEventsSessionTypeEnum
GetSummarizeAwrDbWaitEventsSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventsSessionTypeEnum
SummarizeAwrDbWaitEventsSortByEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventsSortByEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventsSortByEnum
const ( SummarizeAwrDbWaitEventsSortByTimeBegin SummarizeAwrDbWaitEventsSortByEnum = "TIME_BEGIN" SummarizeAwrDbWaitEventsSortByName SummarizeAwrDbWaitEventsSortByEnum = "NAME" )
func GetMappingSummarizeAwrDbWaitEventsSortByEnum(val string) (SummarizeAwrDbWaitEventsSortByEnum, bool)
GetMappingSummarizeAwrDbWaitEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbWaitEventsSortByEnumValues() []SummarizeAwrDbWaitEventsSortByEnum
GetSummarizeAwrDbWaitEventsSortByEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventsSortByEnum
SummarizeAwrDbWaitEventsSortOrderEnum Enum with underlying type: string
type SummarizeAwrDbWaitEventsSortOrderEnum string
Set of constants representing the allowable values for SummarizeAwrDbWaitEventsSortOrderEnum
const ( SummarizeAwrDbWaitEventsSortOrderAsc SummarizeAwrDbWaitEventsSortOrderEnum = "ASC" SummarizeAwrDbWaitEventsSortOrderDesc SummarizeAwrDbWaitEventsSortOrderEnum = "DESC" )
func GetMappingSummarizeAwrDbWaitEventsSortOrderEnum(val string) (SummarizeAwrDbWaitEventsSortOrderEnum, bool)
GetMappingSummarizeAwrDbWaitEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeAwrDbWaitEventsSortOrderEnumValues() []SummarizeAwrDbWaitEventsSortOrderEnum
GetSummarizeAwrDbWaitEventsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDbWaitEventsSortOrderEnum
SummarizeJobExecutionsStatusesRequest wrapper for the SummarizeJobExecutionsStatuses operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/SummarizeJobExecutionsStatuses.go.html to see an example of how to use SummarizeJobExecutionsStatusesRequest.
type SummarizeJobExecutionsStatusesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The start time of the time range to retrieve the status summary of job executions // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". StartTime *string `mandatory:"true" contributesTo:"query" name:"startTime"` // The end time of the time range to retrieve the status summary of job executions // in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". EndTime *string `mandatory:"true" contributesTo:"query" name:"endTime"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The identifier of the resource. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseGroupId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"false" contributesTo:"query" name:"managedDatabaseId"` // A filter to return only resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort information by. Only one sortOrder can be used. The default sort order // for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending. // The ‘NAME’ sort order is case-sensitive. SortBy SummarizeJobExecutionsStatusesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. SortOrder SummarizeJobExecutionsStatusesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SummarizeJobExecutionsStatusesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeJobExecutionsStatusesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeJobExecutionsStatusesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeJobExecutionsStatusesRequest) String() string
func (request SummarizeJobExecutionsStatusesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SummarizeJobExecutionsStatusesResponse wrapper for the SummarizeJobExecutionsStatuses operation
type SummarizeJobExecutionsStatusesResponse struct { // The underlying http response RawResponse *http.Response // The JobExecutionsStatusSummaryCollection instance JobExecutionsStatusSummaryCollection `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"` }
func (response SummarizeJobExecutionsStatusesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeJobExecutionsStatusesResponse) String() string
SummarizeJobExecutionsStatusesSortByEnum Enum with underlying type: string
type SummarizeJobExecutionsStatusesSortByEnum string
Set of constants representing the allowable values for SummarizeJobExecutionsStatusesSortByEnum
const ( SummarizeJobExecutionsStatusesSortByTimecreated SummarizeJobExecutionsStatusesSortByEnum = "TIMECREATED" SummarizeJobExecutionsStatusesSortByName SummarizeJobExecutionsStatusesSortByEnum = "NAME" )
func GetMappingSummarizeJobExecutionsStatusesSortByEnum(val string) (SummarizeJobExecutionsStatusesSortByEnum, bool)
GetMappingSummarizeJobExecutionsStatusesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeJobExecutionsStatusesSortByEnumValues() []SummarizeJobExecutionsStatusesSortByEnum
GetSummarizeJobExecutionsStatusesSortByEnumValues Enumerates the set of values for SummarizeJobExecutionsStatusesSortByEnum
SummarizeJobExecutionsStatusesSortOrderEnum Enum with underlying type: string
type SummarizeJobExecutionsStatusesSortOrderEnum string
Set of constants representing the allowable values for SummarizeJobExecutionsStatusesSortOrderEnum
const ( SummarizeJobExecutionsStatusesSortOrderAsc SummarizeJobExecutionsStatusesSortOrderEnum = "ASC" SummarizeJobExecutionsStatusesSortOrderDesc SummarizeJobExecutionsStatusesSortOrderEnum = "DESC" )
func GetMappingSummarizeJobExecutionsStatusesSortOrderEnum(val string) (SummarizeJobExecutionsStatusesSortOrderEnum, bool)
GetMappingSummarizeJobExecutionsStatusesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSummarizeJobExecutionsStatusesSortOrderEnumValues() []SummarizeJobExecutionsStatusesSortOrderEnum
GetSummarizeJobExecutionsStatusesSortOrderEnumValues Enumerates the set of values for SummarizeJobExecutionsStatusesSortOrderEnum
SystemPrivilegeCollection A collection of system privileges granted to the current user.
type SystemPrivilegeCollection struct { // An array of system privileges. Items []SystemPrivilegeSummary `mandatory:"true" json:"items"` }
func (m SystemPrivilegeCollection) String() string
func (m SystemPrivilegeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SystemPrivilegeSummary A Summary of system privileges.
type SystemPrivilegeSummary struct { // The name of a system privilege. Name *string `mandatory:"false" json:"name"` // Indicates whether the system privilege is granted with the ADMIN option (YES) or not (NO). AdminOption SystemPrivilegeSummaryAdminOptionEnum `mandatory:"false" json:"adminOption,omitempty"` // Indicates how the system privilege was granted. Possible values: // YES if the system privilege is granted commonly (CONTAINER=ALL is used) // NO if the system privilege is granted locally (CONTAINER=ALL is not used) Common SystemPrivilegeSummaryCommonEnum `mandatory:"false" json:"common,omitempty"` // Indicates whether the granted system privilege is inherited from another container (YES) or not (NO). Inherited SystemPrivilegeSummaryInheritedEnum `mandatory:"false" json:"inherited,omitempty"` }
func (m SystemPrivilegeSummary) String() string
func (m SystemPrivilegeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SystemPrivilegeSummaryAdminOptionEnum Enum with underlying type: string
type SystemPrivilegeSummaryAdminOptionEnum string
Set of constants representing the allowable values for SystemPrivilegeSummaryAdminOptionEnum
const ( SystemPrivilegeSummaryAdminOptionYes SystemPrivilegeSummaryAdminOptionEnum = "YES" SystemPrivilegeSummaryAdminOptionNo SystemPrivilegeSummaryAdminOptionEnum = "NO" )
func GetMappingSystemPrivilegeSummaryAdminOptionEnum(val string) (SystemPrivilegeSummaryAdminOptionEnum, bool)
GetMappingSystemPrivilegeSummaryAdminOptionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSystemPrivilegeSummaryAdminOptionEnumValues() []SystemPrivilegeSummaryAdminOptionEnum
GetSystemPrivilegeSummaryAdminOptionEnumValues Enumerates the set of values for SystemPrivilegeSummaryAdminOptionEnum
SystemPrivilegeSummaryCommonEnum Enum with underlying type: string
type SystemPrivilegeSummaryCommonEnum string
Set of constants representing the allowable values for SystemPrivilegeSummaryCommonEnum
const ( SystemPrivilegeSummaryCommonYes SystemPrivilegeSummaryCommonEnum = "YES" SystemPrivilegeSummaryCommonNo SystemPrivilegeSummaryCommonEnum = "NO" )
func GetMappingSystemPrivilegeSummaryCommonEnum(val string) (SystemPrivilegeSummaryCommonEnum, bool)
GetMappingSystemPrivilegeSummaryCommonEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSystemPrivilegeSummaryCommonEnumValues() []SystemPrivilegeSummaryCommonEnum
GetSystemPrivilegeSummaryCommonEnumValues Enumerates the set of values for SystemPrivilegeSummaryCommonEnum
SystemPrivilegeSummaryInheritedEnum Enum with underlying type: string
type SystemPrivilegeSummaryInheritedEnum string
Set of constants representing the allowable values for SystemPrivilegeSummaryInheritedEnum
const ( SystemPrivilegeSummaryInheritedYes SystemPrivilegeSummaryInheritedEnum = "YES" SystemPrivilegeSummaryInheritedNo SystemPrivilegeSummaryInheritedEnum = "NO" )
func GetMappingSystemPrivilegeSummaryInheritedEnum(val string) (SystemPrivilegeSummaryInheritedEnum, bool)
GetMappingSystemPrivilegeSummaryInheritedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSystemPrivilegeSummaryInheritedEnumValues() []SystemPrivilegeSummaryInheritedEnum
GetSystemPrivilegeSummaryInheritedEnumValues Enumerates the set of values for SystemPrivilegeSummaryInheritedEnum
Tablespace The details of a tablespace.
type Tablespace struct { // The name of the tablespace. Name *string `mandatory:"true" json:"name"` // The type of tablespace. Type TablespaceTypeEnum `mandatory:"true" json:"type"` // The status of the tablespace. Status TablespaceStatusEnum `mandatory:"false" json:"status,omitempty"` // The tablespace block size. BlockSizeBytes *float32 `mandatory:"false" json:"blockSizeBytes"` // The default logging attribute. Logging TablespaceLoggingEnum `mandatory:"false" json:"logging,omitempty"` // Indicates whether the tablespace is under Force Logging mode. IsForceLogging *bool `mandatory:"false" json:"isForceLogging"` // Indicates whether the extents in the tablespace are Locally managed or Dictionary managed. ExtentManagement TablespaceExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"` // The type of extent allocation in effect for the tablespace. AllocationType TablespaceAllocationTypeEnum `mandatory:"false" json:"allocationType,omitempty"` // Indicates whether the tablespace is plugged in. IsPluggedIn *bool `mandatory:"false" json:"isPluggedIn"` // Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO). SegmentSpaceManagement TablespaceSegmentSpaceManagementEnum `mandatory:"false" json:"segmentSpaceManagement,omitempty"` // Indicates whether default table compression is enabled or disabled. DefaultTableCompression TablespaceDefaultTableCompressionEnum `mandatory:"false" json:"defaultTableCompression,omitempty"` // Indicates whether undo retention guarantee is enabled for the tablespace. Retention TablespaceRetentionEnum `mandatory:"false" json:"retention,omitempty"` // Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace. IsBigfile *bool `mandatory:"false" json:"isBigfile"` // Indicates whether predicates are evaluated by Host or by Storage. PredicateEvaluation TablespacePredicateEvaluationEnum `mandatory:"false" json:"predicateEvaluation,omitempty"` // Indicates whether the tablespace is encrypted. IsEncrypted *bool `mandatory:"false" json:"isEncrypted"` // The operation type for which default compression is enabled. CompressFor TablespaceCompressForEnum `mandatory:"false" json:"compressFor,omitempty"` // Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace. DefaultInMemory TablespaceDefaultInMemoryEnum `mandatory:"false" json:"defaultInMemory,omitempty"` // Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace. DefaultInMemoryPriority TablespaceDefaultInMemoryPriorityEnum `mandatory:"false" json:"defaultInMemoryPriority,omitempty"` // Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment. DefaultInMemoryDistribute TablespaceDefaultInMemoryDistributeEnum `mandatory:"false" json:"defaultInMemoryDistribute,omitempty"` // Indicates the default compression level for the IM column store for the tablespace. DefaultInMemoryCompression TablespaceDefaultInMemoryCompressionEnum `mandatory:"false" json:"defaultInMemoryCompression,omitempty"` // Indicates the duplicate setting for the IM column store in an Oracle RAC environment. DefaultInMemoryDuplicate TablespaceDefaultInMemoryDuplicateEnum `mandatory:"false" json:"defaultInMemoryDuplicate,omitempty"` // Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types. Shared TablespaceSharedEnum `mandatory:"false" json:"shared,omitempty"` // Indicates whether default index compression is enabled or disabled. DefaultIndexCompression TablespaceDefaultIndexCompressionEnum `mandatory:"false" json:"defaultIndexCompression,omitempty"` // The operation type for which default index compression is enabled. IndexCompressFor TablespaceIndexCompressForEnum `mandatory:"false" json:"indexCompressFor,omitempty"` // This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata. DefaultCellMemory *string `mandatory:"false" json:"defaultCellMemory"` // Indicates how the IM column store is populated on various instances by default for the tablespace. DefaultInMemoryService TablespaceDefaultInMemoryServiceEnum `mandatory:"false" json:"defaultInMemoryService,omitempty"` // Indicates the service name for the service on which the IM column store should be populated by default for the tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null. DefaultInMemoryServiceName *string `mandatory:"false" json:"defaultInMemoryServiceName"` // The lost write protection setting for the tablespace. LostWriteProtect TablespaceLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"` // Indicates whether this is a chunk tablespace. IsChunkTablespace *bool `mandatory:"false" json:"isChunkTablespace"` // The temporary tablespace group. TempGroup *string `mandatory:"false" json:"tempGroup"` // The maximum tablespace size in KB. If the tablespace contains any data files with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its data files is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only data files with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all data files in the tablespace. MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"` // The allocated tablespace size in KB. AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"` // The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata. UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"` // The free space available in the tablespace in KB. FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"` // The total space used by the tablespace in KB. UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"` // The percentage of used space out of the maximum available space in the tablespace. UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"` // The percentage of used space out of the total allocated space in the tablespace. UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"` // Indicates whether this is the default tablespace. IsDefault *bool `mandatory:"false" json:"isDefault"` // A list of the data files associated with the tablespace. Datafiles []Datafile `mandatory:"false" json:"datafiles"` }
func (m Tablespace) String() string
func (m Tablespace) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceAdminCredentialDetails The credential to connect to the database to perform tablespace administration tasks.
type TablespaceAdminCredentialDetails interface { // The user to connect to the database. GetUsername() *string // The role of the database user. GetRole() TablespaceAdminCredentialDetailsRoleEnum }
TablespaceAdminCredentialDetailsRoleEnum Enum with underlying type: string
type TablespaceAdminCredentialDetailsRoleEnum string
Set of constants representing the allowable values for TablespaceAdminCredentialDetailsRoleEnum
const ( TablespaceAdminCredentialDetailsRoleNormal TablespaceAdminCredentialDetailsRoleEnum = "NORMAL" TablespaceAdminCredentialDetailsRoleSysdba TablespaceAdminCredentialDetailsRoleEnum = "SYSDBA" )
func GetMappingTablespaceAdminCredentialDetailsRoleEnum(val string) (TablespaceAdminCredentialDetailsRoleEnum, bool)
GetMappingTablespaceAdminCredentialDetailsRoleEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceAdminCredentialDetailsRoleEnumValues() []TablespaceAdminCredentialDetailsRoleEnum
GetTablespaceAdminCredentialDetailsRoleEnumValues Enumerates the set of values for TablespaceAdminCredentialDetailsRoleEnum
TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum Enum with underlying type: string
type TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum string
Set of constants representing the allowable values for TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum
const ( TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeSecret TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum = "SECRET" TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypePassword TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum = "PASSWORD" )
func GetMappingTablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum(val string) (TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum, bool)
GetMappingTablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnumValues() []TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum
GetTablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnumValues Enumerates the set of values for TablespaceAdminCredentialDetailsTablespaceAdminCredentialTypeEnum
TablespaceAdminPasswordCredentialDetails User provides a password to be used to connect to the database.
type TablespaceAdminPasswordCredentialDetails struct { // The user to connect to the database. Username *string `mandatory:"true" json:"username"` // The database user's password encoded using BASE64 scheme. Password *string `mandatory:"true" json:"password"` // The role of the database user. Role TablespaceAdminCredentialDetailsRoleEnum `mandatory:"true" json:"role"` }
func (m TablespaceAdminPasswordCredentialDetails) GetRole() TablespaceAdminCredentialDetailsRoleEnum
GetRole returns Role
func (m TablespaceAdminPasswordCredentialDetails) GetUsername() *string
GetUsername returns Username
func (m TablespaceAdminPasswordCredentialDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TablespaceAdminPasswordCredentialDetails) String() string
func (m TablespaceAdminPasswordCredentialDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceAdminSecretCredentialDetails User provides a secret OCID, which will be used to retrieve the password to connect to the database.
type TablespaceAdminSecretCredentialDetails struct { // The user to connect to the database. Username *string `mandatory:"true" json:"username"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Secret // where the database password is stored. PasswordSecretId *string `mandatory:"true" json:"passwordSecretId"` // The role of the database user. Role TablespaceAdminCredentialDetailsRoleEnum `mandatory:"true" json:"role"` }
func (m TablespaceAdminSecretCredentialDetails) GetRole() TablespaceAdminCredentialDetailsRoleEnum
GetRole returns Role
func (m TablespaceAdminSecretCredentialDetails) GetUsername() *string
GetUsername returns Username
func (m TablespaceAdminSecretCredentialDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TablespaceAdminSecretCredentialDetails) String() string
func (m TablespaceAdminSecretCredentialDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceAdminStatus The status of a tablespace admin action.
type TablespaceAdminStatus struct { // The status of a tablespace admin action. Status TablespaceAdminStatusStatusEnum `mandatory:"true" json:"status"` // The error code that denotes failure if the tablespace admin action is not successful. The error code is "null" if the admin action is successful. ErrorCode *int `mandatory:"false" json:"errorCode"` // The error message that indicates the reason for failure if the tablespace admin action is not successful. The error message is "null" if the admin action is successful. ErrorMessage *string `mandatory:"false" json:"errorMessage"` }
func (m TablespaceAdminStatus) String() string
func (m TablespaceAdminStatus) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceAdminStatusStatusEnum Enum with underlying type: string
type TablespaceAdminStatusStatusEnum string
Set of constants representing the allowable values for TablespaceAdminStatusStatusEnum
const ( TablespaceAdminStatusStatusSucceeded TablespaceAdminStatusStatusEnum = "SUCCEEDED" TablespaceAdminStatusStatusFailed TablespaceAdminStatusStatusEnum = "FAILED" )
func GetMappingTablespaceAdminStatusStatusEnum(val string) (TablespaceAdminStatusStatusEnum, bool)
GetMappingTablespaceAdminStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceAdminStatusStatusEnumValues() []TablespaceAdminStatusStatusEnum
GetTablespaceAdminStatusStatusEnumValues Enumerates the set of values for TablespaceAdminStatusStatusEnum
TablespaceAllocationTypeEnum Enum with underlying type: string
type TablespaceAllocationTypeEnum string
Set of constants representing the allowable values for TablespaceAllocationTypeEnum
const ( TablespaceAllocationTypeSystem TablespaceAllocationTypeEnum = "SYSTEM" TablespaceAllocationTypeUniform TablespaceAllocationTypeEnum = "UNIFORM" TablespaceAllocationTypeUser TablespaceAllocationTypeEnum = "USER" )
func GetMappingTablespaceAllocationTypeEnum(val string) (TablespaceAllocationTypeEnum, bool)
GetMappingTablespaceAllocationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceAllocationTypeEnumValues() []TablespaceAllocationTypeEnum
GetTablespaceAllocationTypeEnumValues Enumerates the set of values for TablespaceAllocationTypeEnum
TablespaceCollection A collection of tablespaces for a specific database.
type TablespaceCollection struct { // An array of TablespaceSummary resources. Items []TablespaceSummary `mandatory:"true" json:"items"` }
func (m TablespaceCollection) String() string
func (m TablespaceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceCompressForEnum Enum with underlying type: string
type TablespaceCompressForEnum string
Set of constants representing the allowable values for TablespaceCompressForEnum
const ( TablespaceCompressForBasic TablespaceCompressForEnum = "BASIC" TablespaceCompressForAdvanced TablespaceCompressForEnum = "ADVANCED" TablespaceCompressForQueryLow TablespaceCompressForEnum = "QUERY_LOW" TablespaceCompressForQueryHigh TablespaceCompressForEnum = "QUERY_HIGH" TablespaceCompressForArchiveLow TablespaceCompressForEnum = "ARCHIVE_LOW" TablespaceCompressForArchiveHigh TablespaceCompressForEnum = "ARCHIVE_HIGH" TablespaceCompressForDirectLoadOnly TablespaceCompressForEnum = "DIRECT_LOAD_ONLY" TablespaceCompressForForAllOperations TablespaceCompressForEnum = "FOR_ALL_OPERATIONS" )
func GetMappingTablespaceCompressForEnum(val string) (TablespaceCompressForEnum, bool)
GetMappingTablespaceCompressForEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceCompressForEnumValues() []TablespaceCompressForEnum
GetTablespaceCompressForEnumValues Enumerates the set of values for TablespaceCompressForEnum
TablespaceDefaultInMemoryCompressionEnum Enum with underlying type: string
type TablespaceDefaultInMemoryCompressionEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryCompressionEnum
const ( TablespaceDefaultInMemoryCompressionNoMemcompress TablespaceDefaultInMemoryCompressionEnum = "NO_MEMCOMPRESS" TablespaceDefaultInMemoryCompressionForDml TablespaceDefaultInMemoryCompressionEnum = "FOR_DML" TablespaceDefaultInMemoryCompressionForQueryLow TablespaceDefaultInMemoryCompressionEnum = "FOR_QUERY_LOW" TablespaceDefaultInMemoryCompressionForQueryHigh TablespaceDefaultInMemoryCompressionEnum = "FOR_QUERY_HIGH" TablespaceDefaultInMemoryCompressionForCapacityLow TablespaceDefaultInMemoryCompressionEnum = "FOR_CAPACITY_LOW" TablespaceDefaultInMemoryCompressionForCapacityHigh TablespaceDefaultInMemoryCompressionEnum = "FOR_CAPACITY_HIGH" )
func GetMappingTablespaceDefaultInMemoryCompressionEnum(val string) (TablespaceDefaultInMemoryCompressionEnum, bool)
GetMappingTablespaceDefaultInMemoryCompressionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultInMemoryCompressionEnumValues() []TablespaceDefaultInMemoryCompressionEnum
GetTablespaceDefaultInMemoryCompressionEnumValues Enumerates the set of values for TablespaceDefaultInMemoryCompressionEnum
TablespaceDefaultInMemoryDistributeEnum Enum with underlying type: string
type TablespaceDefaultInMemoryDistributeEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryDistributeEnum
const ( TablespaceDefaultInMemoryDistributeAuto TablespaceDefaultInMemoryDistributeEnum = "AUTO" TablespaceDefaultInMemoryDistributeByRowidRange TablespaceDefaultInMemoryDistributeEnum = "BY_ROWID_RANGE" TablespaceDefaultInMemoryDistributeByPartition TablespaceDefaultInMemoryDistributeEnum = "BY_PARTITION" TablespaceDefaultInMemoryDistributeBySubpartition TablespaceDefaultInMemoryDistributeEnum = "BY_SUBPARTITION" )
func GetMappingTablespaceDefaultInMemoryDistributeEnum(val string) (TablespaceDefaultInMemoryDistributeEnum, bool)
GetMappingTablespaceDefaultInMemoryDistributeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultInMemoryDistributeEnumValues() []TablespaceDefaultInMemoryDistributeEnum
GetTablespaceDefaultInMemoryDistributeEnumValues Enumerates the set of values for TablespaceDefaultInMemoryDistributeEnum
TablespaceDefaultInMemoryDuplicateEnum Enum with underlying type: string
type TablespaceDefaultInMemoryDuplicateEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryDuplicateEnum
const ( TablespaceDefaultInMemoryDuplicateNoDuplicate TablespaceDefaultInMemoryDuplicateEnum = "NO_DUPLICATE" TablespaceDefaultInMemoryDuplicateDuplicate TablespaceDefaultInMemoryDuplicateEnum = "DUPLICATE" TablespaceDefaultInMemoryDuplicateDuplicateAll TablespaceDefaultInMemoryDuplicateEnum = "DUPLICATE_ALL" )
func GetMappingTablespaceDefaultInMemoryDuplicateEnum(val string) (TablespaceDefaultInMemoryDuplicateEnum, bool)
GetMappingTablespaceDefaultInMemoryDuplicateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultInMemoryDuplicateEnumValues() []TablespaceDefaultInMemoryDuplicateEnum
GetTablespaceDefaultInMemoryDuplicateEnumValues Enumerates the set of values for TablespaceDefaultInMemoryDuplicateEnum
TablespaceDefaultInMemoryEnum Enum with underlying type: string
type TablespaceDefaultInMemoryEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryEnum
const ( TablespaceDefaultInMemoryEnabled TablespaceDefaultInMemoryEnum = "ENABLED" TablespaceDefaultInMemoryDisabled TablespaceDefaultInMemoryEnum = "DISABLED" )
func GetMappingTablespaceDefaultInMemoryEnum(val string) (TablespaceDefaultInMemoryEnum, bool)
GetMappingTablespaceDefaultInMemoryEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultInMemoryEnumValues() []TablespaceDefaultInMemoryEnum
GetTablespaceDefaultInMemoryEnumValues Enumerates the set of values for TablespaceDefaultInMemoryEnum
TablespaceDefaultInMemoryPriorityEnum Enum with underlying type: string
type TablespaceDefaultInMemoryPriorityEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryPriorityEnum
const ( TablespaceDefaultInMemoryPriorityLow TablespaceDefaultInMemoryPriorityEnum = "LOW" TablespaceDefaultInMemoryPriorityMedium TablespaceDefaultInMemoryPriorityEnum = "MEDIUM" TablespaceDefaultInMemoryPriorityHigh TablespaceDefaultInMemoryPriorityEnum = "HIGH" TablespaceDefaultInMemoryPriorityCritical TablespaceDefaultInMemoryPriorityEnum = "CRITICAL" TablespaceDefaultInMemoryPriorityNone TablespaceDefaultInMemoryPriorityEnum = "NONE" )
func GetMappingTablespaceDefaultInMemoryPriorityEnum(val string) (TablespaceDefaultInMemoryPriorityEnum, bool)
GetMappingTablespaceDefaultInMemoryPriorityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultInMemoryPriorityEnumValues() []TablespaceDefaultInMemoryPriorityEnum
GetTablespaceDefaultInMemoryPriorityEnumValues Enumerates the set of values for TablespaceDefaultInMemoryPriorityEnum
TablespaceDefaultInMemoryServiceEnum Enum with underlying type: string
type TablespaceDefaultInMemoryServiceEnum string
Set of constants representing the allowable values for TablespaceDefaultInMemoryServiceEnum
const ( TablespaceDefaultInMemoryServiceDefault TablespaceDefaultInMemoryServiceEnum = "DEFAULT" TablespaceDefaultInMemoryServiceNone TablespaceDefaultInMemoryServiceEnum = "NONE" TablespaceDefaultInMemoryServiceAll TablespaceDefaultInMemoryServiceEnum = "ALL" TablespaceDefaultInMemoryServiceUserDefined TablespaceDefaultInMemoryServiceEnum = "USER_DEFINED" )
func GetMappingTablespaceDefaultInMemoryServiceEnum(val string) (TablespaceDefaultInMemoryServiceEnum, bool)
GetMappingTablespaceDefaultInMemoryServiceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultInMemoryServiceEnumValues() []TablespaceDefaultInMemoryServiceEnum
GetTablespaceDefaultInMemoryServiceEnumValues Enumerates the set of values for TablespaceDefaultInMemoryServiceEnum
TablespaceDefaultIndexCompressionEnum Enum with underlying type: string
type TablespaceDefaultIndexCompressionEnum string
Set of constants representing the allowable values for TablespaceDefaultIndexCompressionEnum
const ( TablespaceDefaultIndexCompressionEnabled TablespaceDefaultIndexCompressionEnum = "ENABLED" TablespaceDefaultIndexCompressionDisabled TablespaceDefaultIndexCompressionEnum = "DISABLED" )
func GetMappingTablespaceDefaultIndexCompressionEnum(val string) (TablespaceDefaultIndexCompressionEnum, bool)
GetMappingTablespaceDefaultIndexCompressionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultIndexCompressionEnumValues() []TablespaceDefaultIndexCompressionEnum
GetTablespaceDefaultIndexCompressionEnumValues Enumerates the set of values for TablespaceDefaultIndexCompressionEnum
TablespaceDefaultTableCompressionEnum Enum with underlying type: string
type TablespaceDefaultTableCompressionEnum string
Set of constants representing the allowable values for TablespaceDefaultTableCompressionEnum
const ( TablespaceDefaultTableCompressionEnabled TablespaceDefaultTableCompressionEnum = "ENABLED" TablespaceDefaultTableCompressionDisabled TablespaceDefaultTableCompressionEnum = "DISABLED" )
func GetMappingTablespaceDefaultTableCompressionEnum(val string) (TablespaceDefaultTableCompressionEnum, bool)
GetMappingTablespaceDefaultTableCompressionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceDefaultTableCompressionEnumValues() []TablespaceDefaultTableCompressionEnum
GetTablespaceDefaultTableCompressionEnumValues Enumerates the set of values for TablespaceDefaultTableCompressionEnum
TablespaceExtentManagementEnum Enum with underlying type: string
type TablespaceExtentManagementEnum string
Set of constants representing the allowable values for TablespaceExtentManagementEnum
const ( TablespaceExtentManagementLocal TablespaceExtentManagementEnum = "LOCAL" TablespaceExtentManagementDictionary TablespaceExtentManagementEnum = "DICTIONARY" )
func GetMappingTablespaceExtentManagementEnum(val string) (TablespaceExtentManagementEnum, bool)
GetMappingTablespaceExtentManagementEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceExtentManagementEnumValues() []TablespaceExtentManagementEnum
GetTablespaceExtentManagementEnumValues Enumerates the set of values for TablespaceExtentManagementEnum
TablespaceIndexCompressForEnum Enum with underlying type: string
type TablespaceIndexCompressForEnum string
Set of constants representing the allowable values for TablespaceIndexCompressForEnum
const ( TablespaceIndexCompressForAdvancedLow TablespaceIndexCompressForEnum = "ADVANCED_LOW" TablespaceIndexCompressForAdvancedHigh TablespaceIndexCompressForEnum = "ADVANCED_HIGH" TablespaceIndexCompressForNone TablespaceIndexCompressForEnum = "NONE" )
func GetMappingTablespaceIndexCompressForEnum(val string) (TablespaceIndexCompressForEnum, bool)
GetMappingTablespaceIndexCompressForEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceIndexCompressForEnumValues() []TablespaceIndexCompressForEnum
GetTablespaceIndexCompressForEnumValues Enumerates the set of values for TablespaceIndexCompressForEnum
TablespaceLoggingEnum Enum with underlying type: string
type TablespaceLoggingEnum string
Set of constants representing the allowable values for TablespaceLoggingEnum
const ( TablespaceLoggingLogging TablespaceLoggingEnum = "LOGGING" TablespaceLoggingNologging TablespaceLoggingEnum = "NOLOGGING" )
func GetMappingTablespaceLoggingEnum(val string) (TablespaceLoggingEnum, bool)
GetMappingTablespaceLoggingEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceLoggingEnumValues() []TablespaceLoggingEnum
GetTablespaceLoggingEnumValues Enumerates the set of values for TablespaceLoggingEnum
TablespaceLostWriteProtectEnum Enum with underlying type: string
type TablespaceLostWriteProtectEnum string
Set of constants representing the allowable values for TablespaceLostWriteProtectEnum
const ( TablespaceLostWriteProtectEnabled TablespaceLostWriteProtectEnum = "ENABLED" TablespaceLostWriteProtectProtectOff TablespaceLostWriteProtectEnum = "PROTECT_OFF" TablespaceLostWriteProtectSuspend TablespaceLostWriteProtectEnum = "SUSPEND" )
func GetMappingTablespaceLostWriteProtectEnum(val string) (TablespaceLostWriteProtectEnum, bool)
GetMappingTablespaceLostWriteProtectEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceLostWriteProtectEnumValues() []TablespaceLostWriteProtectEnum
GetTablespaceLostWriteProtectEnumValues Enumerates the set of values for TablespaceLostWriteProtectEnum
TablespacePredicateEvaluationEnum Enum with underlying type: string
type TablespacePredicateEvaluationEnum string
Set of constants representing the allowable values for TablespacePredicateEvaluationEnum
const ( TablespacePredicateEvaluationHost TablespacePredicateEvaluationEnum = "HOST" TablespacePredicateEvaluationStorage TablespacePredicateEvaluationEnum = "STORAGE" )
func GetMappingTablespacePredicateEvaluationEnum(val string) (TablespacePredicateEvaluationEnum, bool)
GetMappingTablespacePredicateEvaluationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespacePredicateEvaluationEnumValues() []TablespacePredicateEvaluationEnum
GetTablespacePredicateEvaluationEnumValues Enumerates the set of values for TablespacePredicateEvaluationEnum
TablespaceRetentionEnum Enum with underlying type: string
type TablespaceRetentionEnum string
Set of constants representing the allowable values for TablespaceRetentionEnum
const ( TablespaceRetentionGuarantee TablespaceRetentionEnum = "GUARANTEE" TablespaceRetentionNoguarantee TablespaceRetentionEnum = "NOGUARANTEE" TablespaceRetentionNotApply TablespaceRetentionEnum = "NOT_APPLY" )
func GetMappingTablespaceRetentionEnum(val string) (TablespaceRetentionEnum, bool)
GetMappingTablespaceRetentionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceRetentionEnumValues() []TablespaceRetentionEnum
GetTablespaceRetentionEnumValues Enumerates the set of values for TablespaceRetentionEnum
TablespaceSegmentSpaceManagementEnum Enum with underlying type: string
type TablespaceSegmentSpaceManagementEnum string
Set of constants representing the allowable values for TablespaceSegmentSpaceManagementEnum
const ( TablespaceSegmentSpaceManagementManual TablespaceSegmentSpaceManagementEnum = "MANUAL" TablespaceSegmentSpaceManagementAuto TablespaceSegmentSpaceManagementEnum = "AUTO" )
func GetMappingTablespaceSegmentSpaceManagementEnum(val string) (TablespaceSegmentSpaceManagementEnum, bool)
GetMappingTablespaceSegmentSpaceManagementEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSegmentSpaceManagementEnumValues() []TablespaceSegmentSpaceManagementEnum
GetTablespaceSegmentSpaceManagementEnumValues Enumerates the set of values for TablespaceSegmentSpaceManagementEnum
TablespaceSharedEnum Enum with underlying type: string
type TablespaceSharedEnum string
Set of constants representing the allowable values for TablespaceSharedEnum
const ( TablespaceSharedEnum = "SHARED" TablespaceSharedEnum = "LOCAL_ON_LEAF" TablespaceSharedEnum = "LOCAL_ON_ALL" )
func GetMappingTablespaceSharedEnum(val string) (TablespaceSharedEnum, bool)
GetMappingTablespaceSharedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSharedEnumValues() []TablespaceSharedEnum
GetTablespaceSharedEnumValues Enumerates the set of values for TablespaceSharedEnum
TablespaceStatusEnum Enum with underlying type: string
type TablespaceStatusEnum string
Set of constants representing the allowable values for TablespaceStatusEnum
const ( TablespaceStatusOnline TablespaceStatusEnum = "ONLINE" TablespaceStatusOffline TablespaceStatusEnum = "OFFLINE" TablespaceStatusReadOnly TablespaceStatusEnum = "READ_ONLY" )
func GetMappingTablespaceStatusEnum(val string) (TablespaceStatusEnum, bool)
GetMappingTablespaceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceStatusEnumValues() []TablespaceStatusEnum
GetTablespaceStatusEnumValues Enumerates the set of values for TablespaceStatusEnum
TablespaceStorageSize Storage size.
type TablespaceStorageSize struct { // Storage size number in bytes, kilobytes, megabytes, gigabytes, or terabytes. Size *float32 `mandatory:"true" json:"size"` // Storage size unit: bytes, kilobytes, megabytes, gigabytes, or terabytes. Unit TablespaceStorageSizeUnitEnum `mandatory:"false" json:"unit,omitempty"` }
func (m TablespaceStorageSize) String() string
func (m TablespaceStorageSize) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceStorageSizeUnitEnum Enum with underlying type: string
type TablespaceStorageSizeUnitEnum string
Set of constants representing the allowable values for TablespaceStorageSizeUnitEnum
const ( TablespaceStorageSizeUnitBytes TablespaceStorageSizeUnitEnum = "BYTES" TablespaceStorageSizeUnitKilobytes TablespaceStorageSizeUnitEnum = "KILOBYTES" TablespaceStorageSizeUnitMegabytes TablespaceStorageSizeUnitEnum = "MEGABYTES" TablespaceStorageSizeUnitGigabytes TablespaceStorageSizeUnitEnum = "GIGABYTES" TablespaceStorageSizeUnitTerabytes TablespaceStorageSizeUnitEnum = "TERABYTES" )
func GetMappingTablespaceStorageSizeUnitEnum(val string) (TablespaceStorageSizeUnitEnum, bool)
GetMappingTablespaceStorageSizeUnitEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceStorageSizeUnitEnumValues() []TablespaceStorageSizeUnitEnum
GetTablespaceStorageSizeUnitEnumValues Enumerates the set of values for TablespaceStorageSizeUnitEnum
TablespaceSummary The summary of a tablespace.
type TablespaceSummary struct { // The name of the tablespace. Name *string `mandatory:"true" json:"name"` // The type of tablespace. Type TablespaceSummaryTypeEnum `mandatory:"true" json:"type"` // The status of the tablespace. Status TablespaceSummaryStatusEnum `mandatory:"false" json:"status,omitempty"` // The tablespace block size. BlockSizeBytes *float32 `mandatory:"false" json:"blockSizeBytes"` // The default logging attribute. Logging TablespaceSummaryLoggingEnum `mandatory:"false" json:"logging,omitempty"` // Indicates whether the tablespace is under Force Logging mode. IsForceLogging *bool `mandatory:"false" json:"isForceLogging"` // Indicates whether the extents in the tablespace are Locally managed or Dictionary managed. ExtentManagement TablespaceSummaryExtentManagementEnum `mandatory:"false" json:"extentManagement,omitempty"` // The type of extent allocation in effect for the tablespace. AllocationType TablespaceSummaryAllocationTypeEnum `mandatory:"false" json:"allocationType,omitempty"` // Indicates whether the tablespace is plugged in. IsPluggedIn *bool `mandatory:"false" json:"isPluggedIn"` // Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO). SegmentSpaceManagement TablespaceSummarySegmentSpaceManagementEnum `mandatory:"false" json:"segmentSpaceManagement,omitempty"` // Indicates whether default table compression is enabled or disabled. DefaultTableCompression TablespaceSummaryDefaultTableCompressionEnum `mandatory:"false" json:"defaultTableCompression,omitempty"` // Indicates whether undo retention guarantee is enabled for the tablespace. Retention TablespaceSummaryRetentionEnum `mandatory:"false" json:"retention,omitempty"` // Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace. IsBigfile *bool `mandatory:"false" json:"isBigfile"` // Indicates whether predicates are evaluated by Host or by Storage. PredicateEvaluation TablespaceSummaryPredicateEvaluationEnum `mandatory:"false" json:"predicateEvaluation,omitempty"` // Indicates whether the tablespace is encrypted. IsEncrypted *bool `mandatory:"false" json:"isEncrypted"` // The operation type for which default compression is enabled. CompressFor TablespaceSummaryCompressForEnum `mandatory:"false" json:"compressFor,omitempty"` // Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace. DefaultInMemory TablespaceSummaryDefaultInMemoryEnum `mandatory:"false" json:"defaultInMemory,omitempty"` // Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace. DefaultInMemoryPriority TablespaceSummaryDefaultInMemoryPriorityEnum `mandatory:"false" json:"defaultInMemoryPriority,omitempty"` // Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment. DefaultInMemoryDistribute TablespaceSummaryDefaultInMemoryDistributeEnum `mandatory:"false" json:"defaultInMemoryDistribute,omitempty"` // Indicates the default compression level for the IM column store for the tablespace. DefaultInMemoryCompression TablespaceSummaryDefaultInMemoryCompressionEnum `mandatory:"false" json:"defaultInMemoryCompression,omitempty"` // Indicates the duplicate setting for the IM column store in an Oracle RAC environment. DefaultInMemoryDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum `mandatory:"false" json:"defaultInMemoryDuplicate,omitempty"` // Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types. Shared TablespaceSummarySharedEnum `mandatory:"false" json:"shared,omitempty"` // Indicates whether default index compression is enabled or disabled. DefaultIndexCompression TablespaceSummaryDefaultIndexCompressionEnum `mandatory:"false" json:"defaultIndexCompression,omitempty"` // The operation type for which default index compression is enabled. IndexCompressFor TablespaceSummaryIndexCompressForEnum `mandatory:"false" json:"indexCompressFor,omitempty"` // This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly. This column is intended for use with Oracle Exadata. DefaultCellMemory *string `mandatory:"false" json:"defaultCellMemory"` // Indicates how the IM column store is populated on various instances by default for the tablespace. DefaultInMemoryService TablespaceSummaryDefaultInMemoryServiceEnum `mandatory:"false" json:"defaultInMemoryService,omitempty"` // Indicates the service name for the service on which the IM column store should be populated by default for the tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null. DefaultInMemoryServiceName *string `mandatory:"false" json:"defaultInMemoryServiceName"` // The lost write protection setting for the tablespace. LostWriteProtect TablespaceSummaryLostWriteProtectEnum `mandatory:"false" json:"lostWriteProtect,omitempty"` // Indicates whether this is a chunk tablespace. IsChunkTablespace *bool `mandatory:"false" json:"isChunkTablespace"` // The temporary tablespace group. TempGroup *string `mandatory:"false" json:"tempGroup"` // The maximum tablespace size in KB. If the tablespace contains any data files with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its data files is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only data files with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all data files in the tablespace. MaxSizeKB *float32 `mandatory:"false" json:"maxSizeKB"` // The allocated tablespace size in KB. AllocatedSizeKB *float32 `mandatory:"false" json:"allocatedSizeKB"` // The size of the tablespace available for user data in KB. The difference between tablespace size and user data size is used for storing metadata. UserSizeKB *float32 `mandatory:"false" json:"userSizeKB"` // The free space available in the tablespace in KB. FreeSpaceKB *float32 `mandatory:"false" json:"freeSpaceKB"` // The total space used by the tablespace in KB. UsedSpaceKB *float32 `mandatory:"false" json:"usedSpaceKB"` // The percentage of used space out of the maximum available space in the tablespace. UsedPercentAvailable *float64 `mandatory:"false" json:"usedPercentAvailable"` // The percentage of used space out of the total allocated space in the tablespace. UsedPercentAllocated *float64 `mandatory:"false" json:"usedPercentAllocated"` // Indicates whether this is the default tablespace. IsDefault *bool `mandatory:"false" json:"isDefault"` // A list of the data files associated with the tablespace. Datafiles []Datafile `mandatory:"false" json:"datafiles"` }
func (m TablespaceSummary) String() string
func (m TablespaceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TablespaceSummaryAllocationTypeEnum Enum with underlying type: string
type TablespaceSummaryAllocationTypeEnum string
Set of constants representing the allowable values for TablespaceSummaryAllocationTypeEnum
const ( TablespaceSummaryAllocationTypeSystem TablespaceSummaryAllocationTypeEnum = "SYSTEM" TablespaceSummaryAllocationTypeUniform TablespaceSummaryAllocationTypeEnum = "UNIFORM" TablespaceSummaryAllocationTypeUser TablespaceSummaryAllocationTypeEnum = "USER" )
func GetMappingTablespaceSummaryAllocationTypeEnum(val string) (TablespaceSummaryAllocationTypeEnum, bool)
GetMappingTablespaceSummaryAllocationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryAllocationTypeEnumValues() []TablespaceSummaryAllocationTypeEnum
GetTablespaceSummaryAllocationTypeEnumValues Enumerates the set of values for TablespaceSummaryAllocationTypeEnum
TablespaceSummaryCompressForEnum Enum with underlying type: string
type TablespaceSummaryCompressForEnum string
Set of constants representing the allowable values for TablespaceSummaryCompressForEnum
const ( TablespaceSummaryCompressForBasic TablespaceSummaryCompressForEnum = "BASIC" TablespaceSummaryCompressForAdvanced TablespaceSummaryCompressForEnum = "ADVANCED" TablespaceSummaryCompressForQueryLow TablespaceSummaryCompressForEnum = "QUERY_LOW" TablespaceSummaryCompressForQueryHigh TablespaceSummaryCompressForEnum = "QUERY_HIGH" TablespaceSummaryCompressForArchiveLow TablespaceSummaryCompressForEnum = "ARCHIVE_LOW" TablespaceSummaryCompressForArchiveHigh TablespaceSummaryCompressForEnum = "ARCHIVE_HIGH" TablespaceSummaryCompressForDirectLoadOnly TablespaceSummaryCompressForEnum = "DIRECT_LOAD_ONLY" TablespaceSummaryCompressForForAllOperations TablespaceSummaryCompressForEnum = "FOR_ALL_OPERATIONS" )
func GetMappingTablespaceSummaryCompressForEnum(val string) (TablespaceSummaryCompressForEnum, bool)
GetMappingTablespaceSummaryCompressForEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryCompressForEnumValues() []TablespaceSummaryCompressForEnum
GetTablespaceSummaryCompressForEnumValues Enumerates the set of values for TablespaceSummaryCompressForEnum
TablespaceSummaryDefaultInMemoryCompressionEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryCompressionEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryCompressionEnum
const ( TablespaceSummaryDefaultInMemoryCompressionNoMemcompress TablespaceSummaryDefaultInMemoryCompressionEnum = "NO_MEMCOMPRESS" TablespaceSummaryDefaultInMemoryCompressionForDml TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_DML" TablespaceSummaryDefaultInMemoryCompressionForQueryLow TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_QUERY_LOW" TablespaceSummaryDefaultInMemoryCompressionForQueryHigh TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_QUERY_HIGH" TablespaceSummaryDefaultInMemoryCompressionForCapacityLow TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_CAPACITY_LOW" TablespaceSummaryDefaultInMemoryCompressionForCapacityHigh TablespaceSummaryDefaultInMemoryCompressionEnum = "FOR_CAPACITY_HIGH" )
func GetMappingTablespaceSummaryDefaultInMemoryCompressionEnum(val string) (TablespaceSummaryDefaultInMemoryCompressionEnum, bool)
GetMappingTablespaceSummaryDefaultInMemoryCompressionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultInMemoryCompressionEnumValues() []TablespaceSummaryDefaultInMemoryCompressionEnum
GetTablespaceSummaryDefaultInMemoryCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryCompressionEnum
TablespaceSummaryDefaultInMemoryDistributeEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryDistributeEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryDistributeEnum
const ( TablespaceSummaryDefaultInMemoryDistributeAuto TablespaceSummaryDefaultInMemoryDistributeEnum = "AUTO" TablespaceSummaryDefaultInMemoryDistributeByRowidRange TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_ROWID_RANGE" TablespaceSummaryDefaultInMemoryDistributeByPartition TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_PARTITION" TablespaceSummaryDefaultInMemoryDistributeBySubpartition TablespaceSummaryDefaultInMemoryDistributeEnum = "BY_SUBPARTITION" )
func GetMappingTablespaceSummaryDefaultInMemoryDistributeEnum(val string) (TablespaceSummaryDefaultInMemoryDistributeEnum, bool)
GetMappingTablespaceSummaryDefaultInMemoryDistributeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultInMemoryDistributeEnumValues() []TablespaceSummaryDefaultInMemoryDistributeEnum
GetTablespaceSummaryDefaultInMemoryDistributeEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryDistributeEnum
TablespaceSummaryDefaultInMemoryDuplicateEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryDuplicateEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryDuplicateEnum
const ( TablespaceSummaryDefaultInMemoryDuplicateNoDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum = "NO_DUPLICATE" TablespaceSummaryDefaultInMemoryDuplicateDuplicate TablespaceSummaryDefaultInMemoryDuplicateEnum = "DUPLICATE" TablespaceSummaryDefaultInMemoryDuplicateDuplicateAll TablespaceSummaryDefaultInMemoryDuplicateEnum = "DUPLICATE_ALL" )
func GetMappingTablespaceSummaryDefaultInMemoryDuplicateEnum(val string) (TablespaceSummaryDefaultInMemoryDuplicateEnum, bool)
GetMappingTablespaceSummaryDefaultInMemoryDuplicateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues() []TablespaceSummaryDefaultInMemoryDuplicateEnum
GetTablespaceSummaryDefaultInMemoryDuplicateEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryDuplicateEnum
TablespaceSummaryDefaultInMemoryEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryEnum
const ( TablespaceSummaryDefaultInMemoryEnabled TablespaceSummaryDefaultInMemoryEnum = "ENABLED" TablespaceSummaryDefaultInMemoryDisabled TablespaceSummaryDefaultInMemoryEnum = "DISABLED" )
func GetMappingTablespaceSummaryDefaultInMemoryEnum(val string) (TablespaceSummaryDefaultInMemoryEnum, bool)
GetMappingTablespaceSummaryDefaultInMemoryEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultInMemoryEnumValues() []TablespaceSummaryDefaultInMemoryEnum
GetTablespaceSummaryDefaultInMemoryEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryEnum
TablespaceSummaryDefaultInMemoryPriorityEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryPriorityEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryPriorityEnum
const ( TablespaceSummaryDefaultInMemoryPriorityLow TablespaceSummaryDefaultInMemoryPriorityEnum = "LOW" TablespaceSummaryDefaultInMemoryPriorityMedium TablespaceSummaryDefaultInMemoryPriorityEnum = "MEDIUM" TablespaceSummaryDefaultInMemoryPriorityHigh TablespaceSummaryDefaultInMemoryPriorityEnum = "HIGH" TablespaceSummaryDefaultInMemoryPriorityCritical TablespaceSummaryDefaultInMemoryPriorityEnum = "CRITICAL" TablespaceSummaryDefaultInMemoryPriorityNone TablespaceSummaryDefaultInMemoryPriorityEnum = "NONE" )
func GetMappingTablespaceSummaryDefaultInMemoryPriorityEnum(val string) (TablespaceSummaryDefaultInMemoryPriorityEnum, bool)
GetMappingTablespaceSummaryDefaultInMemoryPriorityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultInMemoryPriorityEnumValues() []TablespaceSummaryDefaultInMemoryPriorityEnum
GetTablespaceSummaryDefaultInMemoryPriorityEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryPriorityEnum
TablespaceSummaryDefaultInMemoryServiceEnum Enum with underlying type: string
type TablespaceSummaryDefaultInMemoryServiceEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultInMemoryServiceEnum
const ( TablespaceSummaryDefaultInMemoryServiceDefault TablespaceSummaryDefaultInMemoryServiceEnum = "DEFAULT" TablespaceSummaryDefaultInMemoryServiceNone TablespaceSummaryDefaultInMemoryServiceEnum = "NONE" TablespaceSummaryDefaultInMemoryServiceAll TablespaceSummaryDefaultInMemoryServiceEnum = "ALL" TablespaceSummaryDefaultInMemoryServiceUserDefined TablespaceSummaryDefaultInMemoryServiceEnum = "USER_DEFINED" )
func GetMappingTablespaceSummaryDefaultInMemoryServiceEnum(val string) (TablespaceSummaryDefaultInMemoryServiceEnum, bool)
GetMappingTablespaceSummaryDefaultInMemoryServiceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultInMemoryServiceEnumValues() []TablespaceSummaryDefaultInMemoryServiceEnum
GetTablespaceSummaryDefaultInMemoryServiceEnumValues Enumerates the set of values for TablespaceSummaryDefaultInMemoryServiceEnum
TablespaceSummaryDefaultIndexCompressionEnum Enum with underlying type: string
type TablespaceSummaryDefaultIndexCompressionEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultIndexCompressionEnum
const ( TablespaceSummaryDefaultIndexCompressionEnabled TablespaceSummaryDefaultIndexCompressionEnum = "ENABLED" TablespaceSummaryDefaultIndexCompressionDisabled TablespaceSummaryDefaultIndexCompressionEnum = "DISABLED" )
func GetMappingTablespaceSummaryDefaultIndexCompressionEnum(val string) (TablespaceSummaryDefaultIndexCompressionEnum, bool)
GetMappingTablespaceSummaryDefaultIndexCompressionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultIndexCompressionEnumValues() []TablespaceSummaryDefaultIndexCompressionEnum
GetTablespaceSummaryDefaultIndexCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultIndexCompressionEnum
TablespaceSummaryDefaultTableCompressionEnum Enum with underlying type: string
type TablespaceSummaryDefaultTableCompressionEnum string
Set of constants representing the allowable values for TablespaceSummaryDefaultTableCompressionEnum
const ( TablespaceSummaryDefaultTableCompressionEnabled TablespaceSummaryDefaultTableCompressionEnum = "ENABLED" TablespaceSummaryDefaultTableCompressionDisabled TablespaceSummaryDefaultTableCompressionEnum = "DISABLED" )
func GetMappingTablespaceSummaryDefaultTableCompressionEnum(val string) (TablespaceSummaryDefaultTableCompressionEnum, bool)
GetMappingTablespaceSummaryDefaultTableCompressionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryDefaultTableCompressionEnumValues() []TablespaceSummaryDefaultTableCompressionEnum
GetTablespaceSummaryDefaultTableCompressionEnumValues Enumerates the set of values for TablespaceSummaryDefaultTableCompressionEnum
TablespaceSummaryExtentManagementEnum Enum with underlying type: string
type TablespaceSummaryExtentManagementEnum string
Set of constants representing the allowable values for TablespaceSummaryExtentManagementEnum
const ( TablespaceSummaryExtentManagementLocal TablespaceSummaryExtentManagementEnum = "LOCAL" TablespaceSummaryExtentManagementDictionary TablespaceSummaryExtentManagementEnum = "DICTIONARY" )
func GetMappingTablespaceSummaryExtentManagementEnum(val string) (TablespaceSummaryExtentManagementEnum, bool)
GetMappingTablespaceSummaryExtentManagementEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryExtentManagementEnumValues() []TablespaceSummaryExtentManagementEnum
GetTablespaceSummaryExtentManagementEnumValues Enumerates the set of values for TablespaceSummaryExtentManagementEnum
TablespaceSummaryIndexCompressForEnum Enum with underlying type: string
type TablespaceSummaryIndexCompressForEnum string
Set of constants representing the allowable values for TablespaceSummaryIndexCompressForEnum
const ( TablespaceSummaryIndexCompressForAdvancedLow TablespaceSummaryIndexCompressForEnum = "ADVANCED_LOW" TablespaceSummaryIndexCompressForAdvancedHigh TablespaceSummaryIndexCompressForEnum = "ADVANCED_HIGH" TablespaceSummaryIndexCompressForNone TablespaceSummaryIndexCompressForEnum = "NONE" )
func GetMappingTablespaceSummaryIndexCompressForEnum(val string) (TablespaceSummaryIndexCompressForEnum, bool)
GetMappingTablespaceSummaryIndexCompressForEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryIndexCompressForEnumValues() []TablespaceSummaryIndexCompressForEnum
GetTablespaceSummaryIndexCompressForEnumValues Enumerates the set of values for TablespaceSummaryIndexCompressForEnum
TablespaceSummaryLoggingEnum Enum with underlying type: string
type TablespaceSummaryLoggingEnum string
Set of constants representing the allowable values for TablespaceSummaryLoggingEnum
const ( TablespaceSummaryLoggingLogging TablespaceSummaryLoggingEnum = "LOGGING" TablespaceSummaryLoggingNologging TablespaceSummaryLoggingEnum = "NOLOGGING" )
func GetMappingTablespaceSummaryLoggingEnum(val string) (TablespaceSummaryLoggingEnum, bool)
GetMappingTablespaceSummaryLoggingEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryLoggingEnumValues() []TablespaceSummaryLoggingEnum
GetTablespaceSummaryLoggingEnumValues Enumerates the set of values for TablespaceSummaryLoggingEnum
TablespaceSummaryLostWriteProtectEnum Enum with underlying type: string
type TablespaceSummaryLostWriteProtectEnum string
Set of constants representing the allowable values for TablespaceSummaryLostWriteProtectEnum
const ( TablespaceSummaryLostWriteProtectEnabled TablespaceSummaryLostWriteProtectEnum = "ENABLED" TablespaceSummaryLostWriteProtectProtectOff TablespaceSummaryLostWriteProtectEnum = "PROTECT_OFF" TablespaceSummaryLostWriteProtectSuspend TablespaceSummaryLostWriteProtectEnum = "SUSPEND" )
func GetMappingTablespaceSummaryLostWriteProtectEnum(val string) (TablespaceSummaryLostWriteProtectEnum, bool)
GetMappingTablespaceSummaryLostWriteProtectEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryLostWriteProtectEnumValues() []TablespaceSummaryLostWriteProtectEnum
GetTablespaceSummaryLostWriteProtectEnumValues Enumerates the set of values for TablespaceSummaryLostWriteProtectEnum
TablespaceSummaryPredicateEvaluationEnum Enum with underlying type: string
type TablespaceSummaryPredicateEvaluationEnum string
Set of constants representing the allowable values for TablespaceSummaryPredicateEvaluationEnum
const ( TablespaceSummaryPredicateEvaluationHost TablespaceSummaryPredicateEvaluationEnum = "HOST" TablespaceSummaryPredicateEvaluationStorage TablespaceSummaryPredicateEvaluationEnum = "STORAGE" )
func GetMappingTablespaceSummaryPredicateEvaluationEnum(val string) (TablespaceSummaryPredicateEvaluationEnum, bool)
GetMappingTablespaceSummaryPredicateEvaluationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryPredicateEvaluationEnumValues() []TablespaceSummaryPredicateEvaluationEnum
GetTablespaceSummaryPredicateEvaluationEnumValues Enumerates the set of values for TablespaceSummaryPredicateEvaluationEnum
TablespaceSummaryRetentionEnum Enum with underlying type: string
type TablespaceSummaryRetentionEnum string
Set of constants representing the allowable values for TablespaceSummaryRetentionEnum
const ( TablespaceSummaryRetentionGuarantee TablespaceSummaryRetentionEnum = "GUARANTEE" TablespaceSummaryRetentionNoguarantee TablespaceSummaryRetentionEnum = "NOGUARANTEE" TablespaceSummaryRetentionNotApply TablespaceSummaryRetentionEnum = "NOT_APPLY" )
func GetMappingTablespaceSummaryRetentionEnum(val string) (TablespaceSummaryRetentionEnum, bool)
GetMappingTablespaceSummaryRetentionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryRetentionEnumValues() []TablespaceSummaryRetentionEnum
GetTablespaceSummaryRetentionEnumValues Enumerates the set of values for TablespaceSummaryRetentionEnum
TablespaceSummarySegmentSpaceManagementEnum Enum with underlying type: string
type TablespaceSummarySegmentSpaceManagementEnum string
Set of constants representing the allowable values for TablespaceSummarySegmentSpaceManagementEnum
const ( TablespaceSummarySegmentSpaceManagementManual TablespaceSummarySegmentSpaceManagementEnum = "MANUAL" TablespaceSummarySegmentSpaceManagementAuto TablespaceSummarySegmentSpaceManagementEnum = "AUTO" )
func GetMappingTablespaceSummarySegmentSpaceManagementEnum(val string) (TablespaceSummarySegmentSpaceManagementEnum, bool)
GetMappingTablespaceSummarySegmentSpaceManagementEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummarySegmentSpaceManagementEnumValues() []TablespaceSummarySegmentSpaceManagementEnum
GetTablespaceSummarySegmentSpaceManagementEnumValues Enumerates the set of values for TablespaceSummarySegmentSpaceManagementEnum
TablespaceSummarySharedEnum Enum with underlying type: string
type TablespaceSummarySharedEnum string
Set of constants representing the allowable values for TablespaceSummarySharedEnum
const ( TablespaceSummarySharedEnum = "SHARED" TablespaceSummarySharedEnum = "LOCAL_ON_LEAF" TablespaceSummarySharedEnum = "LOCAL_ON_ALL" )
func GetMappingTablespaceSummarySharedEnum(val string) (TablespaceSummarySharedEnum, bool)
GetMappingTablespaceSummarySharedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummarySharedEnumValues() []TablespaceSummarySharedEnum
GetTablespaceSummarySharedEnumValues Enumerates the set of values for TablespaceSummarySharedEnum
TablespaceSummaryStatusEnum Enum with underlying type: string
type TablespaceSummaryStatusEnum string
Set of constants representing the allowable values for TablespaceSummaryStatusEnum
const ( TablespaceSummaryStatusOnline TablespaceSummaryStatusEnum = "ONLINE" TablespaceSummaryStatusOffline TablespaceSummaryStatusEnum = "OFFLINE" TablespaceSummaryStatusReadOnly TablespaceSummaryStatusEnum = "READ_ONLY" )
func GetMappingTablespaceSummaryStatusEnum(val string) (TablespaceSummaryStatusEnum, bool)
GetMappingTablespaceSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryStatusEnumValues() []TablespaceSummaryStatusEnum
GetTablespaceSummaryStatusEnumValues Enumerates the set of values for TablespaceSummaryStatusEnum
TablespaceSummaryTypeEnum Enum with underlying type: string
type TablespaceSummaryTypeEnum string
Set of constants representing the allowable values for TablespaceSummaryTypeEnum
const ( TablespaceSummaryTypeUndo TablespaceSummaryTypeEnum = "UNDO" TablespaceSummaryTypeLostWriteProtection TablespaceSummaryTypeEnum = "LOST_WRITE_PROTECTION" TablespaceSummaryTypePermanent TablespaceSummaryTypeEnum = "PERMANENT" TablespaceSummaryTypeTemporary TablespaceSummaryTypeEnum = "TEMPORARY" )
func GetMappingTablespaceSummaryTypeEnum(val string) (TablespaceSummaryTypeEnum, bool)
GetMappingTablespaceSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceSummaryTypeEnumValues() []TablespaceSummaryTypeEnum
GetTablespaceSummaryTypeEnumValues Enumerates the set of values for TablespaceSummaryTypeEnum
TablespaceTypeEnum Enum with underlying type: string
type TablespaceTypeEnum string
Set of constants representing the allowable values for TablespaceTypeEnum
const ( TablespaceTypeUndo TablespaceTypeEnum = "UNDO" TablespaceTypeLostWriteProtection TablespaceTypeEnum = "LOST_WRITE_PROTECTION" TablespaceTypePermanent TablespaceTypeEnum = "PERMANENT" TablespaceTypeTemporary TablespaceTypeEnum = "TEMPORARY" )
func GetMappingTablespaceTypeEnum(val string) (TablespaceTypeEnum, bool)
GetMappingTablespaceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTablespaceTypeEnumValues() []TablespaceTypeEnum
GetTablespaceTypeEnumValues Enumerates the set of values for TablespaceTypeEnum
TimeSeriesMetricDataPoint The metric values with dimension details.
type TimeSeriesMetricDataPoint struct { // The date and time the metric was created. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` // The value of the metric. Value *float64 `mandatory:"true" json:"value"` // The unit of the metric value. Unit *string `mandatory:"true" json:"unit"` // The dimensions of the metric. Dimensions []MetricDimensionDefinition `mandatory:"false" json:"dimensions"` }
func (m TimeSeriesMetricDataPoint) String() string
func (m TimeSeriesMetricDataPoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TimeSeriesMetricDefinition The response object representing time series metric details for a specific database at a particular time.
type TimeSeriesMetricDefinition struct { // The name of the metric the time series data corresponds to. MetricName *string `mandatory:"true" json:"metricName"` // The time series metric data for the given metric. Datapoints []TimeSeriesMetricDataPoint `mandatory:"true" json:"datapoints"` }
func (m TimeSeriesMetricDefinition) String() string
func (m TimeSeriesMetricDefinition) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDatabaseParametersResult The results of database parameter update.
type UpdateDatabaseParametersResult struct { // A map with the parameter name as key and its update status as value. Status map[string]DatabaseParameterUpdateStatus `mandatory:"true" json:"status"` }
func (m UpdateDatabaseParametersResult) String() string
func (m UpdateDatabaseParametersResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDbManagementPrivateEndpointDetails The details used to update a Database Management private endpoint.
type UpdateDbManagementPrivateEndpointDetails struct { // The display name of the private endpoint. Name *string `mandatory:"false" json:"name"` // The description of the private endpoint. Description *string `mandatory:"false" json:"description"` // The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m UpdateDbManagementPrivateEndpointDetails) String() string
func (m UpdateDbManagementPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDbManagementPrivateEndpointRequest wrapper for the UpdateDbManagementPrivateEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateDbManagementPrivateEndpoint.go.html to see an example of how to use UpdateDbManagementPrivateEndpointRequest.
type UpdateDbManagementPrivateEndpointRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. DbManagementPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"dbManagementPrivateEndpointId"` // The details used to update a Database Management private endpoint. UpdateDbManagementPrivateEndpointDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request UpdateDbManagementPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDbManagementPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDbManagementPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDbManagementPrivateEndpointRequest) String() string
func (request UpdateDbManagementPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDbManagementPrivateEndpointResponse wrapper for the UpdateDbManagementPrivateEndpoint operation
type UpdateDbManagementPrivateEndpointResponse struct { // The underlying http response RawResponse *http.Response // The DbManagementPrivateEndpoint instance DbManagementPrivateEndpoint `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. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateDbManagementPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDbManagementPrivateEndpointResponse) String() string
UpdateJobDetails The details required to update a job.
type UpdateJobDetails interface { // The description of the job. GetDescription() *string // The job timeout duration, which is expressed like "1h 10m 15s". GetTimeout() *string GetResultLocation() JobExecutionResultLocation GetScheduleDetails() *JobScheduleDetails }
UpdateJobRequest wrapper for the UpdateJob operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateJob.go.html to see an example of how to use UpdateJobRequest.
type UpdateJobRequest struct { // The identifier of the job. JobId *string `mandatory:"true" contributesTo:"path" name:"jobId"` // The details required to update a job. UpdateJobDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request UpdateJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateJobRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateJobRequest) String() string
func (request UpdateJobRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateJobResponse wrapper for the UpdateJob operation
type UpdateJobResponse struct { // The underlying http response RawResponse *http.Response // The Job instance Job `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. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateJobResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateJobResponse) String() string
UpdateManagedDatabaseGroupDetails The details required to update a Managed Database Group.
type UpdateManagedDatabaseGroupDetails struct { // The information specified by the user about the Managed Database Group. Description *string `mandatory:"false" json:"description"` }
func (m UpdateManagedDatabaseGroupDetails) String() string
func (m UpdateManagedDatabaseGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedDatabaseGroupRequest wrapper for the UpdateManagedDatabaseGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateManagedDatabaseGroup.go.html to see an example of how to use UpdateManagedDatabaseGroupRequest.
type UpdateManagedDatabaseGroupRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database Group. ManagedDatabaseGroupId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseGroupId"` // The details required to update a Managed Database Group. UpdateManagedDatabaseGroupDetails `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"` // The client request ID for tracing. 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 }
func (request UpdateManagedDatabaseGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateManagedDatabaseGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedDatabaseGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedDatabaseGroupRequest) String() string
func (request UpdateManagedDatabaseGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateManagedDatabaseGroupResponse wrapper for the UpdateManagedDatabaseGroup operation
type UpdateManagedDatabaseGroupResponse struct { // The underlying http response RawResponse *http.Response // The ManagedDatabaseGroup instance ManagedDatabaseGroup `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. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateManagedDatabaseGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedDatabaseGroupResponse) String() string
UpdateSqlJobDetails The details specific to the SQL job request.
type UpdateSqlJobDetails struct { // The description of the job. Description *string `mandatory:"false" json:"description"` // The job timeout duration, which is expressed like "1h 10m 15s". Timeout *string `mandatory:"false" json:"timeout"` ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"` ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"` // The SQL text to be executed as part of the job. SqlText *string `mandatory:"false" json:"sqlText"` // The database user name used to execute the SQL job. If the job is being executed on a // Managed Database Group, then the user name should exist on all the databases in the // group with the same password. UserName *string `mandatory:"false" json:"userName"` // The password for the database user name used to execute the SQL job. Password *string `mandatory:"false" json:"password"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the secret containing the user password. SecretId *string `mandatory:"false" json:"secretId"` SqlType SqlJobSqlTypeEnum `mandatory:"false" json:"sqlType,omitempty"` // The role of the database user. Indicates whether the database user is a normal user or sysdba. Role SqlJobRoleEnum `mandatory:"false" json:"role,omitempty"` }
func (m UpdateSqlJobDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateSqlJobDetails) GetResultLocation() JobExecutionResultLocation
GetResultLocation returns ResultLocation
func (m UpdateSqlJobDetails) GetScheduleDetails() *JobScheduleDetails
GetScheduleDetails returns ScheduleDetails
func (m UpdateSqlJobDetails) GetTimeout() *string
GetTimeout returns Timeout
func (m UpdateSqlJobDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateSqlJobDetails) String() string
func (m *UpdateSqlJobDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateSqlJobDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTablespaceDetails The details required to update a tablespace.
type UpdateTablespaceDetails struct { CredentialDetails TablespaceAdminCredentialDetails `mandatory:"true" json:"credentialDetails"` // The name of the tablespace. It must be unique within a database. Name *string `mandatory:"false" json:"name"` // The type of tablespace. Type UpdateTablespaceDetailsTypeEnum `mandatory:"false" json:"type,omitempty"` // The size of each data file or temp file. FileSize *TablespaceStorageSize `mandatory:"false" json:"fileSize"` // The status of the tablespace. Status UpdateTablespaceDetailsStatusEnum `mandatory:"false" json:"status,omitempty"` // Specifies whether the data file or temp file can be extended automatically. IsAutoExtensible *bool `mandatory:"false" json:"isAutoExtensible"` // The size of the next increment of disk space to be allocated automatically when more extents are required. AutoExtendNextSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendNextSize"` // The maximum disk space allowed for automatic extension of the data files or temp files. AutoExtendMaxSize *TablespaceStorageSize `mandatory:"false" json:"autoExtendMaxSize"` // Specifies whether the disk space of the data file or temp file can be limited. IsMaxSizeUnlimited *bool `mandatory:"false" json:"isMaxSizeUnlimited"` // Specifies whether the tablespace is the default tablespace. IsDefault *bool `mandatory:"false" json:"isDefault"` }
func (m UpdateTablespaceDetails) String() string
func (m *UpdateTablespaceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateTablespaceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTablespaceDetailsStatusEnum Enum with underlying type: string
type UpdateTablespaceDetailsStatusEnum string
Set of constants representing the allowable values for UpdateTablespaceDetailsStatusEnum
const ( UpdateTablespaceDetailsStatusOnly UpdateTablespaceDetailsStatusEnum = "READ_ONLY" UpdateTablespaceDetailsStatusWrite UpdateTablespaceDetailsStatusEnum = "READ_WRITE" )
func GetMappingUpdateTablespaceDetailsStatusEnum(val string) (UpdateTablespaceDetailsStatusEnum, bool)
GetMappingUpdateTablespaceDetailsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateTablespaceDetailsStatusEnumValues() []UpdateTablespaceDetailsStatusEnum
GetUpdateTablespaceDetailsStatusEnumValues Enumerates the set of values for UpdateTablespaceDetailsStatusEnum
UpdateTablespaceDetailsTypeEnum Enum with underlying type: string
type UpdateTablespaceDetailsTypeEnum string
Set of constants representing the allowable values for UpdateTablespaceDetailsTypeEnum
const ( UpdateTablespaceDetailsTypePermanent UpdateTablespaceDetailsTypeEnum = "PERMANENT" UpdateTablespaceDetailsTypeTemporary UpdateTablespaceDetailsTypeEnum = "TEMPORARY" )
func GetMappingUpdateTablespaceDetailsTypeEnum(val string) (UpdateTablespaceDetailsTypeEnum, bool)
GetMappingUpdateTablespaceDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateTablespaceDetailsTypeEnumValues() []UpdateTablespaceDetailsTypeEnum
GetUpdateTablespaceDetailsTypeEnumValues Enumerates the set of values for UpdateTablespaceDetailsTypeEnum
UpdateTablespaceRequest wrapper for the UpdateTablespace operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/59.0.0/databasemanagement/UpdateTablespace.go.html to see an example of how to use UpdateTablespaceRequest.
type UpdateTablespaceRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId *string `mandatory:"true" contributesTo:"path" name:"managedDatabaseId"` // The name of the tablespace. TablespaceName *string `mandatory:"true" contributesTo:"path" name:"tablespaceName"` // The details required to update a tablespace. UpdateTablespaceDetails `contributesTo:"body"` // The client request ID for tracing. 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 }
func (request UpdateTablespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTablespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTablespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTablespaceRequest) String() string
func (request UpdateTablespaceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTablespaceResponse wrapper for the UpdateTablespace operation
type UpdateTablespaceResponse struct { // The underlying http response RawResponse *http.Response // The Tablespace instance Tablespace `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"` }
func (response UpdateTablespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTablespaceResponse) String() string
User The summary of a specific User.
type User struct { // The name of the User. Name *string `mandatory:"true" json:"name"` // The status of the user account. Status UserStatusEnum `mandatory:"true" json:"status"` // The default tablespace for data. DefaultTablespace *string `mandatory:"true" json:"defaultTablespace"` // The name of the default tablespace for temporary tables or the name of a tablespace group. TempTablespace *string `mandatory:"true" json:"tempTablespace"` // The date and time the user was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The User resource profile name. Profile *string `mandatory:"true" json:"profile"` // The date the account was locked if account status was LOCKED. TimeLocked *common.SDKTime `mandatory:"false" json:"timeLocked"` // The date and time of the expiration of the user account. TimeExpiring *common.SDKTime `mandatory:"false" json:"timeExpiring"` // The default local temporary tablespace for the user. LocalTempTablespace *string `mandatory:"false" json:"localTempTablespace"` // The initial resource consumer group for the User. ConsumerGroup *string `mandatory:"false" json:"consumerGroup"` // The external name of the user. ExternalName *string `mandatory:"false" json:"externalName"` // The list of existing versions of the password hashes (also known as "verifiers") for the account. PasswordVersions *string `mandatory:"false" json:"passwordVersions"` // Indicates whether editions have been enabled for the corresponding user (Y) or not (N). EditionsEnabled UserEditionsEnabledEnum `mandatory:"false" json:"editionsEnabled,omitempty"` // The authentication mechanism for the user. Authentication UserAuthenticationEnum `mandatory:"false" json:"authentication,omitempty"` // Indicates whether a user can connect directly (N) or whether the account can only be proxied (Y) by users who have proxy privileges // for this account (that is, by users who have been granted the "connect through" privilege for this account). ProxyConnect UserProxyConnectEnum `mandatory:"false" json:"proxyConnect,omitempty"` // Indicates whether a given user is common(Y) or local(N). Common UserCommonEnum `mandatory:"false" json:"common,omitempty"` // The date and time of the last user login. // This column is not populated when a user connects to the database with administrative privileges, that is, AS { SYSASM | SYSBACKUP | SYSDBA | SYSDG | SYSOPER | SYSRAC | SYSKM }. TimeLastLogin *common.SDKTime `mandatory:"false" json:"timeLastLogin"` // Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as catalog.sql or catproc.sql). OracleMaintained UserOracleMaintainedEnum `mandatory:"false" json:"oracleMaintained,omitempty"` // Indicates whether the user definition is inherited from another container (YES) or not (NO). Inherited UserInheritedEnum `mandatory:"false" json:"inherited,omitempty"` // The default collation for the user schema. DefaultCollation *string `mandatory:"false" json:"defaultCollation"` // Indicates whether the user is a common user created by an implicit application (YES) or not (NO). Implicit UserImplicitEnum `mandatory:"false" json:"implicit,omitempty"` // In a sharded database, indicates whether the user is created with shard DDL enabled (YES) or not (NO). AllShared UserAllSharedEnum `mandatory:"false" json:"allShared,omitempty"` // In a federated sharded database, indicates whether the user is an external shard user (YES) or not (NO). ExternalShared UserExternalSharedEnum `mandatory:"false" json:"externalShared,omitempty"` // The date and time when the user password was last set. // This column is populated only when the value of the AUTHENTICATION_TYPE column is PASSWORD. Otherwise, this column is null. TimePasswordChanged *common.SDKTime `mandatory:"false" json:"timePasswordChanged"` }
func (m User) String() string
func (m User) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UserAllSharedEnum Enum with underlying type: string
type UserAllSharedEnum string
Set of constants representing the allowable values for UserAllSharedEnum
const ( UserAllSharedEnum = "YES" UserAllSharedEnum = "NO" )
func GetMappingUserAllSharedEnum(val string) (UserAllSharedEnum, bool)
GetMappingUserAllSharedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserAllSharedEnumValues() []UserAllSharedEnum
GetUserAllSharedEnumValues Enumerates the set of values for UserAllSharedEnum
UserAuthenticationEnum Enum with underlying type: string
type UserAuthenticationEnum string
Set of constants representing the allowable values for UserAuthenticationEnum
const ( UserAuthenticationNone UserAuthenticationEnum = "NONE" UserAuthenticationExternal UserAuthenticationEnum = "EXTERNAL" UserAuthenticationGlobal UserAuthenticationEnum = "GLOBAL" UserAuthenticationPassword UserAuthenticationEnum = "PASSWORD" )
func GetMappingUserAuthenticationEnum(val string) (UserAuthenticationEnum, bool)
GetMappingUserAuthenticationEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserAuthenticationEnumValues() []UserAuthenticationEnum
GetUserAuthenticationEnumValues Enumerates the set of values for UserAuthenticationEnum
UserCollection A collection of users for a specific database.
type UserCollection struct { // An array of User resources. Items []UserSummary `mandatory:"true" json:"items"` }
func (m UserCollection) String() string
func (m UserCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UserCommonEnum Enum with underlying type: string
type UserCommonEnum string
Set of constants representing the allowable values for UserCommonEnum
const ( UserCommonYes UserCommonEnum = "YES" UserCommonNo UserCommonEnum = "NO" )
func GetMappingUserCommonEnum(val string) (UserCommonEnum, bool)
GetMappingUserCommonEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserCommonEnumValues() []UserCommonEnum
GetUserCommonEnumValues Enumerates the set of values for UserCommonEnum
UserEditionsEnabledEnum Enum with underlying type: string
type UserEditionsEnabledEnum string
Set of constants representing the allowable values for UserEditionsEnabledEnum
const ( UserEditionsEnabledYes UserEditionsEnabledEnum = "YES" UserEditionsEnabledNo UserEditionsEnabledEnum = "NO" )
func GetMappingUserEditionsEnabledEnum(val string) (UserEditionsEnabledEnum, bool)
GetMappingUserEditionsEnabledEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserEditionsEnabledEnumValues() []UserEditionsEnabledEnum
GetUserEditionsEnabledEnumValues Enumerates the set of values for UserEditionsEnabledEnum
UserExternalSharedEnum Enum with underlying type: string
type UserExternalSharedEnum string
Set of constants representing the allowable values for UserExternalSharedEnum
const ( UserExternalSharedEnum = "YES" UserExternalSharedEnum = "NO" )
func GetMappingUserExternalSharedEnum(val string) (UserExternalSharedEnum, bool)
GetMappingUserExternalSharedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserExternalSharedEnumValues() []UserExternalSharedEnum
GetUserExternalSharedEnumValues Enumerates the set of values for UserExternalSharedEnum
UserImplicitEnum Enum with underlying type: string
type UserImplicitEnum string
Set of constants representing the allowable values for UserImplicitEnum
const ( UserImplicitYes UserImplicitEnum = "YES" UserImplicitNo UserImplicitEnum = "NO" )
func GetMappingUserImplicitEnum(val string) (UserImplicitEnum, bool)
GetMappingUserImplicitEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserImplicitEnumValues() []UserImplicitEnum
GetUserImplicitEnumValues Enumerates the set of values for UserImplicitEnum
UserInheritedEnum Enum with underlying type: string
type UserInheritedEnum string
Set of constants representing the allowable values for UserInheritedEnum
const ( UserInheritedYes UserInheritedEnum = "YES" UserInheritedNo UserInheritedEnum = "NO" )
func GetMappingUserInheritedEnum(val string) (UserInheritedEnum, bool)
GetMappingUserInheritedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserInheritedEnumValues() []UserInheritedEnum
GetUserInheritedEnumValues Enumerates the set of values for UserInheritedEnum
UserOracleMaintainedEnum Enum with underlying type: string
type UserOracleMaintainedEnum string
Set of constants representing the allowable values for UserOracleMaintainedEnum
const ( UserOracleMaintainedYes UserOracleMaintainedEnum = "YES" UserOracleMaintainedNo UserOracleMaintainedEnum = "NO" )
func GetMappingUserOracleMaintainedEnum(val string) (UserOracleMaintainedEnum, bool)
GetMappingUserOracleMaintainedEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserOracleMaintainedEnumValues() []UserOracleMaintainedEnum
GetUserOracleMaintainedEnumValues Enumerates the set of values for UserOracleMaintainedEnum
UserProxyConnectEnum Enum with underlying type: string
type UserProxyConnectEnum string
Set of constants representing the allowable values for UserProxyConnectEnum
const ( UserProxyConnectYes UserProxyConnectEnum = "YES" UserProxyConnectNo UserProxyConnectEnum = "NO" )
func GetMappingUserProxyConnectEnum(val string) (UserProxyConnectEnum, bool)
GetMappingUserProxyConnectEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserProxyConnectEnumValues() []UserProxyConnectEnum
GetUserProxyConnectEnumValues Enumerates the set of values for UserProxyConnectEnum
UserStatusEnum Enum with underlying type: string
type UserStatusEnum string
Set of constants representing the allowable values for UserStatusEnum
const ( UserStatusOpen UserStatusEnum = "OPEN" UserStatusExpired UserStatusEnum = "EXPIRED" UserStatusExpiredGrace UserStatusEnum = "EXPIRED_GRACE" UserStatusLocked UserStatusEnum = "LOCKED" UserStatusLockedTimed UserStatusEnum = "LOCKED_TIMED" UserStatusExpiredAndLocked UserStatusEnum = "EXPIRED_AND_LOCKED" UserStatusExpiredGraceAndLocked UserStatusEnum = "EXPIRED_GRACE_AND_LOCKED" UserStatusExpiredAndLockedTimed UserStatusEnum = "EXPIRED_AND_LOCKED_TIMED" UserStatusExpiredGraceAndLockedTimed UserStatusEnum = "EXPIRED_GRACE_AND_LOCKED_TIMED" UserStatusOpenAndInRollover UserStatusEnum = "OPEN_AND_IN_ROLLOVER" UserStatusExpiredAndInRollover UserStatusEnum = "EXPIRED_AND_IN_ROLLOVER" UserStatusLockedAndInRollover UserStatusEnum = "LOCKED_AND_IN_ROLLOVER" UserStatusExpiredAndLockedAndInRollover UserStatusEnum = "EXPIRED_AND_LOCKED_AND_IN_ROLLOVER" UserStatusLockedTimedAndInRollover UserStatusEnum = "LOCKED_TIMED_AND_IN_ROLLOVER" UserStatusExpiredAndLockedTimedAndInRol UserStatusEnum = "EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL" )
func GetMappingUserStatusEnum(val string) (UserStatusEnum, bool)
GetMappingUserStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserStatusEnumValues() []UserStatusEnum
GetUserStatusEnumValues Enumerates the set of values for UserStatusEnum
UserSummary The summary of a specific User.
type UserSummary struct { // The name of the User. Name *string `mandatory:"true" json:"name"` // The status of the user account. Status UserSummaryStatusEnum `mandatory:"true" json:"status"` // The default tablespace for data. DefaultTablespace *string `mandatory:"true" json:"defaultTablespace"` // The name of the default tablespace for temporary tables or the name of a tablespace group. TempTablespace *string `mandatory:"true" json:"tempTablespace"` // The date and time the user was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The User resource profile name. Profile *string `mandatory:"true" json:"profile"` // The date and time of the expiration of the user account. TimeExpiring *common.SDKTime `mandatory:"false" json:"timeExpiring"` }
func (m UserSummary) String() string
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
UserSummaryStatusEnum Enum with underlying type: string
type UserSummaryStatusEnum string
Set of constants representing the allowable values for UserSummaryStatusEnum
const ( UserSummaryStatusOpen UserSummaryStatusEnum = "OPEN" UserSummaryStatusExpired UserSummaryStatusEnum = "EXPIRED" UserSummaryStatusExpiredGrace UserSummaryStatusEnum = "EXPIRED_GRACE" UserSummaryStatusLocked UserSummaryStatusEnum = "LOCKED" UserSummaryStatusLockedTimed UserSummaryStatusEnum = "LOCKED_TIMED" UserSummaryStatusExpiredAndLocked UserSummaryStatusEnum = "EXPIRED_AND_LOCKED" UserSummaryStatusExpiredGraceAndLocked UserSummaryStatusEnum = "EXPIRED_GRACE_AND_LOCKED" UserSummaryStatusExpiredAndLockedTimed UserSummaryStatusEnum = "EXPIRED_AND_LOCKED_TIMED" UserSummaryStatusExpiredGraceAndLockedTimed UserSummaryStatusEnum = "EXPIRED_GRACE_AND_LOCKED_TIMED" UserSummaryStatusOpenAndInRollover UserSummaryStatusEnum = "OPEN_AND_IN_ROLLOVER" UserSummaryStatusExpiredAndInRollover UserSummaryStatusEnum = "EXPIRED_AND_IN_ROLLOVER" UserSummaryStatusLockedAndInRollover UserSummaryStatusEnum = "LOCKED_AND_IN_ROLLOVER" UserSummaryStatusExpiredAndLockedAndInRollover UserSummaryStatusEnum = "EXPIRED_AND_LOCKED_AND_IN_ROLLOVER" UserSummaryStatusLockedTimedAndInRollover UserSummaryStatusEnum = "LOCKED_TIMED_AND_IN_ROLLOVER" UserSummaryStatusExpiredAndLockedTimedAndInRol UserSummaryStatusEnum = "EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL" )
func GetMappingUserSummaryStatusEnum(val string) (UserSummaryStatusEnum, bool)
GetMappingUserSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUserSummaryStatusEnumValues() []UserSummaryStatusEnum
GetUserSummaryStatusEnumValues Enumerates the set of values for UserSummaryStatusEnum
WorkRequest A description of the work request status.
type WorkRequest struct { // The ID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources that are not in the same compartment, // then the system picks the primary resource whose compartment should be used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The type of work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the current work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The completed percentage of the operation tracked by the work request. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was accepted, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). // The precision for this time object in milliseconds. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). // The precision for this time object is in milliseconds. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). // The precision for this time object is in milliseconds. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
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
WorkRequestCollection Lists all work requests in a specific compartment. This contains WorkRequestSummary items.
type WorkRequestCollection struct { // A collection of work requests. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // The identifier of the work request error. Id *string `mandatory:"true" json:"id"` // The OCID of the work request. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // A machine-usable code for the error that occurred. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable description of the issue that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). The precision for the time object is in milliseconds. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` // Determines if the work request error can be reproduced and tried again. IsRetryable *bool `mandatory:"false" json:"isRetryable"` }
func (m WorkRequestError) String() string
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
WorkRequestErrorCollection The results of a work request error search. This contains WorkRequestError items and other data.
type WorkRequestErrorCollection struct { // A collection of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // The identifier of the work request log. Id *int `mandatory:"true" json:"id"` // The OCID of the work request. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the log message was written, described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). The precision for the time object is in milliseconds. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
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
WorkRequestLogEntryCollection The results of a work request log search. This contains WorkRequestLog items and other data.
type WorkRequestLogEntryCollection struct { // A collection of work request logs. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeCreateDbManagementPrivateEndpoint WorkRequestOperationTypeEnum = "CREATE_DB_MANAGEMENT_PRIVATE_ENDPOINT" WorkRequestOperationTypeDeleteDbManagementPrivateEndpoint WorkRequestOperationTypeEnum = "DELETE_DB_MANAGEMENT_PRIVATE_ENDPOINT" )
func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource The resource that is created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in 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"` // The OCID or other unique identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that is used in a GET request to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
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
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeFailed WorkRequestResourceActionTypeEnum = "FAILED" )
func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestStatusEnum Enum with underlying type: string
type WorkRequestStatusEnum string
Set of constants representing the allowable values for WorkRequestStatusEnum
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
WorkRequestSummary A Summary of the work request.
type WorkRequestSummary struct { // The type of work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the current work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The ID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. // If the work request affects multiple resources that are not in the same compartment then the system picks the primary resource whose compartment should be used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The completed percentage of the operation tracked by the work request. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was accepted, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). // The precision for this time object is in milliseconds. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The date and time the work request transitioned from ACCEPTED to IN_PROGRESS, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). The precision for this time object is in milliseconds. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request reached a terminal state, either FAILED or SUCCEEDED, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). // The precision for this time object is in milliseconds. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
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
WorkloadTypeEnum Enum with underlying type: string
type WorkloadTypeEnum string
Set of constants representing the allowable values for WorkloadTypeEnum
const ( WorkloadTypeOltp WorkloadTypeEnum = "OLTP" WorkloadTypeDw WorkloadTypeEnum = "DW" WorkloadTypeAjd WorkloadTypeEnum = "AJD" WorkloadTypeApex WorkloadTypeEnum = "APEX" )
func GetMappingWorkloadTypeEnum(val string) (WorkloadTypeEnum, bool)
GetMappingWorkloadTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkloadTypeEnumValues() []WorkloadTypeEnum
GetWorkloadTypeEnumValues Enumerates the set of values for WorkloadTypeEnum