func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetActionableInsightsContentTypesResourceEnumStringValues() []string
GetActionableInsightsContentTypesResourceEnumStringValues Enumerates the set of values in String for ActionableInsightsContentTypesResourceEnum
func GetArchivalStateEnumStringValues() []string
GetArchivalStateEnumStringValues Enumerates the set of values in String for ArchivalStateEnum
func GetAwrDatabaseReportFormatEnumStringValues() []string
GetAwrDatabaseReportFormatEnumStringValues Enumerates the set of values in String for AwrDatabaseReportFormatEnum
func GetAwrDatabaseSqlReportFormatEnumStringValues() []string
GetAwrDatabaseSqlReportFormatEnumStringValues Enumerates the set of values in String for AwrDatabaseSqlReportFormatEnum
func GetAwrHubLifecycleStateEnumStringValues() []string
GetAwrHubLifecycleStateEnumStringValues Enumerates the set of values in String for AwrHubLifecycleStateEnum
func GetAwrHubSourceLifecycleStateEnumStringValues() []string
GetAwrHubSourceLifecycleStateEnumStringValues Enumerates the set of values in String for AwrHubSourceLifecycleStateEnum
func GetAwrHubSourceStatusEnumStringValues() []string
GetAwrHubSourceStatusEnumStringValues Enumerates the set of values in String for AwrHubSourceStatusEnum
func GetAwrHubSourceTypeEnumStringValues() []string
GetAwrHubSourceTypeEnumStringValues Enumerates the set of values in String for AwrHubSourceTypeEnum
func GetAwrQueryResultAwrResultTypeEnumStringValues() []string
GetAwrQueryResultAwrResultTypeEnumStringValues Enumerates the set of values in String for AwrQueryResultAwrResultTypeEnum
func GetAwrReportFormatTypeEnumStringValues() []string
GetAwrReportFormatTypeEnumStringValues Enumerates the set of values in String for AwrReportFormatTypeEnum
func GetChargebackPlanCategoryEnumStringValues() []string
GetChargebackPlanCategoryEnumStringValues Enumerates the set of values in String for ChargebackPlanCategoryEnum
func GetChargebackPlanEntitySourceEnumStringValues() []string
GetChargebackPlanEntitySourceEnumStringValues Enumerates the set of values in String for ChargebackPlanEntitySourceEnum
func GetChargebackPlanReportResourceTypeEnumStringValues() []string
GetChargebackPlanReportResourceTypeEnumStringValues Enumerates the set of values in String for ChargebackPlanReportResourceTypeEnum
func GetChargebackPlanReportSummaryResourceTypeEnumStringValues() []string
GetChargebackPlanReportSummaryResourceTypeEnumStringValues Enumerates the set of values in String for ChargebackPlanReportSummaryResourceTypeEnum
func GetCloudImportableComputeEntitySummaryPlatformTypeEnumStringValues() []string
GetCloudImportableComputeEntitySummaryPlatformTypeEnumStringValues Enumerates the set of values in String for CloudImportableComputeEntitySummaryPlatformTypeEnum
func GetConfigurationItemAllowedValueTypeEnumStringValues() []string
GetConfigurationItemAllowedValueTypeEnumStringValues Enumerates the set of values in String for ConfigurationItemAllowedValueTypeEnum
func GetConfigurationItemTypeEnumStringValues() []string
GetConfigurationItemTypeEnumStringValues Enumerates the set of values in String for ConfigurationItemTypeEnum
func GetConfigurationItemValueSourceConfigurationTypeEnumStringValues() []string
GetConfigurationItemValueSourceConfigurationTypeEnumStringValues Enumerates the set of values in String for ConfigurationItemValueSourceConfigurationTypeEnum
func GetConnectionDetailsProtocolEnumStringValues() []string
GetConnectionDetailsProtocolEnumStringValues Enumerates the set of values in String for ConnectionDetailsProtocolEnum
func GetCreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnumStringValues() []string
GetCreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnumStringValues Enumerates the set of values in String for CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum
func GetCreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnumStringValues() []string
GetCreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnumStringValues Enumerates the set of values in String for CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum
func GetCreateOpsiConfigurationConfigItemCustomStatusEnumStringValues() []string
GetCreateOpsiConfigurationConfigItemCustomStatusEnumStringValues Enumerates the set of values in String for CreateOpsiConfigurationConfigItemCustomStatusEnum
func GetCreateOpsiConfigurationConfigItemFieldEnumStringValues() []string
GetCreateOpsiConfigurationConfigItemFieldEnumStringValues Enumerates the set of values in String for CreateOpsiConfigurationConfigItemFieldEnum
func GetCreateOpsiConfigurationOpsiConfigFieldEnumStringValues() []string
GetCreateOpsiConfigurationOpsiConfigFieldEnumStringValues Enumerates the set of values in String for CreateOpsiConfigurationOpsiConfigFieldEnum
func GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumStringValues() []string
GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumStringValues Enumerates the set of values in String for CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
func GetCredentialByVaultRoleEnumStringValues() []string
GetCredentialByVaultRoleEnumStringValues Enumerates the set of values in String for CredentialByVaultRoleEnum
func GetCredentialDetailsCredentialTypeEnumStringValues() []string
GetCredentialDetailsCredentialTypeEnumStringValues Enumerates the set of values in String for CredentialDetailsCredentialTypeEnum
func GetDataObjectColumnMetadataCategoryEnumStringValues() []string
GetDataObjectColumnMetadataCategoryEnumStringValues Enumerates the set of values in String for DataObjectColumnMetadataCategoryEnum
func GetDataObjectColumnMetadataDataTypeNameEnumStringValues() []string
GetDataObjectColumnMetadataDataTypeNameEnumStringValues Enumerates the set of values in String for DataObjectColumnMetadataDataTypeNameEnum
func GetDataObjectColumnUnitUnitCategoryEnumStringValues() []string
GetDataObjectColumnUnitUnitCategoryEnumStringValues Enumerates the set of values in String for DataObjectColumnUnitUnitCategoryEnum
func GetDataObjectCoreColumnUnitUnitEnumStringValues() []string
GetDataObjectCoreColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectCoreColumnUnitUnitEnum
func GetDataObjectDataSizeColumnUnitUnitEnumStringValues() []string
GetDataObjectDataSizeColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectDataSizeColumnUnitUnitEnum
func GetDataObjectFrequencyColumnUnitUnitEnumStringValues() []string
GetDataObjectFrequencyColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectFrequencyColumnUnitUnitEnum
func GetDataObjectOtherStandardColumnUnitUnitEnumStringValues() []string
GetDataObjectOtherStandardColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectOtherStandardColumnUnitUnitEnum
func GetDataObjectPowerColumnUnitUnitEnumStringValues() []string
GetDataObjectPowerColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectPowerColumnUnitUnitEnum
func GetDataObjectQueryQueryTypeEnumStringValues() []string
GetDataObjectQueryQueryTypeEnumStringValues Enumerates the set of values in String for DataObjectQueryQueryTypeEnum
func GetDataObjectTemperatureColumnUnitUnitEnumStringValues() []string
GetDataObjectTemperatureColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectTemperatureColumnUnitUnitEnum
func GetDataObjectTimeColumnUnitUnitEnumStringValues() []string
GetDataObjectTimeColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectTimeColumnUnitUnitEnum
func GetDataObjectTypeEnumStringValues() []string
GetDataObjectTypeEnumStringValues Enumerates the set of values in String for DataObjectTypeEnum
func GetDatabaseConfigurationMetricGroupMetricNameEnumStringValues() []string
GetDatabaseConfigurationMetricGroupMetricNameEnumStringValues Enumerates the set of values in String for DatabaseConfigurationMetricGroupMetricNameEnum
func GetDatabaseEntitySourceAllEnumStringValues() []string
GetDatabaseEntitySourceAllEnumStringValues Enumerates the set of values in String for DatabaseEntitySourceAllEnum
func GetDatabaseEntitySourceEnumStringValues() []string
GetDatabaseEntitySourceEnumStringValues Enumerates the set of values in String for DatabaseEntitySourceEnum
func GetDatabaseEnumStringValues() []string
GetDatabaseEnumStringValues Enumerates the set of values in String for DatabaseEnum
func GetDayOfWeekEnumStringValues() []string
GetDayOfWeekEnumStringValues Enumerates the set of values in String for DayOfWeekEnum
func GetDiskGroupEnumStringValues() []string
GetDiskGroupEnumStringValues Enumerates the set of values in String for DiskGroupEnum
func GetEmManagedExternalHostInsightPlatformTypeEnumStringValues() []string
GetEmManagedExternalHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for EmManagedExternalHostInsightPlatformTypeEnum
func GetEmManagedExternalHostInsightSummaryPlatformTypeEnumStringValues() []string
GetEmManagedExternalHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for EmManagedExternalHostInsightSummaryPlatformTypeEnum
func GetExadataEntitySourceEnumStringValues() []string
GetExadataEntitySourceEnumStringValues Enumerates the set of values in String for ExadataEntitySourceEnum
func GetExadataInsightLifecycleStateEnumStringValues() []string
GetExadataInsightLifecycleStateEnumStringValues Enumerates the set of values in String for ExadataInsightLifecycleStateEnum
func GetExadataInsightResourceForecastTrendSummaryPatternEnumStringValues() []string
GetExadataInsightResourceForecastTrendSummaryPatternEnumStringValues Enumerates the set of values in String for ExadataInsightResourceForecastTrendSummaryPatternEnum
func GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumStringValues() []string
GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
func GetExadataMemberSummaryEntityTypeEnumStringValues() []string
GetExadataMemberSummaryEntityTypeEnumStringValues Enumerates the set of values in String for ExadataMemberSummaryEntityTypeEnum
func GetExadataRackTypeEnumStringValues() []string
GetExadataRackTypeEnumStringValues Enumerates the set of values in String for ExadataRackTypeEnum
func GetExadataResourceTypeEnumStringValues() []string
GetExadataResourceTypeEnumStringValues Enumerates the set of values in String for ExadataResourceTypeEnum
func GetExadataTypeEnumStringValues() []string
GetExadataTypeEnumStringValues Enumerates the set of values in String for ExadataTypeEnum
func GetExadataVmClusterTypeEnumStringValues() []string
GetExadataVmClusterTypeEnumStringValues Enumerates the set of values in String for ExadataVmClusterTypeEnum
func GetGetAwrDatabaseReportReportFormatEnumStringValues() []string
GetGetAwrDatabaseReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrDatabaseReportReportFormatEnum
func GetGetAwrDatabaseReportReportTypeEnumStringValues() []string
GetGetAwrDatabaseReportReportTypeEnumStringValues Enumerates the set of values in String for GetAwrDatabaseReportReportTypeEnum
func GetGetAwrDatabaseSqlReportReportFormatEnumStringValues() []string
GetGetAwrDatabaseSqlReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrDatabaseSqlReportReportFormatEnum
func GetGetAwrHubObjectArchivalStateEnumStringValues() []string
GetGetAwrHubObjectArchivalStateEnumStringValues Enumerates the set of values in String for GetAwrHubObjectArchivalStateEnum
func GetGetAwrHubObjectStorageTierEnumStringValues() []string
GetGetAwrHubObjectStorageTierEnumStringValues Enumerates the set of values in String for GetAwrHubObjectStorageTierEnum
func GetGetAwrReportReportFormatEnumStringValues() []string
GetGetAwrReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrReportReportFormatEnum
func GetGetOpsiConfigurationConfigItemCustomStatusEnumStringValues() []string
GetGetOpsiConfigurationConfigItemCustomStatusEnumStringValues Enumerates the set of values in String for GetOpsiConfigurationConfigItemCustomStatusEnum
func GetGetOpsiConfigurationConfigItemFieldEnumStringValues() []string
GetGetOpsiConfigurationConfigItemFieldEnumStringValues Enumerates the set of values in String for GetOpsiConfigurationConfigItemFieldEnum
func GetGetOpsiConfigurationOpsiConfigFieldEnumStringValues() []string
GetGetOpsiConfigurationOpsiConfigFieldEnumStringValues Enumerates the set of values in String for GetOpsiConfigurationOpsiConfigFieldEnum
func GetHeadAwrHubObjectArchivalStateEnumStringValues() []string
GetHeadAwrHubObjectArchivalStateEnumStringValues Enumerates the set of values in String for HeadAwrHubObjectArchivalStateEnum
func GetHeadAwrHubObjectStorageTierEnumStringValues() []string
GetHeadAwrHubObjectStorageTierEnumStringValues Enumerates the set of values in String for HeadAwrHubObjectStorageTierEnum
func GetHostConfigurationMetricGroupMetricNameEnumStringValues() []string
GetHostConfigurationMetricGroupMetricNameEnumStringValues Enumerates the set of values in String for HostConfigurationMetricGroupMetricNameEnum
func GetHostConfigurationSummaryPlatformTypeEnumStringValues() []string
GetHostConfigurationSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for HostConfigurationSummaryPlatformTypeEnum
func GetHostCpuRecommendationsBurstableEnumStringValues() []string
GetHostCpuRecommendationsBurstableEnumStringValues Enumerates the set of values in String for HostCpuRecommendationsBurstableEnum
func GetHostCpuRecommendationsUnusedInstanceEnumStringValues() []string
GetHostCpuRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostCpuRecommendationsUnusedInstanceEnum
func GetHostDetailsPlatformTypeEnumStringValues() []string
GetHostDetailsPlatformTypeEnumStringValues Enumerates the set of values in String for HostDetailsPlatformTypeEnum
func GetHostEntitySourceEnumStringValues() []string
GetHostEntitySourceEnumStringValues Enumerates the set of values in String for HostEntitySourceEnum
func GetHostEnumStringValues() []string
GetHostEnumStringValues Enumerates the set of values in String for HostEnum
func GetHostImportableAgentEntitySummaryPlatformTypeEnumStringValues() []string
GetHostImportableAgentEntitySummaryPlatformTypeEnumStringValues Enumerates the set of values in String for HostImportableAgentEntitySummaryPlatformTypeEnum
func GetHostInsightHostRecommendationsMetricRecommendationNameEnumStringValues() []string
GetHostInsightHostRecommendationsMetricRecommendationNameEnumStringValues Enumerates the set of values in String for HostInsightHostRecommendationsMetricRecommendationNameEnum
func GetHostMemoryRecommendationsUnusedInstanceEnumStringValues() []string
GetHostMemoryRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostMemoryRecommendationsUnusedInstanceEnum
func GetHostNetworkRecommendationsUnusedInstanceEnumStringValues() []string
GetHostNetworkRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostNetworkRecommendationsUnusedInstanceEnum
func GetHostPerformanceMetricGroupMetricNameEnumStringValues() []string
GetHostPerformanceMetricGroupMetricNameEnumStringValues Enumerates the set of values in String for HostPerformanceMetricGroupMetricNameEnum
func GetHostResourceStatisticsResourceNameEnumStringValues() []string
GetHostResourceStatisticsResourceNameEnumStringValues Enumerates the set of values in String for HostResourceStatisticsResourceNameEnum
func GetHostStorageRecommendationsUnusedInstanceEnumStringValues() []string
GetHostStorageRecommendationsUnusedInstanceEnumStringValues Enumerates the set of values in String for HostStorageRecommendationsUnusedInstanceEnum
func GetImportableAgentEntitySourceEnumStringValues() []string
GetImportableAgentEntitySourceEnumStringValues Enumerates the set of values in String for ImportableAgentEntitySourceEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListAddmDbFindingCategoriesSortByEnumStringValues() []string
GetListAddmDbFindingCategoriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbFindingCategoriesSortByEnum
func GetListAddmDbFindingCategoriesSortOrderEnumStringValues() []string
GetListAddmDbFindingCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbFindingCategoriesSortOrderEnum
func GetListAddmDbFindingsTimeSeriesSortByEnumStringValues() []string
GetListAddmDbFindingsTimeSeriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbFindingsTimeSeriesSortByEnum
func GetListAddmDbFindingsTimeSeriesSortOrderEnumStringValues() []string
GetListAddmDbFindingsTimeSeriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbFindingsTimeSeriesSortOrderEnum
func GetListAddmDbParameterCategoriesSortByEnumStringValues() []string
GetListAddmDbParameterCategoriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbParameterCategoriesSortByEnum
func GetListAddmDbParameterCategoriesSortOrderEnumStringValues() []string
GetListAddmDbParameterCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbParameterCategoriesSortOrderEnum
func GetListAddmDbRecommendationCategoriesSortByEnumStringValues() []string
GetListAddmDbRecommendationCategoriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationCategoriesSortByEnum
func GetListAddmDbRecommendationCategoriesSortOrderEnumStringValues() []string
GetListAddmDbRecommendationCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationCategoriesSortOrderEnum
func GetListAddmDbRecommendationsTimeSeriesSortByEnumStringValues() []string
GetListAddmDbRecommendationsTimeSeriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationsTimeSeriesSortByEnum
func GetListAddmDbRecommendationsTimeSeriesSortOrderEnumStringValues() []string
GetListAddmDbRecommendationsTimeSeriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationsTimeSeriesSortOrderEnum
func GetListAddmDbsSortByEnumStringValues() []string
GetListAddmDbsSortByEnumStringValues Enumerates the set of values in String for ListAddmDbsSortByEnum
func GetListAddmDbsSortOrderEnumStringValues() []string
GetListAddmDbsSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbsSortOrderEnum
func GetListAwrDatabaseSnapshotsSortByEnumStringValues() []string
GetListAwrDatabaseSnapshotsSortByEnumStringValues Enumerates the set of values in String for ListAwrDatabaseSnapshotsSortByEnum
func GetListAwrDatabaseSnapshotsSortOrderEnumStringValues() []string
GetListAwrDatabaseSnapshotsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrDatabaseSnapshotsSortOrderEnum
func GetListAwrDatabasesSortByEnumStringValues() []string
GetListAwrDatabasesSortByEnumStringValues Enumerates the set of values in String for ListAwrDatabasesSortByEnum
func GetListAwrDatabasesSortOrderEnumStringValues() []string
GetListAwrDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListAwrDatabasesSortOrderEnum
func GetListAwrHubObjectsFieldsEnumStringValues() []string
GetListAwrHubObjectsFieldsEnumStringValues Enumerates the set of values in String for ListAwrHubObjectsFieldsEnum
func GetListAwrHubSourcesSortByEnumStringValues() []string
GetListAwrHubSourcesSortByEnumStringValues Enumerates the set of values in String for ListAwrHubSourcesSortByEnum
func GetListAwrHubSourcesSortOrderEnumStringValues() []string
GetListAwrHubSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListAwrHubSourcesSortOrderEnum
func GetListAwrHubsSortByEnumStringValues() []string
GetListAwrHubsSortByEnumStringValues Enumerates the set of values in String for ListAwrHubsSortByEnum
func GetListAwrHubsSortOrderEnumStringValues() []string
GetListAwrHubsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrHubsSortOrderEnum
func GetListAwrSnapshotsSortByEnumStringValues() []string
GetListAwrSnapshotsSortByEnumStringValues Enumerates the set of values in String for ListAwrSnapshotsSortByEnum
func GetListAwrSnapshotsSortOrderEnumStringValues() []string
GetListAwrSnapshotsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrSnapshotsSortOrderEnum
func GetListChargebackPlanReportsSortByEnumStringValues() []string
GetListChargebackPlanReportsSortByEnumStringValues Enumerates the set of values in String for ListChargebackPlanReportsSortByEnum
func GetListChargebackPlanReportsSortOrderEnumStringValues() []string
GetListChargebackPlanReportsSortOrderEnumStringValues Enumerates the set of values in String for ListChargebackPlanReportsSortOrderEnum
func GetListChargebackPlansSortByEnumStringValues() []string
GetListChargebackPlansSortByEnumStringValues Enumerates the set of values in String for ListChargebackPlansSortByEnum
func GetListChargebackPlansSortOrderEnumStringValues() []string
GetListChargebackPlansSortOrderEnumStringValues Enumerates the set of values in String for ListChargebackPlansSortOrderEnum
func GetListDatabaseConfigurationsDatabaseTypeEnumStringValues() []string
GetListDatabaseConfigurationsDatabaseTypeEnumStringValues Enumerates the set of values in String for ListDatabaseConfigurationsDatabaseTypeEnum
func GetListDatabaseConfigurationsSortByEnumStringValues() []string
GetListDatabaseConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseConfigurationsSortByEnum
func GetListDatabaseConfigurationsSortOrderEnumStringValues() []string
GetListDatabaseConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseConfigurationsSortOrderEnum
func GetListDatabaseInsightsDatabaseTypeEnumStringValues() []string
GetListDatabaseInsightsDatabaseTypeEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsDatabaseTypeEnum
func GetListDatabaseInsightsFieldsEnumStringValues() []string
GetListDatabaseInsightsFieldsEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsFieldsEnum
func GetListDatabaseInsightsSortByEnumStringValues() []string
GetListDatabaseInsightsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsSortByEnum
func GetListDatabaseInsightsSortOrderEnumStringValues() []string
GetListDatabaseInsightsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsSortOrderEnum
func GetListEnterpriseManagerBridgesSortByEnumStringValues() []string
GetListEnterpriseManagerBridgesSortByEnumStringValues Enumerates the set of values in String for ListEnterpriseManagerBridgesSortByEnum
func GetListEnterpriseManagerBridgesSortOrderEnumStringValues() []string
GetListEnterpriseManagerBridgesSortOrderEnumStringValues Enumerates the set of values in String for ListEnterpriseManagerBridgesSortOrderEnum
func GetListExadataConfigurationsSortByEnumStringValues() []string
GetListExadataConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListExadataConfigurationsSortByEnum
func GetListExadataConfigurationsSortOrderEnumStringValues() []string
GetListExadataConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListExadataConfigurationsSortOrderEnum
func GetListExadataInsightsSortByEnumStringValues() []string
GetListExadataInsightsSortByEnumStringValues Enumerates the set of values in String for ListExadataInsightsSortByEnum
func GetListExadataInsightsSortOrderEnumStringValues() []string
GetListExadataInsightsSortOrderEnumStringValues Enumerates the set of values in String for ListExadataInsightsSortOrderEnum
func GetListHostConfigurationsPlatformTypeEnumStringValues() []string
GetListHostConfigurationsPlatformTypeEnumStringValues Enumerates the set of values in String for ListHostConfigurationsPlatformTypeEnum
func GetListHostConfigurationsSortByEnumStringValues() []string
GetListHostConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListHostConfigurationsSortByEnum
func GetListHostConfigurationsSortOrderEnumStringValues() []string
GetListHostConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListHostConfigurationsSortOrderEnum
func GetListHostInsightsPlatformTypeEnumStringValues() []string
GetListHostInsightsPlatformTypeEnumStringValues Enumerates the set of values in String for ListHostInsightsPlatformTypeEnum
func GetListHostInsightsSortByEnumStringValues() []string
GetListHostInsightsSortByEnumStringValues Enumerates the set of values in String for ListHostInsightsSortByEnum
func GetListHostInsightsSortOrderEnumStringValues() []string
GetListHostInsightsSortOrderEnumStringValues Enumerates the set of values in String for ListHostInsightsSortOrderEnum
func GetListHostedEntitiesPlatformTypeEnumStringValues() []string
GetListHostedEntitiesPlatformTypeEnumStringValues Enumerates the set of values in String for ListHostedEntitiesPlatformTypeEnum
func GetListHostedEntitiesSortByEnumStringValues() []string
GetListHostedEntitiesSortByEnumStringValues Enumerates the set of values in String for ListHostedEntitiesSortByEnum
func GetListHostedEntitiesSortOrderEnumStringValues() []string
GetListHostedEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListHostedEntitiesSortOrderEnum
func GetListImportableAgentEntitiesSortByEnumStringValues() []string
GetListImportableAgentEntitiesSortByEnumStringValues Enumerates the set of values in String for ListImportableAgentEntitiesSortByEnum
func GetListImportableAgentEntitiesSortOrderEnumStringValues() []string
GetListImportableAgentEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListImportableAgentEntitiesSortOrderEnum
func GetListImportableComputeEntitiesSortByEnumStringValues() []string
GetListImportableComputeEntitiesSortByEnumStringValues Enumerates the set of values in String for ListImportableComputeEntitiesSortByEnum
func GetListImportableComputeEntitiesSortOrderEnumStringValues() []string
GetListImportableComputeEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListImportableComputeEntitiesSortOrderEnum
func GetListNewsReportsSortByEnumStringValues() []string
GetListNewsReportsSortByEnumStringValues Enumerates the set of values in String for ListNewsReportsSortByEnum
func GetListNewsReportsSortOrderEnumStringValues() []string
GetListNewsReportsSortOrderEnumStringValues Enumerates the set of values in String for ListNewsReportsSortOrderEnum
func GetListOperationsInsightsPrivateEndpointsSortByEnumStringValues() []string
GetListOperationsInsightsPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListOperationsInsightsPrivateEndpointsSortByEnum
func GetListOperationsInsightsPrivateEndpointsSortOrderEnumStringValues() []string
GetListOperationsInsightsPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListOperationsInsightsPrivateEndpointsSortOrderEnum
func GetListOperationsInsightsWarehouseUsersSortByEnumStringValues() []string
GetListOperationsInsightsWarehouseUsersSortByEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehouseUsersSortByEnum
func GetListOperationsInsightsWarehouseUsersSortOrderEnumStringValues() []string
GetListOperationsInsightsWarehouseUsersSortOrderEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehouseUsersSortOrderEnum
func GetListOperationsInsightsWarehousesSortByEnumStringValues() []string
GetListOperationsInsightsWarehousesSortByEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehousesSortByEnum
func GetListOperationsInsightsWarehousesSortOrderEnumStringValues() []string
GetListOperationsInsightsWarehousesSortOrderEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehousesSortOrderEnum
func GetListOpsiConfigurationsSortByEnumStringValues() []string
GetListOpsiConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListOpsiConfigurationsSortByEnum
func GetListOpsiConfigurationsSortOrderEnumStringValues() []string
GetListOpsiConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListOpsiConfigurationsSortOrderEnum
func GetListOpsiDataObjectsSortByEnumStringValues() []string
GetListOpsiDataObjectsSortByEnumStringValues Enumerates the set of values in String for ListOpsiDataObjectsSortByEnum
func GetListOpsiDataObjectsSortOrderEnumStringValues() []string
GetListOpsiDataObjectsSortOrderEnumStringValues Enumerates the set of values in String for ListOpsiDataObjectsSortOrderEnum
func GetListWarehouseDataObjectsSortByEnumStringValues() []string
GetListWarehouseDataObjectsSortByEnumStringValues Enumerates the set of values in String for ListWarehouseDataObjectsSortByEnum
func GetListWarehouseDataObjectsSortOrderEnumStringValues() []string
GetListWarehouseDataObjectsSortOrderEnumStringValues Enumerates the set of values in String for ListWarehouseDataObjectsSortOrderEnum
func GetListWarehouseDataObjectsSummaryFieldEnumStringValues() []string
GetListWarehouseDataObjectsSummaryFieldEnumStringValues Enumerates the set of values in String for ListWarehouseDataObjectsSummaryFieldEnum
func GetListWarehouseDataObjectsWarehouseTypeEnumStringValues() []string
GetListWarehouseDataObjectsWarehouseTypeEnumStringValues Enumerates the set of values in String for ListWarehouseDataObjectsWarehouseTypeEnum
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 GetMacsManagedCloudDatabaseHostInsightPlatformTypeEnumStringValues() []string
GetMacsManagedCloudDatabaseHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedCloudDatabaseHostInsightPlatformTypeEnum
func GetMacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnumStringValues() []string
GetMacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum
func GetMacsManagedCloudHostInsightPlatformTypeEnumStringValues() []string
GetMacsManagedCloudHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedCloudHostInsightPlatformTypeEnum
func GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumStringValues() []string
GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedCloudHostInsightSummaryPlatformTypeEnum
func GetMacsManagedExternalHostInsightPlatformTypeEnumStringValues() []string
GetMacsManagedExternalHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedExternalHostInsightPlatformTypeEnum
func GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumStringValues() []string
GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
func GetMatchRuleEnumStringValues() []string
GetMatchRuleEnumStringValues Enumerates the set of values in String for MatchRuleEnum
func GetNewsContentTypesResourceEnumStringValues() []string
GetNewsContentTypesResourceEnumStringValues Enumerates the set of values in String for NewsContentTypesResourceEnum
func GetNewsFrequencyEnumStringValues() []string
GetNewsFrequencyEnumStringValues Enumerates the set of values in String for NewsFrequencyEnum
func GetNewsLocaleEnumStringValues() []string
GetNewsLocaleEnumStringValues Enumerates the set of values in String for NewsLocaleEnum
func GetNewsSqlInsightsContentTypesResourceEnumStringValues() []string
GetNewsSqlInsightsContentTypesResourceEnumStringValues Enumerates the set of values in String for NewsSqlInsightsContentTypesResourceEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues() []string
GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for OperationsInsightsPrivateEndpointLifecycleStateEnum
func GetOperationsInsightsWarehouseComputeModelEnumStringValues() []string
GetOperationsInsightsWarehouseComputeModelEnumStringValues Enumerates the set of values in String for OperationsInsightsWarehouseComputeModelEnum
func GetOperationsInsightsWarehouseLifecycleStateEnumStringValues() []string
GetOperationsInsightsWarehouseLifecycleStateEnumStringValues Enumerates the set of values in String for OperationsInsightsWarehouseLifecycleStateEnum
func GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues() []string
GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues Enumerates the set of values in String for OperationsInsightsWarehouseUserLifecycleStateEnum
func GetOpsiConfigurationLifecycleStateEnumStringValues() []string
GetOpsiConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for OpsiConfigurationLifecycleStateEnum
func GetOpsiConfigurationTypeEnumStringValues() []string
GetOpsiConfigurationTypeEnumStringValues Enumerates the set of values in String for OpsiConfigurationTypeEnum
func GetOpsiDataObjectDetailsTargetEnumStringValues() []string
GetOpsiDataObjectDetailsTargetEnumStringValues Enumerates the set of values in String for OpsiDataObjectDetailsTargetEnum
func GetOpsiDataObjectTypeEnumStringValues() []string
GetOpsiDataObjectTypeEnumStringValues Enumerates the set of values in String for OpsiDataObjectTypeEnum
func GetPeComanagedDatabaseConnectionDetailsProtocolEnumStringValues() []string
GetPeComanagedDatabaseConnectionDetailsProtocolEnumStringValues Enumerates the set of values in String for PeComanagedDatabaseConnectionDetailsProtocolEnum
func GetPeComanagedHostInsightPlatformTypeEnumStringValues() []string
GetPeComanagedHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for PeComanagedHostInsightPlatformTypeEnum
func GetPeComanagedHostInsightSummaryPlatformTypeEnumStringValues() []string
GetPeComanagedHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for PeComanagedHostInsightSummaryPlatformTypeEnum
func GetQueryDataObjectResultSetColumnMetadataDataTypeNameEnumStringValues() []string
GetQueryDataObjectResultSetColumnMetadataDataTypeNameEnumStringValues Enumerates the set of values in String for QueryDataObjectResultSetColumnMetadataDataTypeNameEnum
func GetQueryDataObjectResultSetRowsCollectionFormatEnumStringValues() []string
GetQueryDataObjectResultSetRowsCollectionFormatEnumStringValues Enumerates the set of values in String for QueryDataObjectResultSetRowsCollectionFormatEnum
func GetQueryWarehouseDataObjectDataWarehouseTypeEnumStringValues() []string
GetQueryWarehouseDataObjectDataWarehouseTypeEnumStringValues Enumerates the set of values in String for QueryWarehouseDataObjectDataWarehouseTypeEnum
func GetRelatedObjectTypeDetailsTypeEnumStringValues() []string
GetRelatedObjectTypeDetailsTypeEnumStringValues Enumerates the set of values in String for RelatedObjectTypeDetailsTypeEnum
func GetResourceStatusEnumStringValues() []string
GetResourceStatusEnumStringValues Enumerates the set of values in String for ResourceStatusEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetStorageServerEnumStringValues() []string
GetStorageServerEnumStringValues Enumerates the set of values in String for StorageServerEnum
func GetStorageTierEnumStringValues() []string
GetStorageTierEnumStringValues Enumerates the set of values in String for StorageTierEnum
func GetSummarizeAddmDbFindingsSortByEnumStringValues() []string
GetSummarizeAddmDbFindingsSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbFindingsSortByEnum
func GetSummarizeAddmDbFindingsSortOrderEnumStringValues() []string
GetSummarizeAddmDbFindingsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbFindingsSortOrderEnum
func GetSummarizeAddmDbParameterChangesSortByEnumStringValues() []string
GetSummarizeAddmDbParameterChangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParameterChangesSortByEnum
func GetSummarizeAddmDbParameterChangesSortOrderEnumStringValues() []string
GetSummarizeAddmDbParameterChangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParameterChangesSortOrderEnum
func GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues() []string
GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersHasRecommendationsEnum
func GetSummarizeAddmDbParametersIsChangedEnumStringValues() []string
GetSummarizeAddmDbParametersIsChangedEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersIsChangedEnum
func GetSummarizeAddmDbParametersIsDefaultEnumStringValues() []string
GetSummarizeAddmDbParametersIsDefaultEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersIsDefaultEnum
func GetSummarizeAddmDbParametersSortByEnumStringValues() []string
GetSummarizeAddmDbParametersSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersSortByEnum
func GetSummarizeAddmDbParametersSortOrderEnumStringValues() []string
GetSummarizeAddmDbParametersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersSortOrderEnum
func GetSummarizeAddmDbRecommendationsSortByEnumStringValues() []string
GetSummarizeAddmDbRecommendationsSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbRecommendationsSortByEnum
func GetSummarizeAddmDbRecommendationsSortOrderEnumStringValues() []string
GetSummarizeAddmDbRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbRecommendationsSortOrderEnum
func GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumStringValues() []string
GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseCpuUsagesSessionTypeEnum
func GetSummarizeAwrDatabaseCpuUsagesSortByEnumStringValues() []string
GetSummarizeAwrDatabaseCpuUsagesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseCpuUsagesSortByEnum
func GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseCpuUsagesSortOrderEnum
func GetSummarizeAwrDatabaseMetricsSortByEnumStringValues() []string
GetSummarizeAwrDatabaseMetricsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseMetricsSortByEnum
func GetSummarizeAwrDatabaseMetricsSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseMetricsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseMetricsSortOrderEnum
func GetSummarizeAwrDatabaseParameterChangesSortByEnumStringValues() []string
GetSummarizeAwrDatabaseParameterChangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParameterChangesSortByEnum
func GetSummarizeAwrDatabaseParameterChangesSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseParameterChangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParameterChangesSortOrderEnum
func GetSummarizeAwrDatabaseParametersSortByEnumStringValues() []string
GetSummarizeAwrDatabaseParametersSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersSortByEnum
func GetSummarizeAwrDatabaseParametersSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseParametersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersSortOrderEnum
func GetSummarizeAwrDatabaseParametersValueChangedEnumStringValues() []string
GetSummarizeAwrDatabaseParametersValueChangedEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersValueChangedEnum
func GetSummarizeAwrDatabaseParametersValueDefaultEnumStringValues() []string
GetSummarizeAwrDatabaseParametersValueDefaultEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersValueDefaultEnum
func GetSummarizeAwrDatabaseParametersValueModifiedEnumStringValues() []string
GetSummarizeAwrDatabaseParametersValueModifiedEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersValueModifiedEnum
func GetSummarizeAwrDatabaseSnapshotRangesSortByEnumStringValues() []string
GetSummarizeAwrDatabaseSnapshotRangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSnapshotRangesSortByEnum
func GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSnapshotRangesSortOrderEnum
func GetSummarizeAwrDatabaseSysstatsSortByEnumStringValues() []string
GetSummarizeAwrDatabaseSysstatsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSysstatsSortByEnum
func GetSummarizeAwrDatabaseSysstatsSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseSysstatsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSysstatsSortOrderEnum
func GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumStringValues() []string
GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum
func GetSummarizeAwrDatabaseTopWaitEventsSortByEnumStringValues() []string
GetSummarizeAwrDatabaseTopWaitEventsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseTopWaitEventsSortByEnum
func GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseTopWaitEventsSortOrderEnum
func GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumStringValues() []string
GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventBucketsSortByEnum
func GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum
func GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumStringValues() []string
GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventsSessionTypeEnum
func GetSummarizeAwrDatabaseWaitEventsSortByEnumStringValues() []string
GetSummarizeAwrDatabaseWaitEventsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventsSortByEnum
func GetSummarizeAwrDatabaseWaitEventsSortOrderEnumStringValues() []string
GetSummarizeAwrDatabaseWaitEventsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventsSortOrderEnum
func GetSummarizeAwrSourcesSummariesSortByEnumStringValues() []string
GetSummarizeAwrSourcesSummariesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrSourcesSummariesSortByEnum
func GetSummarizeAwrSourcesSummariesSortOrderEnumStringValues() []string
GetSummarizeAwrSourcesSummariesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrSourcesSummariesSortOrderEnum
func GetSummarizeConfigurationItemsConfigItemFieldEnumStringValues() []string
GetSummarizeConfigurationItemsConfigItemFieldEnumStringValues Enumerates the set of values in String for SummarizeConfigurationItemsConfigItemFieldEnum
func GetSummarizeConfigurationItemsOpsiConfigTypeEnumStringValues() []string
GetSummarizeConfigurationItemsOpsiConfigTypeEnumStringValues Enumerates the set of values in String for SummarizeConfigurationItemsOpsiConfigTypeEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues() []string
GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumStringValues() []string
GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumStringValues() []string
GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumStringValues() []string
GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumStringValues() []string
GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendAggregationPatternEnum
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendAggregationResourceMetricEnum
func GetSummarizeDatabaseInsightResourceForecastTrendAggregationUsageUnitEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendAggregationUsageUnitEnum
func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumStringValues() []string
GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues() []string
GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum
func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumStringValues() []string
GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumStringValues() []string
GetSummarizeDatabaseInsightResourceStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsSortByEnum
func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumStringValues() []string
GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
func GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum
func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumStringValues() []string
GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
func GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum
func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum
func GetSummarizeExadataInsightResourceCapacityTrendSortByEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendSortByEnum
func GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumStringValues() []string
GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationPatternEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendAggregationPatternEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregationPatternEnum
func GetSummarizeExadataInsightResourceForecastTrendAggregationUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregationUsageUnitEnum
func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum
func GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendForecastModelEnum
func GetSummarizeExadataInsightResourceForecastTrendSortByEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendSortByEnum
func GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendSortOrderEnum
func GetSummarizeExadataInsightResourceForecastTrendStatisticEnumStringValues() []string
GetSummarizeExadataInsightResourceForecastTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendStatisticEnum
func GetSummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceStatisticsAggregationCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceStatisticsAggregationCollectionUsageUnitEnum
func GetSummarizeExadataInsightResourceStatisticsSortByEnumStringValues() []string
GetSummarizeExadataInsightResourceStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceStatisticsSortByEnum
func GetSummarizeExadataInsightResourceStatisticsSortOrderEnumStringValues() []string
GetSummarizeExadataInsightResourceStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceStatisticsSortOrderEnum
func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum
func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
func GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum
func GetSummarizeExadataInsightResourceUsageSortByEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageSortByEnum
func GetSummarizeExadataInsightResourceUsageSortOrderEnumStringValues() []string
GetSummarizeExadataInsightResourceUsageSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageSortOrderEnum
func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumStringValues() []string
GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumStringValues() []string
GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
func GetSummarizeExadataMembersSortByEnumStringValues() []string
GetSummarizeExadataMembersSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataMembersSortByEnum
func GetSummarizeExadataMembersSortOrderEnumStringValues() []string
GetSummarizeExadataMembersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataMembersSortOrderEnum
func GetSummarizeHostInsightDiskStatisticsStatisticEnumStringValues() []string
GetSummarizeHostInsightDiskStatisticsStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightDiskStatisticsStatisticEnum
func GetSummarizeHostInsightHostRecommendationAggregationResourceMetricEnumStringValues() []string
GetSummarizeHostInsightHostRecommendationAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightHostRecommendationAggregationResourceMetricEnum
func GetSummarizeHostInsightHostRecommendationAggregationUsageUnitEnumStringValues() []string
GetSummarizeHostInsightHostRecommendationAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightHostRecommendationAggregationUsageUnitEnum
func GetSummarizeHostInsightHostRecommendationStatisticEnumStringValues() []string
GetSummarizeHostInsightHostRecommendationStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightHostRecommendationStatisticEnum
func GetSummarizeHostInsightIoUsageTrendStatisticEnumStringValues() []string
GetSummarizeHostInsightIoUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightIoUsageTrendStatisticEnum
func GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum
func GetSummarizeHostInsightNetworkUsageTrendStatisticEnumStringValues() []string
GetSummarizeHostInsightNetworkUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightNetworkUsageTrendStatisticEnum
func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues() []string
GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
func GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumStringValues() []string
GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
func GetSummarizeHostInsightResourceCapacityTrendSortByEnumStringValues() []string
GetSummarizeHostInsightResourceCapacityTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendSortByEnum
func GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumStringValues() []string
GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
func GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumStringValues() []string
GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
func GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendAggregationPatternEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendAggregationPatternEnum
func GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendAggregationResourceMetricEnum
func GetSummarizeHostInsightResourceForecastTrendAggregationUsageUnitEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendAggregationUsageUnitEnum
func GetSummarizeHostInsightResourceForecastTrendForecastModelEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendForecastModelEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendForecastModelEnum
func GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
func GetSummarizeHostInsightResourceForecastTrendStatisticEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendStatisticEnum
func GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumStringValues() []string
GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
func GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues() []string
GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
func GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum
func GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumStringValues() []string
GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
func GetSummarizeHostInsightResourceStatisticsSortByEnumStringValues() []string
GetSummarizeHostInsightResourceStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsSortByEnum
func GetSummarizeHostInsightResourceStatisticsSortOrderEnumStringValues() []string
GetSummarizeHostInsightResourceStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsSortOrderEnum
func GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumStringValues() []string
GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
func GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumStringValues() []string
GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageAggregationUsageUnitEnum
func GetSummarizeHostInsightResourceUsagePlatformTypeEnumStringValues() []string
GetSummarizeHostInsightResourceUsagePlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsagePlatformTypeEnum
func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues() []string
GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
func GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumStringValues() []string
GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
func GetSummarizeHostInsightResourceUsageTrendSortByEnumStringValues() []string
GetSummarizeHostInsightResourceUsageTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendSortByEnum
func GetSummarizeHostInsightResourceUsageTrendSortOrderEnumStringValues() []string
GetSummarizeHostInsightResourceUsageTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendSortOrderEnum
func GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues() []string
GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
func GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumStringValues() []string
GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
func GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string
GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum
func GetSummarizeHostInsightStorageUsageTrendStatisticEnumStringValues() []string
GetSummarizeHostInsightStorageUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightStorageUsageTrendStatisticEnum
func GetSummarizeHostInsightTopProcessesUsageStatisticEnumStringValues() []string
GetSummarizeHostInsightTopProcessesUsageStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightTopProcessesUsageStatisticEnum
func GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumStringValues() []string
GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightTopProcessesUsageTrendStatisticEnum
func GetSummarizeHostInsightsDiskStatisticsCollectionUsageUnitEnumStringValues() []string
GetSummarizeHostInsightsDiskStatisticsCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightsDiskStatisticsCollectionUsageUnitEnum
func GetSummarizeSqlInsightsDatabaseTypeEnumStringValues() []string
GetSummarizeSqlInsightsDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeSqlInsightsDatabaseTypeEnum
func GetSummarizeSqlStatisticsCategoryEnumStringValues() []string
GetSummarizeSqlStatisticsCategoryEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsCategoryEnum
func GetSummarizeSqlStatisticsDatabaseTypeEnumStringValues() []string
GetSummarizeSqlStatisticsDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsDatabaseTypeEnum
func GetSummarizeSqlStatisticsSortByEnumStringValues() []string
GetSummarizeSqlStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsSortByEnum
func GetSummarizeSqlStatisticsSortOrderEnumStringValues() []string
GetSummarizeSqlStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsSortOrderEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const (
ActionTypeCreated ActionTypeEnum = "CREATED"
ActionTypeUpdated ActionTypeEnum = "UPDATED"
ActionTypeDeleted ActionTypeEnum = "DELETED"
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
ActionTypeRelated ActionTypeEnum = "RELATED"
ActionTypeFailed ActionTypeEnum = "FAILED"
)
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ActionableInsightsContentTypesResourceEnum Enum with underlying type: string
type ActionableInsightsContentTypesResourceEnum string
Set of constants representing the allowable values for ActionableInsightsContentTypesResourceEnum
const (
ActionableInsightsContentTypesResourceNewHighs ActionableInsightsContentTypesResourceEnum = "NEW_HIGHS"
ActionableInsightsContentTypesResourceBigChanges ActionableInsightsContentTypesResourceEnum = "BIG_CHANGES"
ActionableInsightsContentTypesResourceCurrentInventory ActionableInsightsContentTypesResourceEnum = "CURRENT_INVENTORY"
ActionableInsightsContentTypesResourceInventoryChanges ActionableInsightsContentTypesResourceEnum = "INVENTORY_CHANGES"
ActionableInsightsContentTypesResourceFleetStatistics ActionableInsightsContentTypesResourceEnum = "FLEET_STATISTICS"
ActionableInsightsContentTypesResourceFleetAnalysisSummaryDbCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_SUMMARY_DB_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisSummarySqlAnalyzedCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_SUMMARY_SQL_ANALYZED_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisSummaryNewSqlCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_SUMMARY_NEW_SQL_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisSummaryBusiestDb ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_SUMMARY_BUSIEST_DB"
ActionableInsightsContentTypesResourceFleetAnalysisDegradingSqlCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_DEGRADING_SQL_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisDegradingSqlByDb ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_DEGRADING_SQL_BY_DB"
ActionableInsightsContentTypesResourceFleetAnalysisDegradingSqlBySqlId ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_DEGRADING_SQL_BY_SQL_ID"
ActionableInsightsContentTypesResourceFleetAnalysisPlanChangesCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_PLAN_CHANGES_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisPlanChangesDbMostChanges ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_PLAN_CHANGES_DB_MOST_CHANGES"
ActionableInsightsContentTypesResourceFleetAnalysisPlanChangesBySqlIdImproved ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_PLAN_CHANGES_BY_SQL_ID_IMPROVED"
ActionableInsightsContentTypesResourceFleetAnalysisPlanChangesBySqlIdDegraded ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_PLAN_CHANGES_BY_SQL_ID_DEGRADED"
ActionableInsightsContentTypesResourceFleetAnalysisInvalidationStormsCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_INVALIDATION_STORMS_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisInvalidationStormsHighest ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_INVALIDATION_STORMS_HIGHEST"
ActionableInsightsContentTypesResourceFleetAnalysisCursorSharingIssuesCount ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_CURSOR_SHARING_ISSUES_COUNT"
ActionableInsightsContentTypesResourceFleetAnalysisCursorSharingIssuesByDb ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_CURSOR_SHARING_ISSUES_BY_DB"
ActionableInsightsContentTypesResourceFleetAnalysisCursorSharingIssuesBySql ActionableInsightsContentTypesResourceEnum = "FLEET_ANALYSIS_CURSOR_SHARING_ISSUES_BY_SQL"
ActionableInsightsContentTypesResourcePerformanceDegradationSummaryDbCount ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_SUMMARY_DB_COUNT"
ActionableInsightsContentTypesResourcePerformanceDegradationSummarySqlAnalyzedCount ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_SUMMARY_SQL_ANALYZED_COUNT"
ActionableInsightsContentTypesResourcePerformanceDegradationSummarySqlPerformanceTrendsCount ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_SUMMARY_SQL_PERFORMANCE_TRENDS_COUNT"
ActionableInsightsContentTypesResourcePerformanceDegradationSummaryDegradedSqlCount ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_SUMMARY_DEGRADED_SQL_COUNT"
ActionableInsightsContentTypesResourcePerformanceDegradationSummaryImprovedSqlCount ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_SUMMARY_IMPROVED_SQL_COUNT"
ActionableInsightsContentTypesResourcePerformanceDegradationDbDegradedCount ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_DB_DEGRADED_COUNT"
ActionableInsightsContentTypesResourcePerformanceDegradationSqlDegradedTable ActionableInsightsContentTypesResourceEnum = "PERFORMANCE_DEGRADATION_SQL_DEGRADED_TABLE"
ActionableInsightsContentTypesResourcePlanChangesSummaryDbCount ActionableInsightsContentTypesResourceEnum = "PLAN_CHANGES_SUMMARY_DB_COUNT"
ActionableInsightsContentTypesResourcePlanChangesSummarySqlAnalyzedCount ActionableInsightsContentTypesResourceEnum = "PLAN_CHANGES_SUMMARY_SQL_ANALYZED_COUNT"
ActionableInsightsContentTypesResourcePlanChangesSummaryPlanChangesCount ActionableInsightsContentTypesResourceEnum = "PLAN_CHANGES_SUMMARY_PLAN_CHANGES_COUNT"
ActionableInsightsContentTypesResourcePlanChangesSummaryImprovementsCount ActionableInsightsContentTypesResourceEnum = "PLAN_CHANGES_SUMMARY_IMPROVEMENTS_COUNT"
ActionableInsightsContentTypesResourcePlanChangesSummaryDegradationCount ActionableInsightsContentTypesResourceEnum = "PLAN_CHANGES_SUMMARY_DEGRADATION_COUNT"
ActionableInsightsContentTypesResourcePlanChangesTopPlanChangesTable ActionableInsightsContentTypesResourceEnum = "PLAN_CHANGES_TOP_PLAN_CHANGES_TABLE"
ActionableInsightsContentTypesResourceTopDbSummaryDbCount ActionableInsightsContentTypesResourceEnum = "TOP_DB_SUMMARY_DB_COUNT"
ActionableInsightsContentTypesResourceTopDbSummarySqlAnalyzedCount ActionableInsightsContentTypesResourceEnum = "TOP_DB_SUMMARY_SQL_ANALYZED_COUNT"
ActionableInsightsContentTypesResourceTopDbSummaryBusiestDb ActionableInsightsContentTypesResourceEnum = "TOP_DB_SUMMARY_BUSIEST_DB"
ActionableInsightsContentTypesResourceTopTable ActionableInsightsContentTypesResourceEnum = "TOP_TABLE"
ActionableInsightsContentTypesResourceCollectionDelayCount ActionableInsightsContentTypesResourceEnum = "COLLECTION_DELAY_COUNT"
ActionableInsightsContentTypesResourceCollectionDelayPreviousWeekCount ActionableInsightsContentTypesResourceEnum = "COLLECTION_DELAY_PREVIOUS_WEEK_COUNT"
)
func GetActionableInsightsContentTypesResourceEnumValues() []ActionableInsightsContentTypesResourceEnum
GetActionableInsightsContentTypesResourceEnumValues Enumerates the set of values for ActionableInsightsContentTypesResourceEnum
func GetMappingActionableInsightsContentTypesResourceEnum(val string) (ActionableInsightsContentTypesResourceEnum, bool)
GetMappingActionableInsightsContentTypesResourceEnum performs case Insensitive comparison on enum value and return the desired enum
AddEmManagedExternalExadataInsightMembersDetails The information about the members of Exadata system to be added. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.
type AddEmManagedExternalExadataInsightMembersDetails struct {
MemberEntityDetails []CreateEmManagedExternalExadataMemberEntityDetails `mandatory:"false" json:"memberEntityDetails"`
}
func (m AddEmManagedExternalExadataInsightMembersDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AddEmManagedExternalExadataInsightMembersDetails) String() string
func (m AddEmManagedExternalExadataInsightMembersDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddExadataInsightMembersDetails The information about the members of Exadata system to be added.
type AddExadataInsightMembersDetails interface {
}
AddExadataInsightMembersRequest wrapper for the AddExadataInsightMembers operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/AddExadataInsightMembers.go.html to see an example of how to use AddExadataInsightMembersRequest.
type AddExadataInsightMembersRequest struct {
// Details for the members (e.g. databases and hosts) of an Exadata system to be added in Operations Insights.
AddExadataInsightMembersDetails `contributesTo:"body"`
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 AddExadataInsightMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddExadataInsightMembersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddExadataInsightMembersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddExadataInsightMembersRequest) String() string
func (request AddExadataInsightMembersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddExadataInsightMembersResponse wrapper for the AddExadataInsightMembers operation
type AddExadataInsightMembersResponse 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 AddExadataInsightMembersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddExadataInsightMembersResponse) String() string
AddMacsManagedCloudExadataInsightMembersDetails The information about the members of Exadata system to be added.
type AddMacsManagedCloudExadataInsightMembersDetails struct {
MemberEntityDetails []CreateMacsManagedCloudExadataVmclusterDetails `mandatory:"false" json:"memberEntityDetails"`
}
func (m AddMacsManagedCloudExadataInsightMembersDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AddMacsManagedCloudExadataInsightMembersDetails) String() string
func (m AddMacsManagedCloudExadataInsightMembersDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddPeComanagedExadataInsightMembersDetails The information about the members of Exadata system to be added.
type AddPeComanagedExadataInsightMembersDetails struct {
MemberEntityDetails []CreatePeComanagedExadataVmclusterDetails `mandatory:"false" json:"memberEntityDetails"`
}
func (m AddPeComanagedExadataInsightMembersDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AddPeComanagedExadataInsightMembersDetails) String() string
func (m AddPeComanagedExadataInsightMembersDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbCollection The result of ADDM databases
type AddmDbCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of ADDM database summary data
Items []AddmDbSummary `mandatory:"true" json:"items"`
}
func (m AddmDbCollection) String() string
func (m AddmDbCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbFindingAggregation Summarizes a specific ADDM finding
type AddmDbFindingAggregation struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Unique finding id
FindingId *string `mandatory:"true" json:"findingId"`
// Category name
CategoryName *string `mandatory:"true" json:"categoryName"`
// Category display name
CategoryDisplayName *string `mandatory:"true" json:"categoryDisplayName"`
// Finding name
Name *string `mandatory:"true" json:"name"`
// Finding message
Message *string `mandatory:"true" json:"message"`
// Overall impact in terms of percentage of total activity
ImpactOverallPercent *float64 `mandatory:"true" json:"impactOverallPercent"`
// Maximum impact in terms of percentage of total activity
ImpactMaxPercent *float64 `mandatory:"true" json:"impactMaxPercent"`
// Number of occurrences for this finding
FrequencyCount *int `mandatory:"true" json:"frequencyCount"`
// Number of recommendations for this finding
RecommendationCount *int `mandatory:"true" json:"recommendationCount"`
// Impact in terms of average active sessions
ImpactAvgActiveSessions *float64 `mandatory:"false" json:"impactAvgActiveSessions"`
}
func (m AddmDbFindingAggregation) String() string
func (m AddmDbFindingAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbFindingAggregationCollection Summarizes ADDM findings over specified time period
type AddmDbFindingAggregationCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of ADDM finding summaries
Items []AddmDbFindingAggregation `mandatory:"true" json:"items"`
}
func (m AddmDbFindingAggregationCollection) String() string
func (m AddmDbFindingAggregationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbFindingCategoryCollection List of finding categories
type AddmDbFindingCategoryCollection struct {
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of finding categories
Items []AddmDbFindingCategorySummary `mandatory:"true" json:"items"`
}
func (m AddmDbFindingCategoryCollection) String() string
func (m AddmDbFindingCategoryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbFindingCategorySummary Finding category summary
type AddmDbFindingCategorySummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Name of finding category
Name *string `mandatory:"true" json:"name"`
// Display name of finding category
DisplayName *string `mandatory:"true" json:"displayName"`
}
func (m AddmDbFindingCategorySummary) String() string
func (m AddmDbFindingCategorySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbFindingsTimeSeriesCollection ADDM findings time series response.
type AddmDbFindingsTimeSeriesCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of ADDM finding time series data
Items []AddmDbFindingsTimeSeriesSummary `mandatory:"true" json:"items"`
}
func (m AddmDbFindingsTimeSeriesCollection) String() string
func (m AddmDbFindingsTimeSeriesCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbFindingsTimeSeriesSummary ADDM findings time series data
type AddmDbFindingsTimeSeriesSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Unique ADDM task id
TaskId *int `mandatory:"true" json:"taskId"`
// ADDM task name
TaskName *string `mandatory:"true" json:"taskName"`
// Unique finding id
FindingId *string `mandatory:"true" json:"findingId"`
// Timestamp when finding was generated
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
// Category name
CategoryName *string `mandatory:"true" json:"categoryName"`
// Category display name
CategoryDisplayName *string `mandatory:"true" json:"categoryDisplayName"`
// Finding name
Name *string `mandatory:"true" json:"name"`
// Finding message
Message *string `mandatory:"true" json:"message"`
// Impact in terms of percentage of total activity
ImpactPercent *float64 `mandatory:"true" json:"impactPercent"`
// Impact in terms of average active sessions
ImpactAvgActiveSessions *float64 `mandatory:"true" json:"impactAvgActiveSessions"`
// Start Timestamp of snapshot
TimeAnalysisStarted *common.SDKTime `mandatory:"false" json:"timeAnalysisStarted"`
// End Timestamp of snapshot
TimeAnalysisEnded *common.SDKTime `mandatory:"false" json:"timeAnalysisEnded"`
// DB time in seconds for the snapshot
AnalysisDbTimeInSecs *float64 `mandatory:"false" json:"analysisDbTimeInSecs"`
// DB avg active sessions for the snapshot
AnalysisAvgActiveSessions *float64 `mandatory:"false" json:"analysisAvgActiveSessions"`
// Impact in seconds
ImpactDbTimeInSecs *float64 `mandatory:"false" json:"impactDbTimeInSecs"`
}
func (m AddmDbFindingsTimeSeriesSummary) String() string
func (m AddmDbFindingsTimeSeriesSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbParameterAggregation Summarizes change history for specific database parameter
type AddmDbParameterAggregation struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Name of parameter
Name *string `mandatory:"true" json:"name"`
// Indicates whether the parameter's value changed during the selected time range (TRUE) or
// did not change during the selected time range (FALSE)
IsChanged *bool `mandatory:"true" json:"isChanged"`
// Number of database instance
InstNum *int `mandatory:"false" json:"instNum"`
// Parameter default value
DefaultValue *string `mandatory:"false" json:"defaultValue"`
// Parameter value when time period began
BeginValue *string `mandatory:"false" json:"beginValue"`
// Parameter value when time period ended
EndValue *string `mandatory:"false" json:"endValue"`
// Indicates whether the parameter's end value was set to the default value (TRUE) or was
// specified in the parameter file (FALSE)
IsDefault *bool `mandatory:"false" json:"isDefault"`
// Indicates whether the parameter has been modified after instance starup
// MODIFIED - Parameter has been modified with ALTER SESSION
// SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM
// FALSE - Parameter has not been modified after instance starup
ValueModified *string `mandatory:"false" json:"valueModified"`
// Indicates whether the parameter is a high impact parameter (TRUE) or not (FALSE)
IsHighImpact *bool `mandatory:"false" json:"isHighImpact"`
}
func (m AddmDbParameterAggregation) String() string
func (m AddmDbParameterAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbParameterAggregationCollection Summarizes AWR parameter change history over specified time period
type AddmDbParameterAggregationCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of AWR parameter change summaries
Items []AddmDbParameterAggregation `mandatory:"true" json:"items"`
}
func (m AddmDbParameterAggregationCollection) String() string
func (m AddmDbParameterAggregationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbParameterCategoryCollection List of database parameter categories
type AddmDbParameterCategoryCollection struct {
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of database parameter categories
Items []AddmDbParameterCategorySummary `mandatory:"true" json:"items"`
}
func (m AddmDbParameterCategoryCollection) String() string
func (m AddmDbParameterCategoryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbParameterCategorySummary Database parameter category summary
type AddmDbParameterCategorySummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Name of database parameter category
Name *string `mandatory:"true" json:"name"`
// Display name of database parameter category
DisplayName *string `mandatory:"true" json:"displayName"`
}
func (m AddmDbParameterCategorySummary) String() string
func (m AddmDbParameterCategorySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbParameterChangeAggregation Change record for AWR database parameter
type AddmDbParameterChangeAggregation struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Begin time of interval which includes change
TimeBegin *common.SDKTime `mandatory:"true" json:"timeBegin"`
// End time of interval which includes change
TimeEnd *common.SDKTime `mandatory:"true" json:"timeEnd"`
// Instance number
InstNum *int `mandatory:"true" json:"instNum"`
// AWR snapshot id which includes the parameter value change
SnapshotId *int `mandatory:"true" json:"snapshotId"`
// Previous value
PreviousValue *string `mandatory:"false" json:"previousValue"`
// Current value
Value *string `mandatory:"false" json:"value"`
}
func (m AddmDbParameterChangeAggregation) String() string
func (m AddmDbParameterChangeAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbParameterChangeAggregationCollection Summarizes AWR parameter change history over specified time period for specified parameter
type AddmDbParameterChangeAggregationCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of AWR parameter changes
Items []AddmDbParameterChangeAggregation `mandatory:"true" json:"items"`
}
func (m AddmDbParameterChangeAggregationCollection) String() string
func (m AddmDbParameterChangeAggregationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbRecommendationAggregation Summarizes a specific ADDM recommendation
type AddmDbRecommendationAggregation struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Recommendation message
Message *string `mandatory:"true" json:"message"`
// Type of recommendation
Type *string `mandatory:"false" json:"type"`
// Indicates implementation of the recommended action requires a database restart in order for it
// to take effect. Possible values "Y", "N" and null.
RequiresDbRestart *string `mandatory:"false" json:"requiresDbRestart"`
// Actions that can be performed to implement the recommendation (such as 'ALTER PARAMETER',
// 'RUN SQL TUNING ADVISOR')
ImplementActions []string `mandatory:"false" json:"implementActions"`
// Recommendation message
Rationale *string `mandatory:"false" json:"rationale"`
// Maximum estimated benefit in terms of percentage of total activity
MaxBenefitPercent *float64 `mandatory:"false" json:"maxBenefitPercent"`
// Overall estimated benefit in terms of percentage of total activity
OverallBenefitPercent *float64 `mandatory:"false" json:"overallBenefitPercent"`
// Maximum estimated benefit in terms of average active sessions
MaxBenefitAvgActiveSessions *float64 `mandatory:"false" json:"maxBenefitAvgActiveSessions"`
// Number of occurrences for this recommendation
FrequencyCount *int `mandatory:"false" json:"frequencyCount"`
RelatedObject RelatedObjectTypeDetails `mandatory:"false" json:"relatedObject"`
}
func (m AddmDbRecommendationAggregation) String() string
func (m *AddmDbRecommendationAggregation) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AddmDbRecommendationAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbRecommendationAggregationCollection Summarizes ADDM recommendations over specified time period
type AddmDbRecommendationAggregationCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of ADDM recommendation summaries
Items []AddmDbRecommendationAggregation `mandatory:"true" json:"items"`
}
func (m AddmDbRecommendationAggregationCollection) String() string
func (m AddmDbRecommendationAggregationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbRecommendationCategoryCollection List of recommendation categories
type AddmDbRecommendationCategoryCollection struct {
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of recommendation categories
Items []AddmDbRecommendationCategorySummary `mandatory:"true" json:"items"`
}
func (m AddmDbRecommendationCategoryCollection) String() string
func (m AddmDbRecommendationCategoryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbRecommendationCategorySummary Recommendation category summary
type AddmDbRecommendationCategorySummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Name of recommendation category
Name *string `mandatory:"true" json:"name"`
// Display name of recommendation category
DisplayName *string `mandatory:"true" json:"displayName"`
}
func (m AddmDbRecommendationCategorySummary) String() string
func (m AddmDbRecommendationCategorySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbRecommendationsTimeSeriesCollection ADDM recommendations time series
type AddmDbRecommendationsTimeSeriesCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of ADDM recommendations time series data
Items []AddmDbRecommendationsTimeSeriesSummary `mandatory:"true" json:"items"`
}
func (m AddmDbRecommendationsTimeSeriesCollection) String() string
func (m AddmDbRecommendationsTimeSeriesCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbRecommendationsTimeSeriesSummary ADDM recommendation
type AddmDbRecommendationsTimeSeriesSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Unique ADDM task id
TaskId *int `mandatory:"true" json:"taskId"`
// ADDM task name
TaskName *string `mandatory:"true" json:"taskName"`
// Timestamp when recommendation was generated
Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
// Start Timestamp of snapshot
TimeAnalysisStarted *common.SDKTime `mandatory:"false" json:"timeAnalysisStarted"`
// End Timestamp of snapshot
TimeAnalysisEnded *common.SDKTime `mandatory:"false" json:"timeAnalysisEnded"`
// Type of recommendation
Type *string `mandatory:"false" json:"type"`
// DB time in seconds for the snapshot
AnalysisDbTimeInSecs *float64 `mandatory:"false" json:"analysisDbTimeInSecs"`
// DB avg active sessions for the snapshot
AnalysisAvgActiveSessions *float64 `mandatory:"false" json:"analysisAvgActiveSessions"`
// Maximum estimated benefit in terms of percentage of total activity
MaxBenefitPercent *float64 `mandatory:"false" json:"maxBenefitPercent"`
// Maximum estimated benefit in terms of seconds
MaxBenefitDbTimeInSecs *float64 `mandatory:"false" json:"maxBenefitDbTimeInSecs"`
// Maximum estimated benefit in terms of average active sessions
MaxBenefitAvgActiveSessions *float64 `mandatory:"false" json:"maxBenefitAvgActiveSessions"`
RelatedObject RelatedObjectTypeDetails `mandatory:"false" json:"relatedObject"`
}
func (m AddmDbRecommendationsTimeSeriesSummary) String() string
func (m *AddmDbRecommendationsTimeSeriesSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AddmDbRecommendationsTimeSeriesSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbSchemaObjectCollection Summarizes Schema Objects over specified time period
type AddmDbSchemaObjectCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of Schema Objects
Items []AddmDbSchemaObjectSummary `mandatory:"true" json:"items"`
}
func (m AddmDbSchemaObjectCollection) String() string
func (m AddmDbSchemaObjectCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbSchemaObjectSummary Details for a given object id
type AddmDbSchemaObjectSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// Object id (from RDBMS)
ObjectIdentifier *int `mandatory:"true" json:"objectIdentifier"`
// Owner of object
Owner *string `mandatory:"true" json:"owner"`
// Name of object
ObjectName *string `mandatory:"true" json:"objectName"`
// Type of the object (such as TABLE, INDEX)
ObjectType *string `mandatory:"true" json:"objectType"`
// Subobject name; for example, partition name
SubObjectName *string `mandatory:"false" json:"subObjectName"`
}
func (m AddmDbSchemaObjectSummary) String() string
func (m AddmDbSchemaObjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbSqlStatementCollection Summarizes SQL statements over specified time period
type AddmDbSqlStatementCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of database details data
DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
// List of SQL statements
Items []AddmDbSqlStatementSummary `mandatory:"true" json:"items"`
}
func (m AddmDbSqlStatementCollection) String() string
func (m AddmDbSqlStatementCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbSqlStatementSummary Details for a given SQL ID
type AddmDbSqlStatementSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
Id *string `mandatory:"true" json:"id"`
// SQL identifier
SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
// First 3800 characters of the SQL text
SqlText *string `mandatory:"true" json:"sqlText"`
// SQL identifier
IsSqlTextTruncated *bool `mandatory:"true" json:"isSqlTextTruncated"`
// SQL command name (such as SELECT, INSERT)
SqlCommand *string `mandatory:"true" json:"sqlCommand"`
}
func (m AddmDbSqlStatementSummary) String() string
func (m AddmDbSqlStatementSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmDbSummary ADDM summary for a database
type AddmDbSummary struct {
DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`
// Number of ADDM findings
NumberOfFindings *int `mandatory:"false" json:"numberOfFindings"`
// Number of ADDM tasks
NumberOfAddmTasks *int `mandatory:"false" json:"numberOfAddmTasks"`
// The start timestamp that was passed into the request.
TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"`
// The end timestamp that was passed into the request.
TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"`
// AWR snapshot id.
SnapshotIntervalStart *string `mandatory:"false" json:"snapshotIntervalStart"`
// AWR snapshot id.
SnapshotIntervalEnd *string `mandatory:"false" json:"snapshotIntervalEnd"`
// Maximum overall impact in terms of percentage of total activity
MaxOverallImpact *float64 `mandatory:"false" json:"maxOverallImpact"`
// Category name
MostFrequentCategoryName *string `mandatory:"false" json:"mostFrequentCategoryName"`
// Category display name
MostFrequentCategoryDisplayName *string `mandatory:"false" json:"mostFrequentCategoryDisplayName"`
}
func (m AddmDbSummary) String() string
func (m AddmDbSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AddmReport ADDM Tasks.
type AddmReport struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// TASK_ID in the oracle database view DBA_ADDM_TASKS
TaskIdentifier *string `mandatory:"true" json:"taskIdentifier"`
// Internal id of the database.
DatabaseIdentifier *string `mandatory:"true" json:"databaseIdentifier"`
// AWR snapshot id.
SnapshotIntervalStart *string `mandatory:"true" json:"snapshotIntervalStart"`
// AWR snapshot id.
SnapshotIntervalEnd *string `mandatory:"true" json:"snapshotIntervalEnd"`
// The complete ADDM report
AddmReport *string `mandatory:"true" json:"addmReport"`
}
func (m AddmReport) String() string
func (m AddmReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ArchivalStateEnum Enum with underlying type: string
type ArchivalStateEnum string
Set of constants representing the allowable values for ArchivalStateEnum
const (
ArchivalStateArchived ArchivalStateEnum = "ARCHIVED"
ArchivalStateRestoring ArchivalStateEnum = "RESTORING"
ArchivalStateRestored ArchivalStateEnum = "RESTORED"
)
func GetArchivalStateEnumValues() []ArchivalStateEnum
GetArchivalStateEnumValues Enumerates the set of values for ArchivalStateEnum
func GetMappingArchivalStateEnum(val string) (ArchivalStateEnum, bool)
GetMappingArchivalStateEnum performs case Insensitive comparison on enum value and return the desired enum
AutonomousDatabaseConfigurationSummary Configuration Summary of autonomous database.
type AutonomousDatabaseConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"true" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"true" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
}
func (m AutonomousDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (m AutonomousDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m AutonomousDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m AutonomousDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutonomousDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutonomousDatabaseConfigurationSummary) GetIsAdvancedFeaturesEnabled() *bool
GetIsAdvancedFeaturesEnabled returns IsAdvancedFeaturesEnabled
func (m AutonomousDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m AutonomousDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseConfigurationSummary) String() string
func (m AutonomousDatabaseConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AutonomousDatabaseInsight Database insight resource.
type AutonomousDatabaseInsight struct {
// Database insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Name of database
DatabaseName *string `mandatory:"true" json:"databaseName"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// Display name of database
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.oracle.com/iaas/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.
DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"false" json:"isAdvancedFeaturesEnabled"`
ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
CredentialDetails CredentialDetails `mandatory:"false" json:"credentialDetails"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m AutonomousDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutonomousDatabaseInsight) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m AutonomousDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m AutonomousDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m AutonomousDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutonomousDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutonomousDatabaseInsight) GetId() *string
GetId returns Id
func (m AutonomousDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m AutonomousDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AutonomousDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m AutonomousDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m AutonomousDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AutonomousDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AutonomousDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AutonomousDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseInsight) String() string
func (m *AutonomousDatabaseInsight) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AutonomousDatabaseInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AutonomousDatabaseInsightSummary Summary of a database insight resource.
type AutonomousDatabaseInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"false" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// The hostnames for the database.
DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"false" json:"isAdvancedFeaturesEnabled"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m AutonomousDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m AutonomousDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m AutonomousDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m AutonomousDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m AutonomousDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m AutonomousDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m AutonomousDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m AutonomousDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m AutonomousDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m AutonomousDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m AutonomousDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m AutonomousDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m AutonomousDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m AutonomousDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m AutonomousDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m AutonomousDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m AutonomousDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m AutonomousDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m AutonomousDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutonomousDatabaseInsightSummary) String() string
func (m AutonomousDatabaseInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseCollection The result of AWR query.
type AwrDatabaseCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR summary data.
Items []AwrDatabaseSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseCollection) String() string
func (m AwrDatabaseCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseCpuUsageCollection The AWR CPU usage data.
type AwrDatabaseCpuUsageCollection 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 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.
DatabaseCpuCount *int `mandatory:"false" json:"databaseCpuCount"`
// The number of available CPUs or processors.
HostCpuCount *float64 `mandatory:"false" json:"hostCpuCount"`
// A list of AWR CPU usage summary data.
Items []AwrDatabaseCpuUsageSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseCpuUsageCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseCpuUsageCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseCpuUsageCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseCpuUsageCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseCpuUsageCollection) String() string
func (m AwrDatabaseCpuUsageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseCpuUsageSummary A summary of the AWR CPU resource limits and metrics.
type AwrDatabaseCpuUsageSummary struct {
// The timestamp for the CPU summary data.
Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
// The average CPU usage per second.
AvgUsageInSecs *float64 `mandatory:"false" json:"avgUsageInSecs"`
}
func (m AwrDatabaseCpuUsageSummary) String() string
func (m AwrDatabaseCpuUsageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseMetricCollection The AWR metrics time series summary data.
type AwrDatabaseMetricCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR metric summary data.
Items []AwrDatabaseMetricSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseMetricCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseMetricCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseMetricCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseMetricCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseMetricCollection) String() string
func (m AwrDatabaseMetricCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseMetricSummary The summary of the AWR metric data for a particular metric at a specific time.
type AwrDatabaseMetricSummary 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 AwrDatabaseMetricSummary) String() string
func (m AwrDatabaseMetricSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseParameterChangeCollection The AWR database parameter change history.
type AwrDatabaseParameterChangeCollection 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 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 []AwrDatabaseParameterChangeSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseParameterChangeCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseParameterChangeCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseParameterChangeCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseParameterChangeCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseParameterChangeCollection) String() string
func (m AwrDatabaseParameterChangeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseParameterChangeSummary A summary of the changes made to a single AWR database parameter.
type AwrDatabaseParameterChangeSummary struct {
// The ID of the snapshot with the parameter value changed. The snapshot identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabaseSnapshots
SnapshotIdentifier *int `mandatory:"true" json:"snapshotIdentifier"`
// 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 AwrDatabaseParameterChangeSummary) String() string
func (m AwrDatabaseParameterChangeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseParameterCollection The AWR database parameter data.
type AwrDatabaseParameterCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR database parameter summary data.
Items []AwrDatabaseParameterSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseParameterCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseParameterCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseParameterCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseParameterCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseParameterCollection) String() string
func (m AwrDatabaseParameterCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseParameterSummary The summary of the AWR change history data for a single database parameter.
type AwrDatabaseParameterSummary 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 AwrDatabaseParameterSummary) String() string
func (m AwrDatabaseParameterSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseReport The result of the AWR report.
type AwrDatabaseReport 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 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 AwrDatabaseReportFormatEnum `mandatory:"false" json:"format,omitempty"`
}
func (m AwrDatabaseReport) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseReport) GetName() *string
GetName returns Name
func (m AwrDatabaseReport) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseReport) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseReport) String() string
func (m AwrDatabaseReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseReportFormatEnum Enum with underlying type: string
type AwrDatabaseReportFormatEnum string
Set of constants representing the allowable values for AwrDatabaseReportFormatEnum
const (
AwrDatabaseReportFormatHtml AwrDatabaseReportFormatEnum = "HTML"
AwrDatabaseReportFormatText AwrDatabaseReportFormatEnum = "TEXT"
AwrDatabaseReportFormatXml AwrDatabaseReportFormatEnum = "XML"
)
func GetAwrDatabaseReportFormatEnumValues() []AwrDatabaseReportFormatEnum
GetAwrDatabaseReportFormatEnumValues Enumerates the set of values for AwrDatabaseReportFormatEnum
func GetMappingAwrDatabaseReportFormatEnum(val string) (AwrDatabaseReportFormatEnum, bool)
GetMappingAwrDatabaseReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
AwrDatabaseSnapshotCollection The list of AWR snapshots for one database.
type AwrDatabaseSnapshotCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR snapshot summary data.
Items []AwrDatabaseSnapshotSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseSnapshotCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseSnapshotCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseSnapshotCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseSnapshotCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseSnapshotCollection) String() string
func (m AwrDatabaseSnapshotCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSnapshotRangeCollection The AWR snapshot range list.
type AwrDatabaseSnapshotRangeCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR snapshot range summary data.
Items []AwrDatabaseSnapshotRangeSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseSnapshotRangeCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseSnapshotRangeCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseSnapshotRangeCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseSnapshotRangeCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseSnapshotRangeCollection) String() string
func (m AwrDatabaseSnapshotRangeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSnapshotRangeSummary The summary data for a range of AWR snapshots.
type AwrDatabaseSnapshotRangeSummary struct {
// The internal ID of the database. The internal ID of the database is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabases
AwrSourceDatabaseIdentifier *string `mandatory:"true" json:"awrSourceDatabaseIdentifier"`
// 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 identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabaseSnapshots
FirstSnapshotIdentifier *int `mandatory:"false" json:"firstSnapshotIdentifier"`
// The ID of the latest snapshot. The snapshot identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabaseSnapshots
LatestSnapshotIdentifier *int `mandatory:"false" json:"latestSnapshotIdentifier"`
// The total number of snapshots.
SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"`
// The interval time between snapshots (in minutes).
SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"`
// The version of the database.
DbVersion *string `mandatory:"false" json:"dbVersion"`
// The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"`
}
func (m AwrDatabaseSnapshotRangeSummary) String() string
func (m AwrDatabaseSnapshotRangeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSnapshotSummary The AWR snapshot summary of one snapshot.
type AwrDatabaseSnapshotSummary struct {
// Internal ID of the database. The internal ID of the database is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabases
AwrSourceDatabaseIdentifier *string `mandatory:"true" json:"awrSourceDatabaseIdentifier"`
// The ID of the snapshot. The snapshot identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDbSnapshots
SnapshotIdentifier *int `mandatory:"true" json:"snapshotIdentifier"`
// 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 AwrDatabaseSnapshotSummary) String() string
func (m AwrDatabaseSnapshotSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSqlReport The result of the AWR SQL report.
type AwrDatabaseSqlReport 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 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 AwrDatabaseSqlReportFormatEnum `mandatory:"false" json:"format,omitempty"`
}
func (m AwrDatabaseSqlReport) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseSqlReport) GetName() *string
GetName returns Name
func (m AwrDatabaseSqlReport) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseSqlReport) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseSqlReport) String() string
func (m AwrDatabaseSqlReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSqlReportFormatEnum Enum with underlying type: string
type AwrDatabaseSqlReportFormatEnum string
Set of constants representing the allowable values for AwrDatabaseSqlReportFormatEnum
const (
AwrDatabaseSqlReportFormatHtml AwrDatabaseSqlReportFormatEnum = "HTML"
AwrDatabaseSqlReportFormatText AwrDatabaseSqlReportFormatEnum = "TEXT"
)
func GetAwrDatabaseSqlReportFormatEnumValues() []AwrDatabaseSqlReportFormatEnum
GetAwrDatabaseSqlReportFormatEnumValues Enumerates the set of values for AwrDatabaseSqlReportFormatEnum
func GetMappingAwrDatabaseSqlReportFormatEnum(val string) (AwrDatabaseSqlReportFormatEnum, bool)
GetMappingAwrDatabaseSqlReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
AwrDatabaseSummary The AWR summary for a database.
type AwrDatabaseSummary struct {
// The internal ID of the database. The internal ID of the database is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabases
AwrSourceDatabaseIdentifier *string `mandatory:"true" json:"awrSourceDatabaseIdentifier"`
// 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 identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabaseSnapshots
FirstSnapshotIdentifier *int `mandatory:"false" json:"firstSnapshotIdentifier"`
// The ID of the latest snapshot. The snapshot identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabaseSnapshots
LatestSnapshotIdentifier *int `mandatory:"false" json:"latestSnapshotIdentifier"`
// The total number of snapshots.
SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"`
// The interval time between snapshots (in minutes).
SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"`
// The version of the database.
DbVersion *string `mandatory:"false" json:"dbVersion"`
// The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"`
}
func (m AwrDatabaseSummary) String() string
func (m AwrDatabaseSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSysstatCollection The AWR SYSSTAT time series summary data.
type AwrDatabaseSysstatCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR SYSSTAT summary data.
Items []AwrDatabaseSysstatSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseSysstatCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseSysstatCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseSysstatCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseSysstatCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseSysstatCollection) String() string
func (m AwrDatabaseSysstatCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseSysstatSummary The summary of the AWR SYSSTAT data.
type AwrDatabaseSysstatSummary 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. The units are stats name/val per the time period {timeBegin - timeEnd}.
AvgValue *float64 `mandatory:"false" json:"avgValue"`
// The last value of the SYSSTAT. The units are stats name/val per the time period {timeBegin - timeEnd}.
CurrentValue *float64 `mandatory:"false" json:"currentValue"`
}
func (m AwrDatabaseSysstatSummary) String() string
func (m AwrDatabaseSysstatSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseTopWaitEventCollection The AWR top wait event data.
type AwrDatabaseTopWaitEventCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR top event summary data.
Items []AwrDatabaseTopWaitEventSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseTopWaitEventCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseTopWaitEventCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseTopWaitEventCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseTopWaitEventCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseTopWaitEventCollection) String() string
func (m AwrDatabaseTopWaitEventCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseTopWaitEventSummary A summary of the AWR top wait event data for one event.
type AwrDatabaseTopWaitEventSummary 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 AwrDatabaseTopWaitEventSummary) String() string
func (m AwrDatabaseTopWaitEventSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseWaitEventBucketCollection The percentage distribution of waits in the AWR wait event buckets.
type AwrDatabaseWaitEventBucketCollection 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 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 []AwrDatabaseWaitEventBucketSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseWaitEventBucketCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseWaitEventBucketCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseWaitEventBucketCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseWaitEventBucketCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseWaitEventBucketCollection) String() string
func (m AwrDatabaseWaitEventBucketCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseWaitEventBucketSummary A summary of the AWR wait event bucket and waits percentage.
type AwrDatabaseWaitEventBucketSummary 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 AwrDatabaseWaitEventBucketSummary) String() string
func (m AwrDatabaseWaitEventBucketSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseWaitEventCollection The AWR wait event data.
type AwrDatabaseWaitEventCollection 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 time taken to query the database tier (in seconds).
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
// A list of AWR wait events.
Items []AwrDatabaseWaitEventSummary `mandatory:"false" json:"items"`
}
func (m AwrDatabaseWaitEventCollection) GetDbQueryTimeInSecs() *float64
GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m AwrDatabaseWaitEventCollection) GetName() *string
GetName returns Name
func (m AwrDatabaseWaitEventCollection) GetVersion() *string
GetVersion returns Version
func (m AwrDatabaseWaitEventCollection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AwrDatabaseWaitEventCollection) String() string
func (m AwrDatabaseWaitEventCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrDatabaseWaitEventSummary The summary of the AWR wait event time series data for one event.
type AwrDatabaseWaitEventSummary 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 identifier is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabaseSnapshots
SnapshotIdentifier *int `mandatory:"false" json:"snapshotIdentifier"`
}
func (m AwrDatabaseWaitEventSummary) String() string
func (m AwrDatabaseWaitEventSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHub Awr Hub resource.
type AwrHub struct {
// OPSI Warehouse OCID
OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
// AWR Hub OCID
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of AWR Hub that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Object Storage Bucket Name
ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Possible lifecycle states
LifecycleState AwrHubLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Mailbox URL required for AWR hub and AWR source setup.
AwrMailboxUrl *string `mandatory:"false" json:"awrMailboxUrl"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Dst Time Zone Version of the AWR Hub
HubDstTimezoneVersion *string `mandatory:"false" json:"hubDstTimezoneVersion"`
}
func (m AwrHub) String() string
func (m AwrHub) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubLifecycleStateEnum Enum with underlying type: string
type AwrHubLifecycleStateEnum string
Set of constants representing the allowable values for AwrHubLifecycleStateEnum
const (
AwrHubLifecycleStateCreating AwrHubLifecycleStateEnum = "CREATING"
AwrHubLifecycleStateUpdating AwrHubLifecycleStateEnum = "UPDATING"
AwrHubLifecycleStateActive AwrHubLifecycleStateEnum = "ACTIVE"
AwrHubLifecycleStateDeleting AwrHubLifecycleStateEnum = "DELETING"
AwrHubLifecycleStateDeleted AwrHubLifecycleStateEnum = "DELETED"
AwrHubLifecycleStateFailed AwrHubLifecycleStateEnum = "FAILED"
)
func GetAwrHubLifecycleStateEnumValues() []AwrHubLifecycleStateEnum
GetAwrHubLifecycleStateEnumValues Enumerates the set of values for AwrHubLifecycleStateEnum
func GetMappingAwrHubLifecycleStateEnum(val string) (AwrHubLifecycleStateEnum, bool)
GetMappingAwrHubLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AwrHubObjects Logical grouping used for Awr Hub Object operations.
type AwrHubObjects struct {
// Awr Hub Object.
AwrSnapshots *interface{} `mandatory:"false" json:"awrSnapshots"`
}
func (m AwrHubObjects) String() string
func (m AwrHubObjects) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubSource Awr hub source object
type AwrHubSource struct {
// The name of the Awr Hub source database.
Name *string `mandatory:"true" json:"name"`
// AWR Hub OCID
AwrHubId *string `mandatory:"true" json:"awrHubId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// source type of the database
Type AwrHubSourceTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Awr Hub source database.
Id *string `mandatory:"true" json:"id"`
// The shorted string of the Awr Hub source database identifier.
AwrHubOpsiSourceId *string `mandatory:"true" json:"awrHubOpsiSourceId"`
// Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
SourceMailBoxUrl *string `mandatory:"true" json:"sourceMailBoxUrl"`
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// the current state of the source database
LifecycleState AwrHubSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Indicates the status of a source database in Operations Insights
Status AwrHubSourceStatusEnum `mandatory:"true" json:"status"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
AssociatedResourceId *string `mandatory:"false" json:"associatedResourceId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
AssociatedOpsiId *string `mandatory:"false" json:"associatedOpsiId"`
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
IsRegisteredWithAwrHub *bool `mandatory:"false" json:"isRegisteredWithAwrHub"`
// DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
AwrSourceDatabaseId *string `mandatory:"false" json:"awrSourceDatabaseId"`
// The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
MinSnapshotIdentifier *float32 `mandatory:"false" json:"minSnapshotIdentifier"`
// The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
MaxSnapshotIdentifier *float32 `mandatory:"false" json:"maxSnapshotIdentifier"`
// The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
TimeFirstSnapshotGenerated *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotGenerated"`
// The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
TimeLastSnapshotGenerated *common.SDKTime `mandatory:"false" json:"timeLastSnapshotGenerated"`
// Number of hours since last AWR snapshots import happened from the Source database.
HoursSinceLastImport *float64 `mandatory:"false" json:"hoursSinceLastImport"`
}
func (m AwrHubSource) String() string
func (m AwrHubSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubSourceLifecycleStateEnum Enum with underlying type: string
type AwrHubSourceLifecycleStateEnum string
Set of constants representing the allowable values for AwrHubSourceLifecycleStateEnum
const (
AwrHubSourceLifecycleStateCreating AwrHubSourceLifecycleStateEnum = "CREATING"
AwrHubSourceLifecycleStateUpdating AwrHubSourceLifecycleStateEnum = "UPDATING"
AwrHubSourceLifecycleStateActive AwrHubSourceLifecycleStateEnum = "ACTIVE"
AwrHubSourceLifecycleStateDeleting AwrHubSourceLifecycleStateEnum = "DELETING"
AwrHubSourceLifecycleStateDeleted AwrHubSourceLifecycleStateEnum = "DELETED"
AwrHubSourceLifecycleStateFailed AwrHubSourceLifecycleStateEnum = "FAILED"
)
func GetAwrHubSourceLifecycleStateEnumValues() []AwrHubSourceLifecycleStateEnum
GetAwrHubSourceLifecycleStateEnumValues Enumerates the set of values for AwrHubSourceLifecycleStateEnum
func GetMappingAwrHubSourceLifecycleStateEnum(val string) (AwrHubSourceLifecycleStateEnum, bool)
GetMappingAwrHubSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
AwrHubSourceStatusEnum Enum with underlying type: string
type AwrHubSourceStatusEnum string
Set of constants representing the allowable values for AwrHubSourceStatusEnum
const (
AwrHubSourceStatusAccepting AwrHubSourceStatusEnum = "ACCEPTING"
AwrHubSourceStatusNotAccepting AwrHubSourceStatusEnum = "NOT_ACCEPTING"
AwrHubSourceStatusNotRegistered AwrHubSourceStatusEnum = "NOT_REGISTERED"
AwrHubSourceStatusTerminated AwrHubSourceStatusEnum = "TERMINATED"
)
func GetAwrHubSourceStatusEnumValues() []AwrHubSourceStatusEnum
GetAwrHubSourceStatusEnumValues Enumerates the set of values for AwrHubSourceStatusEnum
func GetMappingAwrHubSourceStatusEnum(val string) (AwrHubSourceStatusEnum, bool)
GetMappingAwrHubSourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
AwrHubSourceSummary Awr hub source object
type AwrHubSourceSummary struct {
// The name of the Awr Hub source database.
Name *string `mandatory:"true" json:"name"`
// AWR Hub OCID
AwrHubId *string `mandatory:"true" json:"awrHubId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// source type of the database
Type AwrHubSourceTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Awr Hub source database.
Id *string `mandatory:"true" json:"id"`
// The shorted string of the Awr Hub source database identifier.
AwrHubOpsiSourceId *string `mandatory:"true" json:"awrHubOpsiSourceId"`
// Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
SourceMailBoxUrl *string `mandatory:"true" json:"sourceMailBoxUrl"`
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// the current state of the source database
LifecycleState AwrHubSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Indicates the status of a source database in Operations Insights
Status AwrHubSourceStatusEnum `mandatory:"true" json:"status"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
AssociatedResourceId *string `mandatory:"false" json:"associatedResourceId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
AssociatedOpsiId *string `mandatory:"false" json:"associatedOpsiId"`
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
IsRegisteredWithAwrHub *bool `mandatory:"false" json:"isRegisteredWithAwrHub"`
// DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
AwrSourceDatabaseId *string `mandatory:"false" json:"awrSourceDatabaseId"`
// The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
MinSnapshotIdentifier *float32 `mandatory:"false" json:"minSnapshotIdentifier"`
// The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
MaxSnapshotIdentifier *float32 `mandatory:"false" json:"maxSnapshotIdentifier"`
// The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
TimeFirstSnapshotGenerated *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotGenerated"`
// The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
TimeLastSnapshotGenerated *common.SDKTime `mandatory:"false" json:"timeLastSnapshotGenerated"`
// Number of hours since last AWR snapshots import happened from the Source database.
HoursSinceLastImport *float64 `mandatory:"false" json:"hoursSinceLastImport"`
}
func (m AwrHubSourceSummary) String() string
func (m AwrHubSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubSourceSummaryCollection Collection of Awr Hub sources.
type AwrHubSourceSummaryCollection struct {
// Array of Awr Hub source objects.
Items []AwrHubSourceSummary `mandatory:"true" json:"items"`
}
func (m AwrHubSourceSummaryCollection) String() string
func (m AwrHubSourceSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubSourceTypeEnum Enum with underlying type: string
type AwrHubSourceTypeEnum string
Set of constants representing the allowable values for AwrHubSourceTypeEnum
const (
AwrHubSourceTypeAdwS AwrHubSourceTypeEnum = "ADW_S"
AwrHubSourceTypeAtpS AwrHubSourceTypeEnum = "ATP_S"
AwrHubSourceTypeAdwD AwrHubSourceTypeEnum = "ADW_D"
AwrHubSourceTypeAtpD AwrHubSourceTypeEnum = "ATP_D"
AwrHubSourceTypeExternalPdb AwrHubSourceTypeEnum = "EXTERNAL_PDB"
AwrHubSourceTypeExternalNoncdb AwrHubSourceTypeEnum = "EXTERNAL_NONCDB"
AwrHubSourceTypeComanagedVmCdb AwrHubSourceTypeEnum = "COMANAGED_VM_CDB"
AwrHubSourceTypeComanagedVmPdb AwrHubSourceTypeEnum = "COMANAGED_VM_PDB"
AwrHubSourceTypeComanagedVmNoncdb AwrHubSourceTypeEnum = "COMANAGED_VM_NONCDB"
AwrHubSourceTypeComanagedBmCdb AwrHubSourceTypeEnum = "COMANAGED_BM_CDB"
AwrHubSourceTypeComanagedBmPdb AwrHubSourceTypeEnum = "COMANAGED_BM_PDB"
AwrHubSourceTypeComanagedBmNoncdb AwrHubSourceTypeEnum = "COMANAGED_BM_NONCDB"
AwrHubSourceTypeComanagedExacsCdb AwrHubSourceTypeEnum = "COMANAGED_EXACS_CDB"
AwrHubSourceTypeComanagedExacsPdb AwrHubSourceTypeEnum = "COMANAGED_EXACS_PDB"
AwrHubSourceTypeComanagedExacsNoncdb AwrHubSourceTypeEnum = "COMANAGED_EXACS_NONCDB"
AwrHubSourceTypeLhS AwrHubSourceTypeEnum = "LH_S"
AwrHubSourceTypeApexS AwrHubSourceTypeEnum = "APEX_S"
AwrHubSourceTypeAjdS AwrHubSourceTypeEnum = "AJD_S"
AwrHubSourceTypeAvdS AwrHubSourceTypeEnum = "AVD_S"
AwrHubSourceTypeLhD AwrHubSourceTypeEnum = "LH_D"
AwrHubSourceTypeApexD AwrHubSourceTypeEnum = "APEX_D"
AwrHubSourceTypeAjdD AwrHubSourceTypeEnum = "AJD_D"
AwrHubSourceTypeAvdD AwrHubSourceTypeEnum = "AVD_D"
AwrHubSourceTypeUndefined AwrHubSourceTypeEnum = "UNDEFINED"
)
func GetAwrHubSourceTypeEnumValues() []AwrHubSourceTypeEnum
GetAwrHubSourceTypeEnumValues Enumerates the set of values for AwrHubSourceTypeEnum
func GetMappingAwrHubSourceTypeEnum(val string) (AwrHubSourceTypeEnum, bool)
GetMappingAwrHubSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AwrHubSources Logical grouping used for Awr Hub Source operations.
type AwrHubSources struct {
// Awr Hub Source Object.
AwrHubSources *interface{} `mandatory:"false" json:"awrHubSources"`
}
func (m AwrHubSources) String() string
func (m AwrHubSources) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubSummary Summary Hub resource.
type AwrHubSummary struct {
// OPSI Warehouse OCID
OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
// AWR Hub OCID
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of AWR Hub that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Object Storage Bucket Name
ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
// The time at which the resource was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Possible lifecycle states
LifecycleState AwrHubLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Mailbox URL required for AWR hub and AWR source setup.
AwrMailboxUrl *string `mandatory:"false" json:"awrMailboxUrl"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time at which the resource was last updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}
func (m AwrHubSummary) String() string
func (m AwrHubSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubSummaryCollection Collection of Hub resources.
type AwrHubSummaryCollection struct {
// Array of Hub summary objects.
Items []AwrHubSummary `mandatory:"true" json:"items"`
}
func (m AwrHubSummaryCollection) String() string
func (m AwrHubSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrHubs Logical grouping used for Awr Hub operations.
type AwrHubs struct {
// Awr Hub Object.
AwrHubs *interface{} `mandatory:"false" json:"awrHubs"`
}
func (m AwrHubs) String() string
func (m AwrHubs) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an 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 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
AwrReport The result of the AWR report.
type AwrReport struct {
// The format of the report.
Format AwrReportFormatTypeEnum `mandatory:"true" json:"format"`
// The content of the report.
Content *string `mandatory:"false" json:"content"`
}
func (m AwrReport) String() string
func (m AwrReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrReportFormatTypeEnum Enum with underlying type: string
type AwrReportFormatTypeEnum string
Set of constants representing the allowable values for AwrReportFormatTypeEnum
const (
AwrReportFormatTypeHtml AwrReportFormatTypeEnum = "HTML"
AwrReportFormatTypeText AwrReportFormatTypeEnum = "TEXT"
)
func GetAwrReportFormatTypeEnumValues() []AwrReportFormatTypeEnum
GetAwrReportFormatTypeEnumValues Enumerates the set of values for AwrReportFormatTypeEnum
func GetMappingAwrReportFormatTypeEnum(val string) (AwrReportFormatTypeEnum, bool)
GetMappingAwrReportFormatTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AwrSnapshotCollection The list of AWR snapshots for one database.
type AwrSnapshotCollection struct {
// A list of AWR snapshot summary data.
Items []AwrSnapshotSummary `mandatory:"true" json:"items"`
}
func (m AwrSnapshotCollection) String() string
func (m AwrSnapshotCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrSnapshotSummary The AWR snapshot summary of one snapshot.
type AwrSnapshotSummary struct {
// DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
AwrSourceDatabaseId *string `mandatory:"true" json:"awrSourceDatabaseId"`
// The identifier of the snapshot.
SnapshotIdentifier *int `mandatory:"true" json:"snapshotIdentifier"`
// 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.
TimeSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeSnapshotBegin"`
// The end time of the snapshot.
TimeSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeSnapshotEnd"`
// The total number of errors.
ErrorCount *int64 `mandatory:"false" json:"errorCount"`
}
func (m AwrSnapshotSummary) String() string
func (m AwrSnapshotSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AwrSourceSummary Summary of an AwrSource.
type AwrSourceSummary struct {
// AWR Hub OCID
AwrHubId *string `mandatory:"true" json:"awrHubId"`
// Database name of the Source database for which AWR Data will be uploaded to AWR Hub.
Name *string `mandatory:"true" json:"name"`
// DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
AwrSourceDatabaseId *string `mandatory:"true" json:"awrSourceDatabaseId"`
// Number of AWR snapshots uploaded from the Source database.
SnapshotsUploaded *float32 `mandatory:"true" json:"snapshotsUploaded"`
// The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
MinSnapshotIdentifier *float32 `mandatory:"true" json:"minSnapshotIdentifier"`
// The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
MaxSnapshotIdentifier *float32 `mandatory:"true" json:"maxSnapshotIdentifier"`
// The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
TimeFirstSnapshotGenerated *common.SDKTime `mandatory:"true" json:"timeFirstSnapshotGenerated"`
// The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
TimeLastSnapshotGenerated *common.SDKTime `mandatory:"true" json:"timeLastSnapshotGenerated"`
// Number of hours since last AWR snapshots import happened from the Source database.
HoursSinceLastImport *float64 `mandatory:"true" json:"hoursSinceLastImport"`
}
func (m AwrSourceSummary) String() string
func (m AwrSourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BasicConfigurationItemMetadata Basic configuration item metadata.
type BasicConfigurationItemMetadata struct {
// User-friendly display name for the configuration item.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description of configuration item .
Description *string `mandatory:"false" json:"description"`
// Data type of configuration item.
// Examples: STRING, BOOLEAN, NUMBER
DataType *string `mandatory:"false" json:"dataType"`
UnitDetails *ConfigurationItemUnitDetails `mandatory:"false" json:"unitDetails"`
ValueInputDetails ConfigurationItemAllowedValueDetails `mandatory:"false" json:"valueInputDetails"`
}
func (m BasicConfigurationItemMetadata) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BasicConfigurationItemMetadata) String() string
func (m *BasicConfigurationItemMetadata) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BasicConfigurationItemMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BasicConfigurationItemSummary Basic configuration item summary. Value field contain the most preferred value for the specified scope (compartmentId), which could be from any of the ConfigurationItemValueSourceConfigurationType. Default value field contains the default value from Ops Insights.
type BasicConfigurationItemSummary struct {
// Name of configuration item.
Name *string `mandatory:"false" json:"name"`
// Value of configuration item.
Value *string `mandatory:"false" json:"value"`
// Value of configuration item.
DefaultValue *string `mandatory:"false" json:"defaultValue"`
// List of contexts in Ops Insights where this configuration item is applicable.
ApplicableContexts []string `mandatory:"false" json:"applicableContexts"`
Metadata ConfigurationItemMetadata `mandatory:"false" json:"metadata"`
// Source configuration from where the value is taken for a configuration item.
ValueSourceConfig ConfigurationItemValueSourceConfigurationTypeEnum `mandatory:"false" json:"valueSourceConfig,omitempty"`
}
func (m BasicConfigurationItemSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BasicConfigurationItemSummary) String() string
func (m *BasicConfigurationItemSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BasicConfigurationItemSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails Advanced feature details of autonomous database insight.
type ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails struct {
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
}
func (m ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails) String() string
func (m *ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest wrapper for the ChangeAutonomousDatabaseInsightAdvancedFeatures operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeAutonomousDatabaseInsightAdvancedFeatures.go.html to see an example of how to use ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest.
type ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest struct {
// Details for the advanced features of Autonomous Database in Operations Insights.
ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails `contributesTo:"body"`
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) String() string
func (request ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse wrapper for the ChangeAutonomousDatabaseInsightAdvancedFeatures operation
type ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse 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 ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse) String() string
ChangeAwrHubSourceCompartmentDetails The information to be updated.
type ChangeAwrHubSourceCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeAwrHubSourceCompartmentDetails) String() string
func (m ChangeAwrHubSourceCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAwrHubSourceCompartmentRequest wrapper for the ChangeAwrHubSourceCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeAwrHubSourceCompartment.go.html to see an example of how to use ChangeAwrHubSourceCompartmentRequest.
type ChangeAwrHubSourceCompartmentRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// The information to be updated.
ChangeAwrHubSourceCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeAwrHubSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeAwrHubSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeAwrHubSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeAwrHubSourceCompartmentRequest) String() string
func (request ChangeAwrHubSourceCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeAwrHubSourceCompartmentResponse wrapper for the ChangeAwrHubSourceCompartment operation
type ChangeAwrHubSourceCompartmentResponse 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 ChangeAwrHubSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeAwrHubSourceCompartmentResponse) String() string
ChangeChargebackPlanCompartmentDetails The information to be updated.
type ChangeChargebackPlanCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeChargebackPlanCompartmentDetails) String() string
func (m ChangeChargebackPlanCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeChargebackPlanCompartmentRequest wrapper for the ChangeChargebackPlanCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeChargebackPlanCompartment.go.html to see an example of how to use ChangeChargebackPlanCompartmentRequest.
type ChangeChargebackPlanCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan.
ChargebackplanId *string `mandatory:"true" contributesTo:"path" name:"chargebackplanId"`
// The information to be updated.
ChangeChargebackPlanCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeChargebackPlanCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeChargebackPlanCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeChargebackPlanCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeChargebackPlanCompartmentRequest) String() string
func (request ChangeChargebackPlanCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeChargebackPlanCompartmentResponse wrapper for the ChangeChargebackPlanCompartment operation
type ChangeChargebackPlanCompartmentResponse 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 ChangeChargebackPlanCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeChargebackPlanCompartmentResponse) String() string
ChangeDatabaseInsightCompartmentDetails The information to be updated.
type ChangeDatabaseInsightCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeDatabaseInsightCompartmentDetails) String() string
func (m ChangeDatabaseInsightCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseInsightCompartmentRequest wrapper for the ChangeDatabaseInsightCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeDatabaseInsightCompartment.go.html to see an example of how to use ChangeDatabaseInsightCompartmentRequest.
type ChangeDatabaseInsightCompartmentRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// The information to be updated.
ChangeDatabaseInsightCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeDatabaseInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDatabaseInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDatabaseInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDatabaseInsightCompartmentRequest) String() string
func (request ChangeDatabaseInsightCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeDatabaseInsightCompartmentResponse wrapper for the ChangeDatabaseInsightCompartment operation
type ChangeDatabaseInsightCompartmentResponse 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 ChangeDatabaseInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDatabaseInsightCompartmentResponse) String() string
ChangeEnterpriseManagerBridgeCompartmentDetails The information to be updated.
type ChangeEnterpriseManagerBridgeCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeEnterpriseManagerBridgeCompartmentDetails) String() string
func (m ChangeEnterpriseManagerBridgeCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeEnterpriseManagerBridgeCompartmentRequest wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeEnterpriseManagerBridgeCompartment.go.html to see an example of how to use ChangeEnterpriseManagerBridgeCompartmentRequest.
type ChangeEnterpriseManagerBridgeCompartmentRequest struct {
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
// The information to be updated.
ChangeEnterpriseManagerBridgeCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ChangeEnterpriseManagerBridgeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) String() string
func (request ChangeEnterpriseManagerBridgeCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeEnterpriseManagerBridgeCompartmentResponse wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
type ChangeEnterpriseManagerBridgeCompartmentResponse 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 ChangeEnterpriseManagerBridgeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeEnterpriseManagerBridgeCompartmentResponse) String() string
ChangeExadataInsightCompartmentDetails The information to be updated.
type ChangeExadataInsightCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeExadataInsightCompartmentDetails) String() string
func (m ChangeExadataInsightCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeExadataInsightCompartmentRequest wrapper for the ChangeExadataInsightCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeExadataInsightCompartment.go.html to see an example of how to use ChangeExadataInsightCompartmentRequest.
type ChangeExadataInsightCompartmentRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// The information to be updated.
ChangeExadataInsightCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeExadataInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeExadataInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeExadataInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeExadataInsightCompartmentRequest) String() string
func (request ChangeExadataInsightCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeExadataInsightCompartmentResponse wrapper for the ChangeExadataInsightCompartment operation
type ChangeExadataInsightCompartmentResponse 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 ChangeExadataInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeExadataInsightCompartmentResponse) String() string
ChangeExternalMysqlDatabaseInsightConnectionDetails MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. Connection details of an External MySQL database insight.
type ChangeExternalMysqlDatabaseInsightConnectionDetails struct {
// The DBM owned database connector OCID (https://docs.oracle.com/iaas/database-management/doc/view-connector-details.html) mapping to the database credentials and connection details.
DatabaseConnectorId *string `mandatory:"true" json:"databaseConnectorId"`
}
func (m ChangeExternalMysqlDatabaseInsightConnectionDetails) String() string
func (m ChangeExternalMysqlDatabaseInsightConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeExternalMysqlDatabaseInsightConnectionRequest wrapper for the ChangeExternalMysqlDatabaseInsightConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeExternalMysqlDatabaseInsightConnection.go.html to see an example of how to use ChangeExternalMysqlDatabaseInsightConnectionRequest.
type ChangeExternalMysqlDatabaseInsightConnectionRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// The information to be updated.
ChangeExternalMysqlDatabaseInsightConnectionDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeExternalMysqlDatabaseInsightConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeExternalMysqlDatabaseInsightConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeExternalMysqlDatabaseInsightConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeExternalMysqlDatabaseInsightConnectionRequest) String() string
func (request ChangeExternalMysqlDatabaseInsightConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeExternalMysqlDatabaseInsightConnectionResponse wrapper for the ChangeExternalMysqlDatabaseInsightConnection operation
type ChangeExternalMysqlDatabaseInsightConnectionResponse 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 ChangeExternalMysqlDatabaseInsightConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeExternalMysqlDatabaseInsightConnectionResponse) String() string
ChangeHostInsightCompartmentDetails The information to be updated.
type ChangeHostInsightCompartmentDetails struct {
// The OCID of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeHostInsightCompartmentDetails) String() string
func (m ChangeHostInsightCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostInsightCompartmentRequest wrapper for the ChangeHostInsightCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeHostInsightCompartment.go.html to see an example of how to use ChangeHostInsightCompartmentRequest.
type ChangeHostInsightCompartmentRequest struct {
// Unique host insight identifier
HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
// The information to be updated.
ChangeHostInsightCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeHostInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostInsightCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostInsightCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostInsightCompartmentRequest) String() string
func (request ChangeHostInsightCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostInsightCompartmentResponse wrapper for the ChangeHostInsightCompartment operation
type ChangeHostInsightCompartmentResponse 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 ChangeHostInsightCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostInsightCompartmentResponse) String() string
ChangeMacsManagedAutonomousDatabaseInsightConnectionDetails Connection details of a MACS-managed autonomous database insight.
type ChangeMacsManagedAutonomousDatabaseInsightConnectionDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"true" json:"connectionCredentialDetails"`
}
func (m ChangeMacsManagedAutonomousDatabaseInsightConnectionDetails) String() string
func (m *ChangeMacsManagedAutonomousDatabaseInsightConnectionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ChangeMacsManagedAutonomousDatabaseInsightConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest wrapper for the ChangeMacsManagedAutonomousDatabaseInsightConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeMacsManagedAutonomousDatabaseInsightConnection.go.html to see an example of how to use ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest.
type ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// The information to be updated.
ChangeMacsManagedAutonomousDatabaseInsightConnectionDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest) String() string
func (request ChangeMacsManagedAutonomousDatabaseInsightConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeMacsManagedAutonomousDatabaseInsightConnectionResponse wrapper for the ChangeMacsManagedAutonomousDatabaseInsightConnection operation
type ChangeMacsManagedAutonomousDatabaseInsightConnectionResponse 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 ChangeMacsManagedAutonomousDatabaseInsightConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMacsManagedAutonomousDatabaseInsightConnectionResponse) String() string
ChangeMacsManagedCloudDatabaseInsightConnectionDetails Connection details of a MACS-managed cloud database insight.
type ChangeMacsManagedCloudDatabaseInsightConnectionDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"true" json:"connectionCredentialDetails"`
}
func (m ChangeMacsManagedCloudDatabaseInsightConnectionDetails) String() string
func (m *ChangeMacsManagedCloudDatabaseInsightConnectionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ChangeMacsManagedCloudDatabaseInsightConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeMacsManagedCloudDatabaseInsightConnectionRequest wrapper for the ChangeMacsManagedCloudDatabaseInsightConnection operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeMacsManagedCloudDatabaseInsightConnection.go.html to see an example of how to use ChangeMacsManagedCloudDatabaseInsightConnectionRequest.
type ChangeMacsManagedCloudDatabaseInsightConnectionRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// The information to be updated.
ChangeMacsManagedCloudDatabaseInsightConnectionDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeMacsManagedCloudDatabaseInsightConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeMacsManagedCloudDatabaseInsightConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeMacsManagedCloudDatabaseInsightConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeMacsManagedCloudDatabaseInsightConnectionRequest) String() string
func (request ChangeMacsManagedCloudDatabaseInsightConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeMacsManagedCloudDatabaseInsightConnectionResponse wrapper for the ChangeMacsManagedCloudDatabaseInsightConnection operation
type ChangeMacsManagedCloudDatabaseInsightConnectionResponse 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 ChangeMacsManagedCloudDatabaseInsightConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeMacsManagedCloudDatabaseInsightConnectionResponse) String() string
ChangeNewsReportCompartmentDetails The information to be updated.
type ChangeNewsReportCompartmentDetails struct {
// The OCID of the compartment into which the resource will be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeNewsReportCompartmentDetails) String() string
func (m ChangeNewsReportCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeNewsReportCompartmentRequest wrapper for the ChangeNewsReportCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeNewsReportCompartment.go.html to see an example of how to use ChangeNewsReportCompartmentRequest.
type ChangeNewsReportCompartmentRequest struct {
// Unique news report identifier.
NewsReportId *string `mandatory:"true" contributesTo:"path" name:"newsReportId"`
// The information to be updated.
ChangeNewsReportCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeNewsReportCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeNewsReportCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeNewsReportCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeNewsReportCompartmentRequest) String() string
func (request ChangeNewsReportCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeNewsReportCompartmentResponse wrapper for the ChangeNewsReportCompartment operation
type ChangeNewsReportCompartmentResponse 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 ChangeNewsReportCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeNewsReportCompartmentResponse) String() string
ChangeOperationsInsightsPrivateEndpointCompartmentDetails The details used to change the compartment of a Operation Insights private endpoint.
type ChangeOperationsInsightsPrivateEndpointCompartmentDetails struct {
// The new compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
}
func (m ChangeOperationsInsightsPrivateEndpointCompartmentDetails) String() string
func (m ChangeOperationsInsightsPrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeOperationsInsightsPrivateEndpointCompartmentRequest wrapper for the ChangeOperationsInsightsPrivateEndpointCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeOperationsInsightsPrivateEndpointCompartment.go.html to see an example of how to use ChangeOperationsInsightsPrivateEndpointCompartmentRequest.
type ChangeOperationsInsightsPrivateEndpointCompartmentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
// The details used to change the compartment of a private endpoint
ChangeOperationsInsightsPrivateEndpointCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeOperationsInsightsPrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeOperationsInsightsPrivateEndpointCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeOperationsInsightsPrivateEndpointCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeOperationsInsightsPrivateEndpointCompartmentRequest) String() string
func (request ChangeOperationsInsightsPrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeOperationsInsightsPrivateEndpointCompartmentResponse wrapper for the ChangeOperationsInsightsPrivateEndpointCompartment operation
type ChangeOperationsInsightsPrivateEndpointCompartmentResponse 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 ChangeOperationsInsightsPrivateEndpointCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeOperationsInsightsPrivateEndpointCompartmentResponse) String() string
ChangeOperationsInsightsWarehouseCompartmentDetails The information to be updated.
type ChangeOperationsInsightsWarehouseCompartmentDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeOperationsInsightsWarehouseCompartmentDetails) String() string
func (m ChangeOperationsInsightsWarehouseCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeOperationsInsightsWarehouseCompartmentRequest wrapper for the ChangeOperationsInsightsWarehouseCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeOperationsInsightsWarehouseCompartment.go.html to see an example of how to use ChangeOperationsInsightsWarehouseCompartmentRequest.
type ChangeOperationsInsightsWarehouseCompartmentRequest struct {
// Unique Ops Insights Warehouse identifier
OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
// The information to be updated.
ChangeOperationsInsightsWarehouseCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeOperationsInsightsWarehouseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeOperationsInsightsWarehouseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeOperationsInsightsWarehouseCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeOperationsInsightsWarehouseCompartmentRequest) String() string
func (request ChangeOperationsInsightsWarehouseCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeOperationsInsightsWarehouseCompartmentResponse wrapper for the ChangeOperationsInsightsWarehouseCompartment operation
type ChangeOperationsInsightsWarehouseCompartmentResponse 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 ChangeOperationsInsightsWarehouseCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeOperationsInsightsWarehouseCompartmentResponse) String() string
ChangeOpsiConfigurationCompartmentDetails The information used to change the compartment of an OPSI configuration resource.
type ChangeOpsiConfigurationCompartmentDetails struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m ChangeOpsiConfigurationCompartmentDetails) String() string
func (m ChangeOpsiConfigurationCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeOpsiConfigurationCompartmentRequest wrapper for the ChangeOpsiConfigurationCompartment operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeOpsiConfigurationCompartment.go.html to see an example of how to use ChangeOpsiConfigurationCompartmentRequest.
type ChangeOpsiConfigurationCompartmentRequest struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
// The information to be updated.
ChangeOpsiConfigurationCompartmentDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangeOpsiConfigurationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeOpsiConfigurationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeOpsiConfigurationCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeOpsiConfigurationCompartmentRequest) String() string
func (request ChangeOpsiConfigurationCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeOpsiConfigurationCompartmentResponse wrapper for the ChangeOpsiConfigurationCompartment operation
type ChangeOpsiConfigurationCompartmentResponse 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 ChangeOpsiConfigurationCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeOpsiConfigurationCompartmentResponse) String() string
ChangePeComanagedDatabaseInsightDetails Details of a Private Endpoint co-managed database insight.
type ChangePeComanagedDatabaseInsightDetails struct {
// Database service name used for connection requests.
ServiceName *string `mandatory:"true" json:"serviceName"`
CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
}
func (m ChangePeComanagedDatabaseInsightDetails) String() string
func (m *ChangePeComanagedDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ChangePeComanagedDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangePeComanagedDatabaseInsightRequest wrapper for the ChangePeComanagedDatabaseInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangePeComanagedDatabaseInsight.go.html to see an example of how to use ChangePeComanagedDatabaseInsightRequest.
type ChangePeComanagedDatabaseInsightRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// The information to be updated.
ChangePeComanagedDatabaseInsightDetails `contributesTo:"body"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 ChangePeComanagedDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangePeComanagedDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangePeComanagedDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangePeComanagedDatabaseInsightRequest) String() string
func (request ChangePeComanagedDatabaseInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangePeComanagedDatabaseInsightResponse wrapper for the ChangePeComanagedDatabaseInsight operation
type ChangePeComanagedDatabaseInsightResponse 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 ChangePeComanagedDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangePeComanagedDatabaseInsightResponse) String() string
ChargebackPlan A chargeback plan that allows Ops Insights services to compute chargeback costs.
type ChargebackPlan struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI Chargeback plan resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Name for the OPSI Chargeback plan.
PlanName *string `mandatory:"true" json:"planName"`
// Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
PlanType *string `mandatory:"true" json:"planType"`
// The date and time the chargeback plan was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Chargeback Plan lifecycle states
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Description of OPSI Chargeback Plan.
PlanDescription *string `mandatory:"false" json:"planDescription"`
// Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
PlanCategory ChargebackPlanCategoryEnum `mandatory:"false" json:"planCategory,omitempty"`
// Indicates whether the chargeback plan can be customized.
IsCustomizable *bool `mandatory:"false" json:"isCustomizable"`
// Source of the chargeback plan.
EntitySource ChargebackPlanEntitySourceEnum `mandatory:"false" json:"entitySource,omitempty"`
// The time chargeback plan was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// List of chargeback plan customizations.
PlanCustomItems []CreatePlanCustomItemDetails `mandatory:"false" json:"planCustomItems"`
}
func (m ChargebackPlan) String() string
func (m ChargebackPlan) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChargebackPlanCategoryEnum Enum with underlying type: string
type ChargebackPlanCategoryEnum string
Set of constants representing the allowable values for ChargebackPlanCategoryEnum
const (
ChargebackPlanCategoryOob ChargebackPlanCategoryEnum = "OOB"
ChargebackPlanCategoryCustom ChargebackPlanCategoryEnum = "CUSTOM"
)
func GetChargebackPlanCategoryEnumValues() []ChargebackPlanCategoryEnum
GetChargebackPlanCategoryEnumValues Enumerates the set of values for ChargebackPlanCategoryEnum
func GetMappingChargebackPlanCategoryEnum(val string) (ChargebackPlanCategoryEnum, bool)
GetMappingChargebackPlanCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
ChargebackPlanCollection A collection of Ops Insights chargeback plan objects.
type ChargebackPlanCollection struct {
// A list of ChargebackPlanSummary objects.
Items []ChargebackPlanSummary `mandatory:"true" json:"items"`
}
func (m ChargebackPlanCollection) String() string
func (m ChargebackPlanCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChargebackPlanDetails Object containing chargeback plan details
type ChargebackPlanDetails struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI Chargeback plan resource.
PlanId *string `mandatory:"false" json:"planId"`
// Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
PlanType *string `mandatory:"false" json:"planType"`
// The date and time the chargeback plan was enabled on the resource, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
TimeEnabled *common.SDKTime `mandatory:"false" json:"timeEnabled"`
}
func (m ChargebackPlanDetails) String() string
func (m ChargebackPlanDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChargebackPlanEntitySourceEnum Enum with underlying type: string
type ChargebackPlanEntitySourceEnum string
Set of constants representing the allowable values for ChargebackPlanEntitySourceEnum
const (
ChargebackPlanEntitySourceChargebackExadata ChargebackPlanEntitySourceEnum = "CHARGEBACK_EXADATA"
ChargebackPlanEntitySourceChargebackCompute ChargebackPlanEntitySourceEnum = "CHARGEBACK_COMPUTE"
)
func GetChargebackPlanEntitySourceEnumValues() []ChargebackPlanEntitySourceEnum
GetChargebackPlanEntitySourceEnumValues Enumerates the set of values for ChargebackPlanEntitySourceEnum
func GetMappingChargebackPlanEntitySourceEnum(val string) (ChargebackPlanEntitySourceEnum, bool)
GetMappingChargebackPlanEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
ChargebackPlanReport A chargeback plan report that allows Ops Insights services to showcase chargeback costs.
type ChargebackPlanReport struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Chargeback plan report.
ReportId *string `mandatory:"true" json:"reportId"`
// The chargeback plan report name.
ReportName *string `mandatory:"true" json:"reportName"`
// Defines the type of resource (example: EXADATA, HOST)
ResourceType ChargebackPlanReportResourceTypeEnum `mandatory:"true" json:"resourceType"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Chargeback plan report.
ResourceId *string `mandatory:"true" json:"resourceId"`
// The date and time the chargeback plan was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time chargeback plan was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
ReportProperties *ReportPropertyDetails `mandatory:"true" json:"reportProperties"`
}
func (m ChargebackPlanReport) String() string
func (m ChargebackPlanReport) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChargebackPlanReportCollection A collection of chargeback plan reports objects.
type ChargebackPlanReportCollection struct {
// A list of ChargebackPlanReportSummary objects.
Items []ChargebackPlanReportSummary `mandatory:"true" json:"items"`
}
func (m ChargebackPlanReportCollection) String() string
func (m ChargebackPlanReportCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChargebackPlanReportResourceTypeEnum Enum with underlying type: string
type ChargebackPlanReportResourceTypeEnum string
Set of constants representing the allowable values for ChargebackPlanReportResourceTypeEnum
const (
ChargebackPlanReportResourceTypeExadataInsight ChargebackPlanReportResourceTypeEnum = "EXADATA_INSIGHT"
ChargebackPlanReportResourceTypeDatabaseInsight ChargebackPlanReportResourceTypeEnum = "DATABASE_INSIGHT"
ChargebackPlanReportResourceTypeHostInsight ChargebackPlanReportResourceTypeEnum = "HOST_INSIGHT"
)
func GetChargebackPlanReportResourceTypeEnumValues() []ChargebackPlanReportResourceTypeEnum
GetChargebackPlanReportResourceTypeEnumValues Enumerates the set of values for ChargebackPlanReportResourceTypeEnum
func GetMappingChargebackPlanReportResourceTypeEnum(val string) (ChargebackPlanReportResourceTypeEnum, bool)
GetMappingChargebackPlanReportResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ChargebackPlanReportSummary Summary of a Ops Insights chargeback plan report
type ChargebackPlanReportSummary struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Chargeback plan report.
ReportId *string `mandatory:"true" json:"reportId"`
// The chargeback plan report name.
ReportName *string `mandatory:"true" json:"reportName"`
// Defines the type of resource (example: EXADATA, HOST)
ResourceType ChargebackPlanReportSummaryResourceTypeEnum `mandatory:"true" json:"resourceType"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Chargeback plan report.
ResourceId *string `mandatory:"true" json:"resourceId"`
// The date and time the chargeback plan was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time chargeback plan was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
ReportProperties *ReportPropertyDetails `mandatory:"true" json:"reportProperties"`
}
func (m ChargebackPlanReportSummary) String() string
func (m ChargebackPlanReportSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChargebackPlanReportSummaryResourceTypeEnum Enum with underlying type: string
type ChargebackPlanReportSummaryResourceTypeEnum string
Set of constants representing the allowable values for ChargebackPlanReportSummaryResourceTypeEnum
const (
ChargebackPlanReportSummaryResourceTypeExadataInsight ChargebackPlanReportSummaryResourceTypeEnum = "EXADATA_INSIGHT"
ChargebackPlanReportSummaryResourceTypeDatabaseInsight ChargebackPlanReportSummaryResourceTypeEnum = "DATABASE_INSIGHT"
ChargebackPlanReportSummaryResourceTypeHostInsight ChargebackPlanReportSummaryResourceTypeEnum = "HOST_INSIGHT"
)
func GetChargebackPlanReportSummaryResourceTypeEnumValues() []ChargebackPlanReportSummaryResourceTypeEnum
GetChargebackPlanReportSummaryResourceTypeEnumValues Enumerates the set of values for ChargebackPlanReportSummaryResourceTypeEnum
func GetMappingChargebackPlanReportSummaryResourceTypeEnum(val string) (ChargebackPlanReportSummaryResourceTypeEnum, bool)
GetMappingChargebackPlanReportSummaryResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ChargebackPlanSummary Summary of a Ops Insights chargeback plan.
type ChargebackPlanSummary struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI Chargeback plan resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Name for the OPSI Chargeback plan.
PlanName *string `mandatory:"true" json:"planName"`
// Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
PlanType *string `mandatory:"true" json:"planType"`
// Source of the chargeback plan.
EntitySource ChargebackPlanEntitySourceEnum `mandatory:"true" json:"entitySource"`
// The date and time the chargeback plan was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The time chargeback plan was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Chargeback Plan lifecycle states
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// List of chargeback plan customizations.
PlanCustomItems []CreatePlanCustomItemDetails `mandatory:"true" json:"planCustomItems"`
// Description of OPSI Chargeback Plan.
PlanDescription *string `mandatory:"false" json:"planDescription"`
// Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
PlanCategory ChargebackPlanCategoryEnum `mandatory:"false" json:"planCategory,omitempty"`
// Indicates whether the chargeback plan can be customized.
IsCustomizable *bool `mandatory:"false" json:"isCustomizable"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}
func (m ChargebackPlanSummary) String() string
func (m ChargebackPlanSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloudImportableComputeEntitySummary A compute host entity that can be imported into Operations Insights.
type CloudImportableComputeEntitySummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
ComputeId *string `mandatory:"true" json:"computeId"`
// The Display Name (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Compute Instance
ComputeDisplayName *string `mandatory:"true" json:"computeDisplayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType CloudImportableComputeEntitySummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
func (m CloudImportableComputeEntitySummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CloudImportableComputeEntitySummary) GetComputeDisplayName() *string
GetComputeDisplayName returns ComputeDisplayName
func (m CloudImportableComputeEntitySummary) GetComputeId() *string
GetComputeId returns ComputeId
func (m CloudImportableComputeEntitySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CloudImportableComputeEntitySummary) String() string
func (m CloudImportableComputeEntitySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CloudImportableComputeEntitySummaryPlatformTypeEnum Enum with underlying type: string
type CloudImportableComputeEntitySummaryPlatformTypeEnum string
Set of constants representing the allowable values for CloudImportableComputeEntitySummaryPlatformTypeEnum
const (
CloudImportableComputeEntitySummaryPlatformTypeLinux CloudImportableComputeEntitySummaryPlatformTypeEnum = "LINUX"
CloudImportableComputeEntitySummaryPlatformTypeSolaris CloudImportableComputeEntitySummaryPlatformTypeEnum = "SOLARIS"
CloudImportableComputeEntitySummaryPlatformTypeSunos CloudImportableComputeEntitySummaryPlatformTypeEnum = "SUNOS"
CloudImportableComputeEntitySummaryPlatformTypeZlinux CloudImportableComputeEntitySummaryPlatformTypeEnum = "ZLINUX"
CloudImportableComputeEntitySummaryPlatformTypeWindows CloudImportableComputeEntitySummaryPlatformTypeEnum = "WINDOWS"
CloudImportableComputeEntitySummaryPlatformTypeAix CloudImportableComputeEntitySummaryPlatformTypeEnum = "AIX"
CloudImportableComputeEntitySummaryPlatformTypeHpUx CloudImportableComputeEntitySummaryPlatformTypeEnum = "HP_UX"
)
func GetCloudImportableComputeEntitySummaryPlatformTypeEnumValues() []CloudImportableComputeEntitySummaryPlatformTypeEnum
GetCloudImportableComputeEntitySummaryPlatformTypeEnumValues Enumerates the set of values for CloudImportableComputeEntitySummaryPlatformTypeEnum
func GetMappingCloudImportableComputeEntitySummaryPlatformTypeEnum(val string) (CloudImportableComputeEntitySummaryPlatformTypeEnum, bool)
GetMappingCloudImportableComputeEntitySummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigurationItemAllowedValueDetails Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
type ConfigurationItemAllowedValueDetails interface {
}
ConfigurationItemAllowedValueTypeEnum Enum with underlying type: string
type ConfigurationItemAllowedValueTypeEnum string
Set of constants representing the allowable values for ConfigurationItemAllowedValueTypeEnum
const (
ConfigurationItemAllowedValueTypeLimit ConfigurationItemAllowedValueTypeEnum = "LIMIT"
ConfigurationItemAllowedValueTypePick ConfigurationItemAllowedValueTypeEnum = "PICK"
ConfigurationItemAllowedValueTypeFreeText ConfigurationItemAllowedValueTypeEnum = "FREE_TEXT"
)
func GetConfigurationItemAllowedValueTypeEnumValues() []ConfigurationItemAllowedValueTypeEnum
GetConfigurationItemAllowedValueTypeEnumValues Enumerates the set of values for ConfigurationItemAllowedValueTypeEnum
func GetMappingConfigurationItemAllowedValueTypeEnum(val string) (ConfigurationItemAllowedValueTypeEnum, bool)
GetMappingConfigurationItemAllowedValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigurationItemFreeTextAllowedValueDetails Allowed value details of configuration item for FREE_TEXT type.
type ConfigurationItemFreeTextAllowedValueDetails struct {
}
func (m ConfigurationItemFreeTextAllowedValueDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ConfigurationItemFreeTextAllowedValueDetails) String() string
func (m ConfigurationItemFreeTextAllowedValueDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConfigurationItemLimitAllowedValueDetails Allowed value details of configuration item for LIMIT type. Value has to be between minValue and maxValue.
type ConfigurationItemLimitAllowedValueDetails struct {
// Minimum value limit for the configuration item.
MinValue *string `mandatory:"false" json:"minValue"`
// Maximum value limit for the configuration item.
MaxValue *string `mandatory:"false" json:"maxValue"`
}
func (m ConfigurationItemLimitAllowedValueDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ConfigurationItemLimitAllowedValueDetails) String() string
func (m ConfigurationItemLimitAllowedValueDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConfigurationItemMetadata Configuration item metadata.
type ConfigurationItemMetadata interface {
}
ConfigurationItemPickAllowedValueDetails Allowed value details of configuration item for PICK type. Value has to be from one of the possibleValues.
type ConfigurationItemPickAllowedValueDetails struct {
// Allowed values to pick for the configuration item.
PossibleValues []string `mandatory:"false" json:"possibleValues"`
}
func (m ConfigurationItemPickAllowedValueDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ConfigurationItemPickAllowedValueDetails) String() string
func (m ConfigurationItemPickAllowedValueDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConfigurationItemSummary Configuration item summary.
type ConfigurationItemSummary interface {
}
ConfigurationItemTypeEnum Enum with underlying type: string
type ConfigurationItemTypeEnum string
Set of constants representing the allowable values for ConfigurationItemTypeEnum
const (
ConfigurationItemTypeBasic ConfigurationItemTypeEnum = "BASIC"
)
func GetConfigurationItemTypeEnumValues() []ConfigurationItemTypeEnum
GetConfigurationItemTypeEnumValues Enumerates the set of values for ConfigurationItemTypeEnum
func GetMappingConfigurationItemTypeEnum(val string) (ConfigurationItemTypeEnum, bool)
GetMappingConfigurationItemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigurationItemUnitDetails Unit details of configuration item.
type ConfigurationItemUnitDetails struct {
// Unit of configuration item.
Unit *string `mandatory:"false" json:"unit"`
// User-friendly display name for the configuration item unit.
DisplayName *string `mandatory:"false" json:"displayName"`
}
func (m ConfigurationItemUnitDetails) String() string
func (m ConfigurationItemUnitDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConfigurationItemValueSourceConfigurationTypeEnum Enum with underlying type: string
type ConfigurationItemValueSourceConfigurationTypeEnum string
Set of constants representing the allowable values for ConfigurationItemValueSourceConfigurationTypeEnum
const (
ConfigurationItemValueSourceConfigurationTypeDefault ConfigurationItemValueSourceConfigurationTypeEnum = "DEFAULT"
ConfigurationItemValueSourceConfigurationTypeTenant ConfigurationItemValueSourceConfigurationTypeEnum = "TENANT"
ConfigurationItemValueSourceConfigurationTypeCompartment ConfigurationItemValueSourceConfigurationTypeEnum = "COMPARTMENT"
)
func GetConfigurationItemValueSourceConfigurationTypeEnumValues() []ConfigurationItemValueSourceConfigurationTypeEnum
GetConfigurationItemValueSourceConfigurationTypeEnumValues Enumerates the set of values for ConfigurationItemValueSourceConfigurationTypeEnum
func GetMappingConfigurationItemValueSourceConfigurationTypeEnum(val string) (ConfigurationItemValueSourceConfigurationTypeEnum, bool)
GetMappingConfigurationItemValueSourceConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigurationItemsCollection Collection of configuration item summary objects.
type ConfigurationItemsCollection interface {
// Array of configuration item summary objects.
GetConfigItems() []ConfigurationItemSummary
}
ConnectionDetails Connection details to connect to the database. HostName, protocol, and port should be specified.
type ConnectionDetails struct {
// Name of the listener host that will be used to create the connect string to the database.
HostName *string `mandatory:"true" json:"hostName"`
// Protocol used for connection requests.
Protocol ConnectionDetailsProtocolEnum `mandatory:"true" json:"protocol"`
// Listener port number used for connection requests.
Port *int `mandatory:"true" json:"port"`
// Database service name used for connection requests.
ServiceName *string `mandatory:"true" json:"serviceName"`
}
func (m ConnectionDetails) String() string
func (m ConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConnectionDetailsProtocolEnum Enum with underlying type: string
type ConnectionDetailsProtocolEnum string
Set of constants representing the allowable values for ConnectionDetailsProtocolEnum
const (
ConnectionDetailsProtocolTcp ConnectionDetailsProtocolEnum = "TCP"
ConnectionDetailsProtocolTcps ConnectionDetailsProtocolEnum = "TCPS"
)
func GetConnectionDetailsProtocolEnumValues() []ConnectionDetailsProtocolEnum
GetConnectionDetailsProtocolEnumValues Enumerates the set of values for ConnectionDetailsProtocolEnum
func GetMappingConnectionDetailsProtocolEnum(val string) (ConnectionDetailsProtocolEnum, bool)
GetMappingConnectionDetailsProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
CreateAutonomousDatabaseInsightDetails The information about database to be analyzed. When isAdvancedFeaturesEnabled is set to false, parameters connectionDetails, credentialDetails and opsiPrivateEndpoint are optional. Otherwise, connectionDetails and crendetialDetails are required to enable full OPSI service features. If the Autonomouse Database is configured with private, restricted or dedicated access, opsiPrivateEndpoint parameter is required.
type CreateAutonomousDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
CredentialDetails CredentialDetails `mandatory:"false" json:"credentialDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m CreateAutonomousDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateAutonomousDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateAutonomousDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateAutonomousDatabaseInsightDetails) String() string
func (m *CreateAutonomousDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateAutonomousDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAwrHubDetails The information about Hub to be analyzed. Input compartmentId MUST be the root compartment.
type CreateAwrHubDetails struct {
// OPSI Warehouse OCID
OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of AWR Hub that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Object Storage Bucket Name
ObjectStorageBucketName *string `mandatory:"false" json:"objectStorageBucketName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateAwrHubDetails) String() string
func (m CreateAwrHubDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAwrHubRequest wrapper for the CreateAwrHub operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateAwrHub.go.html to see an example of how to use CreateAwrHubRequest.
type CreateAwrHubRequest struct {
// Details using which an AWR hub resource will be created in Operations Insights.
CreateAwrHubDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAwrHubRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAwrHubRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAwrHubRequest) String() string
func (request CreateAwrHubRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAwrHubResponse wrapper for the CreateAwrHub operation
type CreateAwrHubResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrHub instance
AwrHub `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateAwrHubResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAwrHubResponse) String() string
CreateAwrHubSourceDetails payload to register Awr Hub source
type CreateAwrHubSourceDetails struct {
// The name of the Awr Hub source database.
Name *string `mandatory:"true" json:"name"`
// AWR Hub OCID
AwrHubId *string `mandatory:"true" json:"awrHubId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// source type of the database
Type AwrHubSourceTypeEnum `mandatory:"true" json:"type"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
AssociatedResourceId *string `mandatory:"false" json:"associatedResourceId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
AssociatedOpsiId *string `mandatory:"false" json:"associatedOpsiId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateAwrHubSourceDetails) String() string
func (m CreateAwrHubSourceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAwrHubSourceRequest wrapper for the CreateAwrHubSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateAwrHubSource.go.html to see an example of how to use CreateAwrHubSourceRequest.
type CreateAwrHubSourceRequest struct {
// Payload containing details to register the source database
CreateAwrHubSourceDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateAwrHubSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateAwrHubSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateAwrHubSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateAwrHubSourceRequest) String() string
func (request CreateAwrHubSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAwrHubSourceResponse wrapper for the CreateAwrHubSource operation
type CreateAwrHubSourceResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrHubSource instance
AwrHubSource `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateAwrHubSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateAwrHubSourceResponse) String() string
CreateBasicConfigurationItemDetails Basic configuration item details for OPSI configuration creation.
type CreateBasicConfigurationItemDetails struct {
// Name of configuration item.
Name *string `mandatory:"false" json:"name"`
// Value of configuration item.
Value *string `mandatory:"false" json:"value"`
}
func (m CreateBasicConfigurationItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBasicConfigurationItemDetails) String() string
func (m CreateBasicConfigurationItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateChargebackPlanDetails The details used to create a new Ops Insights chargeback plan.
type CreateChargebackPlanDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// Name for the OPSI Chargeback plan.
GetPlanName() *string
// Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
GetPlanType() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Description of OPSI Chargeback Plan.
GetPlanDescription() *string
// List of chargeback plan customizations.
GetPlanCustomItems() []CreatePlanCustomItemDetails
}
CreateChargebackPlanExadataDetails The information about the exadata and chargeback plan.
type CreateChargebackPlanExadataDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Name for the OPSI Chargeback plan.
PlanName *string `mandatory:"true" json:"planName"`
// Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
PlanType *string `mandatory:"true" json:"planType"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Description of OPSI Chargeback Plan.
PlanDescription *string `mandatory:"false" json:"planDescription"`
// List of chargeback plan customizations.
PlanCustomItems []CreatePlanCustomItemDetails `mandatory:"false" json:"planCustomItems"`
}
func (m CreateChargebackPlanExadataDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateChargebackPlanExadataDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateChargebackPlanExadataDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateChargebackPlanExadataDetails) GetPlanCustomItems() []CreatePlanCustomItemDetails
GetPlanCustomItems returns PlanCustomItems
func (m CreateChargebackPlanExadataDetails) GetPlanDescription() *string
GetPlanDescription returns PlanDescription
func (m CreateChargebackPlanExadataDetails) GetPlanName() *string
GetPlanName returns PlanName
func (m CreateChargebackPlanExadataDetails) GetPlanType() *string
GetPlanType returns PlanType
func (m CreateChargebackPlanExadataDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateChargebackPlanExadataDetails) String() string
func (m CreateChargebackPlanExadataDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateChargebackPlanReportDetails The details used to create a new Ops Insights chargeback plan report.
type CreateChargebackPlanReportDetails struct {
// The chargeback plan report name.
ReportName *string `mandatory:"true" json:"reportName"`
ReportProperties *ReportPropertyDetails `mandatory:"true" json:"reportProperties"`
}
func (m CreateChargebackPlanReportDetails) String() string
func (m CreateChargebackPlanReportDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateChargebackPlanReportRequest wrapper for the CreateChargebackPlanReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateChargebackPlanReport.go.html to see an example of how to use CreateChargebackPlanReportRequest.
type CreateChargebackPlanReportRequest struct {
// Details for the chargeback plan report to be created in Ops Insights.
CreateChargebackPlanReportDetails `contributesTo:"body"`
// Unique Ops insight identifier
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Filter by resource type.
// Supported values are EXADATA_INSIGHT , HOST_INSIGHT, DATABASE_INSIGHT.
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 CreateChargebackPlanReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateChargebackPlanReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateChargebackPlanReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateChargebackPlanReportRequest) String() string
func (request CreateChargebackPlanReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateChargebackPlanReportResponse wrapper for the CreateChargebackPlanReport operation
type CreateChargebackPlanReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The ChargebackPlanReport instance
ChargebackPlanReport `presentIn:"body"`
// 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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateChargebackPlanReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateChargebackPlanReportResponse) String() string
CreateChargebackPlanRequest wrapper for the CreateChargebackPlan operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateChargebackPlan.go.html to see an example of how to use CreateChargebackPlanRequest.
type CreateChargebackPlanRequest struct {
// Details to create a new chargeback plan resource.
CreateChargebackPlanDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateChargebackPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateChargebackPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateChargebackPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateChargebackPlanRequest) String() string
func (request CreateChargebackPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateChargebackPlanResponse wrapper for the CreateChargebackPlan operation
type CreateChargebackPlanResponse struct {
// The underlying http response
RawResponse *http.Response
// The ChargebackPlan instance
ChargebackPlan `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateChargebackPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateChargebackPlanResponse) String() string
CreateConfigurationItemDetails Configuration item details for OPSI configuration creation.
type CreateConfigurationItemDetails interface {
}
CreateDatabaseInsightDetails The information about database to be analyzed.
type CreateDatabaseInsightDetails interface {
// Compartment Identifier of database
GetCompartmentId() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateDatabaseInsightRequest wrapper for the CreateDatabaseInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateDatabaseInsight.go.html to see an example of how to use CreateDatabaseInsightRequest.
type CreateDatabaseInsightRequest struct {
// Details for the database for which a Database Insight resource will be created in Operations Insights.
CreateDatabaseInsightDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDatabaseInsightRequest) String() string
func (request CreateDatabaseInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDatabaseInsightResponse wrapper for the CreateDatabaseInsight operation
type CreateDatabaseInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseInsight instance
DatabaseInsight `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDatabaseInsightResponse) String() string
CreateEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
type CreateEmManagedExternalDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
}
func (m CreateEmManagedExternalDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateEmManagedExternalDatabaseInsightDetails) String() string
func (m CreateEmManagedExternalDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEmManagedExternalExadataInsightDetails The information about the Exadata system to be analyzed. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.
type CreateEmManagedExternalExadataInsightDetails struct {
// Compartment Identifier of Exadata insight
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
MemberEntityDetails []CreateEmManagedExternalExadataMemberEntityDetails `mandatory:"false" json:"memberEntityDetails"`
// Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
}
func (m CreateEmManagedExternalExadataInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateEmManagedExternalExadataInsightDetails) String() string
func (m CreateEmManagedExternalExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEmManagedExternalExadataMemberEntityDetails Compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Enterprise Manager member entity (e.g. databases and hosts) associated with an Exadata system.
type CreateEmManagedExternalExadataMemberEntityDetails struct {
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
}
func (m CreateEmManagedExternalExadataMemberEntityDetails) String() string
func (m CreateEmManagedExternalExadataMemberEntityDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEmManagedExternalHostInsightDetails The information about the EM-managed external host to be analyzed.
type CreateEmManagedExternalHostInsightDetails struct {
// Compartment Identifier of host
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
}
func (m CreateEmManagedExternalHostInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateEmManagedExternalHostInsightDetails) String() string
func (m CreateEmManagedExternalHostInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEnterpriseManagerBridgeDetails The information about a Enterprise Manager bridge resource to be created
type CreateEnterpriseManagerBridgeDetails struct {
// Compartment identifier of the Enterprise Manager bridge
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of Enterprise Manager Bridge that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Object Storage Bucket Name
ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
// Description of Enterprise Manager Bridge
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateEnterpriseManagerBridgeDetails) String() string
func (m CreateEnterpriseManagerBridgeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEnterpriseManagerBridgeRequest wrapper for the CreateEnterpriseManagerBridge operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateEnterpriseManagerBridge.go.html to see an example of how to use CreateEnterpriseManagerBridgeRequest.
type CreateEnterpriseManagerBridgeRequest struct {
// Details for the Enterprise Manager bridge to be created in Operations Insights.
CreateEnterpriseManagerBridgeDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateEnterpriseManagerBridgeRequest) String() string
func (request CreateEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateEnterpriseManagerBridgeResponse wrapper for the CreateEnterpriseManagerBridge operation
type CreateEnterpriseManagerBridgeResponse struct {
// The underlying http response
RawResponse *http.Response
// The EnterpriseManagerBridge instance
EnterpriseManagerBridge `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateEnterpriseManagerBridgeResponse) String() string
CreateExadataInsightDetails The information about the Exadata system to be analyzed.
type CreateExadataInsightDetails interface {
// Compartment Identifier of Exadata insight
GetCompartmentId() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateExadataInsightRequest wrapper for the CreateExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateExadataInsight.go.html to see an example of how to use CreateExadataInsightRequest.
type CreateExadataInsightRequest struct {
// Details for the Exadata system for which an Exadata insight resource will be created in Operations Insights.
CreateExadataInsightDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateExadataInsightRequest) String() string
func (request CreateExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateExadataInsightResponse wrapper for the CreateExadataInsight operation
type CreateExadataInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The ExadataInsight instance
ExadataInsight `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateExadataInsightResponse) String() string
CreateExternalMysqlDatabaseInsightDetails MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. The information about database to be analyzed.
type CreateExternalMysqlDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The DBM owned database connector OCID (https://docs.oracle.com/iaas/database-management/doc/view-connector-details.html) mapping to the database credentials and connection details.
DatabaseConnectorId *string `mandatory:"true" json:"databaseConnectorId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateExternalMysqlDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateExternalMysqlDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateExternalMysqlDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateExternalMysqlDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateExternalMysqlDatabaseInsightDetails) String() string
func (m CreateExternalMysqlDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostInsightDetails The information about the host to be analyzed.
type CreateHostInsightDetails interface {
// Compartment Identifier of host
GetCompartmentId() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
}
CreateHostInsightRequest wrapper for the CreateHostInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateHostInsight.go.html to see an example of how to use CreateHostInsightRequest.
type CreateHostInsightRequest struct {
// Details for the host for which a Host Insight resource will be created in Ops Insights.
CreateHostInsightDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateHostInsightRequest) String() string
func (request CreateHostInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostInsightResponse wrapper for the CreateHostInsight operation
type CreateHostInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The HostInsight instance
HostInsight `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateHostInsightResponse) String() string
CreateMacsManagedAutonomousDatabaseInsightDetails The information about database to be analyzed.
type CreateMacsManagedAutonomousDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"true" json:"connectionCredentialDetails"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Database Deployment Type
DeploymentType CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum `mandatory:"true" json:"deploymentType"`
}
func (m CreateMacsManagedAutonomousDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedAutonomousDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMacsManagedAutonomousDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMacsManagedAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedAutonomousDatabaseInsightDetails) String() string
func (m *CreateMacsManagedAutonomousDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMacsManagedAutonomousDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum Enum with underlying type: string
type CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum string
Set of constants representing the allowable values for CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum
const (
CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeExacc CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum = "EXACC"
)
func GetCreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnumValues() []CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum
GetCreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnumValues Enumerates the set of values for CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum
func GetMappingCreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum(val string) (CreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum, bool)
GetMappingCreateMacsManagedAutonomousDatabaseInsightDetailsDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateMacsManagedCloudDatabaseInsightDetails The information about database to be analyzed.
type CreateMacsManagedCloudDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"true" json:"connectionCredentialDetails"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Database Deployment Type (EXACS will be supported in the future)
DeploymentType CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum `mandatory:"true" json:"deploymentType"`
}
func (m CreateMacsManagedCloudDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedCloudDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMacsManagedCloudDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMacsManagedCloudDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedCloudDatabaseInsightDetails) String() string
func (m *CreateMacsManagedCloudDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMacsManagedCloudDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum Enum with underlying type: string
type CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum string
Set of constants representing the allowable values for CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum
const (
CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeVirtualMachine CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum = "VIRTUAL_MACHINE"
CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeBareMetal CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum = "BARE_METAL"
CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeExacc CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum = "EXACC"
CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeExacs CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum = "EXACS"
)
func GetCreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnumValues() []CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum
GetCreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnumValues Enumerates the set of values for CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum
func GetMappingCreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum(val string) (CreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum, bool)
GetMappingCreateMacsManagedCloudDatabaseInsightDetailsDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateMacsManagedCloudExadataClusterDetails The information of the VM Cluster which contains databases.
type CreateMacsManagedCloudExadataClusterDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster.
GetVmclusterId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
}
CreateMacsManagedCloudExadataInsightDetails The information about the Exadata system to be analyzed.
type CreateMacsManagedCloudExadataInsightDetails struct {
// Compartment Identifier of Exadata insight
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
MemberVmClusterDetails []CreateMacsManagedCloudExadataVmclusterDetails `mandatory:"false" json:"memberVmClusterDetails"`
}
func (m CreateMacsManagedCloudExadataInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedCloudExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMacsManagedCloudExadataInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMacsManagedCloudExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedCloudExadataInsightDetails) String() string
func (m CreateMacsManagedCloudExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMacsManagedCloudExadataVmclusterDetails The information of the VM Cluster which contains databases.
type CreateMacsManagedCloudExadataVmclusterDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster.
VmclusterId *string `mandatory:"true" json:"vmclusterId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The databases that belong to the VM Cluster
MemberDatabaseDetails []CreateMacsManagedCloudDatabaseInsightDetails `mandatory:"false" json:"memberDatabaseDetails"`
// The autonomous databases that belong to the Autonmous VM Cluster
MemberAutonomousDetails []CreateMacsManagedAutonomousDatabaseInsightDetails `mandatory:"false" json:"memberAutonomousDetails"`
}
func (m CreateMacsManagedCloudExadataVmclusterDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedCloudExadataVmclusterDetails) GetVmclusterId() *string
GetVmclusterId returns VmclusterId
func (m CreateMacsManagedCloudExadataVmclusterDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedCloudExadataVmclusterDetails) String() string
func (m CreateMacsManagedCloudExadataVmclusterDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMacsManagedCloudHostInsightDetails The information about the Compute Instance host to be analyzed.
type CreateMacsManagedCloudHostInsightDetails struct {
// Compartment Identifier of host
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
ComputeId *string `mandatory:"true" json:"computeId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateMacsManagedCloudHostInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedCloudHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMacsManagedCloudHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMacsManagedCloudHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedCloudHostInsightDetails) String() string
func (m CreateMacsManagedCloudHostInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
type CreateMacsManagedExternalHostInsightDetails struct {
// Compartment Identifier of host
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateMacsManagedExternalHostInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMacsManagedExternalHostInsightDetails) String() string
func (m CreateMacsManagedExternalHostInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMdsMySqlDatabaseInsightDetails MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. The information about database to be analyzed.
type CreateMdsMySqlDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateMdsMySqlDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMdsMySqlDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMdsMySqlDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMdsMySqlDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMdsMySqlDatabaseInsightDetails) String() string
func (m CreateMdsMySqlDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateNewsReportDetails The information about the news report to be created.
type CreateNewsReportDetails struct {
// The news report name.
Name *string `mandatory:"true" json:"name"`
// News report frequency.
NewsFrequency NewsFrequencyEnum `mandatory:"true" json:"newsFrequency"`
// The description of the news report.
Description *string `mandatory:"true" json:"description"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ONS topic.
OnsTopicId *string `mandatory:"true" json:"onsTopicId"`
// Compartment Identifier where the news report will be created.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
ContentTypes *NewsContentTypes `mandatory:"true" json:"contentTypes"`
// Language of the news report.
Locale NewsLocaleEnum `mandatory:"true" json:"locale"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Defines if the news report will be enabled or disabled.
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
DayOfWeek DayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"`
// A flag to consider the resources within a given compartment and all sub-compartments.
AreChildCompartmentsIncluded *bool `mandatory:"false" json:"areChildCompartmentsIncluded"`
// List of tag filters; each filter composed by a namespace, key, and value.
// Example for defined tags - '<TagNamespace>.<TagKey>=<TagValue>'.
// Example for freeform tags - '<TagKey>=<TagValue>'
TagFilters []string `mandatory:"false" json:"tagFilters"`
// Match rule used for tag filters.
MatchRule MatchRuleEnum `mandatory:"false" json:"matchRule,omitempty"`
}
func (m CreateNewsReportDetails) String() string
func (m CreateNewsReportDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateNewsReportRequest wrapper for the CreateNewsReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateNewsReport.go.html to see an example of how to use CreateNewsReportRequest.
type CreateNewsReportRequest struct {
// Details for the news report that will be created in Ops Insights.
CreateNewsReportDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateNewsReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateNewsReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateNewsReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateNewsReportRequest) String() string
func (request CreateNewsReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateNewsReportResponse wrapper for the CreateNewsReport operation
type CreateNewsReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The NewsReport instance
NewsReport `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateNewsReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateNewsReportResponse) String() string
CreateOperationsInsightsPrivateEndpointDetails The details used to create a new Operation Insights private endpoint.
type CreateOperationsInsightsPrivateEndpointDetails struct {
// The display name for the private endpoint. It is changeable.
DisplayName *string `mandatory:"true" json:"displayName"`
// The compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The VCN OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
VcnId *string `mandatory:"true" json:"vcnId"`
// The Subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
SubnetId *string `mandatory:"true" json:"subnetId"`
// This flag was previously used to create a private endpoint with scan proxy. Setting this to true will now create a private endpoint with a
// DNS proxy causing `isProxyEnabled` flag to be true; this is used exclusively for full feature support for dedicated Autonomous Databases.
IsUsedForRacDbs *bool `mandatory:"true" json:"isUsedForRacDbs"`
// The description of the private endpoint.
Description *string `mandatory:"false" json:"description"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups that the private endpoint belongs to.
NsgIds []string `mandatory:"false" json:"nsgIds"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Security attributes for this resource. Each key is predefined and scoped to a namespace.
// For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
// Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}`
SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`
}
func (m CreateOperationsInsightsPrivateEndpointDetails) String() string
func (m CreateOperationsInsightsPrivateEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOperationsInsightsPrivateEndpointRequest wrapper for the CreateOperationsInsightsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOperationsInsightsPrivateEndpoint.go.html to see an example of how to use CreateOperationsInsightsPrivateEndpointRequest.
type CreateOperationsInsightsPrivateEndpointRequest struct {
// Details to create a new private endpoint.
CreateOperationsInsightsPrivateEndpointDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOperationsInsightsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOperationsInsightsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOperationsInsightsPrivateEndpointRequest) String() string
func (request CreateOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOperationsInsightsPrivateEndpointResponse wrapper for the CreateOperationsInsightsPrivateEndpoint operation
type CreateOperationsInsightsPrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The OperationsInsightsPrivateEndpoint instance
OperationsInsightsPrivateEndpoint `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOperationsInsightsPrivateEndpointResponse) String() string
CreateOperationsInsightsWarehouseDetails The information about a Operations Insights Warehouse resource to be created. Input compartmentId MUST be the root compartment.
type CreateOperationsInsightsWarehouseDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of Ops Insights Warehouse that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Number of CPUs allocated to OPSI Warehouse ADW.
CpuAllocated *float64 `mandatory:"true" json:"cpuAllocated"`
// The compute model for the OPSI warehouse ADW (OCPU or ECPU)
ComputeModel OperationsInsightsWarehouseComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
// Storage allocated to OPSI Warehouse ADW.
StorageAllocatedInGBs *float64 `mandatory:"false" json:"storageAllocatedInGBs"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateOperationsInsightsWarehouseDetails) String() string
func (m CreateOperationsInsightsWarehouseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOperationsInsightsWarehouseRequest wrapper for the CreateOperationsInsightsWarehouse operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOperationsInsightsWarehouse.go.html to see an example of how to use CreateOperationsInsightsWarehouseRequest.
type CreateOperationsInsightsWarehouseRequest struct {
// Details using which an Ops Insights Warehouse resource will be created in Ops Insights.
CreateOperationsInsightsWarehouseDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOperationsInsightsWarehouseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOperationsInsightsWarehouseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOperationsInsightsWarehouseRequest) String() string
func (request CreateOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOperationsInsightsWarehouseResponse wrapper for the CreateOperationsInsightsWarehouse operation
type CreateOperationsInsightsWarehouseResponse struct {
// The underlying http response
RawResponse *http.Response
// The OperationsInsightsWarehouse instance
OperationsInsightsWarehouse `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOperationsInsightsWarehouseResponse) String() string
CreateOperationsInsightsWarehouseUserDetails The information about a Operations Insights Warehouse User to be created. Input compartmentId MUST be the root compartment.
type CreateOperationsInsightsWarehouseUserDetails struct {
// OPSI Warehouse OCID
OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Username for schema which would have access to AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
Name *string `mandatory:"true" json:"name"`
// User provided connection password for the AWR Data, Enterprise Manager Data and Ops Insights OPSI Hub.
ConnectionPassword *string `mandatory:"true" json:"connectionPassword" sensitive:"true"`
// Indicate whether user has access to AWR data.
IsAwrDataAccess *bool `mandatory:"true" json:"isAwrDataAccess"`
// Indicate whether user has access to EM data.
IsEmDataAccess *bool `mandatory:"false" json:"isEmDataAccess"`
// Indicate whether user has access to OPSI data.
IsOpsiDataAccess *bool `mandatory:"false" json:"isOpsiDataAccess"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateOperationsInsightsWarehouseUserDetails) String() string
func (m CreateOperationsInsightsWarehouseUserDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOperationsInsightsWarehouseUserRequest wrapper for the CreateOperationsInsightsWarehouseUser operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOperationsInsightsWarehouseUser.go.html to see an example of how to use CreateOperationsInsightsWarehouseUserRequest.
type CreateOperationsInsightsWarehouseUserRequest struct {
// Parameter using which an Operations Insights Warehouse user resource will be created.
CreateOperationsInsightsWarehouseUserDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 CreateOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOperationsInsightsWarehouseUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOperationsInsightsWarehouseUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOperationsInsightsWarehouseUserRequest) String() string
func (request CreateOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOperationsInsightsWarehouseUserResponse wrapper for the CreateOperationsInsightsWarehouseUser operation
type CreateOperationsInsightsWarehouseUserResponse struct {
// The underlying http response
RawResponse *http.Response
// The OperationsInsightsWarehouseUser instance
OperationsInsightsWarehouseUser `presentIn:"body"`
// 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"`
// URI of the resource
Location *string `presentIn:"header" name:"location"`
// URI of the resource
ContentLocation *string `presentIn:"header" name:"content-location"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOperationsInsightsWarehouseUserResponse) String() string
CreateOpsiConfigurationConfigItemCustomStatusEnum Enum with underlying type: string
type CreateOpsiConfigurationConfigItemCustomStatusEnum string
Set of constants representing the allowable values for CreateOpsiConfigurationConfigItemCustomStatusEnum
const (
CreateOpsiConfigurationConfigItemCustomStatusCustomized CreateOpsiConfigurationConfigItemCustomStatusEnum = "customized"
CreateOpsiConfigurationConfigItemCustomStatusNoncustomized CreateOpsiConfigurationConfigItemCustomStatusEnum = "nonCustomized"
)
func GetCreateOpsiConfigurationConfigItemCustomStatusEnumValues() []CreateOpsiConfigurationConfigItemCustomStatusEnum
GetCreateOpsiConfigurationConfigItemCustomStatusEnumValues Enumerates the set of values for CreateOpsiConfigurationConfigItemCustomStatusEnum
func GetMappingCreateOpsiConfigurationConfigItemCustomStatusEnum(val string) (CreateOpsiConfigurationConfigItemCustomStatusEnum, bool)
GetMappingCreateOpsiConfigurationConfigItemCustomStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CreateOpsiConfigurationConfigItemFieldEnum Enum with underlying type: string
type CreateOpsiConfigurationConfigItemFieldEnum string
Set of constants representing the allowable values for CreateOpsiConfigurationConfigItemFieldEnum
const (
CreateOpsiConfigurationConfigItemFieldName CreateOpsiConfigurationConfigItemFieldEnum = "name"
CreateOpsiConfigurationConfigItemFieldValue CreateOpsiConfigurationConfigItemFieldEnum = "value"
CreateOpsiConfigurationConfigItemFieldDefaultvalue CreateOpsiConfigurationConfigItemFieldEnum = "defaultValue"
CreateOpsiConfigurationConfigItemFieldMetadata CreateOpsiConfigurationConfigItemFieldEnum = "metadata"
CreateOpsiConfigurationConfigItemFieldApplicablecontexts CreateOpsiConfigurationConfigItemFieldEnum = "applicableContexts"
)
func GetCreateOpsiConfigurationConfigItemFieldEnumValues() []CreateOpsiConfigurationConfigItemFieldEnum
GetCreateOpsiConfigurationConfigItemFieldEnumValues Enumerates the set of values for CreateOpsiConfigurationConfigItemFieldEnum
func GetMappingCreateOpsiConfigurationConfigItemFieldEnum(val string) (CreateOpsiConfigurationConfigItemFieldEnum, bool)
GetMappingCreateOpsiConfigurationConfigItemFieldEnum performs case Insensitive comparison on enum value and return the desired enum
CreateOpsiConfigurationDetails Information about OPSI configuration to be created.
type CreateOpsiConfigurationDetails interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// User-friendly display name for the OPSI configuration. The name does not have to be unique.
GetDisplayName() *string
// Description of OPSI configuration.
GetDescription() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
GetConfigItems() []CreateConfigurationItemDetails
}
CreateOpsiConfigurationOpsiConfigFieldEnum Enum with underlying type: string
type CreateOpsiConfigurationOpsiConfigFieldEnum string
Set of constants representing the allowable values for CreateOpsiConfigurationOpsiConfigFieldEnum
const (
CreateOpsiConfigurationOpsiConfigFieldConfigitems CreateOpsiConfigurationOpsiConfigFieldEnum = "configItems"
)
func GetCreateOpsiConfigurationOpsiConfigFieldEnumValues() []CreateOpsiConfigurationOpsiConfigFieldEnum
GetCreateOpsiConfigurationOpsiConfigFieldEnumValues Enumerates the set of values for CreateOpsiConfigurationOpsiConfigFieldEnum
func GetMappingCreateOpsiConfigurationOpsiConfigFieldEnum(val string) (CreateOpsiConfigurationOpsiConfigFieldEnum, bool)
GetMappingCreateOpsiConfigurationOpsiConfigFieldEnum performs case Insensitive comparison on enum value and return the desired enum
CreateOpsiConfigurationRequest wrapper for the CreateOpsiConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOpsiConfiguration.go.html to see an example of how to use CreateOpsiConfigurationRequest.
type CreateOpsiConfigurationRequest struct {
// Information about OPSI configuration resource to be created.
CreateOpsiConfigurationDetails `contributesTo:"body"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
OpsiConfigField []CreateOpsiConfigurationOpsiConfigFieldEnum `contributesTo:"query" name:"opsiConfigField" omitEmpty:"true" collectionFormat:"multi"`
// Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.
// By default only customized configuration items are returned.
ConfigItemCustomStatus []CreateOpsiConfigurationConfigItemCustomStatusEnum `contributesTo:"query" name:"configItemCustomStatus" omitEmpty:"true" collectionFormat:"multi"`
// Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
ConfigItemsApplicableContext []string `contributesTo:"query" name:"configItemsApplicableContext" collectionFormat:"multi"`
// Specifies the fields to return in a config item summary.
ConfigItemField []CreateOpsiConfigurationConfigItemFieldEnum `contributesTo:"query" name:"configItemField" omitEmpty:"true" collectionFormat:"multi"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request CreateOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOpsiConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOpsiConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOpsiConfigurationRequest) String() string
func (request CreateOpsiConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOpsiConfigurationResponse wrapper for the CreateOpsiConfiguration operation
type CreateOpsiConfigurationResponse struct {
// The underlying http response
RawResponse *http.Response
// The OpsiConfiguration instance
OpsiConfiguration `presentIn:"body"`
// 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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateOpsiConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOpsiConfigurationResponse) String() string
CreateOpsiUxConfigurationDetails Information about OPSI UX configuration to be created.
type CreateOpsiUxConfigurationDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// User-friendly display name for the OPSI configuration. The name does not have to be unique.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description of OPSI configuration.
Description *string `mandatory:"false" json:"description"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array.
ConfigItems []CreateConfigurationItemDetails `mandatory:"false" json:"configItems"`
}
func (m CreateOpsiUxConfigurationDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateOpsiUxConfigurationDetails) GetConfigItems() []CreateConfigurationItemDetails
GetConfigItems returns ConfigItems
func (m CreateOpsiUxConfigurationDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOpsiUxConfigurationDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOpsiUxConfigurationDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOpsiUxConfigurationDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOpsiUxConfigurationDetails) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m CreateOpsiUxConfigurationDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOpsiUxConfigurationDetails) String() string
func (m *CreateOpsiUxConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOpsiUxConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePeComanagedDatabaseInsightDetails The information about database to be analyzed. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.
type CreatePeComanagedDatabaseInsightDetails struct {
// Compartment Identifier of database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Database service name used for connection requests.
ServiceName *string `mandatory:"true" json:"serviceName"`
CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint
DbmPrivateEndpointId *string `mandatory:"false" json:"dbmPrivateEndpointId"`
ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Database Deployment Type
DeploymentType CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum `mandatory:"true" json:"deploymentType"`
}
func (m CreatePeComanagedDatabaseInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreatePeComanagedDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreatePeComanagedDatabaseInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreatePeComanagedDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreatePeComanagedDatabaseInsightDetails) String() string
func (m *CreatePeComanagedDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreatePeComanagedDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum Enum with underlying type: string
type CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum string
Set of constants representing the allowable values for CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
const (
CreatePeComanagedDatabaseInsightDetailsDeploymentTypeVirtualMachine CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = "VIRTUAL_MACHINE"
CreatePeComanagedDatabaseInsightDetailsDeploymentTypeBareMetal CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = "BARE_METAL"
CreatePeComanagedDatabaseInsightDetailsDeploymentTypeExacs CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = "EXACS"
)
func GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumValues() []CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumValues Enumerates the set of values for CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
func GetMappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum(val string) (CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum, bool)
GetMappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreatePeComanagedExadataInsightDetails The information about the Exadata system to be analyzed.
type CreatePeComanagedExadataInsightDetails struct {
// Compartment Identifier of Exadata insight
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
MemberVmClusterDetails []CreatePeComanagedExadataVmclusterDetails `mandatory:"false" json:"memberVmClusterDetails"`
}
func (m CreatePeComanagedExadataInsightDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreatePeComanagedExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreatePeComanagedExadataInsightDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreatePeComanagedExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreatePeComanagedExadataInsightDetails) String() string
func (m CreatePeComanagedExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePeComanagedExadataVmclusterDetails The information of the VM Cluster which contains databases. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.
type CreatePeComanagedExadataVmclusterDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster.
VmclusterId *string `mandatory:"true" json:"vmclusterId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint
DbmPrivateEndpointId *string `mandatory:"false" json:"dbmPrivateEndpointId"`
// The databases that belong to the VM Cluster
MemberDatabaseDetails []CreatePeComanagedDatabaseInsightDetails `mandatory:"false" json:"memberDatabaseDetails"`
// Exadata VMCluster type
VmClusterType ExadataVmClusterTypeEnum `mandatory:"false" json:"vmClusterType,omitempty"`
// The autonomous databases that belong to the Autonomous VM Cluster
MemberAutonomousDetails []CreateAutonomousDatabaseInsightDetails `mandatory:"false" json:"memberAutonomousDetails"`
}
func (m CreatePeComanagedExadataVmclusterDetails) String() string
func (m CreatePeComanagedExadataVmclusterDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePlanCustomItemDetails Custom configuration item details for a chargeback plan. Example items for Exadata Insights Chargeback are statistic(default value AVG), percentile, infrastructureCost, infrastructurePlanType, additionalServerCost and additionalServerPlanType.
type CreatePlanCustomItemDetails struct {
// Name of chargeback plan customization item. Example items for Exadata Insights Chargeback are statistic, percentile, infrastructureCost, additionalServerCost etc.
Name *string `mandatory:"false" json:"name"`
// Value of chargeback plan customization item.
Value *string `mandatory:"false" json:"value"`
// Indicates whether the chargeback plan customization item can be customized.
IsCustomizable *bool `mandatory:"false" json:"isCustomizable"`
}
func (m CreatePlanCustomItemDetails) String() string
func (m CreatePlanCustomItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialByIam IAM Credential Details to connect to the database.
type CredentialByIam struct {
// Credential source name that had been added in Management Agent wallet. This value is only required when Credential set by CREDENTIALS_BY_SOURCE and is optional properties for ther others.
CredentialSourceName *string `mandatory:"false" json:"credentialSourceName"`
}
func (m CredentialByIam) GetCredentialSourceName() *string
GetCredentialSourceName returns CredentialSourceName
func (m CredentialByIam) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CredentialByIam) String() string
func (m CredentialByIam) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialByNamedCredentials Credentials by named credentials stored in management agent to connect database
type CredentialByNamedCredentials struct {
// Credential source name that had been added in Management Agent wallet. This value is only required when Credential set by CREDENTIALS_BY_SOURCE and is optional properties for ther others.
CredentialSourceName *string `mandatory:"false" json:"credentialSourceName"`
// The credential OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) stored in management agent.
NamedCredentialId *string `mandatory:"false" json:"namedCredentialId"`
}
func (m CredentialByNamedCredentials) GetCredentialSourceName() *string
GetCredentialSourceName returns CredentialSourceName
func (m CredentialByNamedCredentials) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CredentialByNamedCredentials) String() string
func (m CredentialByNamedCredentials) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialByVault Vault Credential Details to connect to the database.
type CredentialByVault struct {
// Credential source name that had been added in Management Agent wallet. This value is only required when Credential set by CREDENTIALS_BY_SOURCE and is optional properties for ther others.
CredentialSourceName *string `mandatory:"false" json:"credentialSourceName"`
// database user name.
UserName *string `mandatory:"false" json:"userName"`
// The secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) mapping to the database credentials.
PasswordSecretId *string `mandatory:"false" json:"passwordSecretId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
WalletSecretId *string `mandatory:"false" json:"walletSecretId"`
// database user role.
Role CredentialByVaultRoleEnum `mandatory:"false" json:"role,omitempty"`
}
func (m CredentialByVault) GetCredentialSourceName() *string
GetCredentialSourceName returns CredentialSourceName
func (m CredentialByVault) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CredentialByVault) String() string
func (m CredentialByVault) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CredentialByVaultRoleEnum Enum with underlying type: string
type CredentialByVaultRoleEnum string
Set of constants representing the allowable values for CredentialByVaultRoleEnum
const (
CredentialByVaultRoleNormal CredentialByVaultRoleEnum = "NORMAL"
)
func GetCredentialByVaultRoleEnumValues() []CredentialByVaultRoleEnum
GetCredentialByVaultRoleEnumValues Enumerates the set of values for CredentialByVaultRoleEnum
func GetMappingCredentialByVaultRoleEnum(val string) (CredentialByVaultRoleEnum, bool)
GetMappingCredentialByVaultRoleEnum performs case Insensitive comparison on enum value and return the desired enum
CredentialDetails User credential details to connect to the database.
type CredentialDetails interface {
// Credential source name that had been added in Management Agent wallet. This value is only required when Credential set by CREDENTIALS_BY_SOURCE and is optional properties for ther others.
GetCredentialSourceName() *string
}
CredentialDetailsCredentialTypeEnum Enum with underlying type: string
type CredentialDetailsCredentialTypeEnum string
Set of constants representing the allowable values for CredentialDetailsCredentialTypeEnum
const (
CredentialDetailsCredentialTypeSource CredentialDetailsCredentialTypeEnum = "CREDENTIALS_BY_SOURCE"
CredentialDetailsCredentialTypeVault CredentialDetailsCredentialTypeEnum = "CREDENTIALS_BY_VAULT"
CredentialDetailsCredentialTypeIam CredentialDetailsCredentialTypeEnum = "CREDENTIALS_BY_IAM"
CredentialDetailsCredentialTypeNamedCreds CredentialDetailsCredentialTypeEnum = "CREDENTIALS_BY_NAMED_CREDS"
)
func GetCredentialDetailsCredentialTypeEnumValues() []CredentialDetailsCredentialTypeEnum
GetCredentialDetailsCredentialTypeEnumValues Enumerates the set of values for CredentialDetailsCredentialTypeEnum
func GetMappingCredentialDetailsCredentialTypeEnum(val string) (CredentialDetailsCredentialTypeEnum, bool)
GetMappingCredentialDetailsCredentialTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CredentialsBySource Credential Source to connect to the database.
type CredentialsBySource struct {
// Credential source name that had been added in Management Agent wallet. This value is only required when Credential set by CREDENTIALS_BY_SOURCE and is optional properties for ther others.
CredentialSourceName *string `mandatory:"false" json:"credentialSourceName"`
}
func (m CredentialsBySource) GetCredentialSourceName() *string
GetCredentialSourceName returns CredentialSourceName
func (m CredentialsBySource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CredentialsBySource) String() string
func (m CredentialsBySource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectBindParameter Details for a bind parameter used in data object query.
type DataObjectBindParameter struct {
// Name of the bind parameter.
Name *string `mandatory:"true" json:"name"`
// Value for the bind parameter.
Value *interface{} `mandatory:"true" json:"value"`
// Data type of the bind parameter.
DataType *string `mandatory:"true" json:"dataType"`
}
func (m DataObjectBindParameter) String() string
func (m DataObjectBindParameter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectColumnMetadata Metadata of a column in a data object resultset.
type DataObjectColumnMetadata struct {
// Name of the column.
Name *string `mandatory:"true" json:"name"`
// Category of the column.
Category DataObjectColumnMetadataCategoryEnum `mandatory:"false" json:"category,omitempty"`
// Type of a data object column.
DataType *string `mandatory:"false" json:"dataType"`
// Type name of a data object column.
DataTypeName DataObjectColumnMetadataDataTypeNameEnum `mandatory:"false" json:"dataTypeName,omitempty"`
// Display name of the column.
DisplayName *string `mandatory:"false" json:"displayName"`
// Description of the column.
Description *string `mandatory:"false" json:"description"`
// Group name of the column.
GroupName *string `mandatory:"false" json:"groupName"`
UnitDetails DataObjectColumnUnit `mandatory:"false" json:"unitDetails"`
}
func (m DataObjectColumnMetadata) String() string
func (m *DataObjectColumnMetadata) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DataObjectColumnMetadata) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectColumnMetadataCategoryEnum Enum with underlying type: string
type DataObjectColumnMetadataCategoryEnum string
Set of constants representing the allowable values for DataObjectColumnMetadataCategoryEnum
const (
DataObjectColumnMetadataCategoryDimension DataObjectColumnMetadataCategoryEnum = "DIMENSION"
DataObjectColumnMetadataCategoryMetric DataObjectColumnMetadataCategoryEnum = "METRIC"
DataObjectColumnMetadataCategoryTimeDimension DataObjectColumnMetadataCategoryEnum = "TIME_DIMENSION"
DataObjectColumnMetadataCategoryUnknown DataObjectColumnMetadataCategoryEnum = "UNKNOWN"
)
func GetDataObjectColumnMetadataCategoryEnumValues() []DataObjectColumnMetadataCategoryEnum
GetDataObjectColumnMetadataCategoryEnumValues Enumerates the set of values for DataObjectColumnMetadataCategoryEnum
func GetMappingDataObjectColumnMetadataCategoryEnum(val string) (DataObjectColumnMetadataCategoryEnum, bool)
GetMappingDataObjectColumnMetadataCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectColumnMetadataDataTypeNameEnum Enum with underlying type: string
type DataObjectColumnMetadataDataTypeNameEnum string
Set of constants representing the allowable values for DataObjectColumnMetadataDataTypeNameEnum
const (
DataObjectColumnMetadataDataTypeNameNumber DataObjectColumnMetadataDataTypeNameEnum = "NUMBER"
DataObjectColumnMetadataDataTypeNameTimestamp DataObjectColumnMetadataDataTypeNameEnum = "TIMESTAMP"
DataObjectColumnMetadataDataTypeNameVarchar2 DataObjectColumnMetadataDataTypeNameEnum = "VARCHAR2"
DataObjectColumnMetadataDataTypeNameOther DataObjectColumnMetadataDataTypeNameEnum = "OTHER"
)
func GetDataObjectColumnMetadataDataTypeNameEnumValues() []DataObjectColumnMetadataDataTypeNameEnum
GetDataObjectColumnMetadataDataTypeNameEnumValues Enumerates the set of values for DataObjectColumnMetadataDataTypeNameEnum
func GetMappingDataObjectColumnMetadataDataTypeNameEnum(val string) (DataObjectColumnMetadataDataTypeNameEnum, bool)
GetMappingDataObjectColumnMetadataDataTypeNameEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectColumnUnit Unit details of a data object column.
type DataObjectColumnUnit interface {
// Display name of the column's unit.
GetDisplayName() *string
}
DataObjectColumnUnitUnitCategoryEnum Enum with underlying type: string
type DataObjectColumnUnitUnitCategoryEnum string
Set of constants representing the allowable values for DataObjectColumnUnitUnitCategoryEnum
const (
DataObjectColumnUnitUnitCategoryDataSize DataObjectColumnUnitUnitCategoryEnum = "DATA_SIZE"
DataObjectColumnUnitUnitCategoryTime DataObjectColumnUnitUnitCategoryEnum = "TIME"
DataObjectColumnUnitUnitCategoryPower DataObjectColumnUnitUnitCategoryEnum = "POWER"
DataObjectColumnUnitUnitCategoryTemperature DataObjectColumnUnitUnitCategoryEnum = "TEMPERATURE"
DataObjectColumnUnitUnitCategoryCore DataObjectColumnUnitUnitCategoryEnum = "CORE"
DataObjectColumnUnitUnitCategoryRate DataObjectColumnUnitUnitCategoryEnum = "RATE"
DataObjectColumnUnitUnitCategoryFrequency DataObjectColumnUnitUnitCategoryEnum = "FREQUENCY"
DataObjectColumnUnitUnitCategoryOtherStandard DataObjectColumnUnitUnitCategoryEnum = "OTHER_STANDARD"
DataObjectColumnUnitUnitCategoryCustom DataObjectColumnUnitUnitCategoryEnum = "CUSTOM"
)
func GetDataObjectColumnUnitUnitCategoryEnumValues() []DataObjectColumnUnitUnitCategoryEnum
GetDataObjectColumnUnitUnitCategoryEnumValues Enumerates the set of values for DataObjectColumnUnitUnitCategoryEnum
func GetMappingDataObjectColumnUnitUnitCategoryEnum(val string) (DataObjectColumnUnitUnitCategoryEnum, bool)
GetMappingDataObjectColumnUnitUnitCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectCoreColumnUnit Unit details of a data object column of CORE unit category.
type DataObjectCoreColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Core unit.
Unit DataObjectCoreColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectCoreColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectCoreColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectCoreColumnUnit) String() string
func (m DataObjectCoreColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectCoreColumnUnitUnitEnum Enum with underlying type: string
type DataObjectCoreColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectCoreColumnUnitUnitEnum
const (
DataObjectCoreColumnUnitUnitCore DataObjectCoreColumnUnitUnitEnum = "CORE"
DataObjectCoreColumnUnitUnitMilliCore DataObjectCoreColumnUnitUnitEnum = "MILLI_CORE"
)
func GetDataObjectCoreColumnUnitUnitEnumValues() []DataObjectCoreColumnUnitUnitEnum
GetDataObjectCoreColumnUnitUnitEnumValues Enumerates the set of values for DataObjectCoreColumnUnitUnitEnum
func GetMappingDataObjectCoreColumnUnitUnitEnum(val string) (DataObjectCoreColumnUnitUnitEnum, bool)
GetMappingDataObjectCoreColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectCustomColumnUnit Unit details of a data object column of CUSTOM unit category.
type DataObjectCustomColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Custom column unit.
Unit *string `mandatory:"false" json:"unit"`
}
func (m DataObjectCustomColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectCustomColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectCustomColumnUnit) String() string
func (m DataObjectCustomColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectDataSizeColumnUnit Unit details of a data object column of DATA_SIZE unit category.
type DataObjectDataSizeColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Data size unit.
Unit DataObjectDataSizeColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectDataSizeColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectDataSizeColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectDataSizeColumnUnit) String() string
func (m DataObjectDataSizeColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectDataSizeColumnUnitUnitEnum Enum with underlying type: string
type DataObjectDataSizeColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectDataSizeColumnUnitUnitEnum
const (
DataObjectDataSizeColumnUnitUnitCharacter DataObjectDataSizeColumnUnitUnitEnum = "CHARACTER"
DataObjectDataSizeColumnUnitUnitBlock DataObjectDataSizeColumnUnitUnitEnum = "BLOCK"
DataObjectDataSizeColumnUnitUnitBit DataObjectDataSizeColumnUnitUnitEnum = "BIT"
DataObjectDataSizeColumnUnitUnitByte DataObjectDataSizeColumnUnitUnitEnum = "BYTE"
DataObjectDataSizeColumnUnitUnitKiloByte DataObjectDataSizeColumnUnitUnitEnum = "KILO_BYTE"
DataObjectDataSizeColumnUnitUnitMegaByte DataObjectDataSizeColumnUnitUnitEnum = "MEGA_BYTE"
DataObjectDataSizeColumnUnitUnitGigaByte DataObjectDataSizeColumnUnitUnitEnum = "GIGA_BYTE"
DataObjectDataSizeColumnUnitUnitTeraByte DataObjectDataSizeColumnUnitUnitEnum = "TERA_BYTE"
DataObjectDataSizeColumnUnitUnitPetaByte DataObjectDataSizeColumnUnitUnitEnum = "PETA_BYTE"
DataObjectDataSizeColumnUnitUnitExaByte DataObjectDataSizeColumnUnitUnitEnum = "EXA_BYTE"
DataObjectDataSizeColumnUnitUnitZettaByte DataObjectDataSizeColumnUnitUnitEnum = "ZETTA_BYTE"
DataObjectDataSizeColumnUnitUnitYottaByte DataObjectDataSizeColumnUnitUnitEnum = "YOTTA_BYTE"
)
func GetDataObjectDataSizeColumnUnitUnitEnumValues() []DataObjectDataSizeColumnUnitUnitEnum
GetDataObjectDataSizeColumnUnitUnitEnumValues Enumerates the set of values for DataObjectDataSizeColumnUnitUnitEnum
func GetMappingDataObjectDataSizeColumnUnitUnitEnum(val string) (DataObjectDataSizeColumnUnitUnitEnum, bool)
GetMappingDataObjectDataSizeColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectFrequencyColumnUnit Unit details of a data object column of FREQEUENCY unit category.
type DataObjectFrequencyColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Frequency unit.
Unit DataObjectFrequencyColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectFrequencyColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectFrequencyColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectFrequencyColumnUnit) String() string
func (m DataObjectFrequencyColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectFrequencyColumnUnitUnitEnum Enum with underlying type: string
type DataObjectFrequencyColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectFrequencyColumnUnitUnitEnum
const (
DataObjectFrequencyColumnUnitUnitHertz DataObjectFrequencyColumnUnitUnitEnum = "HERTZ"
DataObjectFrequencyColumnUnitUnitKiloHertz DataObjectFrequencyColumnUnitUnitEnum = "KILO_HERTZ"
DataObjectFrequencyColumnUnitUnitMegaHertz DataObjectFrequencyColumnUnitUnitEnum = "MEGA_HERTZ"
DataObjectFrequencyColumnUnitUnitGigaHertz DataObjectFrequencyColumnUnitUnitEnum = "GIGA_HERTZ"
DataObjectFrequencyColumnUnitUnitTeraHertz DataObjectFrequencyColumnUnitUnitEnum = "TERA_HERTZ"
)
func GetDataObjectFrequencyColumnUnitUnitEnumValues() []DataObjectFrequencyColumnUnitUnitEnum
GetDataObjectFrequencyColumnUnitUnitEnumValues Enumerates the set of values for DataObjectFrequencyColumnUnitUnitEnum
func GetMappingDataObjectFrequencyColumnUnitUnitEnum(val string) (DataObjectFrequencyColumnUnitUnitEnum, bool)
GetMappingDataObjectFrequencyColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectOtherStandardColumnUnit Unit details of a data object column of OTHER_STANDARD unit category.
type DataObjectOtherStandardColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Other standard column unit.
Unit DataObjectOtherStandardColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectOtherStandardColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectOtherStandardColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectOtherStandardColumnUnit) String() string
func (m DataObjectOtherStandardColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectOtherStandardColumnUnitUnitEnum Enum with underlying type: string
type DataObjectOtherStandardColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectOtherStandardColumnUnitUnitEnum
const (
DataObjectOtherStandardColumnUnitUnitPercentage DataObjectOtherStandardColumnUnitUnitEnum = "PERCENTAGE"
DataObjectOtherStandardColumnUnitUnitCount DataObjectOtherStandardColumnUnitUnitEnum = "COUNT"
DataObjectOtherStandardColumnUnitUnitIo DataObjectOtherStandardColumnUnitUnitEnum = "IO"
DataObjectOtherStandardColumnUnitUnitBoolean DataObjectOtherStandardColumnUnitUnitEnum = "BOOLEAN"
DataObjectOtherStandardColumnUnitUnitOperation DataObjectOtherStandardColumnUnitUnitEnum = "OPERATION"
DataObjectOtherStandardColumnUnitUnitTransaction DataObjectOtherStandardColumnUnitUnitEnum = "TRANSACTION"
DataObjectOtherStandardColumnUnitUnitConnection DataObjectOtherStandardColumnUnitUnitEnum = "CONNECTION"
DataObjectOtherStandardColumnUnitUnitAccess DataObjectOtherStandardColumnUnitUnitEnum = "ACCESS"
DataObjectOtherStandardColumnUnitUnitRequest DataObjectOtherStandardColumnUnitUnitEnum = "REQUEST"
DataObjectOtherStandardColumnUnitUnitMessage DataObjectOtherStandardColumnUnitUnitEnum = "MESSAGE"
DataObjectOtherStandardColumnUnitUnitExecution DataObjectOtherStandardColumnUnitUnitEnum = "EXECUTION"
DataObjectOtherStandardColumnUnitUnitLogons DataObjectOtherStandardColumnUnitUnitEnum = "LOGONS"
DataObjectOtherStandardColumnUnitUnitThread DataObjectOtherStandardColumnUnitUnitEnum = "THREAD"
DataObjectOtherStandardColumnUnitUnitError DataObjectOtherStandardColumnUnitUnitEnum = "ERROR"
)
func GetDataObjectOtherStandardColumnUnitUnitEnumValues() []DataObjectOtherStandardColumnUnitUnitEnum
GetDataObjectOtherStandardColumnUnitUnitEnumValues Enumerates the set of values for DataObjectOtherStandardColumnUnitUnitEnum
func GetMappingDataObjectOtherStandardColumnUnitUnitEnum(val string) (DataObjectOtherStandardColumnUnitUnitEnum, bool)
GetMappingDataObjectOtherStandardColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectPowerColumnUnit Unit details of a data object column of POWER unit category.
type DataObjectPowerColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Power unit.
Unit DataObjectPowerColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectPowerColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectPowerColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectPowerColumnUnit) String() string
func (m DataObjectPowerColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectPowerColumnUnitUnitEnum Enum with underlying type: string
type DataObjectPowerColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectPowerColumnUnitUnitEnum
const (
DataObjectPowerColumnUnitUnitAmp DataObjectPowerColumnUnitUnitEnum = "AMP"
DataObjectPowerColumnUnitUnitWatt DataObjectPowerColumnUnitUnitEnum = "WATT"
DataObjectPowerColumnUnitUnitKiloWatt DataObjectPowerColumnUnitUnitEnum = "KILO_WATT"
DataObjectPowerColumnUnitUnitMegaWatt DataObjectPowerColumnUnitUnitEnum = "MEGA_WATT"
DataObjectPowerColumnUnitUnitGigaWatt DataObjectPowerColumnUnitUnitEnum = "GIGA_WATT"
)
func GetDataObjectPowerColumnUnitUnitEnumValues() []DataObjectPowerColumnUnitUnitEnum
GetDataObjectPowerColumnUnitUnitEnumValues Enumerates the set of values for DataObjectPowerColumnUnitUnitEnum
func GetMappingDataObjectPowerColumnUnitUnitEnum(val string) (DataObjectPowerColumnUnitUnitEnum, bool)
GetMappingDataObjectPowerColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectQuery Information required to form and execute query on a data object.
type DataObjectQuery interface {
// List of bind parameters to be applied in the query.
GetBindParams() []DataObjectBindParameter
// Timeout (in seconds) to be set for the data object query execution.
GetQueryExecutionTimeoutInSeconds() *float64
}
DataObjectQueryQueryTypeEnum Enum with underlying type: string
type DataObjectQueryQueryTypeEnum string
Set of constants representing the allowable values for DataObjectQueryQueryTypeEnum
const (
DataObjectQueryQueryTypeTemplatizedQuery DataObjectQueryQueryTypeEnum = "TEMPLATIZED_QUERY"
DataObjectQueryQueryTypeStandardQuery DataObjectQueryQueryTypeEnum = "STANDARD_QUERY"
)
func GetDataObjectQueryQueryTypeEnumValues() []DataObjectQueryQueryTypeEnum
GetDataObjectQueryQueryTypeEnumValues Enumerates the set of values for DataObjectQueryQueryTypeEnum
func GetMappingDataObjectQueryQueryTypeEnum(val string) (DataObjectQueryQueryTypeEnum, bool)
GetMappingDataObjectQueryQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectQueryTimeFilters Time filters to be applied in the data object query.
type DataObjectQueryTimeFilters struct {
// Specify time period in ISO 8601 format with respect to current time.
// Default is last 30 days represented by P30D.
// If timePeriod is specified, then timeStart and timeEnd will be ignored.
// Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
TimePeriod *string `mandatory:"false" json:"timePeriod"`
// Start time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z.
// timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.
TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`
// End time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z.
// timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.
// If timeEnd is not specified, current time is used as timeEnd.
TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
}
func (m DataObjectQueryTimeFilters) String() string
func (m DataObjectQueryTimeFilters) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectRateColumnUnit Unit details of a data object column of RATE unit category.
type DataObjectRateColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
Numerator DataObjectColumnUnit `mandatory:"false" json:"numerator"`
Denominator DataObjectColumnUnit `mandatory:"false" json:"denominator"`
}
func (m DataObjectRateColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectRateColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectRateColumnUnit) String() string
func (m *DataObjectRateColumnUnit) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DataObjectRateColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectStandardQuery Information required to execute query on data objects. Query is given in standard SQL syntax providing flexibility to form complex queries such as queries with joins and nested queries.
type DataObjectStandardQuery struct {
// List of bind parameters to be applied in the query.
BindParams []DataObjectBindParameter `mandatory:"false" json:"bindParams"`
// Timeout (in seconds) to be set for the data object query execution.
QueryExecutionTimeoutInSeconds *float64 `mandatory:"false" json:"queryExecutionTimeoutInSeconds"`
// SQL query statement with standard Oracle supported SQL syntax.
// - When Warehouse (e.g: Awr hub) data objects are queried, use the actual names of underlying data objects (e.g: tables, views) in the query.
// The same query that works through JDBC connection with the OperationsInsightsWarehouseUsers credentials will work here and vice-versa.
// SCHEMA.VIEW syntax can also be used here.
// - When OPSI data objects are queried, use name of the respective OPSI data object, just like how views are used in a query.
// Identifier of the OPSI data object cannot be used in the query.
Statement *string `mandatory:"false" json:"statement"`
TimeFilters *DataObjectQueryTimeFilters `mandatory:"false" json:"timeFilters"`
}
func (m DataObjectStandardQuery) GetBindParams() []DataObjectBindParameter
GetBindParams returns BindParams
func (m DataObjectStandardQuery) GetQueryExecutionTimeoutInSeconds() *float64
GetQueryExecutionTimeoutInSeconds returns QueryExecutionTimeoutInSeconds
func (m DataObjectStandardQuery) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectStandardQuery) String() string
func (m DataObjectStandardQuery) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectTemperatureColumnUnit Unit details of a data object column of TEMPERATURE unit category.
type DataObjectTemperatureColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Temparature unit.
Unit DataObjectTemperatureColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectTemperatureColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectTemperatureColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectTemperatureColumnUnit) String() string
func (m DataObjectTemperatureColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectTemperatureColumnUnitUnitEnum Enum with underlying type: string
type DataObjectTemperatureColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectTemperatureColumnUnitUnitEnum
const (
DataObjectTemperatureColumnUnitUnitCelsius DataObjectTemperatureColumnUnitUnitEnum = "CELSIUS"
DataObjectTemperatureColumnUnitUnitFahrenheit DataObjectTemperatureColumnUnitUnitEnum = "FAHRENHEIT"
)
func GetDataObjectTemperatureColumnUnitUnitEnumValues() []DataObjectTemperatureColumnUnitUnitEnum
GetDataObjectTemperatureColumnUnitUnitEnumValues Enumerates the set of values for DataObjectTemperatureColumnUnitUnitEnum
func GetMappingDataObjectTemperatureColumnUnitUnitEnum(val string) (DataObjectTemperatureColumnUnitUnitEnum, bool)
GetMappingDataObjectTemperatureColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectTemplatizedQuery Information required in a structured template to form and execute query on a data object.
type DataObjectTemplatizedQuery struct {
// List of bind parameters to be applied in the query.
BindParams []DataObjectBindParameter `mandatory:"false" json:"bindParams"`
// Timeout (in seconds) to be set for the data object query execution.
QueryExecutionTimeoutInSeconds *float64 `mandatory:"false" json:"queryExecutionTimeoutInSeconds"`
// List of items to be added into the SELECT clause of the query; items will be added with comma separation.
SelectList []string `mandatory:"false" json:"selectList"`
// Unique data object name that will be added into the FROM clause of the query, just like a view name in FROM clause.
// - Use actual name of the data objects (e.g: tables, views) in case of Warehouse (e.g: Awr hub) data objects query. SCHEMA.VIEW name syntax can also be used here.
// e.g: SYS.DBA_HIST_SNAPSHOT or DBA_HIST_SNAPSHOT
// - Use name of the data object (e.g: SQL_STATS_DO) in case of OPSI data objects. Identifier of the OPSI data object cannot be used here.
FromClause *string `mandatory:"false" json:"fromClause"`
// List of items to be added into the WHERE clause of the query; items will be added with AND separation.
// Item can contain a single condition or multiple conditions.
// Single condition e.g: "optimizer_mode='mode1'"
// Multiple conditions e.g: (module='module1' OR module='module2')
WhereConditionsList []string `mandatory:"false" json:"whereConditionsList"`
// List of items to be added into the GROUP BY clause of the query; items will be added with comma separation.
GroupByList []string `mandatory:"false" json:"groupByList"`
// List of items to be added into the HAVING clause of the query; items will be added with AND separation.
HavingConditionsList []string `mandatory:"false" json:"havingConditionsList"`
// List of items to be added into the ORDER BY clause of the query; items will be added with comma separation.
OrderByList []string `mandatory:"false" json:"orderByList"`
TimeFilters *DataObjectQueryTimeFilters `mandatory:"false" json:"timeFilters"`
}
func (m DataObjectTemplatizedQuery) GetBindParams() []DataObjectBindParameter
GetBindParams returns BindParams
func (m DataObjectTemplatizedQuery) GetQueryExecutionTimeoutInSeconds() *float64
GetQueryExecutionTimeoutInSeconds returns QueryExecutionTimeoutInSeconds
func (m DataObjectTemplatizedQuery) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectTemplatizedQuery) String() string
func (m DataObjectTemplatizedQuery) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectTimeColumnUnit Unit details of a data object column of TIME unit category.
type DataObjectTimeColumnUnit struct {
// Display name of the column's unit.
DisplayName *string `mandatory:"false" json:"displayName"`
// Time unit.
Unit DataObjectTimeColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
}
func (m DataObjectTimeColumnUnit) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DataObjectTimeColumnUnit) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DataObjectTimeColumnUnit) String() string
func (m DataObjectTimeColumnUnit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DataObjectTimeColumnUnitUnitEnum Enum with underlying type: string
type DataObjectTimeColumnUnitUnitEnum string
Set of constants representing the allowable values for DataObjectTimeColumnUnitUnitEnum
const (
DataObjectTimeColumnUnitUnitNanoSecond DataObjectTimeColumnUnitUnitEnum = "NANO_SECOND"
DataObjectTimeColumnUnitUnitMicroSecond DataObjectTimeColumnUnitUnitEnum = "MICRO_SECOND"
DataObjectTimeColumnUnitUnitMilliSecond DataObjectTimeColumnUnitUnitEnum = "MILLI_SECOND"
DataObjectTimeColumnUnitUnitCentiSecond DataObjectTimeColumnUnitUnitEnum = "CENTI_SECOND"
DataObjectTimeColumnUnitUnitSecond DataObjectTimeColumnUnitUnitEnum = "SECOND"
DataObjectTimeColumnUnitUnitHour DataObjectTimeColumnUnitUnitEnum = "HOUR"
DataObjectTimeColumnUnitUnitDay DataObjectTimeColumnUnitUnitEnum = "DAY"
DataObjectTimeColumnUnitUnitWeek DataObjectTimeColumnUnitUnitEnum = "WEEK"
DataObjectTimeColumnUnitUnitMonth DataObjectTimeColumnUnitUnitEnum = "MONTH"
DataObjectTimeColumnUnitUnitYear DataObjectTimeColumnUnitUnitEnum = "YEAR"
DataObjectTimeColumnUnitUnitMinute DataObjectTimeColumnUnitUnitEnum = "MINUTE"
)
func GetDataObjectTimeColumnUnitUnitEnumValues() []DataObjectTimeColumnUnitUnitEnum
GetDataObjectTimeColumnUnitUnitEnumValues Enumerates the set of values for DataObjectTimeColumnUnitUnitEnum
func GetMappingDataObjectTimeColumnUnitUnitEnum(val string) (DataObjectTimeColumnUnitUnitEnum, bool)
GetMappingDataObjectTimeColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
DataObjectTypeEnum Enum with underlying type: string
type DataObjectTypeEnum string
Set of constants representing the allowable values for DataObjectTypeEnum
const (
DataObjectTypeView DataObjectTypeEnum = "VIEW"
DataObjectTypeTable DataObjectTypeEnum = "TABLE"
)
func GetDataObjectTypeEnumValues() []DataObjectTypeEnum
GetDataObjectTypeEnumValues Enumerates the set of values for DataObjectTypeEnum
func GetMappingDataObjectTypeEnum(val string) (DataObjectTypeEnum, bool)
GetMappingDataObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseConfigurationCollection Collection of database insight configuration summary objects.
type DatabaseConfigurationCollection struct {
// Array of database insight configurations summary objects.
Items []DatabaseConfigurationSummary `mandatory:"true" json:"items"`
}
func (m DatabaseConfigurationCollection) String() string
func (m *DatabaseConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseConfigurationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseConfigurationMetricGroup Supported configuration metric groups for database capacity planning service.
type DatabaseConfigurationMetricGroup interface {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
GetTimeCollected() *common.SDKTime
}
DatabaseConfigurationMetricGroupMetricNameEnum Enum with underlying type: string
type DatabaseConfigurationMetricGroupMetricNameEnum string
Set of constants representing the allowable values for DatabaseConfigurationMetricGroupMetricNameEnum
const (
DatabaseConfigurationMetricGroupMetricNameDbExternalProperties DatabaseConfigurationMetricGroupMetricNameEnum = "DB_EXTERNAL_PROPERTIES"
DatabaseConfigurationMetricGroupMetricNameDbExternalInstance DatabaseConfigurationMetricGroupMetricNameEnum = "DB_EXTERNAL_INSTANCE"
DatabaseConfigurationMetricGroupMetricNameDbOsConfigInstance DatabaseConfigurationMetricGroupMetricNameEnum = "DB_OS_CONFIG_INSTANCE"
DatabaseConfigurationMetricGroupMetricNameDbParameters DatabaseConfigurationMetricGroupMetricNameEnum = "DB_PARAMETERS"
DatabaseConfigurationMetricGroupMetricNameDbConnectionStatus DatabaseConfigurationMetricGroupMetricNameEnum = "DB_CONNECTION_STATUS"
DatabaseConfigurationMetricGroupMetricNameHostResourceAllocation DatabaseConfigurationMetricGroupMetricNameEnum = "HOST_RESOURCE_ALLOCATION"
DatabaseConfigurationMetricGroupMetricNameAsmEntity DatabaseConfigurationMetricGroupMetricNameEnum = "ASM_ENTITY"
DatabaseConfigurationMetricGroupMetricNameExadataCellConfig DatabaseConfigurationMetricGroupMetricNameEnum = "EXADATA_CELL_CONFIG"
)
func GetDatabaseConfigurationMetricGroupMetricNameEnumValues() []DatabaseConfigurationMetricGroupMetricNameEnum
GetDatabaseConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for DatabaseConfigurationMetricGroupMetricNameEnum
func GetMappingDatabaseConfigurationMetricGroupMetricNameEnum(val string) (DatabaseConfigurationMetricGroupMetricNameEnum, bool)
GetMappingDatabaseConfigurationMetricGroupMetricNameEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseConfigurationSummary Summary of a database configuration for a resource.
type DatabaseConfigurationSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
GetDatabaseInsightId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The database name. The database name is unique within the tenancy.
GetDatabaseName() *string
// The user-friendly name for the database. The name does not have to be unique.
GetDatabaseDisplayName() *string
// Ops Insights internal representation of the database type.
GetDatabaseType() *string
// The version of the database.
GetDatabaseVersion() *string
// Flag is to identify if advanced features for autonomous database is enabled or not
GetIsAdvancedFeaturesEnabled() *bool
// Name of the CDB.Only applies to PDB.
GetCdbName() *string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
GetProcessorCount() *int
}
DatabaseDetails Partial information about the database which includes id, name, type.
type DatabaseDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"true" json:"databaseName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"true" json:"databaseType"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// Array of hostname and instance name.
Instances []HostInstanceMap `mandatory:"false" json:"instances"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"false" json:"cdbName"`
}
func (m DatabaseDetails) String() string
func (m DatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseEntitySourceAllEnum Enum with underlying type: string
type DatabaseEntitySourceAllEnum string
Set of constants representing the allowable values for DatabaseEntitySourceAllEnum
const (
DatabaseEntitySourceAllAutonomousDatabase DatabaseEntitySourceAllEnum = "AUTONOMOUS_DATABASE"
DatabaseEntitySourceAllEmManagedExternalDatabase DatabaseEntitySourceAllEnum = "EM_MANAGED_EXTERNAL_DATABASE"
DatabaseEntitySourceAllMacsManagedExternalDatabase DatabaseEntitySourceAllEnum = "MACS_MANAGED_EXTERNAL_DATABASE"
DatabaseEntitySourceAllPeComanagedDatabase DatabaseEntitySourceAllEnum = "PE_COMANAGED_DATABASE"
DatabaseEntitySourceAllMdsMysqlDatabaseSystem DatabaseEntitySourceAllEnum = "MDS_MYSQL_DATABASE_SYSTEM"
DatabaseEntitySourceAllExternalMysqlDatabaseSystem DatabaseEntitySourceAllEnum = "EXTERNAL_MYSQL_DATABASE_SYSTEM"
DatabaseEntitySourceAllMacsManagedCloudDatabase DatabaseEntitySourceAllEnum = "MACS_MANAGED_CLOUD_DATABASE"
DatabaseEntitySourceAllMacsManagedAutonomousDatabase DatabaseEntitySourceAllEnum = "MACS_MANAGED_AUTONOMOUS_DATABASE"
)
func GetDatabaseEntitySourceAllEnumValues() []DatabaseEntitySourceAllEnum
GetDatabaseEntitySourceAllEnumValues Enumerates the set of values for DatabaseEntitySourceAllEnum
func GetMappingDatabaseEntitySourceAllEnum(val string) (DatabaseEntitySourceAllEnum, bool)
GetMappingDatabaseEntitySourceAllEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseEntitySourceEnum Enum with underlying type: string
type DatabaseEntitySourceEnum string
Set of constants representing the allowable values for DatabaseEntitySourceEnum
const (
DatabaseEntitySourceEmManagedExternalDatabase DatabaseEntitySourceEnum = "EM_MANAGED_EXTERNAL_DATABASE"
DatabaseEntitySourcePeComanagedDatabase DatabaseEntitySourceEnum = "PE_COMANAGED_DATABASE"
DatabaseEntitySourceMdsMysqlDatabaseSystem DatabaseEntitySourceEnum = "MDS_MYSQL_DATABASE_SYSTEM"
DatabaseEntitySourceExternalMysqlDatabaseSystem DatabaseEntitySourceEnum = "EXTERNAL_MYSQL_DATABASE_SYSTEM"
DatabaseEntitySourceMacsManagedCloudDatabase DatabaseEntitySourceEnum = "MACS_MANAGED_CLOUD_DATABASE"
DatabaseEntitySourceMacsManagedAutonomousDatabase DatabaseEntitySourceEnum = "MACS_MANAGED_AUTONOMOUS_DATABASE"
)
func GetDatabaseEntitySourceEnumValues() []DatabaseEntitySourceEnum
GetDatabaseEntitySourceEnumValues Enumerates the set of values for DatabaseEntitySourceEnum
func GetMappingDatabaseEntitySourceEnum(val string) (DatabaseEntitySourceEnum, bool)
GetMappingDatabaseEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseEnum Enum with underlying type: string
type DatabaseEnum string
Set of constants representing the allowable values for DatabaseEnum
const (
DatabaseCpu DatabaseEnum = "CPU"
DatabaseStorage DatabaseEnum = "STORAGE"
DatabaseIo DatabaseEnum = "IO"
DatabaseMemory DatabaseEnum = "MEMORY"
)
func GetDatabaseEnumValues() []DatabaseEnum
GetDatabaseEnumValues Enumerates the set of values for DatabaseEnum
func GetMappingDatabaseEnum(val string) (DatabaseEnum, bool)
GetMappingDatabaseEnum performs case Insensitive comparison on enum value and return the desired enum
DatabaseInsight Database insight resource.
type DatabaseInsight interface {
// Database insight identifier
GetId() *string
// Compartment identifier of the database
GetCompartmentId() *string
// Indicates the status of a database insight in Operations Insights
GetStatus() ResourceStatusEnum
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The current state of the database.
GetLifecycleState() LifecycleStateEnum
// Ops Insights internal representation of the database type.
GetDatabaseType() *string
// The version of the database.
GetDatabaseVersion() *string
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
GetProcessorCount() *int
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// The time the database insight was updated. An RFC3339 formatted datetime string
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
GetDatabaseConnectionStatusDetails() *string
}
DatabaseInsightSummary Summary of a database insight resource.
type DatabaseInsightSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
GetDatabaseId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The database name. The database name is unique within the tenancy.
GetDatabaseName() *string
// The user-friendly name for the database. The name does not have to be unique.
GetDatabaseDisplayName() *string
// Ops Insights internal representation of the database type.
GetDatabaseType() *string
// The version of the database.
GetDatabaseVersion() *string
// The hostnames for the database.
GetDatabaseHostNames() []string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
GetProcessorCount() *int
// Indicates the status of a database insight in Operations Insights
GetStatus() ResourceStatusEnum
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The time the database insight was updated. An RFC3339 formatted datetime string
GetTimeUpdated() *common.SDKTime
// The current state of the database.
GetLifecycleState() LifecycleStateEnum
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
GetDatabaseConnectionStatusDetails() *string
}
DatabaseInsights Logical grouping used for Operations Insights database-targeted operations.
type DatabaseInsights struct {
// Database Insights Object.
DatabaseInsights *interface{} `mandatory:"false" json:"databaseInsights"`
}
func (m DatabaseInsights) String() string
func (m DatabaseInsights) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseInsightsCollection Collection of database insight summary objects.
type DatabaseInsightsCollection struct {
// Array of database insight summary objects.
Items []DatabaseInsightSummary `mandatory:"true" json:"items"`
}
func (m DatabaseInsightsCollection) String() string
func (m *DatabaseInsightsCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DatabaseInsightsCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseInsightsDataObject Database insights data object.
type DatabaseInsightsDataObject struct {
// Unique identifier of OPSI data object.
Identifier *string `mandatory:"true" json:"identifier"`
// User-friendly name of OPSI data object.
DisplayName *string `mandatory:"true" json:"displayName"`
// Metadata of columns in a data object.
ColumnsMetadata []DataObjectColumnMetadata `mandatory:"true" json:"columnsMetadata"`
// Description of OPSI data object.
Description *string `mandatory:"false" json:"description"`
// Name of the data object, which can be used in data object queries just like how view names are used in a query.
Name *string `mandatory:"false" json:"name"`
// Names of all the groups to which the data object belongs to.
GroupNames []string `mandatory:"false" json:"groupNames"`
// Time period supported by the data object for quering data.
// Time period is in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D.
// Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
SupportedQueryTimePeriod *string `mandatory:"false" json:"supportedQueryTimePeriod"`
// Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed.
SupportedQueryParams []OpsiDataObjectSupportedQueryParam `mandatory:"false" json:"supportedQueryParams"`
}
func (m DatabaseInsightsDataObject) GetColumnsMetadata() []DataObjectColumnMetadata
GetColumnsMetadata returns ColumnsMetadata
func (m DatabaseInsightsDataObject) GetDescription() *string
GetDescription returns Description
func (m DatabaseInsightsDataObject) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseInsightsDataObject) GetGroupNames() []string
GetGroupNames returns GroupNames
func (m DatabaseInsightsDataObject) GetIdentifier() *string
GetIdentifier returns Identifier
func (m DatabaseInsightsDataObject) GetName() *string
GetName returns Name
func (m DatabaseInsightsDataObject) GetSupportedQueryParams() []OpsiDataObjectSupportedQueryParam
GetSupportedQueryParams returns SupportedQueryParams
func (m DatabaseInsightsDataObject) GetSupportedQueryTimePeriod() *string
GetSupportedQueryTimePeriod returns SupportedQueryTimePeriod
func (m DatabaseInsightsDataObject) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseInsightsDataObject) String() string
func (m DatabaseInsightsDataObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseInsightsDataObjectSummary Summary of a database insights data object.
type DatabaseInsightsDataObjectSummary struct {
// Unique identifier of OPSI data object.
Identifier *string `mandatory:"true" json:"identifier"`
// User-friendly name of OPSI data object.
DisplayName *string `mandatory:"true" json:"displayName"`
// Description of OPSI data object.
Description *string `mandatory:"false" json:"description"`
// Name of the data object, which can be used in data object queries just like how view names are used in a query.
Name *string `mandatory:"false" json:"name"`
// Names of all the groups to which the data object belongs to.
GroupNames []string `mandatory:"false" json:"groupNames"`
}
func (m DatabaseInsightsDataObjectSummary) GetDescription() *string
GetDescription returns Description
func (m DatabaseInsightsDataObjectSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DatabaseInsightsDataObjectSummary) GetGroupNames() []string
GetGroupNames returns GroupNames
func (m DatabaseInsightsDataObjectSummary) GetIdentifier() *string
GetIdentifier returns Identifier
func (m DatabaseInsightsDataObjectSummary) GetName() *string
GetName returns Name
func (m DatabaseInsightsDataObjectSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseInsightsDataObjectSummary) String() string
func (m DatabaseInsightsDataObjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DatabaseParameterTypeDetails Database parameter details
type DatabaseParameterTypeDetails struct {
// Name of database parameter
Name *string `mandatory:"true" json:"name"`
}
func (m DatabaseParameterTypeDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DatabaseParameterTypeDetails) String() string
func (m DatabaseParameterTypeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DayOfWeekEnum Enum with underlying type: string
type DayOfWeekEnum string
Set of constants representing the allowable values for DayOfWeekEnum
const (
DayOfWeekMonday DayOfWeekEnum = "MONDAY"
DayOfWeekTuesday DayOfWeekEnum = "TUESDAY"
DayOfWeekWednesday DayOfWeekEnum = "WEDNESDAY"
DayOfWeekThursday DayOfWeekEnum = "THURSDAY"
DayOfWeekFriday DayOfWeekEnum = "FRIDAY"
DayOfWeekSaturday DayOfWeekEnum = "SATURDAY"
DayOfWeekSunday DayOfWeekEnum = "SUNDAY"
)
func GetDayOfWeekEnumValues() []DayOfWeekEnum
GetDayOfWeekEnumValues Enumerates the set of values for DayOfWeekEnum
func GetMappingDayOfWeekEnum(val string) (DayOfWeekEnum, bool)
GetMappingDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum
DbConnectionStatus Database connection status.
type DbConnectionStatus struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
}
func (m DbConnectionStatus) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbConnectionStatus) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbConnectionStatus) String() string
func (m DbConnectionStatus) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbExternalInstance Configuration parameters defined for external databases instance level.
type DbExternalInstance struct {
// Name of the database instance.
InstanceName *string `mandatory:"true" json:"instanceName"`
// Host name of the database instance.
HostName *string `mandatory:"true" json:"hostName"`
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// Total number of CPUs allocated for the host.
CpuCount *int `mandatory:"false" json:"cpuCount"`
// Total amount of usable Physical RAM Memory available in gigabytes.
HostMemoryCapacity *float64 `mandatory:"false" json:"hostMemoryCapacity"`
// Database version.
Version *string `mandatory:"false" json:"version"`
// Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).
Parallel *string `mandatory:"false" json:"parallel"`
// Role (permissions) of the database instance.
InstanceRole *string `mandatory:"false" json:"instanceRole"`
// Indicates if logins are allowed or restricted.
Logins *string `mandatory:"false" json:"logins"`
// Status of the database.
DatabaseStatus *string `mandatory:"false" json:"databaseStatus"`
// Status of the instance.
Status *string `mandatory:"false" json:"status"`
// The edition of the database.
Edition *string `mandatory:"false" json:"edition"`
// Start up time of the database instance.
StartupTime *common.SDKTime `mandatory:"false" json:"startupTime"`
}
func (m DbExternalInstance) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbExternalInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbExternalInstance) String() string
func (m DbExternalInstance) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbExternalProperties Configuration parameters defined for external databases.
type DbExternalProperties struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// Name of the database.
Name *string `mandatory:"false" json:"name"`
// Archive log mode.
LogMode *string `mandatory:"false" json:"logMode"`
// Indicates if it is a CDB or not. This would be 'yes' or 'no'.
Cdb *string `mandatory:"false" json:"cdb"`
// Open mode information.
OpenMode *string `mandatory:"false" json:"openMode"`
// Current role of the database.
DatabaseRole *string `mandatory:"false" json:"databaseRole"`
// Data protection policy.
GuardStatus *string `mandatory:"false" json:"guardStatus"`
// Platform name of the database, OS with architecture.
PlatformName *string `mandatory:"false" json:"platformName"`
// Type of control file.
ControlFileType *string `mandatory:"false" json:"controlFileType"`
// Indicates whether switchover is allowed.
SwitchoverStatus *string `mandatory:"false" json:"switchoverStatus"`
// Creation time.
Created *common.SDKTime `mandatory:"false" json:"created"`
}
func (m DbExternalProperties) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbExternalProperties) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbExternalProperties) String() string
func (m DbExternalProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbParameters Initialization parameters for a database.
type DbParameters struct {
// Database instance number.
InstanceNumber *int `mandatory:"true" json:"instanceNumber"`
// Database parameter name.
ParameterName *string `mandatory:"true" json:"parameterName"`
// Database parameter value.
ParameterValue *string `mandatory:"true" json:"parameterValue"`
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// AWR snapshot id for the parameter value
SnapshotId *int `mandatory:"false" json:"snapshotId"`
// Indicates whether the parameter's value changed in given snapshot or not.
IsChanged *string `mandatory:"false" json:"isChanged"`
// Indicates whether this value is the default value or not.
IsDefault *string `mandatory:"false" json:"isDefault"`
}
func (m DbParameters) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbParameters) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbParameters) String() string
func (m DbParameters) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DbosConfigInstance Configuration parameters defined for external databases instance level.
type DbosConfigInstance struct {
// Name of the database instance.
InstanceName *string `mandatory:"true" json:"instanceName"`
// Host name of the database instance.
HostName *string `mandatory:"true" json:"hostName"`
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// Total number of CPUs available.
NumCPUs *int `mandatory:"false" json:"numCPUs"`
// Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).
NumCPUCores *int `mandatory:"false" json:"numCPUCores"`
// Number of CPU Sockets available.
NumCPUSockets *int `mandatory:"false" json:"numCPUSockets"`
// Total number of bytes of physical memory.
PhysicalMemoryBytes *float64 `mandatory:"false" json:"physicalMemoryBytes"`
}
func (m DbosConfigInstance) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m DbosConfigInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DbosConfigInstance) String() string
func (m DbosConfigInstance) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAwrHubObjectRequest wrapper for the DeleteAwrHubObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteAwrHubObject.go.html to see an example of how to use DeleteAwrHubObjectRequest.
type DeleteAwrHubObjectRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Unique Awr Hub Object identifier
ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteAwrHubObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAwrHubObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAwrHubObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAwrHubObjectRequest) String() string
func (request DeleteAwrHubObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAwrHubObjectResponse wrapper for the DeleteAwrHubObject operation
type DeleteAwrHubObjectResponse struct {
// The underlying http response
RawResponse *http.Response
// Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
OpcClientRequestId *string `presentIn:"header" name:"opc-client-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 Awr Hub object modification time.
LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
// VersionId of the requested Awr Hub object.
VersionId *string `presentIn:"header" name:"version-id"`
// This is `true` if the deleted object is a delete marker, otherwise `false`
IsDeleteMarker *bool `presentIn:"header" name:"is-delete-marker"`
}
func (response DeleteAwrHubObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAwrHubObjectResponse) String() string
DeleteAwrHubRequest wrapper for the DeleteAwrHub operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteAwrHub.go.html to see an example of how to use DeleteAwrHubRequest.
type DeleteAwrHubRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAwrHubRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAwrHubRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAwrHubRequest) String() string
func (request DeleteAwrHubRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAwrHubResponse wrapper for the DeleteAwrHub operation
type DeleteAwrHubResponse 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 DeleteAwrHubResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAwrHubResponse) String() string
DeleteAwrHubSourceRequest wrapper for the DeleteAwrHubSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteAwrHubSource.go.html to see an example of how to use DeleteAwrHubSourceRequest.
type DeleteAwrHubSourceRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteAwrHubSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteAwrHubSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteAwrHubSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteAwrHubSourceRequest) String() string
func (request DeleteAwrHubSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteAwrHubSourceResponse wrapper for the DeleteAwrHubSource operation
type DeleteAwrHubSourceResponse 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 DeleteAwrHubSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteAwrHubSourceResponse) String() string
DeleteChargebackPlanReportRequest wrapper for the DeleteChargebackPlanReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteChargebackPlanReport.go.html to see an example of how to use DeleteChargebackPlanReportRequest.
type DeleteChargebackPlanReportRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan report
ChargebackPlanReportId *string `mandatory:"true" contributesTo:"path" name:"chargebackPlanReportId"`
// Unique Ops insight identifier
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Filter by resource type.
// Supported values are EXADATA_INSIGHT , HOST_INSIGHT, DATABASE_INSIGHT.
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteChargebackPlanReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteChargebackPlanReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteChargebackPlanReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteChargebackPlanReportRequest) String() string
func (request DeleteChargebackPlanReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteChargebackPlanReportResponse wrapper for the DeleteChargebackPlanReport operation
type DeleteChargebackPlanReportResponse 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 DeleteChargebackPlanReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteChargebackPlanReportResponse) String() string
DeleteChargebackPlanRequest wrapper for the DeleteChargebackPlan operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteChargebackPlan.go.html to see an example of how to use DeleteChargebackPlanRequest.
type DeleteChargebackPlanRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan.
ChargebackplanId *string `mandatory:"true" contributesTo:"path" name:"chargebackplanId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteChargebackPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteChargebackPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteChargebackPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteChargebackPlanRequest) String() string
func (request DeleteChargebackPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteChargebackPlanResponse wrapper for the DeleteChargebackPlan operation
type DeleteChargebackPlanResponse 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 DeleteChargebackPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteChargebackPlanResponse) String() string
DeleteDatabaseInsightRequest wrapper for the DeleteDatabaseInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteDatabaseInsight.go.html to see an example of how to use DeleteDatabaseInsightRequest.
type DeleteDatabaseInsightRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDatabaseInsightRequest) String() string
func (request DeleteDatabaseInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDatabaseInsightResponse wrapper for the DeleteDatabaseInsight operation
type DeleteDatabaseInsightResponse 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 DeleteDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDatabaseInsightResponse) String() string
DeleteEnterpriseManagerBridgeRequest wrapper for the DeleteEnterpriseManagerBridge operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteEnterpriseManagerBridge.go.html to see an example of how to use DeleteEnterpriseManagerBridgeRequest.
type DeleteEnterpriseManagerBridgeRequest struct {
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteEnterpriseManagerBridgeRequest) String() string
func (request DeleteEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteEnterpriseManagerBridgeResponse wrapper for the DeleteEnterpriseManagerBridge operation
type DeleteEnterpriseManagerBridgeResponse 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 DeleteEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteEnterpriseManagerBridgeResponse) String() string
DeleteExadataInsightRequest wrapper for the DeleteExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteExadataInsight.go.html to see an example of how to use DeleteExadataInsightRequest.
type DeleteExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteExadataInsightRequest) String() string
func (request DeleteExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteExadataInsightResponse wrapper for the DeleteExadataInsight operation
type DeleteExadataInsightResponse 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 DeleteExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteExadataInsightResponse) String() string
DeleteHostInsightRequest wrapper for the DeleteHostInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteHostInsight.go.html to see an example of how to use DeleteHostInsightRequest.
type DeleteHostInsightRequest struct {
// Unique host insight identifier
HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostInsightRequest) String() string
func (request DeleteHostInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostInsightResponse wrapper for the DeleteHostInsight operation
type DeleteHostInsightResponse 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 DeleteHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostInsightResponse) String() string
DeleteNewsReportRequest wrapper for the DeleteNewsReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteNewsReport.go.html to see an example of how to use DeleteNewsReportRequest.
type DeleteNewsReportRequest struct {
// Unique news report identifier.
NewsReportId *string `mandatory:"true" contributesTo:"path" name:"newsReportId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteNewsReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteNewsReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteNewsReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteNewsReportRequest) String() string
func (request DeleteNewsReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteNewsReportResponse wrapper for the DeleteNewsReport operation
type DeleteNewsReportResponse 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 DeleteNewsReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteNewsReportResponse) String() string
DeleteOperationsInsightsPrivateEndpointRequest wrapper for the DeleteOperationsInsightsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOperationsInsightsPrivateEndpoint.go.html to see an example of how to use DeleteOperationsInsightsPrivateEndpointRequest.
type DeleteOperationsInsightsPrivateEndpointRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOperationsInsightsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOperationsInsightsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOperationsInsightsPrivateEndpointRequest) String() string
func (request DeleteOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteOperationsInsightsPrivateEndpointResponse wrapper for the DeleteOperationsInsightsPrivateEndpoint operation
type DeleteOperationsInsightsPrivateEndpointResponse 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 DeleteOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOperationsInsightsPrivateEndpointResponse) String() string
DeleteOperationsInsightsWarehouseRequest wrapper for the DeleteOperationsInsightsWarehouse operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOperationsInsightsWarehouse.go.html to see an example of how to use DeleteOperationsInsightsWarehouseRequest.
type DeleteOperationsInsightsWarehouseRequest struct {
// Unique Ops Insights Warehouse identifier
OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOperationsInsightsWarehouseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOperationsInsightsWarehouseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOperationsInsightsWarehouseRequest) String() string
func (request DeleteOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteOperationsInsightsWarehouseResponse wrapper for the DeleteOperationsInsightsWarehouse operation
type DeleteOperationsInsightsWarehouseResponse 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 DeleteOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOperationsInsightsWarehouseResponse) String() string
DeleteOperationsInsightsWarehouseUserRequest wrapper for the DeleteOperationsInsightsWarehouseUser operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOperationsInsightsWarehouseUser.go.html to see an example of how to use DeleteOperationsInsightsWarehouseUserRequest.
type DeleteOperationsInsightsWarehouseUserRequest struct {
// Unique Operations Insights Warehouse User identifier
OperationsInsightsWarehouseUserId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseUserId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOperationsInsightsWarehouseUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOperationsInsightsWarehouseUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOperationsInsightsWarehouseUserRequest) String() string
func (request DeleteOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteOperationsInsightsWarehouseUserResponse wrapper for the DeleteOperationsInsightsWarehouseUser operation
type DeleteOperationsInsightsWarehouseUserResponse 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 DeleteOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOperationsInsightsWarehouseUserResponse) String() string
DeleteOpsiConfigurationRequest wrapper for the DeleteOpsiConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOpsiConfiguration.go.html to see an example of how to use DeleteOpsiConfigurationRequest.
type DeleteOpsiConfigurationRequest struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 DeleteOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOpsiConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOpsiConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOpsiConfigurationRequest) String() string
func (request DeleteOpsiConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteOpsiConfigurationResponse wrapper for the DeleteOpsiConfiguration operation
type DeleteOpsiConfigurationResponse 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 DeleteOpsiConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOpsiConfigurationResponse) String() string
DisableAutonomousDatabaseInsightAdvancedFeaturesRequest wrapper for the DisableAutonomousDatabaseInsightAdvancedFeatures operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableAutonomousDatabaseInsightAdvancedFeatures.go.html to see an example of how to use DisableAutonomousDatabaseInsightAdvancedFeaturesRequest.
type DisableAutonomousDatabaseInsightAdvancedFeaturesRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) String() string
func (request DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableAutonomousDatabaseInsightAdvancedFeaturesResponse wrapper for the DisableAutonomousDatabaseInsightAdvancedFeatures operation
type DisableAutonomousDatabaseInsightAdvancedFeaturesResponse 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 DisableAutonomousDatabaseInsightAdvancedFeaturesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableAutonomousDatabaseInsightAdvancedFeaturesResponse) String() string
DisableAwrHubSourceRequest wrapper for the DisableAwrHubSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableAwrHubSource.go.html to see an example of how to use DisableAwrHubSourceRequest.
type DisableAwrHubSourceRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DisableAwrHubSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableAwrHubSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableAwrHubSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableAwrHubSourceRequest) String() string
func (request DisableAwrHubSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableAwrHubSourceResponse wrapper for the DisableAwrHubSource operation
type DisableAwrHubSourceResponse 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 DisableAwrHubSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableAwrHubSourceResponse) String() string
DisableDatabaseInsightRequest wrapper for the DisableDatabaseInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableDatabaseInsight.go.html to see an example of how to use DisableDatabaseInsightRequest.
type DisableDatabaseInsightRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DisableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableDatabaseInsightRequest) String() string
func (request DisableDatabaseInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableDatabaseInsightResponse wrapper for the DisableDatabaseInsight operation
type DisableDatabaseInsightResponse 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 DisableDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableDatabaseInsightResponse) String() string
DisableExadataInsightRequest wrapper for the DisableExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableExadataInsight.go.html to see an example of how to use DisableExadataInsightRequest.
type DisableExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DisableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableExadataInsightRequest) String() string
func (request DisableExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableExadataInsightResponse wrapper for the DisableExadataInsight operation
type DisableExadataInsightResponse 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 DisableExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableExadataInsightResponse) String() string
DisableHostInsightRequest wrapper for the DisableHostInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableHostInsight.go.html to see an example of how to use DisableHostInsightRequest.
type DisableHostInsightRequest struct {
// Unique host insight identifier
HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DisableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisableHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisableHostInsightRequest) String() string
func (request DisableHostInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisableHostInsightResponse wrapper for the DisableHostInsight operation
type DisableHostInsightResponse 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 DisableHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisableHostInsightResponse) String() string
DisablePlanExadataInsightRequest wrapper for the DisablePlanExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisablePlanExadataInsight.go.html to see an example of how to use DisablePlanExadataInsightRequest.
type DisablePlanExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DisablePlanExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DisablePlanExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DisablePlanExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DisablePlanExadataInsightRequest) String() string
func (request DisablePlanExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DisablePlanExadataInsightResponse wrapper for the DisablePlanExadataInsight operation
type DisablePlanExadataInsightResponse 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 DisablePlanExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DisablePlanExadataInsightResponse) String() string
DiskGroupDetails Information about a diskgroup which includes diskgroup name and ASM name.
type DiskGroupDetails struct {
// The diskgroup name.
DiskgroupName *string `mandatory:"true" json:"diskgroupName"`
// The ASM name.
AsmName *string `mandatory:"true" json:"asmName"`
}
func (m DiskGroupDetails) String() string
func (m DiskGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiskGroupEnum Enum with underlying type: string
type DiskGroupEnum string
Set of constants representing the allowable values for DiskGroupEnum
const (
DiskGroupStorage DiskGroupEnum = "STORAGE"
)
func GetDiskGroupEnumValues() []DiskGroupEnum
GetDiskGroupEnumValues Enumerates the set of values for DiskGroupEnum
func GetMappingDiskGroupEnum(val string) (DiskGroupEnum, bool)
GetMappingDiskGroupEnum performs case Insensitive comparison on enum value and return the desired enum
DiskStatistics Aggregated data per disk.
type DiskStatistics struct {
// Name of the disk.
DiskName *string `mandatory:"true" json:"diskName"`
// Value for unallocated space in a disk.
DiskUnallocatedInGBs *float64 `mandatory:"true" json:"diskUnallocatedInGBs"`
// Disk usage.
DiskUsageInGBs *float64 `mandatory:"true" json:"diskUsageInGBs"`
// Size of the disk.
DiskSizeInGBs *float64 `mandatory:"true" json:"diskSizeInGBs"`
}
func (m DiskStatistics) String() string
func (m DiskStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DownloadOperationsInsightsWarehouseWalletDetails Download Wallet details.
type DownloadOperationsInsightsWarehouseWalletDetails struct {
// User provided ADW wallet password for the Ops Insights Warehouse.
OperationsInsightsWarehouseWalletPassword *string `mandatory:"true" json:"operationsInsightsWarehouseWalletPassword" sensitive:"true"`
}
func (m DownloadOperationsInsightsWarehouseWalletDetails) String() string
func (m DownloadOperationsInsightsWarehouseWalletDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DownloadOperationsInsightsWarehouseWalletRequest wrapper for the DownloadOperationsInsightsWarehouseWallet operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DownloadOperationsInsightsWarehouseWallet.go.html to see an example of how to use DownloadOperationsInsightsWarehouseWalletRequest.
type DownloadOperationsInsightsWarehouseWalletRequest struct {
// Unique Ops Insights Warehouse identifier
OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
// The information to be updated.
DownloadOperationsInsightsWarehouseWalletDetails `contributesTo:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 DownloadOperationsInsightsWarehouseWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DownloadOperationsInsightsWarehouseWalletRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DownloadOperationsInsightsWarehouseWalletRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DownloadOperationsInsightsWarehouseWalletRequest) String() string
func (request DownloadOperationsInsightsWarehouseWalletRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DownloadOperationsInsightsWarehouseWalletResponse wrapper for the DownloadOperationsInsightsWarehouseWallet operation
type DownloadOperationsInsightsWarehouseWalletResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// 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"`
// Size of the file.
ContentLength *int64 `presentIn:"header" name:"content-length"`
// The date and time the wallet was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}
func (response DownloadOperationsInsightsWarehouseWalletResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DownloadOperationsInsightsWarehouseWalletResponse) String() string
EmManagedExternalDatabaseConfigurationSummary Configuration summary of a EM Managed External database.
type EmManagedExternalDatabaseConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"true" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"true" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// Array of hostname and instance name.
Instances []HostInstanceMap `mandatory:"true" json:"instances"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Enterprise Manager Console Url
EnterpriseManagerConsoleUrl *string `mandatory:"true" json:"enterpriseManagerConsoleUrl"`
// Enterprise Manager OMS Version
EnterpriseManagerOmsVer *string `mandatory:"true" json:"enterpriseManagerOmsVer"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
}
func (m EmManagedExternalDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (m EmManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m EmManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalDatabaseConfigurationSummary) GetIsAdvancedFeaturesEnabled() *bool
GetIsAdvancedFeaturesEnabled returns IsAdvancedFeaturesEnabled
func (m EmManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalDatabaseConfigurationSummary) String() string
func (m EmManagedExternalDatabaseConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalDatabaseInsight Database insight resource.
type EmManagedExternalDatabaseInsight struct {
// Database insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m EmManagedExternalDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalDatabaseInsight) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m EmManagedExternalDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m EmManagedExternalDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m EmManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalDatabaseInsight) GetId() *string
GetId returns Id
func (m EmManagedExternalDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalDatabaseInsight) String() string
func (m EmManagedExternalDatabaseInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalDatabaseInsightSummary Summary of a database insight resource.
type EmManagedExternalDatabaseInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"false" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// The hostnames for the database.
DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m EmManagedExternalDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m EmManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalDatabaseInsightSummary) String() string
func (m EmManagedExternalDatabaseInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalExadataInsight EM-managed Exadata insight resource.
type EmManagedExternalExadataInsight struct {
// Exadata insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the Exadata insight resource
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
// true if virtualization is used in the Exadata system
IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"false" json:"chargebackPlanDetails"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the Exadata insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the Exadata Resource. For example, it can be used to provide actionable information about the policies needed to access the Exadata Resource.
StatusDetails *string `mandatory:"false" json:"statusDetails"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
// Indicates the status of an Exadata insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the Exadata insight.
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m EmManagedExternalExadataInsight) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m EmManagedExternalExadataInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalExadataInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalExadataInsight) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m EmManagedExternalExadataInsight) GetExadataName() *string
GetExadataName returns ExadataName
func (m EmManagedExternalExadataInsight) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m EmManagedExternalExadataInsight) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m EmManagedExternalExadataInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalExadataInsight) GetId() *string
GetId returns Id
func (m EmManagedExternalExadataInsight) GetIsVirtualizedExadata() *bool
GetIsVirtualizedExadata returns IsVirtualizedExadata
func (m EmManagedExternalExadataInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalExadataInsight) GetLifecycleState() ExadataInsightLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalExadataInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalExadataInsight) GetStatusDetails() *string
GetStatusDetails returns StatusDetails
func (m EmManagedExternalExadataInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalExadataInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalExadataInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalExadataInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalExadataInsight) String() string
func (m EmManagedExternalExadataInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalExadataInsightSummary Summary of an Exadata insight resource.
type EmManagedExternalExadataInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"false" json:"chargebackPlanDetails"`
// The time the Exadata insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the Exadata Resource. For example, it can be used to provide actionable information about the policies needed to access the Exadata Resource.
StatusDetails *string `mandatory:"false" json:"statusDetails"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
// Operations Insights internal representation of the the Exadata system rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
// Indicates the status of an Exadata insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the Exadata insight.
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m EmManagedExternalExadataInsightSummary) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m EmManagedExternalExadataInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalExadataInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalExadataInsightSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m EmManagedExternalExadataInsightSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (m EmManagedExternalExadataInsightSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m EmManagedExternalExadataInsightSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m EmManagedExternalExadataInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalExadataInsightSummary) GetId() *string
GetId returns Id
func (m EmManagedExternalExadataInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalExadataInsightSummary) GetLifecycleState() ExadataInsightLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalExadataInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalExadataInsightSummary) GetStatusDetails() *string
GetStatusDetails returns StatusDetails
func (m EmManagedExternalExadataInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalExadataInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalExadataInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalExadataInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalExadataInsightSummary) String() string
func (m EmManagedExternalExadataInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalHostConfigurationSummary Configuration summary of a EM Managed External host.
type EmManagedExternalHostConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
HostInsightId *string `mandatory:"true" json:"hostInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Platform version.
PlatformVersion *string `mandatory:"true" json:"platformVersion"`
// Platform vendor.
PlatformVendor *string `mandatory:"true" json:"platformVendor"`
// Total CPU on this host.
TotalCpus *int `mandatory:"true" json:"totalCpus"`
// Total amount of usable physical memory in gibabytes
TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
// CPU architechure
CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
// Size of cache memory in megabytes.
CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
// Name of the CPU vendor.
CpuVendor *string `mandatory:"true" json:"cpuVendor"`
// Clock frequency of the processor in megahertz.
CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
// Model name of processor.
CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
// Number of cores per socket.
CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
// Number of total sockets.
TotalSockets *int `mandatory:"true" json:"totalSockets"`
// Number of threads per socket.
ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
// Indicates if hyper-threading is enabled or not
IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Enterprise Manager Console Url
EnterpriseManagerConsoleUrl *string `mandatory:"true" json:"enterpriseManagerConsoleUrl"`
// Enterprise Manager OMS Version
EnterpriseManagerOmsVer *string `mandatory:"true" json:"enterpriseManagerOmsVer"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
func (m EmManagedExternalHostConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int
GetCoresPerSocket returns CoresPerSocket
func (m EmManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string
GetCpuArchitecture returns CpuArchitecture
func (m EmManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64
GetCpuCacheInMBs returns CpuCacheInMBs
func (m EmManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
GetCpuFrequencyInMhz returns CpuFrequencyInMhz
func (m EmManagedExternalHostConfigurationSummary) GetCpuImplementation() *string
GetCpuImplementation returns CpuImplementation
func (m EmManagedExternalHostConfigurationSummary) GetCpuVendor() *string
GetCpuVendor returns CpuVendor
func (m EmManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalHostConfigurationSummary) GetHostInsightId() *string
GetHostInsightId returns HostInsightId
func (m EmManagedExternalHostConfigurationSummary) GetHostName() *string
GetHostName returns HostName
func (m EmManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
func (m EmManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
GetPlatformType returns PlatformType
func (m EmManagedExternalHostConfigurationSummary) GetPlatformVendor() *string
GetPlatformVendor returns PlatformVendor
func (m EmManagedExternalHostConfigurationSummary) GetPlatformVersion() *string
GetPlatformVersion returns PlatformVersion
func (m EmManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int
GetThreadsPerSocket returns ThreadsPerSocket
func (m EmManagedExternalHostConfigurationSummary) GetTotalCpus() *int
GetTotalCpus returns TotalCpus
func (m EmManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64
GetTotalMemoryInGBs returns TotalMemoryInGBs
func (m EmManagedExternalHostConfigurationSummary) GetTotalSockets() *int
GetTotalSockets returns TotalSockets
func (m EmManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalHostConfigurationSummary) String() string
func (m EmManagedExternalHostConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalHostInsight EM-managed external host insight resource.
type EmManagedExternalHostInsight struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the host insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// The user-friendly name for the host. The name does not have to be unique.
HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
// Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
HostType *string `mandatory:"false" json:"hostType"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the host insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// Platform name.
PlatformName *string `mandatory:"false" json:"platformName"`
// Platform version.
PlatformVersion *string `mandatory:"false" json:"platformVersion"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType EmManagedExternalHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
// Indicates the status of a host insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the host.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m EmManagedExternalHostInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalHostInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalHostInsight) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (m EmManagedExternalHostInsight) GetHostName() *string
GetHostName returns HostName
func (m EmManagedExternalHostInsight) GetHostType() *string
GetHostType returns HostType
func (m EmManagedExternalHostInsight) GetId() *string
GetId returns Id
func (m EmManagedExternalHostInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalHostInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalHostInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalHostInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalHostInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalHostInsight) String() string
func (m EmManagedExternalHostInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalHostInsightPlatformTypeEnum Enum with underlying type: string
type EmManagedExternalHostInsightPlatformTypeEnum string
Set of constants representing the allowable values for EmManagedExternalHostInsightPlatformTypeEnum
const (
EmManagedExternalHostInsightPlatformTypeLinux EmManagedExternalHostInsightPlatformTypeEnum = "LINUX"
EmManagedExternalHostInsightPlatformTypeSolaris EmManagedExternalHostInsightPlatformTypeEnum = "SOLARIS"
EmManagedExternalHostInsightPlatformTypeSunos EmManagedExternalHostInsightPlatformTypeEnum = "SUNOS"
EmManagedExternalHostInsightPlatformTypeZlinux EmManagedExternalHostInsightPlatformTypeEnum = "ZLINUX"
EmManagedExternalHostInsightPlatformTypeWindows EmManagedExternalHostInsightPlatformTypeEnum = "WINDOWS"
EmManagedExternalHostInsightPlatformTypeAix EmManagedExternalHostInsightPlatformTypeEnum = "AIX"
EmManagedExternalHostInsightPlatformTypeHpUx EmManagedExternalHostInsightPlatformTypeEnum = "HP_UX"
)
func GetEmManagedExternalHostInsightPlatformTypeEnumValues() []EmManagedExternalHostInsightPlatformTypeEnum
GetEmManagedExternalHostInsightPlatformTypeEnumValues Enumerates the set of values for EmManagedExternalHostInsightPlatformTypeEnum
func GetMappingEmManagedExternalHostInsightPlatformTypeEnum(val string) (EmManagedExternalHostInsightPlatformTypeEnum, bool)
GetMappingEmManagedExternalHostInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
EmManagedExternalHostInsightSummary Summary of an EM-managed external host insight resource.
type EmManagedExternalHostInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// The user-friendly name for the host. The name does not have to be unique.
HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
// Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
HostType *string `mandatory:"false" json:"hostType"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// The time the the host insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the host insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Enterprise Manager Entity Display Name
EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType EmManagedExternalHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
// Indicates the status of a host insight in Ops Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the host.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m EmManagedExternalHostInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m EmManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m EmManagedExternalHostInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m EmManagedExternalHostInsightSummary) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (m EmManagedExternalHostInsightSummary) GetHostName() *string
GetHostName returns HostName
func (m EmManagedExternalHostInsightSummary) GetHostType() *string
GetHostType returns HostType
func (m EmManagedExternalHostInsightSummary) GetId() *string
GetId returns Id
func (m EmManagedExternalHostInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m EmManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m EmManagedExternalHostInsightSummary) GetOpsiPrivateEndpointId() *string
GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
func (m EmManagedExternalHostInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m EmManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m EmManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m EmManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m EmManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m EmManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EmManagedExternalHostInsightSummary) String() string
func (m EmManagedExternalHostInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EmManagedExternalHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
type EmManagedExternalHostInsightSummaryPlatformTypeEnum string
Set of constants representing the allowable values for EmManagedExternalHostInsightSummaryPlatformTypeEnum
const (
EmManagedExternalHostInsightSummaryPlatformTypeLinux EmManagedExternalHostInsightSummaryPlatformTypeEnum = "LINUX"
EmManagedExternalHostInsightSummaryPlatformTypeSolaris EmManagedExternalHostInsightSummaryPlatformTypeEnum = "SOLARIS"
EmManagedExternalHostInsightSummaryPlatformTypeSunos EmManagedExternalHostInsightSummaryPlatformTypeEnum = "SUNOS"
EmManagedExternalHostInsightSummaryPlatformTypeZlinux EmManagedExternalHostInsightSummaryPlatformTypeEnum = "ZLINUX"
EmManagedExternalHostInsightSummaryPlatformTypeWindows EmManagedExternalHostInsightSummaryPlatformTypeEnum = "WINDOWS"
EmManagedExternalHostInsightSummaryPlatformTypeAix EmManagedExternalHostInsightSummaryPlatformTypeEnum = "AIX"
EmManagedExternalHostInsightSummaryPlatformTypeHpUx EmManagedExternalHostInsightSummaryPlatformTypeEnum = "HP_UX"
)
func GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues() []EmManagedExternalHostInsightSummaryPlatformTypeEnum
GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for EmManagedExternalHostInsightSummaryPlatformTypeEnum
func GetMappingEmManagedExternalHostInsightSummaryPlatformTypeEnum(val string) (EmManagedExternalHostInsightSummaryPlatformTypeEnum, bool)
GetMappingEmManagedExternalHostInsightSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
EnableAutonomousDatabaseInsightAdvancedFeaturesDetails The advanced feature details for autonomous database to be enabled.
type EnableAutonomousDatabaseInsightAdvancedFeaturesDetails struct {
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
}
func (m EnableAutonomousDatabaseInsightAdvancedFeaturesDetails) String() string
func (m *EnableAutonomousDatabaseInsightAdvancedFeaturesDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m EnableAutonomousDatabaseInsightAdvancedFeaturesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableAutonomousDatabaseInsightAdvancedFeaturesRequest wrapper for the EnableAutonomousDatabaseInsightAdvancedFeatures operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableAutonomousDatabaseInsightAdvancedFeatures.go.html to see an example of how to use EnableAutonomousDatabaseInsightAdvancedFeaturesRequest.
type EnableAutonomousDatabaseInsightAdvancedFeaturesRequest struct {
// Connection Details for the Autonomous Database in Operations Insights.
EnableAutonomousDatabaseInsightAdvancedFeaturesDetails `contributesTo:"body"`
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) String() string
func (request EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableAutonomousDatabaseInsightAdvancedFeaturesResponse wrapper for the EnableAutonomousDatabaseInsightAdvancedFeatures operation
type EnableAutonomousDatabaseInsightAdvancedFeaturesResponse 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 EnableAutonomousDatabaseInsightAdvancedFeaturesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableAutonomousDatabaseInsightAdvancedFeaturesResponse) String() string
EnableAutonomousDatabaseInsightDetails The information about database to be analyzed. When isAdvancedFeaturesEnabled is set to false, parameters connectionDetails, credentialDetails and opsiPrivateEndpoint are optional. Otherwise, connectionDetails and crendetialDetails are required to enable full OPSI service features. If the Autonomouse Database is configured with private, restricted or dedicated access, opsiPrivateEndpoint parameter is required.
type EnableAutonomousDatabaseInsightDetails struct {
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
CredentialDetails CredentialDetails `mandatory:"false" json:"credentialDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m EnableAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableAutonomousDatabaseInsightDetails) String() string
func (m *EnableAutonomousDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m EnableAutonomousDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableAwrHubSourceRequest wrapper for the EnableAwrHubSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableAwrHubSource.go.html to see an example of how to use EnableAwrHubSourceRequest.
type EnableAwrHubSourceRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 EnableAwrHubSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableAwrHubSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableAwrHubSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableAwrHubSourceRequest) String() string
func (request EnableAwrHubSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableAwrHubSourceResponse wrapper for the EnableAwrHubSource operation
type EnableAwrHubSourceResponse 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 EnableAwrHubSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableAwrHubSourceResponse) String() string
EnableDatabaseInsightDetails The information about database to be analyzed.
type EnableDatabaseInsightDetails interface {
}
EnableDatabaseInsightRequest wrapper for the EnableDatabaseInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableDatabaseInsight.go.html to see an example of how to use EnableDatabaseInsightRequest.
type EnableDatabaseInsightRequest struct {
// Details for the database to be enabled in Operations Insights.
EnableDatabaseInsightDetails `contributesTo:"body"`
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 EnableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableDatabaseInsightRequest) String() string
func (request EnableDatabaseInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableDatabaseInsightResponse wrapper for the EnableDatabaseInsight operation
type EnableDatabaseInsightResponse 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 EnableDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableDatabaseInsightResponse) String() string
EnableEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
type EnableEmManagedExternalDatabaseInsightDetails struct {
}
func (m EnableEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableEmManagedExternalDatabaseInsightDetails) String() string
func (m EnableEmManagedExternalDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableEmManagedExternalExadataInsightDetails The information about the Exadata system to be analyzed.
type EnableEmManagedExternalExadataInsightDetails struct {
}
func (m EnableEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableEmManagedExternalExadataInsightDetails) String() string
func (m EnableEmManagedExternalExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableEmManagedExternalHostInsightDetails The information about the EM-managed external host to be analyzed.
type EnableEmManagedExternalHostInsightDetails struct {
}
func (m EnableEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableEmManagedExternalHostInsightDetails) String() string
func (m EnableEmManagedExternalHostInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableExadataInsightDetails The information about the Exadata system to be analyzed.
type EnableExadataInsightDetails interface {
}
EnableExadataInsightRequest wrapper for the EnableExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableExadataInsight.go.html to see an example of how to use EnableExadataInsightRequest.
type EnableExadataInsightRequest struct {
// Details for the Exadata system to be enabled in Operations Insights.
EnableExadataInsightDetails `contributesTo:"body"`
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 EnableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableExadataInsightRequest) String() string
func (request EnableExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableExadataInsightResponse wrapper for the EnableExadataInsight operation
type EnableExadataInsightResponse 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 EnableExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableExadataInsightResponse) String() string
EnableExternalMysqlDatabaseInsightDetails MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. The information about database to be analyzed.
type EnableExternalMysqlDatabaseInsightDetails struct {
// The DBM owned database connector OCID (https://docs.oracle.com/iaas/database-management/doc/view-connector-details.html) mapping to the database credentials and connection details.
DatabaseConnectorId *string `mandatory:"true" json:"databaseConnectorId"`
}
func (m EnableExternalMysqlDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableExternalMysqlDatabaseInsightDetails) String() string
func (m EnableExternalMysqlDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableHostInsightDetails The information about the host to be analyzed.
type EnableHostInsightDetails interface {
}
EnableHostInsightRequest wrapper for the EnableHostInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableHostInsight.go.html to see an example of how to use EnableHostInsightRequest.
type EnableHostInsightRequest struct {
// Details for the host to be enabled in Ops Insights.
EnableHostInsightDetails `contributesTo:"body"`
// Unique host insight identifier
HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 EnableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnableHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnableHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnableHostInsightRequest) String() string
func (request EnableHostInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableHostInsightResponse wrapper for the EnableHostInsight operation
type EnableHostInsightResponse 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 EnableHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnableHostInsightResponse) String() string
EnableMacsManagedAutonomousDatabaseInsightDetails The information about database to be analyzed.
type EnableMacsManagedAutonomousDatabaseInsightDetails struct {
// The compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"true" json:"connectionCredentialDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m EnableMacsManagedAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMacsManagedAutonomousDatabaseInsightDetails) String() string
func (m *EnableMacsManagedAutonomousDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m EnableMacsManagedAutonomousDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableMacsManagedCloudDatabaseInsightDetails The information about database to be analyzed.
type EnableMacsManagedCloudDatabaseInsightDetails struct {
// The compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the External Database.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"true" json:"connectionCredentialDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m EnableMacsManagedCloudDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMacsManagedCloudDatabaseInsightDetails) String() string
func (m *EnableMacsManagedCloudDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m EnableMacsManagedCloudDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableMacsManagedCloudExadataInsightDetails The information about the Exadata system to be analyzed. (ExaCC)
type EnableMacsManagedCloudExadataInsightDetails struct {
}
func (m EnableMacsManagedCloudExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMacsManagedCloudExadataInsightDetails) String() string
func (m EnableMacsManagedCloudExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableMacsManagedCloudHostInsightDetails The information about the MACS-managed external host to be analyzed.
type EnableMacsManagedCloudHostInsightDetails struct {
}
func (m EnableMacsManagedCloudHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMacsManagedCloudHostInsightDetails) String() string
func (m EnableMacsManagedCloudHostInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
type EnableMacsManagedExternalHostInsightDetails struct {
}
func (m EnableMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMacsManagedExternalHostInsightDetails) String() string
func (m EnableMacsManagedExternalHostInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnableMdsMySqlDatabaseInsightDetails MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. The information about database to be analyzed.
type EnableMdsMySqlDatabaseInsightDetails struct {
}
func (m EnableMdsMySqlDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnableMdsMySqlDatabaseInsightDetails) String() string
func (m EnableMdsMySqlDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnablePeComanagedDatabaseInsightDetails The information about database to be analyzed.
type EnablePeComanagedDatabaseInsightDetails struct {
// The compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
// Database service name used for connection requests.
ServiceName *string `mandatory:"true" json:"serviceName"`
CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}
func (m EnablePeComanagedDatabaseInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnablePeComanagedDatabaseInsightDetails) String() string
func (m *EnablePeComanagedDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m EnablePeComanagedDatabaseInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnablePeComanagedExadataInsightDetails The information about the Exadata system to be analyzed. (ExaCS)
type EnablePeComanagedExadataInsightDetails struct {
}
func (m EnablePeComanagedExadataInsightDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m EnablePeComanagedExadataInsightDetails) String() string
func (m EnablePeComanagedExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnablePlanExadataInsightDetails The information about the chargeback plan to be enabled.
type EnablePlanExadataInsightDetails struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI Chargeback plan resource.
PlanId *string `mandatory:"true" json:"planId"`
}
func (m EnablePlanExadataInsightDetails) String() string
func (m EnablePlanExadataInsightDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnablePlanExadataInsightRequest wrapper for the EnablePlanExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnablePlanExadataInsight.go.html to see an example of how to use EnablePlanExadataInsightRequest.
type EnablePlanExadataInsightRequest struct {
// Details for the Exadata system to be enabled in Operations Insights.
EnablePlanExadataInsightDetails `contributesTo:"body"`
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 EnablePlanExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request EnablePlanExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request EnablePlanExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request EnablePlanExadataInsightRequest) String() string
func (request EnablePlanExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnablePlanExadataInsightResponse wrapper for the EnablePlanExadataInsight operation
type EnablePlanExadataInsightResponse 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 EnablePlanExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response EnablePlanExadataInsightResponse) String() string
EnterpriseManagerBridge Enterprise Manager bridge resource.
type EnterpriseManagerBridge struct {
// Enterprise Manager bridge identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the Enterprise Manager bridge
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of Enterprise Manager Bridge that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Object Storage Namespace Name
ObjectStorageNamespaceName *string `mandatory:"true" json:"objectStorageNamespaceName"`
// Object Storage Bucket Name
ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current state of the Enterprise Manager bridge.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// Description of Enterprise Manager Bridge
Description *string `mandatory:"false" json:"description"`
// A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
ObjectStorageBucketStatusDetails *string `mandatory:"false" json:"objectStorageBucketStatusDetails"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}
func (m EnterpriseManagerBridge) String() string
func (m EnterpriseManagerBridge) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnterpriseManagerBridgeCollection Collection of Enterprose Manager bridge summary objects.
type EnterpriseManagerBridgeCollection struct {
// Array of Enterprose Manager bridge summary objects.
Items []EnterpriseManagerBridgeSummary `mandatory:"true" json:"items"`
}
func (m EnterpriseManagerBridgeCollection) String() string
func (m EnterpriseManagerBridgeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnterpriseManagerBridgeSummary Summary of a Enterprise Manager bridge resource.
type EnterpriseManagerBridgeSummary struct {
// Enterprise Manager bridge identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the Enterprise Manager bridge
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// User-friedly name of Enterprise Manager Bridge that does not have to be unique.
DisplayName *string `mandatory:"true" json:"displayName"`
// Object Storage Namespace Name
ObjectStorageNamespaceName *string `mandatory:"true" json:"objectStorageNamespaceName"`
// Object Storage Bucket Name
ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The current state of the Enterprise Manager bridge.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
ObjectStorageBucketStatusDetails *string `mandatory:"false" json:"objectStorageBucketStatusDetails"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}
func (m EnterpriseManagerBridgeSummary) String() string
func (m EnterpriseManagerBridgeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
EnterpriseManagerBridges Logical grouping used for Ops Insights Enterprise Manager Bridge operations.
type EnterpriseManagerBridges struct {
// Enterprise Manager Bridge Object.
EnterpriseManagerBridges *interface{} `mandatory:"false" json:"enterpriseManagerBridges"`
}
func (m EnterpriseManagerBridges) String() string
func (m EnterpriseManagerBridges) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataAsmEntity ASM entitie for an exadata
type ExadataAsmEntity struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// Instance name of ASM
InstanceName *string `mandatory:"false" json:"instanceName"`
// Cluster name of ASM
ClusterName *string `mandatory:"false" json:"clusterName"`
// Software version
SoftwareVersion *string `mandatory:"false" json:"softwareVersion"`
}
func (m ExadataAsmEntity) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m ExadataAsmEntity) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataAsmEntity) String() string
func (m ExadataAsmEntity) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataCellConfig Storage server configuration
type ExadataCellConfig struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// Cell name
CellName *string `mandatory:"false" json:"cellName"`
// Cell hash
CellHash *string `mandatory:"false" json:"cellHash"`
// Cell properties
CellProperties *string `mandatory:"false" json:"cellProperties"`
// Cell configs
CellConfigs *string `mandatory:"false" json:"cellConfigs"`
// Cell disk counts
DiskCounts *string `mandatory:"false" json:"diskCounts"`
}
func (m ExadataCellConfig) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m ExadataCellConfig) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataCellConfig) String() string
func (m ExadataCellConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataConfigurationCollection Collection of exadata insight configuration summary objects.
type ExadataConfigurationCollection struct {
// Array of exadata insight configurations summary objects.
Items []ExadataConfigurationSummary `mandatory:"true" json:"items"`
}
func (m ExadataConfigurationCollection) String() string
func (m *ExadataConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExadataConfigurationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataConfigurationSummary Summary of a exadata configuration for a resource.
type ExadataConfigurationSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
GetExadataInsightId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
GetExadataName() *string
// The user-friendly name for the Exadata system. The name does not have to be unique.
GetExadataDisplayName() *string
// Operations Insights internal representation of the the Exadata system type.
GetExadataType() ExadataTypeEnum
// Exadata rack type.
GetExadataRackType() ExadataRackTypeEnum
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// The shape of the Exadata Infrastructure.
GetExadataShape() *string
GetChargebackPlanDetails() *ChargebackPlanDetails
// Array of objects containing VM cluster information.
GetVmclusterDetails() []VmClusterSummary
}
ExadataDatabaseMachineConfigurationSummary Configuration summary of a database machine.
type ExadataDatabaseMachineConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The shape of the Exadata Infrastructure.
ExadataShape *string `mandatory:"true" json:"exadataShape"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"true" json:"chargebackPlanDetails"`
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// OPSI Enterprise Manager Bridge OCID
EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Enterprise Manager Console Url
EnterpriseManagerConsoleUrl *string `mandatory:"true" json:"enterpriseManagerConsoleUrl"`
// Enterprise Manager OMS Version
EnterpriseManagerOmsVer *string `mandatory:"true" json:"enterpriseManagerOmsVer"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Array of objects containing VM cluster information.
VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
ParentId *string `mandatory:"false" json:"parentId"`
// The region the resource resides in.
Region *string `mandatory:"false" json:"region"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
}
func (m ExadataDatabaseMachineConfigurationSummary) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m ExadataDatabaseMachineConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ExadataDatabaseMachineConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataInsightId() *string
GetExadataInsightId returns ExadataInsightId
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataShape() *string
GetExadataShape returns ExadataShape
func (m ExadataDatabaseMachineConfigurationSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m ExadataDatabaseMachineConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ExadataDatabaseMachineConfigurationSummary) GetVmclusterDetails() []VmClusterSummary
GetVmclusterDetails returns VmclusterDetails
func (m ExadataDatabaseMachineConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataDatabaseMachineConfigurationSummary) String() string
func (m ExadataDatabaseMachineConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataDatabaseStatisticsSummary Database details and statistics.
type ExadataDatabaseStatisticsSummary struct {
ResourceDetails *DatabaseDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
func (m ExadataDatabaseStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataDatabaseStatisticsSummary) String() string
func (m ExadataDatabaseStatisticsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataDetails Partial information about the exadata which includes id, name and vmclusterNames.
type ExadataDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
Id *string `mandatory:"true" json:"id"`
// Name of exadata insight resource.
Name *string `mandatory:"true" json:"name"`
// Array of vm cluster names. Applicable for ExaCC and ExaCS.
VmclusterNames []string `mandatory:"false" json:"vmclusterNames"`
}
func (m ExadataDetails) String() string
func (m ExadataDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataDiskgroupStatisticsSummary Diskgroup details and statistics.
type ExadataDiskgroupStatisticsSummary struct {
ResourceDetails *DiskGroupDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
func (m ExadataDiskgroupStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataDiskgroupStatisticsSummary) String() string
func (m ExadataDiskgroupStatisticsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataEntitySourceEnum Enum with underlying type: string
type ExadataEntitySourceEnum string
Set of constants representing the allowable values for ExadataEntitySourceEnum
const (
ExadataEntitySourceEmManagedExternalExadata ExadataEntitySourceEnum = "EM_MANAGED_EXTERNAL_EXADATA"
ExadataEntitySourcePeComanagedExadata ExadataEntitySourceEnum = "PE_COMANAGED_EXADATA"
ExadataEntitySourceMacsManagedCloudExadata ExadataEntitySourceEnum = "MACS_MANAGED_CLOUD_EXADATA"
)
func GetExadataEntitySourceEnumValues() []ExadataEntitySourceEnum
GetExadataEntitySourceEnumValues Enumerates the set of values for ExadataEntitySourceEnum
func GetMappingExadataEntitySourceEnum(val string) (ExadataEntitySourceEnum, bool)
GetMappingExadataEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataExaccConfigurationSummary Configuration summary of a macs managed Exacc exadata machine.
type ExadataExaccConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The shape of the Exadata Infrastructure.
ExadataShape *string `mandatory:"true" json:"exadataShape"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"true" json:"chargebackPlanDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
ParentId *string `mandatory:"true" json:"parentId"`
// Array of objects containing VM cluster information.
VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
}
func (m ExadataExaccConfigurationSummary) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m ExadataExaccConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ExadataExaccConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ExadataExaccConfigurationSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m ExadataExaccConfigurationSummary) GetExadataInsightId() *string
GetExadataInsightId returns ExadataInsightId
func (m ExadataExaccConfigurationSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (m ExadataExaccConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m ExadataExaccConfigurationSummary) GetExadataShape() *string
GetExadataShape returns ExadataShape
func (m ExadataExaccConfigurationSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m ExadataExaccConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ExadataExaccConfigurationSummary) GetVmclusterDetails() []VmClusterSummary
GetVmclusterDetails returns VmclusterDetails
func (m ExadataExaccConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataExaccConfigurationSummary) String() string
func (m ExadataExaccConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataExacsConfigurationSummary Configuration summary of a Exacs exadata machine.
type ExadataExacsConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The shape of the Exadata Infrastructure.
ExadataShape *string `mandatory:"true" json:"exadataShape"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"true" json:"chargebackPlanDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
ParentId *string `mandatory:"true" json:"parentId"`
// Array of objects containing VM cluster information.
VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
}
func (m ExadataExacsConfigurationSummary) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m ExadataExacsConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ExadataExacsConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ExadataExacsConfigurationSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m ExadataExacsConfigurationSummary) GetExadataInsightId() *string
GetExadataInsightId returns ExadataInsightId
func (m ExadataExacsConfigurationSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (m ExadataExacsConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m ExadataExacsConfigurationSummary) GetExadataShape() *string
GetExadataShape returns ExadataShape
func (m ExadataExacsConfigurationSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m ExadataExacsConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ExadataExacsConfigurationSummary) GetVmclusterDetails() []VmClusterSummary
GetVmclusterDetails returns VmclusterDetails
func (m ExadataExacsConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataExacsConfigurationSummary) String() string
func (m ExadataExacsConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataHostStatisticsSummary Host details and statistics.
type ExadataHostStatisticsSummary struct {
ResourceDetails *HostDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
func (m ExadataHostStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataHostStatisticsSummary) String() string
func (m ExadataHostStatisticsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsight Exadata insight resource.
type ExadataInsight interface {
// Exadata insight identifier
GetId() *string
// Compartment identifier of the Exadata insight resource
GetCompartmentId() *string
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
GetExadataName() *string
// Indicates the status of an Exadata insight in Operations Insights
GetStatus() ResourceStatusEnum
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The current state of the Exadata insight.
GetLifecycleState() ExadataInsightLifecycleStateEnum
// The user-friendly name for the Exadata system. The name does not have to be unique.
GetExadataDisplayName() *string
// Operations Insights internal representation of the the Exadata system type.
GetExadataType() ExadataTypeEnum
// Exadata rack type.
GetExadataRackType() ExadataRackTypeEnum
// true if virtualization is used in the Exadata system
GetIsVirtualizedExadata() *bool
GetChargebackPlanDetails() *ChargebackPlanDetails
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// The time the Exadata insight was updated. An RFC3339 formatted datetime string
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
// A message describing the status of the Exadata Resource. For example, it can be used to provide actionable information about the policies needed to access the Exadata Resource.
GetStatusDetails() *string
}
ExadataInsightLifecycleStateEnum Enum with underlying type: string
type ExadataInsightLifecycleStateEnum string
Set of constants representing the allowable values for ExadataInsightLifecycleStateEnum
const (
ExadataInsightLifecycleStateCreating ExadataInsightLifecycleStateEnum = "CREATING"
ExadataInsightLifecycleStateUpdating ExadataInsightLifecycleStateEnum = "UPDATING"
ExadataInsightLifecycleStateActive ExadataInsightLifecycleStateEnum = "ACTIVE"
ExadataInsightLifecycleStateDeleting ExadataInsightLifecycleStateEnum = "DELETING"
ExadataInsightLifecycleStateDeleted ExadataInsightLifecycleStateEnum = "DELETED"
ExadataInsightLifecycleStateFailed ExadataInsightLifecycleStateEnum = "FAILED"
ExadataInsightLifecycleStateNeedsAttention ExadataInsightLifecycleStateEnum = "NEEDS_ATTENTION"
)
func GetExadataInsightLifecycleStateEnumValues() []ExadataInsightLifecycleStateEnum
GetExadataInsightLifecycleStateEnumValues Enumerates the set of values for ExadataInsightLifecycleStateEnum
func GetMappingExadataInsightLifecycleStateEnum(val string) (ExadataInsightLifecycleStateEnum, bool)
GetMappingExadataInsightLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataInsightResourceCapacityTrendAggregation Resource Capacity samples
type ExadataInsightResourceCapacityTrendAggregation struct {
// The timestamp in which the current sampling period ends in RFC 3339 format.
EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
}
func (m ExadataInsightResourceCapacityTrendAggregation) String() string
func (m ExadataInsightResourceCapacityTrendAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightResourceCapacityTrendSummary List of resource id, name , capacity time series data
type ExadataInsightResourceCapacityTrendSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The name of the resource.
Name *string `mandatory:"true" json:"name"`
// Time series data for capacity
CapacityData []ExadataInsightResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
}
func (m ExadataInsightResourceCapacityTrendSummary) String() string
func (m ExadataInsightResourceCapacityTrendSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightResourceForecastTrendSummary List of resource id, name , capacity insight value, pattern, historical usage and projected data.
type ExadataInsightResourceForecastTrendSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The name of the resource.
Name *string `mandatory:"true" json:"name"`
// Days to reach capacity for a storage server
DaysToReachCapacity *int `mandatory:"true" json:"daysToReachCapacity"`
// Time series patterns used in the forecasting.
Pattern ExadataInsightResourceForecastTrendSummaryPatternEnum `mandatory:"true" json:"pattern"`
// Time series data used for the forecast analysis.
HistoricalData []HistoricalDataItem `mandatory:"true" json:"historicalData"`
// Time series data result of the forecasting analysis.
ProjectedData []ProjectedDataItem `mandatory:"true" json:"projectedData"`
// Auto-ML algorithm leveraged for the forecast. Only applicable for Auto-ML forecast.
SelectedForecastAlgorithm *string `mandatory:"false" json:"selectedForecastAlgorithm"`
}
func (m ExadataInsightResourceForecastTrendSummary) String() string
func (m ExadataInsightResourceForecastTrendSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightResourceForecastTrendSummaryPatternEnum Enum with underlying type: string
type ExadataInsightResourceForecastTrendSummaryPatternEnum string
Set of constants representing the allowable values for ExadataInsightResourceForecastTrendSummaryPatternEnum
const (
ExadataInsightResourceForecastTrendSummaryPatternLinear ExadataInsightResourceForecastTrendSummaryPatternEnum = "LINEAR"
ExadataInsightResourceForecastTrendSummaryPatternMonthlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "MONTHLY_SEASONS"
ExadataInsightResourceForecastTrendSummaryPatternMonthlyAndYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "MONTHLY_AND_YEARLY_SEASONS"
ExadataInsightResourceForecastTrendSummaryPatternWeeklySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_SEASONS"
ExadataInsightResourceForecastTrendSummaryPatternWeeklyAndMonthlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_AND_MONTHLY_SEASONS"
ExadataInsightResourceForecastTrendSummaryPatternWeeklyMonthlyAndYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_MONTHLY_AND_YEARLY_SEASONS"
ExadataInsightResourceForecastTrendSummaryPatternWeeklyAndYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "WEEKLY_AND_YEARLY_SEASONS"
ExadataInsightResourceForecastTrendSummaryPatternYearlySeasons ExadataInsightResourceForecastTrendSummaryPatternEnum = "YEARLY_SEASONS"
)
func GetExadataInsightResourceForecastTrendSummaryPatternEnumValues() []ExadataInsightResourceForecastTrendSummaryPatternEnum
GetExadataInsightResourceForecastTrendSummaryPatternEnumValues Enumerates the set of values for ExadataInsightResourceForecastTrendSummaryPatternEnum
func GetMappingExadataInsightResourceForecastTrendSummaryPatternEnum(val string) (ExadataInsightResourceForecastTrendSummaryPatternEnum, bool)
GetMappingExadataInsightResourceForecastTrendSummaryPatternEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataInsightResourceInsightUtilizationItem Object containing current utilization, projected utilization, id and daysToReach high and low utilization value.
type ExadataInsightResourceInsightUtilizationItem struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// Current utilization
CurrentUtilization *float64 `mandatory:"true" json:"currentUtilization"`
// Projected utilization
ProjectedUtilization *float64 `mandatory:"true" json:"projectedUtilization"`
// Days to reach projected high utilization
DaysToReachHighUtilization *int `mandatory:"true" json:"daysToReachHighUtilization"`
// Days to reach projected low utilization
DaysToReachLowUtilization *int `mandatory:"true" json:"daysToReachLowUtilization"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
}
func (m ExadataInsightResourceInsightUtilizationItem) String() string
func (m ExadataInsightResourceInsightUtilizationItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightResourceStatistics Contains resource statistics with usage unit
type ExadataInsightResourceStatistics struct {
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// Resource utilization in percentage
UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
// The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
// Array of instance metrics
InstanceMetrics []InstanceMetrics `mandatory:"false" json:"instanceMetrics"`
}
func (m ExadataInsightResourceStatistics) String() string
func (m ExadataInsightResourceStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightResourceStatisticsAggregation Contains resource details and current statistics
type ExadataInsightResourceStatisticsAggregation interface {
}
ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum Enum with underlying type: string
type ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum string
Set of constants representing the allowable values for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
const (
ExadataInsightResourceStatisticsAggregationExadataResourceTypeDatabase ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "DATABASE"
ExadataInsightResourceStatisticsAggregationExadataResourceTypeHost ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "HOST"
ExadataInsightResourceStatisticsAggregationExadataResourceTypeStorageServer ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "STORAGE_SERVER"
ExadataInsightResourceStatisticsAggregationExadataResourceTypeDiskgroup ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "DISKGROUP"
)
func GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues() []ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues Enumerates the set of values for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
func GetMappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum(val string) (ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum, bool)
GetMappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataInsightSummary Summary of an Exadata insight resource.
type ExadataInsightSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight resource.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
GetExadataName() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Indicates the status of an Exadata insight in Operations Insights
GetStatus() ResourceStatusEnum
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The current state of the Exadata insight.
GetLifecycleState() ExadataInsightLifecycleStateEnum
// The user-friendly name for the Exadata system. The name does not have to be unique.
GetExadataDisplayName() *string
// Operations Insights internal representation of the the Exadata system type.
GetExadataType() ExadataTypeEnum
// Operations Insights internal representation of the the Exadata system rack type.
GetExadataRackType() ExadataRackTypeEnum
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
GetChargebackPlanDetails() *ChargebackPlanDetails
// The time the Exadata insight was updated. An RFC3339 formatted datetime string
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
// A message describing the status of the Exadata Resource. For example, it can be used to provide actionable information about the policies needed to access the Exadata Resource.
GetStatusDetails() *string
}
ExadataInsightSummaryCollection Collection of Exadata insight summary objects.
type ExadataInsightSummaryCollection struct {
// Array of Exadata insight summary objects.
Items []ExadataInsightSummary `mandatory:"true" json:"items"`
}
func (m ExadataInsightSummaryCollection) String() string
func (m *ExadataInsightSummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ExadataInsightSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsights Logical grouping used for Operations Insights Exadata related operations.
type ExadataInsights struct {
// Exadata Insights Object.
ExadataInsights *interface{} `mandatory:"false" json:"exadataInsights"`
}
func (m ExadataInsights) String() string
func (m ExadataInsights) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightsDataObject Exadata insights data object.
type ExadataInsightsDataObject struct {
// Unique identifier of OPSI data object.
Identifier *string `mandatory:"true" json:"identifier"`
// User-friendly name of OPSI data object.
DisplayName *string `mandatory:"true" json:"displayName"`
// Metadata of columns in a data object.
ColumnsMetadata []DataObjectColumnMetadata `mandatory:"true" json:"columnsMetadata"`
// Description of OPSI data object.
Description *string `mandatory:"false" json:"description"`
// Name of the data object, which can be used in data object queries just like how view names are used in a query.
Name *string `mandatory:"false" json:"name"`
// Names of all the groups to which the data object belongs to.
GroupNames []string `mandatory:"false" json:"groupNames"`
// Time period supported by the data object for quering data.
// Time period is in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D.
// Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
SupportedQueryTimePeriod *string `mandatory:"false" json:"supportedQueryTimePeriod"`
// Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed.
SupportedQueryParams []OpsiDataObjectSupportedQueryParam `mandatory:"false" json:"supportedQueryParams"`
}
func (m ExadataInsightsDataObject) GetColumnsMetadata() []DataObjectColumnMetadata
GetColumnsMetadata returns ColumnsMetadata
func (m ExadataInsightsDataObject) GetDescription() *string
GetDescription returns Description
func (m ExadataInsightsDataObject) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ExadataInsightsDataObject) GetGroupNames() []string
GetGroupNames returns GroupNames
func (m ExadataInsightsDataObject) GetIdentifier() *string
GetIdentifier returns Identifier
func (m ExadataInsightsDataObject) GetName() *string
GetName returns Name
func (m ExadataInsightsDataObject) GetSupportedQueryParams() []OpsiDataObjectSupportedQueryParam
GetSupportedQueryParams returns SupportedQueryParams
func (m ExadataInsightsDataObject) GetSupportedQueryTimePeriod() *string
GetSupportedQueryTimePeriod returns SupportedQueryTimePeriod
func (m ExadataInsightsDataObject) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataInsightsDataObject) String() string
func (m ExadataInsightsDataObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataInsightsDataObjectSummary Summary of an exadata insights data object.
type ExadataInsightsDataObjectSummary struct {
// Unique identifier of OPSI data object.
Identifier *string `mandatory:"true" json:"identifier"`
// User-friendly name of OPSI data object.
DisplayName *string `mandatory:"true" json:"displayName"`
// Description of OPSI data object.
Description *string `mandatory:"false" json:"description"`
// Name of the data object, which can be used in data object queries just like how view names are used in a query.
Name *string `mandatory:"false" json:"name"`
// Names of all the groups to which the data object belongs to.
GroupNames []string `mandatory:"false" json:"groupNames"`
}
func (m ExadataInsightsDataObjectSummary) GetDescription() *string
GetDescription returns Description
func (m ExadataInsightsDataObjectSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ExadataInsightsDataObjectSummary) GetGroupNames() []string
GetGroupNames returns GroupNames
func (m ExadataInsightsDataObjectSummary) GetIdentifier() *string
GetIdentifier returns Identifier
func (m ExadataInsightsDataObjectSummary) GetName() *string
GetName returns Name
func (m ExadataInsightsDataObjectSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataInsightsDataObjectSummary) String() string
func (m ExadataInsightsDataObjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataMemberCollection Partial definition of the exadata insight resource.
type ExadataMemberCollection struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
// Collection of Exadata members
Items []ExadataMemberSummary `mandatory:"true" json:"items"`
}
func (m ExadataMemberCollection) String() string
func (m ExadataMemberCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataMemberSummary Lists name, display name and type of exadata member.
type ExadataMemberSummary struct {
// Name of exadata member target
Name *string `mandatory:"true" json:"name"`
// Display Name of exadata member target
DisplayName *string `mandatory:"true" json:"displayName"`
// Entity type of exadata member target
EntityType ExadataMemberSummaryEntityTypeEnum `mandatory:"true" json:"entityType"`
}
func (m ExadataMemberSummary) String() string
func (m ExadataMemberSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataMemberSummaryEntityTypeEnum Enum with underlying type: string
type ExadataMemberSummaryEntityTypeEnum string
Set of constants representing the allowable values for ExadataMemberSummaryEntityTypeEnum
const (
ExadataMemberSummaryEntityTypeDatabase ExadataMemberSummaryEntityTypeEnum = "DATABASE"
ExadataMemberSummaryEntityTypeIlomServer ExadataMemberSummaryEntityTypeEnum = "ILOM_SERVER"
ExadataMemberSummaryEntityTypePdu ExadataMemberSummaryEntityTypeEnum = "PDU"
ExadataMemberSummaryEntityTypeStorageServer ExadataMemberSummaryEntityTypeEnum = "STORAGE_SERVER"
ExadataMemberSummaryEntityTypeClusterAsm ExadataMemberSummaryEntityTypeEnum = "CLUSTER_ASM"
ExadataMemberSummaryEntityTypeInfinibandSwitch ExadataMemberSummaryEntityTypeEnum = "INFINIBAND_SWITCH"
ExadataMemberSummaryEntityTypeEthernetSwitch ExadataMemberSummaryEntityTypeEnum = "ETHERNET_SWITCH"
ExadataMemberSummaryEntityTypeHost ExadataMemberSummaryEntityTypeEnum = "HOST"
ExadataMemberSummaryEntityTypeVmCluster ExadataMemberSummaryEntityTypeEnum = "VM_CLUSTER"
)
func GetExadataMemberSummaryEntityTypeEnumValues() []ExadataMemberSummaryEntityTypeEnum
GetExadataMemberSummaryEntityTypeEnumValues Enumerates the set of values for ExadataMemberSummaryEntityTypeEnum
func GetMappingExadataMemberSummaryEntityTypeEnum(val string) (ExadataMemberSummaryEntityTypeEnum, bool)
GetMappingExadataMemberSummaryEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataRackTypeEnum Enum with underlying type: string
type ExadataRackTypeEnum string
Set of constants representing the allowable values for ExadataRackTypeEnum
const (
ExadataRackTypeFull ExadataRackTypeEnum = "FULL"
ExadataRackTypeHalf ExadataRackTypeEnum = "HALF"
ExadataRackTypeQuarter ExadataRackTypeEnum = "QUARTER"
ExadataRackTypeEighth ExadataRackTypeEnum = "EIGHTH"
ExadataRackTypeFlex ExadataRackTypeEnum = "FLEX"
ExadataRackTypeBase ExadataRackTypeEnum = "BASE"
ExadataRackTypeElastic ExadataRackTypeEnum = "ELASTIC"
ExadataRackTypeElasticBase ExadataRackTypeEnum = "ELASTIC_BASE"
ExadataRackTypeElasticLarge ExadataRackTypeEnum = "ELASTIC_LARGE"
ExadataRackTypeElasticExtraLarge ExadataRackTypeEnum = "ELASTIC_EXTRA_LARGE"
)
func GetExadataRackTypeEnumValues() []ExadataRackTypeEnum
GetExadataRackTypeEnumValues Enumerates the set of values for ExadataRackTypeEnum
func GetMappingExadataRackTypeEnum(val string) (ExadataRackTypeEnum, bool)
GetMappingExadataRackTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataResourceTypeEnum Enum with underlying type: string
type ExadataResourceTypeEnum string
Set of constants representing the allowable values for ExadataResourceTypeEnum
const (
ExadataResourceTypeCloudExadataInfrastructure ExadataResourceTypeEnum = "cloudExadataInfrastructure"
ExadataResourceTypeExadataInfrastructure ExadataResourceTypeEnum = "exadataInfrastructure"
)
func GetExadataResourceTypeEnumValues() []ExadataResourceTypeEnum
GetExadataResourceTypeEnumValues Enumerates the set of values for ExadataResourceTypeEnum
func GetMappingExadataResourceTypeEnum(val string) (ExadataResourceTypeEnum, bool)
GetMappingExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataStorageServerStatisticsSummary Storage server details and statistics.
type ExadataStorageServerStatisticsSummary struct {
ResourceDetails *StorageServerDetails `mandatory:"true" json:"resourceDetails"`
CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
func (m ExadataStorageServerStatisticsSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExadataStorageServerStatisticsSummary) String() string
func (m ExadataStorageServerStatisticsSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExadataTypeEnum Enum with underlying type: string
type ExadataTypeEnum string
Set of constants representing the allowable values for ExadataTypeEnum
const (
ExadataTypeDbmachine ExadataTypeEnum = "DBMACHINE"
ExadataTypeExacs ExadataTypeEnum = "EXACS"
ExadataTypeExacc ExadataTypeEnum = "EXACC"
)
func GetExadataTypeEnumValues() []ExadataTypeEnum
GetExadataTypeEnumValues Enumerates the set of values for ExadataTypeEnum
func GetMappingExadataTypeEnum(val string) (ExadataTypeEnum, bool)
GetMappingExadataTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExadataVmClusterTypeEnum Enum with underlying type: string
type ExadataVmClusterTypeEnum string
Set of constants representing the allowable values for ExadataVmClusterTypeEnum
const (
ExadataVmClusterTypeVmCluster ExadataVmClusterTypeEnum = "vmCluster"
ExadataVmClusterTypeAutonomousVmCluster ExadataVmClusterTypeEnum = "autonomousVmCluster"
)
func GetExadataVmClusterTypeEnumValues() []ExadataVmClusterTypeEnum
GetExadataVmClusterTypeEnumValues Enumerates the set of values for ExadataVmClusterTypeEnum
func GetMappingExadataVmClusterTypeEnum(val string) (ExadataVmClusterTypeEnum, bool)
GetMappingExadataVmClusterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ExternalMysqlDatabaseConfigurationSummary Configuration Summary of a External MySQL database.
type ExternalMysqlDatabaseConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"true" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"true" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
AgentId *string `mandatory:"true" json:"agentId"`
// The DBM owned database connector OCID (https://docs.oracle.com/iaas/database-management/doc/view-connector-details.html) mapping to the database credentials and connection details.
DatabaseConnectorId *string `mandatory:"true" json:"databaseConnectorId"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
}
func (m ExternalMysqlDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (m ExternalMysqlDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ExternalMysqlDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m ExternalMysqlDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m ExternalMysqlDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m ExternalMysqlDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m ExternalMysqlDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m ExternalMysqlDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ExternalMysqlDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ExternalMysqlDatabaseConfigurationSummary) GetIsAdvancedFeaturesEnabled() *bool
GetIsAdvancedFeaturesEnabled returns IsAdvancedFeaturesEnabled
func (m ExternalMysqlDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m ExternalMysqlDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExternalMysqlDatabaseConfigurationSummary) String() string
func (m ExternalMysqlDatabaseConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalMysqlDatabaseInsight MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. Database insight resource.
type ExternalMysqlDatabaseInsight struct {
// Database insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Name of database
DatabaseName *string `mandatory:"true" json:"databaseName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// Display name of database
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m ExternalMysqlDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ExternalMysqlDatabaseInsight) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m ExternalMysqlDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m ExternalMysqlDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m ExternalMysqlDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ExternalMysqlDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ExternalMysqlDatabaseInsight) GetId() *string
GetId returns Id
func (m ExternalMysqlDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ExternalMysqlDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ExternalMysqlDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m ExternalMysqlDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m ExternalMysqlDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ExternalMysqlDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ExternalMysqlDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ExternalMysqlDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExternalMysqlDatabaseInsight) String() string
func (m ExternalMysqlDatabaseInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalMysqlDatabaseInsightSummary MySQL support within the OCI Ops Insights service has been deprecated as of January 29, 2026. Summary of a database insight resource.
type ExternalMysqlDatabaseInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
AgentId *string `mandatory:"true" json:"agentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"false" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// The hostnames for the database.
DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
// The DBM owned database connector OCID (https://docs.oracle.com/iaas/database-management/doc/view-connector-details.html) mapping to the database credentials and connection details.
DatabaseConnectorId *string `mandatory:"false" json:"databaseConnectorId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m ExternalMysqlDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m ExternalMysqlDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m ExternalMysqlDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ExternalMysqlDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ExternalMysqlDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m ExternalMysqlDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ExternalMysqlDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ExternalMysqlDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m ExternalMysqlDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m ExternalMysqlDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ExternalMysqlDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ExternalMysqlDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ExternalMysqlDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ExternalMysqlDatabaseInsightSummary) String() string
func (m ExternalMysqlDatabaseInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrDatabaseReportReportFormatEnum Enum with underlying type: string
type GetAwrDatabaseReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrDatabaseReportReportFormatEnum
const (
GetAwrDatabaseReportReportFormatHtml GetAwrDatabaseReportReportFormatEnum = "HTML"
GetAwrDatabaseReportReportFormatText GetAwrDatabaseReportReportFormatEnum = "TEXT"
)
func GetGetAwrDatabaseReportReportFormatEnumValues() []GetAwrDatabaseReportReportFormatEnum
GetGetAwrDatabaseReportReportFormatEnumValues Enumerates the set of values for GetAwrDatabaseReportReportFormatEnum
func GetMappingGetAwrDatabaseReportReportFormatEnum(val string) (GetAwrDatabaseReportReportFormatEnum, bool)
GetMappingGetAwrDatabaseReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrDatabaseReportReportTypeEnum Enum with underlying type: string
type GetAwrDatabaseReportReportTypeEnum string
Set of constants representing the allowable values for GetAwrDatabaseReportReportTypeEnum
const (
GetAwrDatabaseReportReportTypeAwr GetAwrDatabaseReportReportTypeEnum = "AWR"
GetAwrDatabaseReportReportTypeAsh GetAwrDatabaseReportReportTypeEnum = "ASH"
)
func GetGetAwrDatabaseReportReportTypeEnumValues() []GetAwrDatabaseReportReportTypeEnum
GetGetAwrDatabaseReportReportTypeEnumValues Enumerates the set of values for GetAwrDatabaseReportReportTypeEnum
func GetMappingGetAwrDatabaseReportReportTypeEnum(val string) (GetAwrDatabaseReportReportTypeEnum, bool)
GetMappingGetAwrDatabaseReportReportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrDatabaseReportRequest wrapper for the GetAwrDatabaseReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrDatabaseReport.go.html to see an example of how to use GetAwrDatabaseReportRequest.
type GetAwrDatabaseReportRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// The internal ID of the database. The internal ID of the database is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabases
AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
// The optional single value query parameter to filter by database instance number.
InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
// The optional greater than or equal to filter on the snapshot ID.
BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the snapshot Identifier.
EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
// The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
// The query parameter to filter the AWR report types.
ReportType GetAwrDatabaseReportReportTypeEnum `mandatory:"false" contributesTo:"query" name:"reportType" omitEmpty:"true"`
// The format of the AWR report.
ReportFormat GetAwrDatabaseReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetAwrDatabaseReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrDatabaseReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrDatabaseReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrDatabaseReportRequest) String() string
func (request GetAwrDatabaseReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrDatabaseReportResponse wrapper for the GetAwrDatabaseReport operation
type GetAwrDatabaseReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrDatabaseReport instance
AwrDatabaseReport `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 GetAwrDatabaseReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrDatabaseReportResponse) String() string
GetAwrDatabaseSqlReportReportFormatEnum Enum with underlying type: string
type GetAwrDatabaseSqlReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrDatabaseSqlReportReportFormatEnum
const (
GetAwrDatabaseSqlReportReportFormatHtml GetAwrDatabaseSqlReportReportFormatEnum = "HTML"
GetAwrDatabaseSqlReportReportFormatText GetAwrDatabaseSqlReportReportFormatEnum = "TEXT"
)
func GetGetAwrDatabaseSqlReportReportFormatEnumValues() []GetAwrDatabaseSqlReportReportFormatEnum
GetGetAwrDatabaseSqlReportReportFormatEnumValues Enumerates the set of values for GetAwrDatabaseSqlReportReportFormatEnum
func GetMappingGetAwrDatabaseSqlReportReportFormatEnum(val string) (GetAwrDatabaseSqlReportReportFormatEnum, bool)
GetMappingGetAwrDatabaseSqlReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrDatabaseSqlReportRequest wrapper for the GetAwrDatabaseSqlReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrDatabaseSqlReport.go.html to see an example of how to use GetAwrDatabaseSqlReportRequest.
type GetAwrDatabaseSqlReportRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// The internal ID of the database. The internal ID of the database is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabases
AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
// 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 (/awrHubs/{awrHubId}/awrDbReport).
SqlId *string `mandatory:"true" contributesTo:"query" name:"sqlId"`
// The optional single value query parameter to filter by database instance number.
InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
// The optional greater than or equal to filter on the snapshot ID.
BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the snapshot Identifier.
EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
// The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
// The format of the AWR report.
ReportFormat GetAwrDatabaseSqlReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetAwrDatabaseSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrDatabaseSqlReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrDatabaseSqlReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrDatabaseSqlReportRequest) String() string
func (request GetAwrDatabaseSqlReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrDatabaseSqlReportResponse wrapper for the GetAwrDatabaseSqlReport operation
type GetAwrDatabaseSqlReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrDatabaseSqlReport instance
AwrDatabaseSqlReport `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 GetAwrDatabaseSqlReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrDatabaseSqlReportResponse) String() string
GetAwrHubObjectArchivalStateEnum Enum with underlying type: string
type GetAwrHubObjectArchivalStateEnum string
Set of constants representing the allowable values for GetAwrHubObjectArchivalStateEnum
const (
GetAwrHubObjectArchivalStateArchived GetAwrHubObjectArchivalStateEnum = "ARCHIVED"
GetAwrHubObjectArchivalStateRestoring GetAwrHubObjectArchivalStateEnum = "RESTORING"
GetAwrHubObjectArchivalStateRestored GetAwrHubObjectArchivalStateEnum = "RESTORED"
)
func GetGetAwrHubObjectArchivalStateEnumValues() []GetAwrHubObjectArchivalStateEnum
GetGetAwrHubObjectArchivalStateEnumValues Enumerates the set of values for GetAwrHubObjectArchivalStateEnum
func GetMappingGetAwrHubObjectArchivalStateEnum(val string) (GetAwrHubObjectArchivalStateEnum, bool)
GetMappingGetAwrHubObjectArchivalStateEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrHubObjectRequest wrapper for the GetAwrHubObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrHubObject.go.html to see an example of how to use GetAwrHubObjectRequest.
type GetAwrHubObjectRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Unique Awr Hub Object identifier
ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetAwrHubObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrHubObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrHubObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrHubObjectRequest) String() string
func (request GetAwrHubObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrHubObjectResponse wrapper for the GetAwrHubObject operation
type GetAwrHubObjectResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
OpcClientRequestId *string `presentIn:"header" name:"opc-client-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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// The user-defined metadata for the Awr Hub object.
OpcMeta map[string]string `presentIn:"header-collection" prefix:"opc-meta-"`
// The Awr Hub object size in bytes.
ContentLength *int64 `presentIn:"header" name:"content-length"`
// Content-Range header.
ContentRange *string `presentIn:"header" name:"content-range"`
// Content-MD5 header.
ContentMd5 *string `presentIn:"header" name:"content-md5"`
OpcMultipartMd5 *string `presentIn:"header" name:"opc-multipart-md5"`
// Content-Type header.
ContentType *string `presentIn:"header" name:"content-type"`
// Content-Language header.
ContentLanguage *string `presentIn:"header" name:"content-language"`
// Content-Encoding header.
ContentEncoding *string `presentIn:"header" name:"content-encoding"`
// Cache-Control header.
CacheControl *string `presentIn:"header" name:"cache-control"`
// Content-Disposition header.
ContentDisposition *string `presentIn:"header" name:"content-disposition"`
// The Awr Hub object modification time.
LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
// The storage tier that the Awr Hub object is stored in.
StorageTier GetAwrHubObjectStorageTierEnum `presentIn:"header" name:"storage-tier"`
// Archival state of an Awr Hub object. This field is set only for Awr Hub objects in Archive tier.
ArchivalState GetAwrHubObjectArchivalStateEnum `presentIn:"header" name:"archival-state"`
// Time that the Awr Hub object is returned to the archived state.
TimeOfArchival *common.SDKTime `presentIn:"header" name:"time-of-archival"`
// VersionId of the requested Awr Hub object.
VersionId *string `presentIn:"header" name:"version-id"`
// The date and time after which the Awr Hub object is no longer cached by a browser, proxy, or other caching entity.
Expires *common.SDKTime `presentIn:"header" name:"expires"`
// Flag to indicate whether or not the object was modified. If this is true,
// the getter for the object itself will return null. Callers should check this
// if they specified one of the request params that might result in a conditional
// response (like 'if-match'/'if-none-match').
IsNotModified bool
}
func (response GetAwrHubObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrHubObjectResponse) String() string
GetAwrHubObjectStorageTierEnum Enum with underlying type: string
type GetAwrHubObjectStorageTierEnum string
Set of constants representing the allowable values for GetAwrHubObjectStorageTierEnum
const (
GetAwrHubObjectStorageTierStandard GetAwrHubObjectStorageTierEnum = "STANDARD"
GetAwrHubObjectStorageTierInfrequentaccess GetAwrHubObjectStorageTierEnum = "INFREQUENTACCESS"
GetAwrHubObjectStorageTierArchive GetAwrHubObjectStorageTierEnum = "ARCHIVE"
)
func GetGetAwrHubObjectStorageTierEnumValues() []GetAwrHubObjectStorageTierEnum
GetGetAwrHubObjectStorageTierEnumValues Enumerates the set of values for GetAwrHubObjectStorageTierEnum
func GetMappingGetAwrHubObjectStorageTierEnum(val string) (GetAwrHubObjectStorageTierEnum, bool)
GetMappingGetAwrHubObjectStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrHubRequest wrapper for the GetAwrHub operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrHub.go.html to see an example of how to use GetAwrHubRequest.
type GetAwrHubRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrHubRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrHubRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrHubRequest) String() string
func (request GetAwrHubRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrHubResponse wrapper for the GetAwrHub operation
type GetAwrHubResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrHub instance
AwrHub `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 GetAwrHubResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrHubResponse) String() string
GetAwrHubSourceRequest wrapper for the GetAwrHubSource operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrHubSource.go.html to see an example of how to use GetAwrHubSourceRequest.
type GetAwrHubSourceRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetAwrHubSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrHubSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrHubSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrHubSourceRequest) String() string
func (request GetAwrHubSourceRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrHubSourceResponse wrapper for the GetAwrHubSource operation
type GetAwrHubSourceResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrHubSource instance
AwrHubSource `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 GetAwrHubSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrHubSourceResponse) String() string
GetAwrReportReportFormatEnum Enum with underlying type: string
type GetAwrReportReportFormatEnum string
Set of constants representing the allowable values for GetAwrReportReportFormatEnum
const (
GetAwrReportReportFormatHtml GetAwrReportReportFormatEnum = "HTML"
GetAwrReportReportFormatText GetAwrReportReportFormatEnum = "TEXT"
)
func GetGetAwrReportReportFormatEnumValues() []GetAwrReportReportFormatEnum
GetGetAwrReportReportFormatEnumValues Enumerates the set of values for GetAwrReportReportFormatEnum
func GetMappingGetAwrReportReportFormatEnum(val string) (GetAwrReportReportFormatEnum, bool)
GetMappingGetAwrReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
GetAwrReportRequest wrapper for the GetAwrReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrReport.go.html to see an example of how to use GetAwrReportRequest.
type GetAwrReportRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// AWR source database identifier.
AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
// The format of the AWR report. Default report format is HTML.
ReportFormat GetAwrReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"`
// The optional single value query parameter to filter by database instance number.
InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
// The optional greater than or equal to filter on the snapshot ID.
BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the snapshot Identifier.
EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
// The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetAwrReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAwrReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAwrReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAwrReportRequest) String() string
func (request GetAwrReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAwrReportResponse wrapper for the GetAwrReport operation
type GetAwrReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The AwrReport instance
AwrReport `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 GetAwrReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAwrReportResponse) String() string
GetChargebackPlanReportContentRequest wrapper for the GetChargebackPlanReportContent operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetChargebackPlanReportContent.go.html to see an example of how to use GetChargebackPlanReportContentRequest.
type GetChargebackPlanReportContentRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan report
ChargebackPlanReportId *string `mandatory:"true" contributesTo:"path" name:"chargebackPlanReportId"`
// Unique Ops insight identifier
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Filter by resource type.
// Supported values are EXADATA_INSIGHT , HOST_INSIGHT, DATABASE_INSIGHT.
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Analysis start time in UTC in ISO 8601 format(inclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// The minimum allowed value is 2 years prior to the current day.
// timeIntervalStart and timeIntervalEnd parameters are used together.
// If analysisTimeInterval is specified, this parameter is ignored.
TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
// Analysis end time in UTC in ISO 8601 format(exclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// timeIntervalStart and timeIntervalEnd are used together.
// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
// Specify relative time period with respect to current time.
// If relativeTimeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
// Examples P1M (previous month), P1Q (previous quarter) and P1Y (previous year).
RelativeTimeInterval *string `mandatory:"false" contributesTo:"query" name:"relativeTimeInterval"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetChargebackPlanReportContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetChargebackPlanReportContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetChargebackPlanReportContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetChargebackPlanReportContentRequest) String() string
func (request GetChargebackPlanReportContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetChargebackPlanReportContentResponse wrapper for the GetChargebackPlanReportContent operation
type GetChargebackPlanReportContentResponse struct {
// The underlying http response
RawResponse *http.Response
// The io.ReadCloser instance
Content io.ReadCloser `presentIn:"body" encoding:"binary"`
// 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 GetChargebackPlanReportContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetChargebackPlanReportContentResponse) String() string
GetChargebackPlanReportRequest wrapper for the GetChargebackPlanReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetChargebackPlanReport.go.html to see an example of how to use GetChargebackPlanReportRequest.
type GetChargebackPlanReportRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan report
ChargebackPlanReportId *string `mandatory:"true" contributesTo:"path" name:"chargebackPlanReportId"`
// Unique Ops insight identifier
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Filter by resource type.
// Supported values are EXADATA_INSIGHT , HOST_INSIGHT, DATABASE_INSIGHT.
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetChargebackPlanReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetChargebackPlanReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetChargebackPlanReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetChargebackPlanReportRequest) String() string
func (request GetChargebackPlanReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetChargebackPlanReportResponse wrapper for the GetChargebackPlanReport operation
type GetChargebackPlanReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The ChargebackPlanReport instance
ChargebackPlanReport `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 GetChargebackPlanReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetChargebackPlanReportResponse) String() string
GetChargebackPlanRequest wrapper for the GetChargebackPlan operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetChargebackPlan.go.html to see an example of how to use GetChargebackPlanRequest.
type GetChargebackPlanRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan.
ChargebackplanId *string `mandatory:"true" contributesTo:"path" name:"chargebackplanId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetChargebackPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetChargebackPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetChargebackPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetChargebackPlanRequest) String() string
func (request GetChargebackPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetChargebackPlanResponse wrapper for the GetChargebackPlan operation
type GetChargebackPlanResponse struct {
// The underlying http response
RawResponse *http.Response
// The ChargebackPlan instance
ChargebackPlan `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 GetChargebackPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetChargebackPlanResponse) String() string
GetDatabaseInsightRequest wrapper for the GetDatabaseInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetDatabaseInsight.go.html to see an example of how to use GetDatabaseInsightRequest.
type GetDatabaseInsightRequest struct {
// Unique database insight identifier
DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDatabaseInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDatabaseInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDatabaseInsightRequest) String() string
func (request GetDatabaseInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDatabaseInsightResponse wrapper for the GetDatabaseInsight operation
type GetDatabaseInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The DatabaseInsight instance
DatabaseInsight `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 GetDatabaseInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDatabaseInsightResponse) String() string
GetEnterpriseManagerBridgeRequest wrapper for the GetEnterpriseManagerBridge operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetEnterpriseManagerBridge.go.html to see an example of how to use GetEnterpriseManagerBridgeRequest.
type GetEnterpriseManagerBridgeRequest struct {
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetEnterpriseManagerBridgeRequest) String() string
func (request GetEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetEnterpriseManagerBridgeResponse wrapper for the GetEnterpriseManagerBridge operation
type GetEnterpriseManagerBridgeResponse struct {
// The underlying http response
RawResponse *http.Response
// The EnterpriseManagerBridge instance
EnterpriseManagerBridge `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 GetEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetEnterpriseManagerBridgeResponse) String() string
GetExadataInsightRequest wrapper for the GetExadataInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetExadataInsight.go.html to see an example of how to use GetExadataInsightRequest.
type GetExadataInsightRequest struct {
// Unique Exadata insight identifier
ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetExadataInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetExadataInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetExadataInsightRequest) String() string
func (request GetExadataInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetExadataInsightResponse wrapper for the GetExadataInsight operation
type GetExadataInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The ExadataInsight instance
ExadataInsight `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 GetExadataInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetExadataInsightResponse) String() string
GetHostInsightRequest wrapper for the GetHostInsight operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetHostInsight.go.html to see an example of how to use GetHostInsightRequest.
type GetHostInsightRequest struct {
// Unique host insight identifier
HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostInsightRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostInsightRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostInsightRequest) String() string
func (request GetHostInsightRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostInsightResponse wrapper for the GetHostInsight operation
type GetHostInsightResponse struct {
// The underlying http response
RawResponse *http.Response
// The HostInsight instance
HostInsight `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 GetHostInsightResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostInsightResponse) String() string
GetNewsReportRequest wrapper for the GetNewsReport operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetNewsReport.go.html to see an example of how to use GetNewsReportRequest.
type GetNewsReportRequest struct {
// Unique news report identifier.
NewsReportId *string `mandatory:"true" contributesTo:"path" name:"newsReportId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetNewsReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetNewsReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetNewsReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetNewsReportRequest) String() string
func (request GetNewsReportRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetNewsReportResponse wrapper for the GetNewsReport operation
type GetNewsReportResponse struct {
// The underlying http response
RawResponse *http.Response
// The NewsReport instance
NewsReport `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 GetNewsReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetNewsReportResponse) String() string
GetOperationsInsightsPrivateEndpointRequest wrapper for the GetOperationsInsightsPrivateEndpoint operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOperationsInsightsPrivateEndpoint.go.html to see an example of how to use GetOperationsInsightsPrivateEndpointRequest.
type GetOperationsInsightsPrivateEndpointRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOperationsInsightsPrivateEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOperationsInsightsPrivateEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOperationsInsightsPrivateEndpointRequest) String() string
func (request GetOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetOperationsInsightsPrivateEndpointResponse wrapper for the GetOperationsInsightsPrivateEndpoint operation
type GetOperationsInsightsPrivateEndpointResponse struct {
// The underlying http response
RawResponse *http.Response
// The OperationsInsightsPrivateEndpoint instance
OperationsInsightsPrivateEndpoint `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 GetOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOperationsInsightsPrivateEndpointResponse) String() string
GetOperationsInsightsWarehouseRequest wrapper for the GetOperationsInsightsWarehouse operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOperationsInsightsWarehouse.go.html to see an example of how to use GetOperationsInsightsWarehouseRequest.
type GetOperationsInsightsWarehouseRequest struct {
// Unique Ops Insights Warehouse identifier
OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOperationsInsightsWarehouseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOperationsInsightsWarehouseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOperationsInsightsWarehouseRequest) String() string
func (request GetOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetOperationsInsightsWarehouseResponse wrapper for the GetOperationsInsightsWarehouse operation
type GetOperationsInsightsWarehouseResponse struct {
// The underlying http response
RawResponse *http.Response
// The OperationsInsightsWarehouse instance
OperationsInsightsWarehouse `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 GetOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOperationsInsightsWarehouseResponse) String() string
GetOperationsInsightsWarehouseUserRequest wrapper for the GetOperationsInsightsWarehouseUser operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOperationsInsightsWarehouseUser.go.html to see an example of how to use GetOperationsInsightsWarehouseUserRequest.
type GetOperationsInsightsWarehouseUserRequest struct {
// Unique Operations Insights Warehouse User identifier
OperationsInsightsWarehouseUserId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseUserId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOperationsInsightsWarehouseUserRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOperationsInsightsWarehouseUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOperationsInsightsWarehouseUserRequest) String() string
func (request GetOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetOperationsInsightsWarehouseUserResponse wrapper for the GetOperationsInsightsWarehouseUser operation
type GetOperationsInsightsWarehouseUserResponse struct {
// The underlying http response
RawResponse *http.Response
// The OperationsInsightsWarehouseUser instance
OperationsInsightsWarehouseUser `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 GetOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOperationsInsightsWarehouseUserResponse) String() string
GetOpsiConfigurationConfigItemCustomStatusEnum Enum with underlying type: string
type GetOpsiConfigurationConfigItemCustomStatusEnum string
Set of constants representing the allowable values for GetOpsiConfigurationConfigItemCustomStatusEnum
const (
GetOpsiConfigurationConfigItemCustomStatusCustomized GetOpsiConfigurationConfigItemCustomStatusEnum = "customized"
GetOpsiConfigurationConfigItemCustomStatusNoncustomized GetOpsiConfigurationConfigItemCustomStatusEnum = "nonCustomized"
)
func GetGetOpsiConfigurationConfigItemCustomStatusEnumValues() []GetOpsiConfigurationConfigItemCustomStatusEnum
GetGetOpsiConfigurationConfigItemCustomStatusEnumValues Enumerates the set of values for GetOpsiConfigurationConfigItemCustomStatusEnum
func GetMappingGetOpsiConfigurationConfigItemCustomStatusEnum(val string) (GetOpsiConfigurationConfigItemCustomStatusEnum, bool)
GetMappingGetOpsiConfigurationConfigItemCustomStatusEnum performs case Insensitive comparison on enum value and return the desired enum
GetOpsiConfigurationConfigItemFieldEnum Enum with underlying type: string
type GetOpsiConfigurationConfigItemFieldEnum string
Set of constants representing the allowable values for GetOpsiConfigurationConfigItemFieldEnum
const (
GetOpsiConfigurationConfigItemFieldName GetOpsiConfigurationConfigItemFieldEnum = "name"
GetOpsiConfigurationConfigItemFieldValue GetOpsiConfigurationConfigItemFieldEnum = "value"
GetOpsiConfigurationConfigItemFieldDefaultvalue GetOpsiConfigurationConfigItemFieldEnum = "defaultValue"
GetOpsiConfigurationConfigItemFieldMetadata GetOpsiConfigurationConfigItemFieldEnum = "metadata"
GetOpsiConfigurationConfigItemFieldApplicablecontexts GetOpsiConfigurationConfigItemFieldEnum = "applicableContexts"
)
func GetGetOpsiConfigurationConfigItemFieldEnumValues() []GetOpsiConfigurationConfigItemFieldEnum
GetGetOpsiConfigurationConfigItemFieldEnumValues Enumerates the set of values for GetOpsiConfigurationConfigItemFieldEnum
func GetMappingGetOpsiConfigurationConfigItemFieldEnum(val string) (GetOpsiConfigurationConfigItemFieldEnum, bool)
GetMappingGetOpsiConfigurationConfigItemFieldEnum performs case Insensitive comparison on enum value and return the desired enum
GetOpsiConfigurationOpsiConfigFieldEnum Enum with underlying type: string
type GetOpsiConfigurationOpsiConfigFieldEnum string
Set of constants representing the allowable values for GetOpsiConfigurationOpsiConfigFieldEnum
const (
GetOpsiConfigurationOpsiConfigFieldConfigitems GetOpsiConfigurationOpsiConfigFieldEnum = "configItems"
)
func GetGetOpsiConfigurationOpsiConfigFieldEnumValues() []GetOpsiConfigurationOpsiConfigFieldEnum
GetGetOpsiConfigurationOpsiConfigFieldEnumValues Enumerates the set of values for GetOpsiConfigurationOpsiConfigFieldEnum
func GetMappingGetOpsiConfigurationOpsiConfigFieldEnum(val string) (GetOpsiConfigurationOpsiConfigFieldEnum, bool)
GetMappingGetOpsiConfigurationOpsiConfigFieldEnum performs case Insensitive comparison on enum value and return the desired enum
GetOpsiConfigurationRequest wrapper for the GetOpsiConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOpsiConfiguration.go.html to see an example of how to use GetOpsiConfigurationRequest.
type GetOpsiConfigurationRequest struct {
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
// Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
OpsiConfigField []GetOpsiConfigurationOpsiConfigFieldEnum `contributesTo:"query" name:"opsiConfigField" omitEmpty:"true" collectionFormat:"multi"`
// Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.
// By default only customized configuration items are returned.
ConfigItemCustomStatus []GetOpsiConfigurationConfigItemCustomStatusEnum `contributesTo:"query" name:"configItemCustomStatus" omitEmpty:"true" collectionFormat:"multi"`
// Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
ConfigItemsApplicableContext []string `contributesTo:"query" name:"configItemsApplicableContext" collectionFormat:"multi"`
// Specifies the fields to return in a config item summary.
ConfigItemField []GetOpsiConfigurationConfigItemFieldEnum `contributesTo:"query" name:"configItemField" omitEmpty:"true" collectionFormat:"multi"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOpsiConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOpsiConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOpsiConfigurationRequest) String() string
func (request GetOpsiConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetOpsiConfigurationResponse wrapper for the GetOpsiConfiguration operation
type GetOpsiConfigurationResponse struct {
// The underlying http response
RawResponse *http.Response
// The OpsiConfiguration instance
OpsiConfiguration `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 GetOpsiConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOpsiConfigurationResponse) String() string
GetOpsiDataObjectRequest wrapper for the GetOpsiDataObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOpsiDataObject.go.html to see an example of how to use GetOpsiDataObjectRequest.
type GetOpsiDataObjectRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Unique OPSI data object identifier.
OpsiDataObjectIdentifier *string `mandatory:"true" contributesTo:"path" name:"opsiDataObjectIdentifier"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 GetOpsiDataObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOpsiDataObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOpsiDataObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOpsiDataObjectRequest) String() string
func (request GetOpsiDataObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetOpsiDataObjectResponse wrapper for the GetOpsiDataObject operation
type GetOpsiDataObjectResponse struct {
// The underlying http response
RawResponse *http.Response
// The OpsiDataObject instance
OpsiDataObject `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 GetOpsiDataObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOpsiDataObjectResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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"`
// 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"`
// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HeadAwrHubObjectArchivalStateEnum Enum with underlying type: string
type HeadAwrHubObjectArchivalStateEnum string
Set of constants representing the allowable values for HeadAwrHubObjectArchivalStateEnum
const (
HeadAwrHubObjectArchivalStateArchived HeadAwrHubObjectArchivalStateEnum = "ARCHIVED"
HeadAwrHubObjectArchivalStateRestoring HeadAwrHubObjectArchivalStateEnum = "RESTORING"
HeadAwrHubObjectArchivalStateRestored HeadAwrHubObjectArchivalStateEnum = "RESTORED"
)
func GetHeadAwrHubObjectArchivalStateEnumValues() []HeadAwrHubObjectArchivalStateEnum
GetHeadAwrHubObjectArchivalStateEnumValues Enumerates the set of values for HeadAwrHubObjectArchivalStateEnum
func GetMappingHeadAwrHubObjectArchivalStateEnum(val string) (HeadAwrHubObjectArchivalStateEnum, bool)
GetMappingHeadAwrHubObjectArchivalStateEnum performs case Insensitive comparison on enum value and return the desired enum
HeadAwrHubObjectRequest wrapper for the HeadAwrHubObject operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/HeadAwrHubObject.go.html to see an example of how to use HeadAwrHubObjectRequest.
type HeadAwrHubObjectRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// Unique Awr Hub Object identifier
ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 HeadAwrHubObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request HeadAwrHubObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request HeadAwrHubObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request HeadAwrHubObjectRequest) String() string
func (request HeadAwrHubObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HeadAwrHubObjectResponse wrapper for the HeadAwrHubObject operation
type HeadAwrHubObjectResponse struct {
// The underlying http response
RawResponse *http.Response
// Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
OpcClientRequestId *string `presentIn:"header" name:"opc-client-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"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
// The user-defined metadata for the Awr Hub object.
OpcMeta map[string]string `presentIn:"header-collection" prefix:"opc-meta-"`
// The Awr Hub object size in bytes.
ContentLength *int64 `presentIn:"header" name:"content-length"`
// Content-MD5 header.
ContentMd5 *string `presentIn:"header" name:"content-md5"`
OpcMultipartMd5 *string `presentIn:"header" name:"opc-multipart-md5"`
// Content-Type header.
ContentType *string `presentIn:"header" name:"content-type"`
// Content-Language header.
ContentLanguage *string `presentIn:"header" name:"content-language"`
// Content-Encoding header.
ContentEncoding *string `presentIn:"header" name:"content-encoding"`
// Cache-Control header.
CacheControl *string `presentIn:"header" name:"cache-control"`
// Content-Disposition header.
ContentDisposition *string `presentIn:"header" name:"content-disposition"`
// The Awr Hub object modification time.
LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
// The storage tier that the Awr Hub object is stored in.
StorageTier HeadAwrHubObjectStorageTierEnum `presentIn:"header" name:"storage-tier"`
// Archival state of an Awr Hub object. This field is set only for Awr Hub objects in Archive tier.
ArchivalState HeadAwrHubObjectArchivalStateEnum `presentIn:"header" name:"archival-state"`
// Time that the Awr Hub object is returned to the archived state.
TimeOfArchival *common.SDKTime `presentIn:"header" name:"time-of-archival"`
// VersionId of the requested Awr Hub object.
VersionId *string `presentIn:"header" name:"version-id"`
// Flag to indicate whether or not the object was modified. If this is true,
// the getter for the object itself will return null. Callers should check this
// if they specified one of the request params that might result in a conditional
// response (like 'if-match'/'if-none-match').
IsNotModified bool
}
func (response HeadAwrHubObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response HeadAwrHubObjectResponse) String() string
HeadAwrHubObjectStorageTierEnum Enum with underlying type: string
type HeadAwrHubObjectStorageTierEnum string
Set of constants representing the allowable values for HeadAwrHubObjectStorageTierEnum
const (
HeadAwrHubObjectStorageTierStandard HeadAwrHubObjectStorageTierEnum = "STANDARD"
HeadAwrHubObjectStorageTierInfrequentaccess HeadAwrHubObjectStorageTierEnum = "INFREQUENTACCESS"
HeadAwrHubObjectStorageTierArchive HeadAwrHubObjectStorageTierEnum = "ARCHIVE"
)
func GetHeadAwrHubObjectStorageTierEnumValues() []HeadAwrHubObjectStorageTierEnum
GetHeadAwrHubObjectStorageTierEnumValues Enumerates the set of values for HeadAwrHubObjectStorageTierEnum
func GetMappingHeadAwrHubObjectStorageTierEnum(val string) (HeadAwrHubObjectStorageTierEnum, bool)
GetMappingHeadAwrHubObjectStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum
HistoricalDataItem The historical timestamp and the corresponding resource value.
type HistoricalDataItem struct {
// The timestamp in which the current sampling period ends in RFC 3339 format.
EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
}
func (m HistoricalDataItem) String() string
func (m HistoricalDataItem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostAllocation Resource Allocation metric for the host
type HostAllocation struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
// Name of the host resource
ResourceName *string `mandatory:"false" json:"resourceName"`
// Value of the host resource
ResourceValue *int64 `mandatory:"false" json:"resourceValue"`
}
func (m HostAllocation) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostAllocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostAllocation) String() string
func (m HostAllocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostConfigurationCollection Collection of host insight configuration summary objects.
type HostConfigurationCollection struct {
// Array of host insight configurations summary objects.
Items []HostConfigurationSummary `mandatory:"true" json:"items"`
}
func (m HostConfigurationCollection) String() string
func (m *HostConfigurationCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m HostConfigurationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostConfigurationMetricGroup Base Metric Group for Host configuration metrics
type HostConfigurationMetricGroup interface {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
GetTimeCollected() *common.SDKTime
}
HostConfigurationMetricGroupMetricNameEnum Enum with underlying type: string
type HostConfigurationMetricGroupMetricNameEnum string
Set of constants representing the allowable values for HostConfigurationMetricGroupMetricNameEnum
const (
HostConfigurationMetricGroupMetricNameProduct HostConfigurationMetricGroupMetricNameEnum = "HOST_PRODUCT"
HostConfigurationMetricGroupMetricNameResourceAllocation HostConfigurationMetricGroupMetricNameEnum = "HOST_RESOURCE_ALLOCATION"
HostConfigurationMetricGroupMetricNameMemoryConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_MEMORY_CONFIGURATION"
HostConfigurationMetricGroupMetricNameHardwareConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_HARDWARE_CONFIGURATION"
HostConfigurationMetricGroupMetricNameCpuHardwareConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_CPU_HARDWARE_CONFIGURATION"
HostConfigurationMetricGroupMetricNameNetworkConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_NETWORK_CONFIGURATION"
HostConfigurationMetricGroupMetricNameEntites HostConfigurationMetricGroupMetricNameEnum = "HOST_ENTITES"
HostConfigurationMetricGroupMetricNameFilesystemConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_FILESYSTEM_CONFIGURATION"
HostConfigurationMetricGroupMetricNameGpuConfiguration HostConfigurationMetricGroupMetricNameEnum = "HOST_GPU_CONFIGURATION"
HostConfigurationMetricGroupMetricNameContainers HostConfigurationMetricGroupMetricNameEnum = "HOST_CONTAINERS"
)
func GetHostConfigurationMetricGroupMetricNameEnumValues() []HostConfigurationMetricGroupMetricNameEnum
GetHostConfigurationMetricGroupMetricNameEnumValues Enumerates the set of values for HostConfigurationMetricGroupMetricNameEnum
func GetMappingHostConfigurationMetricGroupMetricNameEnum(val string) (HostConfigurationMetricGroupMetricNameEnum, bool)
GetMappingHostConfigurationMetricGroupMetricNameEnum performs case Insensitive comparison on enum value and return the desired enum
HostConfigurationSummary Summary of a host configuration for a resource.
type HostConfigurationSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
GetHostInsightId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The host name. The host name is unique amongst the hosts managed by the same management agent.
GetHostName() *string
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
// Platform version.
GetPlatformVersion() *string
// Platform vendor.
GetPlatformVendor() *string
// Total CPU on this host.
GetTotalCpus() *int
// Total amount of usable physical memory in gibabytes
GetTotalMemoryInGBs() *float64
// CPU architechure
GetCpuArchitecture() *string
// Size of cache memory in megabytes.
GetCpuCacheInMBs() *float64
// Name of the CPU vendor.
GetCpuVendor() *string
// Clock frequency of the processor in megahertz.
GetCpuFrequencyInMhz() *float64
// Model name of processor.
GetCpuImplementation() *string
// Number of cores per socket.
GetCoresPerSocket() *int
// Number of total sockets.
GetTotalSockets() *int
// Number of threads per socket.
GetThreadsPerSocket() *int
// Indicates if hyper-threading is enabled or not
GetIsHyperThreadingEnabled() *bool
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
}
HostConfigurationSummaryPlatformTypeEnum Enum with underlying type: string
type HostConfigurationSummaryPlatformTypeEnum string
Set of constants representing the allowable values for HostConfigurationSummaryPlatformTypeEnum
const (
HostConfigurationSummaryPlatformTypeLinux HostConfigurationSummaryPlatformTypeEnum = "LINUX"
HostConfigurationSummaryPlatformTypeSolaris HostConfigurationSummaryPlatformTypeEnum = "SOLARIS"
HostConfigurationSummaryPlatformTypeSunos HostConfigurationSummaryPlatformTypeEnum = "SUNOS"
HostConfigurationSummaryPlatformTypeZlinux HostConfigurationSummaryPlatformTypeEnum = "ZLINUX"
HostConfigurationSummaryPlatformTypeWindows HostConfigurationSummaryPlatformTypeEnum = "WINDOWS"
HostConfigurationSummaryPlatformTypeAix HostConfigurationSummaryPlatformTypeEnum = "AIX"
HostConfigurationSummaryPlatformTypeHpUx HostConfigurationSummaryPlatformTypeEnum = "HP_UX"
)
func GetHostConfigurationSummaryPlatformTypeEnumValues() []HostConfigurationSummaryPlatformTypeEnum
GetHostConfigurationSummaryPlatformTypeEnumValues Enumerates the set of values for HostConfigurationSummaryPlatformTypeEnum
func GetMappingHostConfigurationSummaryPlatformTypeEnum(val string) (HostConfigurationSummaryPlatformTypeEnum, bool)
GetMappingHostConfigurationSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
HostContainers Host Containers details
type HostContainers struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Container Id (full)
ContainerId *string `mandatory:"false" json:"containerId"`
// Container Name
ContainerName *string `mandatory:"false" json:"containerName"`
// Container Image
ContainerImage *string `mandatory:"false" json:"containerImage"`
// Container Image Tag (version)
ContainerImageTag *string `mandatory:"false" json:"containerImageTag"`
// Container Image Digest
ContainerImageDigest *string `mandatory:"false" json:"containerImageDigest"`
// Container open ports
ContainerPorts *string `mandatory:"false" json:"containerPorts"`
}
func (m HostContainers) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostContainers) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostContainers) String() string
func (m HostContainers) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCpuHardwareConfiguration CPU Hardware Configuration metric for the host
type HostCpuHardwareConfiguration struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Total number of CPU Sockets
TotalSockets *int `mandatory:"false" json:"totalSockets"`
// Name of the CPU vendor
VendorName *string `mandatory:"false" json:"vendorName"`
// Clock frequency of the processor in megahertz
FrequencyInMhz *float64 `mandatory:"false" json:"frequencyInMhz"`
// Size of cache memory in megabytes
CacheInMB *float64 `mandatory:"false" json:"cacheInMB"`
// Model name of processor
CpuImplementation *string `mandatory:"false" json:"cpuImplementation"`
// CPU model
Model *string `mandatory:"false" json:"model"`
// Type of processor in the system
CpuFamily *string `mandatory:"false" json:"cpuFamily"`
// Number of cores per socket
CoresPerSocket *int `mandatory:"false" json:"coresPerSocket"`
// Number of threads per socket
ThreadsPerSocket *int `mandatory:"false" json:"threadsPerSocket"`
// Indicates if hyper-threading is enabled or not
HyperThreadingEnabled *string `mandatory:"false" json:"hyperThreadingEnabled"`
}
func (m HostCpuHardwareConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostCpuHardwareConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuHardwareConfiguration) String() string
func (m HostCpuHardwareConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCpuRecommendations Contains CPU recommendation.
type HostCpuRecommendations struct {
// Show if OPSI recommends to change the shape of an instance and show recommended shape based on CPU utilization.
Shape *string `mandatory:"false" json:"shape"`
// Identify if an instance is abandoned.
IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"`
// Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation.
Burstable HostCpuRecommendationsBurstableEnum `mandatory:"false" json:"burstable,omitempty"`
// Identify unused instances based on cpu, memory and network metrics.
UnusedInstance HostCpuRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"`
}
func (m HostCpuRecommendations) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuRecommendations) String() string
func (m HostCpuRecommendations) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCpuRecommendationsBurstableEnum Enum with underlying type: string
type HostCpuRecommendationsBurstableEnum string
Set of constants representing the allowable values for HostCpuRecommendationsBurstableEnum
const (
HostCpuRecommendationsBurstableBaseline18 HostCpuRecommendationsBurstableEnum = "BASELINE_1_8"
HostCpuRecommendationsBurstableBaseline12 HostCpuRecommendationsBurstableEnum = "BASELINE_1_2"
HostCpuRecommendationsBurstableNoRecommendation HostCpuRecommendationsBurstableEnum = "NO_RECOMMENDATION"
HostCpuRecommendationsBurstableDisableBurstable HostCpuRecommendationsBurstableEnum = "DISABLE_BURSTABLE"
)
func GetHostCpuRecommendationsBurstableEnumValues() []HostCpuRecommendationsBurstableEnum
GetHostCpuRecommendationsBurstableEnumValues Enumerates the set of values for HostCpuRecommendationsBurstableEnum
func GetMappingHostCpuRecommendationsBurstableEnum(val string) (HostCpuRecommendationsBurstableEnum, bool)
GetMappingHostCpuRecommendationsBurstableEnum performs case Insensitive comparison on enum value and return the desired enum
HostCpuRecommendationsUnusedInstanceEnum Enum with underlying type: string
type HostCpuRecommendationsUnusedInstanceEnum string
Set of constants representing the allowable values for HostCpuRecommendationsUnusedInstanceEnum
const (
HostCpuRecommendationsUnusedInstanceInUse HostCpuRecommendationsUnusedInstanceEnum = "IN_USE"
HostCpuRecommendationsUnusedInstanceNotInUse HostCpuRecommendationsUnusedInstanceEnum = "NOT_IN_USE"
HostCpuRecommendationsUnusedInstanceIsNotDetermined HostCpuRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED"
)
func GetHostCpuRecommendationsUnusedInstanceEnumValues() []HostCpuRecommendationsUnusedInstanceEnum
GetHostCpuRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostCpuRecommendationsUnusedInstanceEnum
func GetMappingHostCpuRecommendationsUnusedInstanceEnum(val string) (HostCpuRecommendationsUnusedInstanceEnum, bool)
GetMappingHostCpuRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum
HostCpuStatistics Contains CPU statistics.
type HostCpuStatistics struct {
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// Resource utilization in percentage.
UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
// The baseline utilization is a fraction of each CPU core expressed in percentages, either 12.5% or 50%. The baseline provides the minimum CPUs that can be used constantly.
CpuBaseline *float64 `mandatory:"false" json:"cpuBaseline"`
Load *SummaryStatistics `mandatory:"false" json:"load"`
}
func (m HostCpuStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostCpuStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostCpuStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostCpuStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostCpuStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuStatistics) String() string
func (m HostCpuStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCpuUsage CPU Usage metric for the host
type HostCpuUsage struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Percentage of CPU time spent in user mode
CpuUserModeInPercent *float32 `mandatory:"false" json:"cpuUserModeInPercent"`
// Percentage of CPU time spent in system mode
CpuSystemModeInPercent *float32 `mandatory:"false" json:"cpuSystemModeInPercent"`
// Amount of CPU Time spent in seconds
CpuUsageInSec *float64 `mandatory:"false" json:"cpuUsageInSec"`
// Amount of CPU Time spent in percentage
CpuUtilizationInPercent *float32 `mandatory:"false" json:"cpuUtilizationInPercent"`
// Amount of CPU time stolen in percentage
CpuStolenInPercent *float32 `mandatory:"false" json:"cpuStolenInPercent"`
// Amount of CPU idle time in percentage
CpuIdleInPercent *float32 `mandatory:"false" json:"cpuIdleInPercent"`
// Load average in the last 1 minute
CpuLoad1min *float32 `mandatory:"false" json:"cpuLoad1min"`
// Load average in the last 5 minutes
CpuLoad5min *float32 `mandatory:"false" json:"cpuLoad5min"`
// Load average in the last 15 minutes
CpuLoad15min *float32 `mandatory:"false" json:"cpuLoad15min"`
}
func (m HostCpuUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostCpuUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostCpuUsage) String() string
func (m HostCpuUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostDetails Partial information about a host which includes id, name, type.
type HostDetails struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType HostDetailsPlatformTypeEnum `mandatory:"true" json:"platformType"`
// The identifier of the agent.
AgentIdentifier *string `mandatory:"true" json:"agentIdentifier"`
// The user-friendly name for the host. The name does not have to be unique.
HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
}
func (m HostDetails) String() string
func (m HostDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostDetailsPlatformTypeEnum Enum with underlying type: string
type HostDetailsPlatformTypeEnum string
Set of constants representing the allowable values for HostDetailsPlatformTypeEnum
const (
HostDetailsPlatformTypeLinux HostDetailsPlatformTypeEnum = "LINUX"
HostDetailsPlatformTypeSolaris HostDetailsPlatformTypeEnum = "SOLARIS"
HostDetailsPlatformTypeSunos HostDetailsPlatformTypeEnum = "SUNOS"
HostDetailsPlatformTypeZlinux HostDetailsPlatformTypeEnum = "ZLINUX"
HostDetailsPlatformTypeWindows HostDetailsPlatformTypeEnum = "WINDOWS"
HostDetailsPlatformTypeAix HostDetailsPlatformTypeEnum = "AIX"
HostDetailsPlatformTypeHpUx HostDetailsPlatformTypeEnum = "HP_UX"
)
func GetHostDetailsPlatformTypeEnumValues() []HostDetailsPlatformTypeEnum
GetHostDetailsPlatformTypeEnumValues Enumerates the set of values for HostDetailsPlatformTypeEnum
func GetMappingHostDetailsPlatformTypeEnum(val string) (HostDetailsPlatformTypeEnum, bool)
GetMappingHostDetailsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
HostEntities Database entities running on the host
type HostEntities struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Name of the database entity
EntityName *string `mandatory:"true" json:"entityName"`
// Type of the database entity
EntityType *string `mandatory:"true" json:"entityType"`
}
func (m HostEntities) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostEntities) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostEntities) String() string
func (m HostEntities) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostEntitySourceEnum Enum with underlying type: string
type HostEntitySourceEnum string
Set of constants representing the allowable values for HostEntitySourceEnum
const (
HostEntitySourceMacsManagedExternalHost HostEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST"
HostEntitySourceEmManagedExternalHost HostEntitySourceEnum = "EM_MANAGED_EXTERNAL_HOST"
HostEntitySourceMacsManagedCloudHost HostEntitySourceEnum = "MACS_MANAGED_CLOUD_HOST"
HostEntitySourcePeComanagedHost HostEntitySourceEnum = "PE_COMANAGED_HOST"
HostEntitySourceMacsManagedCloudDbHost HostEntitySourceEnum = "MACS_MANAGED_CLOUD_DB_HOST"
)
func GetHostEntitySourceEnumValues() []HostEntitySourceEnum
GetHostEntitySourceEnumValues Enumerates the set of values for HostEntitySourceEnum
func GetMappingHostEntitySourceEnum(val string) (HostEntitySourceEnum, bool)
GetMappingHostEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
HostEnum Enum with underlying type: string
type HostEnum string
Set of constants representing the allowable values for HostEnum
const (
HostCpu HostEnum = "CPU"
HostMemory HostEnum = "MEMORY"
)
func GetHostEnumValues() []HostEnum
GetHostEnumValues Enumerates the set of values for HostEnum
func GetMappingHostEnum(val string) (HostEnum, bool)
GetMappingHostEnum performs case Insensitive comparison on enum value and return the desired enum
HostFilesystemConfiguration Filesystem Configuration metric for the host.
type HostFilesystemConfiguration struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Name of filesystem
FileSystemName *string `mandatory:"true" json:"fileSystemName"`
// Mount points are specialized NTFS filesystem objects
MountPoint *string `mandatory:"true" json:"mountPoint"`
// Size of filesystem
FileSystemSizeInGB *float64 `mandatory:"true" json:"fileSystemSizeInGB"`
}
func (m HostFilesystemConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostFilesystemConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostFilesystemConfiguration) String() string
func (m HostFilesystemConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostFilesystemUsage Filesystem Usage metric for the host.
type HostFilesystemUsage struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Mount points are specialized NTFS filesystem objects
MountPoint *string `mandatory:"false" json:"mountPoint"`
FileSystemUsageInGB *float64 `mandatory:"false" json:"fileSystemUsageInGB"`
FileSystemAvailInPercent *float64 `mandatory:"false" json:"fileSystemAvailInPercent"`
FileSystemAvailInGBs *float64 `mandatory:"false" json:"fileSystemAvailInGBs"`
}
func (m HostFilesystemUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostFilesystemUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostFilesystemUsage) String() string
func (m HostFilesystemUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostGpuConfiguration GPU configuration metrics
type HostGpuConfiguration struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// GPU Identifier
GpuId *int `mandatory:"true" json:"gpuId"`
// GPU Product Name
ProductName *string `mandatory:"true" json:"productName"`
// GPU Vendor
Vendor *string `mandatory:"true" json:"vendor"`
// Bus Identifier
BusId *string `mandatory:"true" json:"busId"`
// Bus Width
BusWidth *int `mandatory:"true" json:"busWidth"`
// Power Capacity
TotalPower *float64 `mandatory:"true" json:"totalPower"`
// Total Memory Allocated to GPU
TotalMemory *float64 `mandatory:"true" json:"totalMemory"`
// Max Video Clock Speed
TotalVideoClockSpeed *float64 `mandatory:"true" json:"totalVideoClockSpeed"`
// Max SM (Streaming Multiprocessor) Clock Speed
TotalSmClockSpeed *float64 `mandatory:"true" json:"totalSmClockSpeed"`
// Max Graphics Clock Speed
TotalGraphicsClockSpeed *float64 `mandatory:"true" json:"totalGraphicsClockSpeed"`
// Max Memory Clock Speed
TotalMemoryClockSpeed *float64 `mandatory:"true" json:"totalMemoryClockSpeed"`
// CUDA library version
CudaVersion *string `mandatory:"true" json:"cudaVersion"`
// GPU Driver version
DriverVersion *string `mandatory:"true" json:"driverVersion"`
// GPU Capabilities
GpuCapabilities *string `mandatory:"false" json:"gpuCapabilities"`
}
func (m HostGpuConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostGpuConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostGpuConfiguration) String() string
func (m HostGpuConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostGpuProcesses GPU processes metrics, processes using GPUs.
type HostGpuProcesses struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// GPU Identifier
GpuId *int `mandatory:"false" json:"gpuId"`
// Process Identifier
Pid *int `mandatory:"false" json:"pid"`
// Process Name (process using GPU)
ProcessName *string `mandatory:"false" json:"processName"`
// Process elapsed time
ElapsedTime *float64 `mandatory:"false" json:"elapsedTime"`
// Memory Used by Process in MBs
GpuMemoryUsage *float64 `mandatory:"false" json:"gpuMemoryUsage"`
}
func (m HostGpuProcesses) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostGpuProcesses) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostGpuProcesses) String() string
func (m HostGpuProcesses) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostGpuUsage GPU performance metrics
type HostGpuUsage struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// GPU Identifier
GpuId *int `mandatory:"false" json:"gpuId"`
// GPU Utilization Percent
Utilization *float64 `mandatory:"false" json:"utilization"`
// GPU Memory Utilization Percent
MemoryUtilization *float64 `mandatory:"false" json:"memoryUtilization"`
// GPU Power Draw in Watts
PowerDraw *float64 `mandatory:"false" json:"powerDraw"`
// GPU Temperature in Celsius
Temperature *float64 `mandatory:"false" json:"temperature"`
// GPU Fan Utilization
FanUtilization *float64 `mandatory:"false" json:"fanUtilization"`
// GPU Graphics (Shader) Clock Speed
ClockSpeedGraphics *float64 `mandatory:"false" json:"clockSpeedGraphics"`
// GPU SM (Streaming Multiprocessor) Clock Speed
ClockSpeedSm *float64 `mandatory:"false" json:"clockSpeedSm"`
// GPU Video Clock Speed
ClockSpeedVideo *float64 `mandatory:"false" json:"clockSpeedVideo"`
// GPU Memory Clock Speed
ClockSpeedMemory *float64 `mandatory:"false" json:"clockSpeedMemory"`
// GPU Performance State
PerformanceState *float64 `mandatory:"false" json:"performanceState"`
// GPU ECC Single Bit Errors
EccSingleBitErrors *int `mandatory:"false" json:"eccSingleBitErrors"`
// GPU ECC Double Bit Errors
EccDoubleBitErrors *int `mandatory:"false" json:"eccDoubleBitErrors"`
// Nothing running on CPU, clocks are idle
ClockEventIdle *int `mandatory:"false" json:"clockEventIdle"`
// HW Thermal Slowdown (reducing the core clocks by a factor of 2 or more) is engaged. Temp too high
ClockEventHwThermalSlowDown *int `mandatory:"false" json:"clockEventHwThermalSlowDown"`
// SW Power Scaling algorithm is reducing the clocks below requested clocks because the GPU is consuming too much power
ClockEventSwPowerCap *int `mandatory:"false" json:"clockEventSwPowerCap"`
// GPU clocks are limited by applications clocks setting
ClockEventAppClockSetting *int `mandatory:"false" json:"clockEventAppClockSetting"`
// HW Power Brake Slowdown (reducing the core clocks by a factor of 2 or more) is engaged
ClockEventHwPowerBreak *int `mandatory:"false" json:"clockEventHwPowerBreak"`
// SW Thermal capping algorithm is reducing clocks below requested clocks because GPU temperature is higher than Max Operating Temp
ClockEventSwThermalSlowdown *int `mandatory:"false" json:"clockEventSwThermalSlowdown"`
// HW Power Brake Slowdown (reducing the core clocks by a factor of 2 or more) is engaged
ClockEventSyncBoost *int `mandatory:"false" json:"clockEventSyncBoost"`
}
func (m HostGpuUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostGpuUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostGpuUsage) String() string
func (m HostGpuUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostHardwareConfiguration Hardware Configuration metric for the host
type HostHardwareConfiguration struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Processor architecture used by the platform
CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
}
func (m HostHardwareConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostHardwareConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostHardwareConfiguration) String() string
func (m HostHardwareConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostImportableAgentEntitySummary An agent host entity that can be imported into Operations Insights.
type HostImportableAgentEntitySummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The Display Name (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Management Agent
ManagementAgentDisplayName *string `mandatory:"true" json:"managementAgentDisplayName"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType HostImportableAgentEntitySummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
func (m HostImportableAgentEntitySummary) GetManagementAgentDisplayName() *string
GetManagementAgentDisplayName returns ManagementAgentDisplayName
func (m HostImportableAgentEntitySummary) GetManagementAgentId() *string
GetManagementAgentId returns ManagementAgentId
func (m HostImportableAgentEntitySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostImportableAgentEntitySummary) String() string
func (m HostImportableAgentEntitySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostImportableAgentEntitySummaryPlatformTypeEnum Enum with underlying type: string
type HostImportableAgentEntitySummaryPlatformTypeEnum string
Set of constants representing the allowable values for HostImportableAgentEntitySummaryPlatformTypeEnum
const (
HostImportableAgentEntitySummaryPlatformTypeLinux HostImportableAgentEntitySummaryPlatformTypeEnum = "LINUX"
HostImportableAgentEntitySummaryPlatformTypeSolaris HostImportableAgentEntitySummaryPlatformTypeEnum = "SOLARIS"
HostImportableAgentEntitySummaryPlatformTypeSunos HostImportableAgentEntitySummaryPlatformTypeEnum = "SUNOS"
HostImportableAgentEntitySummaryPlatformTypeZlinux HostImportableAgentEntitySummaryPlatformTypeEnum = "ZLINUX"
HostImportableAgentEntitySummaryPlatformTypeWindows HostImportableAgentEntitySummaryPlatformTypeEnum = "WINDOWS"
HostImportableAgentEntitySummaryPlatformTypeAix HostImportableAgentEntitySummaryPlatformTypeEnum = "AIX"
HostImportableAgentEntitySummaryPlatformTypeHpUx HostImportableAgentEntitySummaryPlatformTypeEnum = "HP_UX"
)
func GetHostImportableAgentEntitySummaryPlatformTypeEnumValues() []HostImportableAgentEntitySummaryPlatformTypeEnum
GetHostImportableAgentEntitySummaryPlatformTypeEnumValues Enumerates the set of values for HostImportableAgentEntitySummaryPlatformTypeEnum
func GetMappingHostImportableAgentEntitySummaryPlatformTypeEnum(val string) (HostImportableAgentEntitySummaryPlatformTypeEnum, bool)
GetMappingHostImportableAgentEntitySummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
HostInsight Host insight resource.
type HostInsight interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The host name. The host name is unique amongst the hosts managed by the same management agent.
GetHostName() *string
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// Indicates the status of a host insight in Operations Insights
GetStatus() ResourceStatusEnum
// The time the the host insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The current state of the host.
GetLifecycleState() LifecycleStateEnum
// The user-friendly name for the host. The name does not have to be unique.
GetHostDisplayName() *string
// Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
GetHostType() *string
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
GetProcessorCount() *int
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// The time the host insight was updated. An RFC3339 formatted datetime string
GetTimeUpdated() *common.SDKTime
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
}
HostInsightHostRecommendations Contains recommendations depending of resource metric received.
type HostInsightHostRecommendations interface {
}
HostInsightHostRecommendationsMetricRecommendationNameEnum Enum with underlying type: string
type HostInsightHostRecommendationsMetricRecommendationNameEnum string
Set of constants representing the allowable values for HostInsightHostRecommendationsMetricRecommendationNameEnum
const (
HostInsightHostRecommendationsMetricRecommendationNameCpuRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_CPU_RECOMMENDATIONS"
HostInsightHostRecommendationsMetricRecommendationNameMemoryRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_MEMORY_RECOMMENDATIONS"
HostInsightHostRecommendationsMetricRecommendationNameNetworkRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_NETWORK_RECOMMENDATIONS"
HostInsightHostRecommendationsMetricRecommendationNameStorageRecommendations HostInsightHostRecommendationsMetricRecommendationNameEnum = "HOST_STORAGE_RECOMMENDATIONS"
)
func GetHostInsightHostRecommendationsMetricRecommendationNameEnumValues() []HostInsightHostRecommendationsMetricRecommendationNameEnum
GetHostInsightHostRecommendationsMetricRecommendationNameEnumValues Enumerates the set of values for HostInsightHostRecommendationsMetricRecommendationNameEnum
func GetMappingHostInsightHostRecommendationsMetricRecommendationNameEnum(val string) (HostInsightHostRecommendationsMetricRecommendationNameEnum, bool)
GetMappingHostInsightHostRecommendationsMetricRecommendationNameEnum performs case Insensitive comparison on enum value and return the desired enum
HostInsightResourceStatisticsAggregation Contains host details and resource statistics.
type HostInsightResourceStatisticsAggregation struct {
HostDetails *HostDetails `mandatory:"true" json:"hostDetails"`
CurrentStatistics HostResourceStatistics `mandatory:"true" json:"currentStatistics"`
}
func (m HostInsightResourceStatisticsAggregation) String() string
func (m *HostInsightResourceStatisticsAggregation) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m HostInsightResourceStatisticsAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostInsightSummary Summary of a host insight resource.
type HostInsightSummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
GetId() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
// The host name. The host name is unique amongst the hosts managed by the same management agent.
GetHostName() *string
// The user-friendly name for the host. The name does not have to be unique.
GetHostDisplayName() *string
// Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
GetHostType() *string
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
GetProcessorCount() *int
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
GetFreeformTags() map[string]string
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
GetDefinedTags() map[string]map[string]interface{}
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
GetSystemTags() map[string]map[string]interface{}
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
GetOpsiPrivateEndpointId() *string
// Indicates the status of a host insight in Ops Insights
GetStatus() ResourceStatusEnum
// The time the the host insight was first enabled. An RFC3339 formatted datetime string
GetTimeCreated() *common.SDKTime
// The time the host insight was updated. An RFC3339 formatted datetime string
GetTimeUpdated() *common.SDKTime
// The current state of the host.
GetLifecycleState() LifecycleStateEnum
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
GetLifecycleDetails() *string
}
HostInsightSummaryCollection Collection of host insight summary objects.
type HostInsightSummaryCollection struct {
// Array of host insight summary objects.
Items []HostInsightSummary `mandatory:"true" json:"items"`
}
func (m HostInsightSummaryCollection) String() string
func (m *HostInsightSummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m HostInsightSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostInsights Logical grouping used for Operations Insights host related operations.
type HostInsights struct {
// Host Insights Object.
HostInsights *interface{} `mandatory:"false" json:"hostInsights"`
}
func (m HostInsights) String() string
func (m HostInsights) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostInsightsDataObject Host insights data object.
type HostInsightsDataObject struct {
// Unique identifier of OPSI data object.
Identifier *string `mandatory:"true" json:"identifier"`
// User-friendly name of OPSI data object.
DisplayName *string `mandatory:"true" json:"displayName"`
// Metadata of columns in a data object.
ColumnsMetadata []DataObjectColumnMetadata `mandatory:"true" json:"columnsMetadata"`
// Description of OPSI data object.
Description *string `mandatory:"false" json:"description"`
// Name of the data object, which can be used in data object queries just like how view names are used in a query.
Name *string `mandatory:"false" json:"name"`
// Names of all the groups to which the data object belongs to.
GroupNames []string `mandatory:"false" json:"groupNames"`
// Time period supported by the data object for quering data.
// Time period is in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D.
// Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
SupportedQueryTimePeriod *string `mandatory:"false" json:"supportedQueryTimePeriod"`
// Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed.
SupportedQueryParams []OpsiDataObjectSupportedQueryParam `mandatory:"false" json:"supportedQueryParams"`
}
func (m HostInsightsDataObject) GetColumnsMetadata() []DataObjectColumnMetadata
GetColumnsMetadata returns ColumnsMetadata
func (m HostInsightsDataObject) GetDescription() *string
GetDescription returns Description
func (m HostInsightsDataObject) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m HostInsightsDataObject) GetGroupNames() []string
GetGroupNames returns GroupNames
func (m HostInsightsDataObject) GetIdentifier() *string
GetIdentifier returns Identifier
func (m HostInsightsDataObject) GetName() *string
GetName returns Name
func (m HostInsightsDataObject) GetSupportedQueryParams() []OpsiDataObjectSupportedQueryParam
GetSupportedQueryParams returns SupportedQueryParams
func (m HostInsightsDataObject) GetSupportedQueryTimePeriod() *string
GetSupportedQueryTimePeriod returns SupportedQueryTimePeriod
func (m HostInsightsDataObject) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostInsightsDataObject) String() string
func (m HostInsightsDataObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostInsightsDataObjectSummary Summary of a host insights data object.
type HostInsightsDataObjectSummary struct {
// Unique identifier of OPSI data object.
Identifier *string `mandatory:"true" json:"identifier"`
// User-friendly name of OPSI data object.
DisplayName *string `mandatory:"true" json:"displayName"`
// Description of OPSI data object.
Description *string `mandatory:"false" json:"description"`
// Name of the data object, which can be used in data object queries just like how view names are used in a query.
Name *string `mandatory:"false" json:"name"`
// Names of all the groups to which the data object belongs to.
GroupNames []string `mandatory:"false" json:"groupNames"`
}
func (m HostInsightsDataObjectSummary) GetDescription() *string
GetDescription returns Description
func (m HostInsightsDataObjectSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m HostInsightsDataObjectSummary) GetGroupNames() []string
GetGroupNames returns GroupNames
func (m HostInsightsDataObjectSummary) GetIdentifier() *string
GetIdentifier returns Identifier
func (m HostInsightsDataObjectSummary) GetName() *string
GetName returns Name
func (m HostInsightsDataObjectSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostInsightsDataObjectSummary) String() string
func (m HostInsightsDataObjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostInstanceMap Object containing hostname and instance name mapping.
type HostInstanceMap struct {
// The hostname of the database insight resource.
HostName *string `mandatory:"true" json:"hostName"`
// The instance name of the database insight resource.
InstanceName *string `mandatory:"true" json:"instanceName"`
}
func (m HostInstanceMap) String() string
func (m HostInstanceMap) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostIoStatistics Contains io statistics.
type HostIoStatistics struct {
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// Resource utilization in percentage.
UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
DiskReadInMBs *float64 `mandatory:"false" json:"diskReadInMBs"`
DiskWriteInMBs *float64 `mandatory:"false" json:"diskWriteInMBs"`
DiskIops *float64 `mandatory:"false" json:"diskIops"`
}
func (m HostIoStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostIoStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostIoStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostIoStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostIoStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostIoStatistics) String() string
func (m HostIoStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostIoUsage Host IO Performance Metrics
type HostIoUsage struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Mount point
MountPoint *string `mandatory:"false" json:"mountPoint"`
// Bytes Read
DiskBytesRead *float64 `mandatory:"false" json:"diskBytesRead"`
// Bytes Written
DiskBytesWritten *float64 `mandatory:"false" json:"diskBytesWritten"`
// Read transactions per second
DiskIopsRead *float64 `mandatory:"false" json:"diskIopsRead"`
// Write transactions per second
DiskIopsWritten *float64 `mandatory:"false" json:"diskIopsWritten"`
// IO Transactions per second
DiskIops *float64 `mandatory:"false" json:"diskIops"`
}
func (m HostIoUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostIoUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostIoUsage) String() string
func (m HostIoUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostMemoryConfiguration Memory Configuration metric for the host
type HostMemoryConfiguration struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Page size in kilobytes
PageSizeInKB *float64 `mandatory:"false" json:"pageSizeInKB"`
// Amount of memory used for page tables in kilobytes
PageTablesInKB *float64 `mandatory:"false" json:"pageTablesInKB"`
// Amount of total swap space in kilobytes
SwapTotalInKB *float64 `mandatory:"false" json:"swapTotalInKB"`
// Size of huge pages in kilobytes
HugePageSizeInKB *float64 `mandatory:"false" json:"hugePageSizeInKB"`
// Total number of huge pages
HugePagesTotal *int `mandatory:"false" json:"hugePagesTotal"`
}
func (m HostMemoryConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostMemoryConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryConfiguration) String() string
func (m HostMemoryConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostMemoryRecommendations Contains memory recommendation.
type HostMemoryRecommendations struct {
// Identify if an instance is abandoned.
IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"`
// Show if OPSI recommends to change memory capacity based on Memory utilization and current shape.
MemoryOptimization *string `mandatory:"false" json:"memoryOptimization"`
// Identify unused instances based on cpu, memory and network metrics.
UnusedInstance HostMemoryRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"`
}
func (m HostMemoryRecommendations) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryRecommendations) String() string
func (m HostMemoryRecommendations) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostMemoryRecommendationsUnusedInstanceEnum Enum with underlying type: string
type HostMemoryRecommendationsUnusedInstanceEnum string
Set of constants representing the allowable values for HostMemoryRecommendationsUnusedInstanceEnum
const (
HostMemoryRecommendationsUnusedInstanceInUse HostMemoryRecommendationsUnusedInstanceEnum = "IN_USE"
HostMemoryRecommendationsUnusedInstanceNotInUse HostMemoryRecommendationsUnusedInstanceEnum = "NOT_IN_USE"
HostMemoryRecommendationsUnusedInstanceIsNotDetermined HostMemoryRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED"
)
func GetHostMemoryRecommendationsUnusedInstanceEnumValues() []HostMemoryRecommendationsUnusedInstanceEnum
GetHostMemoryRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostMemoryRecommendationsUnusedInstanceEnum
func GetMappingHostMemoryRecommendationsUnusedInstanceEnum(val string) (HostMemoryRecommendationsUnusedInstanceEnum, bool)
GetMappingHostMemoryRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum
HostMemoryStatistics Contains memory statistics.
type HostMemoryStatistics struct {
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// Resource utilization in percentage.
UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
FreeMemory *float64 `mandatory:"false" json:"freeMemory"`
AvailableMemory *float64 `mandatory:"false" json:"availableMemory"`
// Total number of huge pages.
HugePagesTotal *int `mandatory:"false" json:"hugePagesTotal"`
// Size of huge pages in megabytes.
HugePageSizeInMB *float64 `mandatory:"false" json:"hugePageSizeInMB"`
// Total number of available huge pages.
HugePagesFree *int `mandatory:"false" json:"hugePagesFree"`
// Total number of huge pages which are used or reserved.
HugePagesReserved *int `mandatory:"false" json:"hugePagesReserved"`
Load *SummaryStatistics `mandatory:"false" json:"load"`
}
func (m HostMemoryStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostMemoryStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostMemoryStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostMemoryStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostMemoryStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryStatistics) String() string
func (m HostMemoryStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostMemoryUsage Memory usage metric for the host
type HostMemoryUsage struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Amount of physical memory used in gigabytes
MemoryUsedInGB *float64 `mandatory:"false" json:"memoryUsedInGB"`
// Amount of physical memory used in percentage
MemoryUtilizationInPercent *float32 `mandatory:"false" json:"memoryUtilizationInPercent"`
// Load on memory in gigabytes
MemoryLoadInGB *float64 `mandatory:"false" json:"memoryLoadInGB"`
// Amount of usable physical memory in kilobytes
RealMemoryInKB *float64 `mandatory:"false" json:"realMemoryInKB"`
// Amount of available physical memory in kilobytes
FreeMemoryInKB *float64 `mandatory:"false" json:"freeMemoryInKB"`
// Memory used excluding buffers and cache in gigabytes
LogicalMemoryUsedInGB *float64 `mandatory:"false" json:"logicalMemoryUsedInGB"`
// Amount of logical memory used in percentage
LogicalMemoryUtilizationInPercent *float32 `mandatory:"false" json:"logicalMemoryUtilizationInPercent"`
// Amount of avaiable virtual memory in kilobytes
FreeLogicalMemoryInKB *float64 `mandatory:"false" json:"freeLogicalMemoryInKB"`
// Number of major page faults
MajorPageFaults *int `mandatory:"false" json:"majorPageFaults"`
// Amount of available swap space in kilobytes
SwapFreeInKB *float64 `mandatory:"false" json:"swapFreeInKB"`
// Amount of memory used for anon huge pages in kilobytes
AnonHugePagesInKB *float64 `mandatory:"false" json:"anonHugePagesInKB"`
// Number of available huge pages
HugePagesFree *int `mandatory:"false" json:"hugePagesFree"`
// Number of reserved huge pages
HugePagesReserved *int `mandatory:"false" json:"hugePagesReserved"`
// Number of surplus huge pages
HugePagesSurplus *int `mandatory:"false" json:"hugePagesSurplus"`
}
func (m HostMemoryUsage) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostMemoryUsage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostMemoryUsage) String() string
func (m HostMemoryUsage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostNetworkActivitySummary Network Activity Summary metric for the host
type HostNetworkActivitySummary struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Name of the network interface
InterfaceName *string `mandatory:"false" json:"interfaceName"`
// All network interfaces read rate in Mbps
AllNetworkReadInMbps *float64 `mandatory:"false" json:"allNetworkReadInMbps"`
// All network interfaces write rate in Mbps
AllNetworkWriteInMbps *float64 `mandatory:"false" json:"allNetworkWriteInMbps"`
// All network interfaces IO rate in Mbps
AllNetworkIoInMbps *float64 `mandatory:"false" json:"allNetworkIoInMbps"`
}
func (m HostNetworkActivitySummary) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostNetworkActivitySummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostNetworkActivitySummary) String() string
func (m HostNetworkActivitySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostNetworkConfiguration Network Configuration metric for the host
type HostNetworkConfiguration struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Name of the network interface
InterfaceName *string `mandatory:"true" json:"interfaceName"`
// IP address (IPv4 or IPv6) of the network interface
IpAddress *string `mandatory:"true" json:"ipAddress"`
// MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS
MacAddress *string `mandatory:"false" json:"macAddress"`
}
func (m HostNetworkConfiguration) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostNetworkConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostNetworkConfiguration) String() string
func (m HostNetworkConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostNetworkRecommendations Contains network recommendation.
type HostNetworkRecommendations struct {
// Identify if an instance is abandoned.
IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"`
// Identify unused instances based on cpu, memory and network metrics.
UnusedInstance HostNetworkRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"`
}
func (m HostNetworkRecommendations) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostNetworkRecommendations) String() string
func (m HostNetworkRecommendations) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostNetworkRecommendationsUnusedInstanceEnum Enum with underlying type: string
type HostNetworkRecommendationsUnusedInstanceEnum string
Set of constants representing the allowable values for HostNetworkRecommendationsUnusedInstanceEnum
const (
HostNetworkRecommendationsUnusedInstanceInUse HostNetworkRecommendationsUnusedInstanceEnum = "IN_USE"
HostNetworkRecommendationsUnusedInstanceNotInUse HostNetworkRecommendationsUnusedInstanceEnum = "NOT_IN_USE"
HostNetworkRecommendationsUnusedInstanceIsNotDetermined HostNetworkRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED"
)
func GetHostNetworkRecommendationsUnusedInstanceEnumValues() []HostNetworkRecommendationsUnusedInstanceEnum
GetHostNetworkRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostNetworkRecommendationsUnusedInstanceEnum
func GetMappingHostNetworkRecommendationsUnusedInstanceEnum(val string) (HostNetworkRecommendationsUnusedInstanceEnum, bool)
GetMappingHostNetworkRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum
HostNetworkStatistics Contains network statistics.
type HostNetworkStatistics struct {
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// Resource utilization in percentage.
UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
NetworkReadInMBs *float64 `mandatory:"false" json:"networkReadInMBs"`
NetworkWriteInMBs *float64 `mandatory:"false" json:"networkWriteInMBs"`
}
func (m HostNetworkStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostNetworkStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostNetworkStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostNetworkStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostNetworkStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostNetworkStatistics) String() string
func (m HostNetworkStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostPerformanceMetricGroup Base Metric Group for Host performance metrics
type HostPerformanceMetricGroup interface {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
GetTimeCollected() *common.SDKTime
}
HostPerformanceMetricGroupMetricNameEnum Enum with underlying type: string
type HostPerformanceMetricGroupMetricNameEnum string
Set of constants representing the allowable values for HostPerformanceMetricGroupMetricNameEnum
const (
HostPerformanceMetricGroupMetricNameCpuUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_CPU_USAGE"
HostPerformanceMetricGroupMetricNameMemoryUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_MEMORY_USAGE"
HostPerformanceMetricGroupMetricNameNetworkActivitySummary HostPerformanceMetricGroupMetricNameEnum = "HOST_NETWORK_ACTIVITY_SUMMARY"
HostPerformanceMetricGroupMetricNameTopProcesses HostPerformanceMetricGroupMetricNameEnum = "HOST_TOP_PROCESSES"
HostPerformanceMetricGroupMetricNameFilesystemUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_FILESYSTEM_USAGE"
HostPerformanceMetricGroupMetricNameGpuUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_GPU_USAGE"
HostPerformanceMetricGroupMetricNameGpuProcesses HostPerformanceMetricGroupMetricNameEnum = "HOST_GPU_PROCESSES"
HostPerformanceMetricGroupMetricNameIoUsage HostPerformanceMetricGroupMetricNameEnum = "HOST_IO_USAGE"
)
func GetHostPerformanceMetricGroupMetricNameEnumValues() []HostPerformanceMetricGroupMetricNameEnum
GetHostPerformanceMetricGroupMetricNameEnumValues Enumerates the set of values for HostPerformanceMetricGroupMetricNameEnum
func GetMappingHostPerformanceMetricGroupMetricNameEnum(val string) (HostPerformanceMetricGroupMetricNameEnum, bool)
GetMappingHostPerformanceMetricGroupMetricNameEnum performs case Insensitive comparison on enum value and return the desired enum
HostProduct Product metric for the host
type HostProduct struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Vendor of the product
Vendor *string `mandatory:"false" json:"vendor"`
// Name of the product
Name *string `mandatory:"false" json:"name"`
// Version of the product
Version *string `mandatory:"false" json:"version"`
}
func (m HostProduct) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostProduct) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostProduct) String() string
func (m HostProduct) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostResourceAllocation Resource Allocation metric for the host
type HostResourceAllocation struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// Total number of CPUs available
TotalCpus *int `mandatory:"false" json:"totalCpus"`
// Total amount of usable physical memory in gibabytes
TotalMemoryInGB *float64 `mandatory:"false" json:"totalMemoryInGB"`
}
func (m HostResourceAllocation) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostResourceAllocation) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostResourceAllocation) String() string
func (m HostResourceAllocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostResourceCapacityTrendAggregation Host Resource Capacity samples
type HostResourceCapacityTrendAggregation struct {
// The timestamp in which the current sampling period ends in RFC 3339 format.
EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
}
func (m HostResourceCapacityTrendAggregation) String() string
func (m HostResourceCapacityTrendAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostResourceStatistics Contains host resource base statistics.
type HostResourceStatistics interface {
// Total amount used of the resource metric type (CPU, STORAGE).
GetUsage() *float64
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
GetCapacity() *float64
// Resource utilization in percentage.
GetUtilizationPercent() *float64
// Change in resource utilization in percentage
GetUsageChangePercent() *float64
}
HostResourceStatisticsResourceNameEnum Enum with underlying type: string
type HostResourceStatisticsResourceNameEnum string
Set of constants representing the allowable values for HostResourceStatisticsResourceNameEnum
const (
HostResourceStatisticsResourceNameCpuStatistics HostResourceStatisticsResourceNameEnum = "HOST_CPU_STATISTICS"
HostResourceStatisticsResourceNameMemoryStatistics HostResourceStatisticsResourceNameEnum = "HOST_MEMORY_STATISTICS"
HostResourceStatisticsResourceNameStorageStatistics HostResourceStatisticsResourceNameEnum = "HOST_STORAGE_STATISTICS"
HostResourceStatisticsResourceNameNetworkStatistics HostResourceStatisticsResourceNameEnum = "HOST_NETWORK_STATISTICS"
HostResourceStatisticsResourceNameIoStatistics HostResourceStatisticsResourceNameEnum = "HOST_IO_STATISTICS"
)
func GetHostResourceStatisticsResourceNameEnumValues() []HostResourceStatisticsResourceNameEnum
GetHostResourceStatisticsResourceNameEnumValues Enumerates the set of values for HostResourceStatisticsResourceNameEnum
func GetMappingHostResourceStatisticsResourceNameEnum(val string) (HostResourceStatisticsResourceNameEnum, bool)
GetMappingHostResourceStatisticsResourceNameEnum performs case Insensitive comparison on enum value and return the desired enum
HostStorageRecommendations Contains storage recommendation.
type HostStorageRecommendations struct {
// Identify if an instance is abandoned.
IsAbandonedInstance *bool `mandatory:"false" json:"isAbandonedInstance"`
// Identify unused instances based on cpu, memory and network metrics.
UnusedInstance HostStorageRecommendationsUnusedInstanceEnum `mandatory:"false" json:"unusedInstance,omitempty"`
}
func (m HostStorageRecommendations) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostStorageRecommendations) String() string
func (m HostStorageRecommendations) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostStorageRecommendationsUnusedInstanceEnum Enum with underlying type: string
type HostStorageRecommendationsUnusedInstanceEnum string
Set of constants representing the allowable values for HostStorageRecommendationsUnusedInstanceEnum
const (
HostStorageRecommendationsUnusedInstanceInUse HostStorageRecommendationsUnusedInstanceEnum = "IN_USE"
HostStorageRecommendationsUnusedInstanceNotInUse HostStorageRecommendationsUnusedInstanceEnum = "NOT_IN_USE"
HostStorageRecommendationsUnusedInstanceIsNotDetermined HostStorageRecommendationsUnusedInstanceEnum = "IS_NOT_DETERMINED"
)
func GetHostStorageRecommendationsUnusedInstanceEnumValues() []HostStorageRecommendationsUnusedInstanceEnum
GetHostStorageRecommendationsUnusedInstanceEnumValues Enumerates the set of values for HostStorageRecommendationsUnusedInstanceEnum
func GetMappingHostStorageRecommendationsUnusedInstanceEnum(val string) (HostStorageRecommendationsUnusedInstanceEnum, bool)
GetMappingHostStorageRecommendationsUnusedInstanceEnum performs case Insensitive comparison on enum value and return the desired enum
HostStorageStatistics Contains storage statistics.
type HostStorageStatistics struct {
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"true" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"true" json:"capacity"`
// Resource utilization in percentage.
UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
FilesystemAvailableInPercent *float64 `mandatory:"false" json:"filesystemAvailableInPercent"`
}
func (m HostStorageStatistics) GetCapacity() *float64
GetCapacity returns Capacity
func (m HostStorageStatistics) GetUsage() *float64
GetUsage returns Usage
func (m HostStorageStatistics) GetUsageChangePercent() *float64
GetUsageChangePercent returns UsageChangePercent
func (m HostStorageStatistics) GetUtilizationPercent() *float64
GetUtilizationPercent returns UtilizationPercent
func (m HostStorageStatistics) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostStorageStatistics) String() string
func (m HostStorageStatistics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostTopProcesses Top Processes metric for the host
type HostTopProcesses struct {
// Collection timestamp
// Example: `"2020-05-06T00:00:00.000Z"`
TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
// process id
Pid *float32 `mandatory:"false" json:"pid"`
// User that started the process
UserName *string `mandatory:"false" json:"userName"`
// Memory utilization percentage
MemoryUtilizationPercent *float64 `mandatory:"false" json:"memoryUtilizationPercent"`
// CPU utilization percentage
CpuUtilizationPercent *float64 `mandatory:"false" json:"cpuUtilizationPercent"`
// CPU usage in seconds
CpuUsageInSeconds *float64 `mandatory:"false" json:"cpuUsageInSeconds"`
// Command line executed for the process
Command *string `mandatory:"false" json:"command"`
// Virtual memory in megabytes
VirtualMemoryInMBs *float64 `mandatory:"false" json:"virtualMemoryInMBs"`
// Physical memory in megabytes
PhysicalMemoryInMBs *float64 `mandatory:"false" json:"physicalMemoryInMBs"`
// Process Start Time
// Example: `"2020-03-31T00:00:00.000Z"`
StartTime *common.SDKTime `mandatory:"false" json:"startTime"`
// Number of processes running at the time of collection
TotalProcesses *float32 `mandatory:"false" json:"totalProcesses"`
// Container id if this process corresponds to a running container in the host
ContainerId *string `mandatory:"false" json:"containerId"`
// Bytes Read
DiskBytesRead *float64 `mandatory:"false" json:"diskBytesRead"`
// Bytes Written
DiskBytesWritten *float64 `mandatory:"false" json:"diskBytesWritten"`
// Read transactions per second
DiskIopsRead *float64 `mandatory:"false" json:"diskIopsRead"`
// Write transactions per second
DiskIopsWritten *float64 `mandatory:"false" json:"diskIopsWritten"`
// IO Transactions per second
DiskIops *float64 `mandatory:"false" json:"diskIops"`
}
func (m HostTopProcesses) GetTimeCollected() *common.SDKTime
GetTimeCollected returns TimeCollected
func (m HostTopProcesses) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostTopProcesses) String() string
func (m HostTopProcesses) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostedEntityCollection Returns a list of hosted entities for the specific host.
type HostedEntityCollection struct {
// The start timestamp that was passed into the request.
TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
// The end timestamp that was passed into the request.
TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
// List of hosted entities details.
Items []HostedEntitySummary `mandatory:"true" json:"items"`
}
func (m HostedEntityCollection) String() string
func (m HostedEntityCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostedEntitySummary Information about a hosted entity which includes identifier, name, and type.
type HostedEntitySummary struct {
// The identifier of the entity.
EntityIdentifier *string `mandatory:"true" json:"entityIdentifier"`
// The entity name.
EntityName *string `mandatory:"true" json:"entityName"`
// The entity type.
EntityType *string `mandatory:"true" json:"entityType"`
}
func (m HostedEntitySummary) String() string
func (m HostedEntitySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImportableAgentEntitySourceEnum Enum with underlying type: string
type ImportableAgentEntitySourceEnum string
Set of constants representing the allowable values for ImportableAgentEntitySourceEnum
const (
ImportableAgentEntitySourceMacsManagedExternalHost ImportableAgentEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST"
ImportableAgentEntitySourceMacsManagedCloudHost ImportableAgentEntitySourceEnum = "MACS_MANAGED_CLOUD_HOST"
)
func GetImportableAgentEntitySourceEnumValues() []ImportableAgentEntitySourceEnum
GetImportableAgentEntitySourceEnumValues Enumerates the set of values for ImportableAgentEntitySourceEnum
func GetMappingImportableAgentEntitySourceEnum(val string) (ImportableAgentEntitySourceEnum, bool)
GetMappingImportableAgentEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
ImportableAgentEntitySummary An agent entity that can be imported into Operations Insights.
type ImportableAgentEntitySummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
GetManagementAgentId() *string
// The Display Name (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Management Agent
GetManagementAgentDisplayName() *string
}
ImportableAgentEntitySummaryCollection Collection of importable agent entity objects.
type ImportableAgentEntitySummaryCollection struct {
// Array of importable agent entity objects.
Items []ImportableAgentEntitySummary `mandatory:"true" json:"items"`
}
func (m ImportableAgentEntitySummaryCollection) String() string
func (m *ImportableAgentEntitySummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ImportableAgentEntitySummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImportableComputeEntitySummary A compute entity that can be imported into Operations Insights.
type ImportableComputeEntitySummary interface {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
GetComputeId() *string
// The Display Name (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Compute Instance
GetComputeDisplayName() *string
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
GetCompartmentId() *string
}
ImportableComputeEntitySummaryCollection Collection of importable compute entity objects.
type ImportableComputeEntitySummaryCollection struct {
// Array of importable compute entity objects.
Items []ImportableComputeEntitySummary `mandatory:"true" json:"items"`
}
func (m ImportableComputeEntitySummaryCollection) String() string
func (m *ImportableComputeEntitySummaryCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ImportableComputeEntitySummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImportableEnterpriseManagerEntity An Enterprise Manager entity that can be imported into Operations Insights.
type ImportableEnterpriseManagerEntity struct {
// Enterprise Manager Unique Identifier
EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
// Enterprise Manager Entity Name
EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
// Enterprise Manager Entity Type
EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
// Enterprise Manager Entity Unique Identifier
EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
// Ops Insights internal representation of the resource type.
OpsiEntityType *string `mandatory:"false" json:"opsiEntityType"`
}
func (m ImportableEnterpriseManagerEntity) String() string
func (m ImportableEnterpriseManagerEntity) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImportableEnterpriseManagerEntityCollection Collection of importable Enterprise Manager entity objects.
type ImportableEnterpriseManagerEntityCollection struct {
// Array of importable Enterprise Manager entity objects.
Items []ImportableEnterpriseManagerEntity `mandatory:"true" json:"items"`
}
func (m ImportableEnterpriseManagerEntityCollection) String() string
func (m ImportableEnterpriseManagerEntityCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IndividualOpsiDataObjectDetailsInQuery Details applicable for an individual OPSI data object used in a data object query.
type IndividualOpsiDataObjectDetailsInQuery struct {
// Unique OPSI data object identifier.
DataObjectIdentifier *string `mandatory:"true" json:"dataObjectIdentifier"`
// An array of query parameters to be applied, for the OPSI data objects targetted by dataObjectDetailsTarget, before executing the query.
// Refer to supportedQueryParams of OpsiDataObject for the supported query parameters.
QueryParams []OpsiDataObjectQueryParam `mandatory:"false" json:"queryParams"`
}
func (m IndividualOpsiDataObjectDetailsInQuery) GetQueryParams() []OpsiDataObjectQueryParam
GetQueryParams returns QueryParams
func (m IndividualOpsiDataObjectDetailsInQuery) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m IndividualOpsiDataObjectDetailsInQuery) String() string
func (m IndividualOpsiDataObjectDetailsInQuery) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestAddmReportsDetails Collection of Addm reports
type IngestAddmReportsDetails struct {
// List of Addm reports
Items []AddmReport `mandatory:"true" json:"items"`
}
func (m IngestAddmReportsDetails) String() string
func (m IngestAddmReportsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestAddmReportsRequest wrapper for the IngestAddmReports operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestAddmReports.go.html to see an example of how to use IngestAddmReportsRequest.
type IngestAddmReportsRequest struct {
// Collection of addm reports for a particular database.
IngestAddmReportsDetails `contributesTo:"body"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestAddmReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestAddmReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestAddmReportsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestAddmReportsRequest) String() string
func (request IngestAddmReportsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestAddmReportsResponse wrapper for the IngestAddmReports operation
type IngestAddmReportsResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestAddmReportsResponseDetails instance
IngestAddmReportsResponseDetails `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 IngestAddmReportsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestAddmReportsResponse) String() string
IngestAddmReportsResponseDetails The response object returned from IngestAddmReports operation.
type IngestAddmReportsResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestAddmReportsResponseDetails) String() string
func (m IngestAddmReportsResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestDatabaseConfigurationDetails Database Configuration Metrics details.
type IngestDatabaseConfigurationDetails struct {
// Array of one or more database configuration metrics objects.
Items []DatabaseConfigurationMetricGroup `mandatory:"true" json:"items"`
}
func (m IngestDatabaseConfigurationDetails) String() string
func (m *IngestDatabaseConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m IngestDatabaseConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestDatabaseConfigurationRequest wrapper for the IngestDatabaseConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestDatabaseConfiguration.go.html to see an example of how to use IngestDatabaseConfigurationRequest.
type IngestDatabaseConfigurationRequest struct {
// Payload for one or more database configuration metrics for a particular database.
IngestDatabaseConfigurationDetails `contributesTo:"body"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestDatabaseConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestDatabaseConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestDatabaseConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestDatabaseConfigurationRequest) String() string
func (request IngestDatabaseConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestDatabaseConfigurationResponse wrapper for the IngestDatabaseConfiguration operation
type IngestDatabaseConfigurationResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestDatabaseConfigurationResponseDetails instance
IngestDatabaseConfigurationResponseDetails `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 IngestDatabaseConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestDatabaseConfigurationResponse) String() string
IngestDatabaseConfigurationResponseDetails The response object returned from IngestDatabaseConfiguration operation.
type IngestDatabaseConfigurationResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestDatabaseConfigurationResponseDetails) String() string
func (m IngestDatabaseConfigurationResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestHostConfigurationDetails Contains the data to ingest for one or more host configuration metrics
type IngestHostConfigurationDetails struct {
// Collection of one or more host configuration metric data points
Items []HostConfigurationMetricGroup `mandatory:"true" json:"items"`
}
func (m IngestHostConfigurationDetails) String() string
func (m *IngestHostConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m IngestHostConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestHostConfigurationRequest wrapper for the IngestHostConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostConfiguration.go.html to see an example of how to use IngestHostConfigurationRequest.
type IngestHostConfigurationRequest struct {
// Required OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Payload for one or more host configuration metrics for a particular host.
IngestHostConfigurationDetails `contributesTo:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestHostConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestHostConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestHostConfigurationRequest) String() string
func (request IngestHostConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestHostConfigurationResponse wrapper for the IngestHostConfiguration operation
type IngestHostConfigurationResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestHostConfigurationResponseDetails instance
IngestHostConfigurationResponseDetails `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 IngestHostConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestHostConfigurationResponse) String() string
IngestHostConfigurationResponseDetails The response object returned from IngestHostConfiguration operation.
type IngestHostConfigurationResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestHostConfigurationResponseDetails) String() string
func (m IngestHostConfigurationResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestHostMetricsDetails Contains the data to ingest for one or more host performance metrics
type IngestHostMetricsDetails struct {
// Collection of one or more host performance metric data points
Items []HostPerformanceMetricGroup `mandatory:"true" json:"items"`
}
func (m IngestHostMetricsDetails) String() string
func (m *IngestHostMetricsDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m IngestHostMetricsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestHostMetricsRequest wrapper for the IngestHostMetrics operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostMetrics.go.html to see an example of how to use IngestHostMetricsRequest.
type IngestHostMetricsRequest struct {
// Required OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Payload for one or more host performance metrics for a particular host.
IngestHostMetricsDetails `contributesTo:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestHostMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestHostMetricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestHostMetricsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestHostMetricsRequest) String() string
func (request IngestHostMetricsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestHostMetricsResponse wrapper for the IngestHostMetrics operation
type IngestHostMetricsResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestHostMetricsResponseDetails instance
IngestHostMetricsResponseDetails `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 IngestHostMetricsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestHostMetricsResponse) String() string
IngestHostMetricsResponseDetails The response object returned from IngestHostMetrics operation.
type IngestHostMetricsResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestHostMetricsResponseDetails) String() string
func (m IngestHostMetricsResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestMySqlSqlStatsDetails Collection of MySql SQL Stats Metric Entries
type IngestMySqlSqlStatsDetails struct {
// List of MySql SQL Stats Metric Entries.
Items []MySqlSqlStats `mandatory:"false" json:"items"`
}
func (m IngestMySqlSqlStatsDetails) String() string
func (m IngestMySqlSqlStatsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestMySqlSqlStatsRequest wrapper for the IngestMySqlSqlStats operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestMySqlSqlStats.go.html to see an example of how to use IngestMySqlSqlStatsRequest.
type IngestMySqlSqlStatsRequest struct {
// Collection of MySql SQL stats objects for a particular database.
IngestMySqlSqlStatsDetails `contributesTo:"body"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestMySqlSqlStatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestMySqlSqlStatsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestMySqlSqlStatsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestMySqlSqlStatsRequest) String() string
func (request IngestMySqlSqlStatsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestMySqlSqlStatsResponse wrapper for the IngestMySqlSqlStats operation
type IngestMySqlSqlStatsResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestMySqlSqlStatsResponseDetails instance
IngestMySqlSqlStatsResponseDetails `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 IngestMySqlSqlStatsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestMySqlSqlStatsResponse) String() string
IngestMySqlSqlStatsResponseDetails The response object returned from IngestMySqlSqlStats operation.
type IngestMySqlSqlStatsResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestMySqlSqlStatsResponseDetails) String() string
func (m IngestMySqlSqlStatsResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestMySqlSqlTextDetails Collection of SQL Text Entries
type IngestMySqlSqlTextDetails struct {
// List of SQL Text Entries.
Items []MySqlSqlText `mandatory:"false" json:"items"`
}
func (m IngestMySqlSqlTextDetails) String() string
func (m IngestMySqlSqlTextDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestMySqlSqlTextRequest wrapper for the IngestMySqlSqlText operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestMySqlSqlText.go.html to see an example of how to use IngestMySqlSqlTextRequest.
type IngestMySqlSqlTextRequest struct {
// Collection of SQL text objects for a particular database.
IngestMySqlSqlTextDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestMySqlSqlTextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestMySqlSqlTextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestMySqlSqlTextRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestMySqlSqlTextRequest) String() string
func (request IngestMySqlSqlTextRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestMySqlSqlTextResponse wrapper for the IngestMySqlSqlText operation
type IngestMySqlSqlTextResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestMySqlSqlTextResponseDetails instance
IngestMySqlSqlTextResponseDetails `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 IngestMySqlSqlTextResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestMySqlSqlTextResponse) String() string
IngestMySqlSqlTextResponseDetails The response object returned from IngestMySqlSqlTextDetails operation.
type IngestMySqlSqlTextResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestMySqlSqlTextResponseDetails) String() string
func (m IngestMySqlSqlTextResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlBucketDetails Collection of SQL Bucket Metric Entries
type IngestSqlBucketDetails struct {
// List of SQL Bucket Metric Entries.
Items []SqlBucket `mandatory:"false" json:"items"`
}
func (m IngestSqlBucketDetails) String() string
func (m IngestSqlBucketDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlBucketRequest wrapper for the IngestSqlBucket operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucketRequest.
type IngestSqlBucketRequest struct {
// Collection of SQL bucket objects for a particular database.
IngestSqlBucketDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestSqlBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlBucketRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlBucketRequest) String() string
func (request IngestSqlBucketRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlBucketResponse wrapper for the IngestSqlBucket operation
type IngestSqlBucketResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestSqlBucketResponseDetails instance
IngestSqlBucketResponseDetails `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 IngestSqlBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlBucketResponse) String() string
IngestSqlBucketResponseDetails The response object returned from IngestSqlBucketDetails operation.
type IngestSqlBucketResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestSqlBucketResponseDetails) String() string
func (m IngestSqlBucketResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlPlanLinesDetails Collection of SQL Plan Line Entries
type IngestSqlPlanLinesDetails struct {
// List of SQL Plan Line Entries.
Items []SqlPlanLine `mandatory:"false" json:"items"`
}
func (m IngestSqlPlanLinesDetails) String() string
func (m IngestSqlPlanLinesDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlPlanLinesRequest wrapper for the IngestSqlPlanLines operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLinesRequest.
type IngestSqlPlanLinesRequest struct {
// Collection of SQL plan line objects for a particular database.
IngestSqlPlanLinesDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestSqlPlanLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlPlanLinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlPlanLinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlPlanLinesRequest) String() string
func (request IngestSqlPlanLinesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlPlanLinesResponse wrapper for the IngestSqlPlanLines operation
type IngestSqlPlanLinesResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestSqlPlanLinesResponseDetails instance
IngestSqlPlanLinesResponseDetails `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 IngestSqlPlanLinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlPlanLinesResponse) String() string
IngestSqlPlanLinesResponseDetails The response object returned from IngestSqlPlanLines operation.
type IngestSqlPlanLinesResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestSqlPlanLinesResponseDetails) String() string
func (m IngestSqlPlanLinesResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlStatsDetails Collection of SQL Stats Metric Entries
type IngestSqlStatsDetails struct {
// List of SQL Stats Metric Entries.
Items []SqlStats `mandatory:"false" json:"items"`
}
func (m IngestSqlStatsDetails) String() string
func (m IngestSqlStatsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlStatsRequest wrapper for the IngestSqlStats operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlStats.go.html to see an example of how to use IngestSqlStatsRequest.
type IngestSqlStatsRequest struct {
// Collection of SQL stats objects for a particular database.
IngestSqlStatsDetails `contributesTo:"body"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestSqlStatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlStatsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlStatsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlStatsRequest) String() string
func (request IngestSqlStatsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlStatsResponse wrapper for the IngestSqlStats operation
type IngestSqlStatsResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestSqlStatsResponseDetails instance
IngestSqlStatsResponseDetails `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 IngestSqlStatsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlStatsResponse) String() string
IngestSqlStatsResponseDetails The response object returned from IngestSqlStats operation.
type IngestSqlStatsResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestSqlStatsResponseDetails) String() string
func (m IngestSqlStatsResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlTextDetails Collection of SQL Text Entries
type IngestSqlTextDetails struct {
// List of SQL Text Entries.
Items []SqlText `mandatory:"false" json:"items"`
}
func (m IngestSqlTextDetails) String() string
func (m IngestSqlTextDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlTextRequest wrapper for the IngestSqlText operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlTextRequest.
type IngestSqlTextRequest struct {
// Collection of SQL text objects for a particular database.
IngestSqlTextDetails `contributesTo:"body"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
// A token that uniquely identifies a request that can be retried in case of a timeout or
// server error without risk of executing the same action again. Retry tokens expire after 24
// hours.
// *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
// operations, such as a resource being deleted or purged from the system.
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 IngestSqlTextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IngestSqlTextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IngestSqlTextRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IngestSqlTextRequest) String() string
func (request IngestSqlTextRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IngestSqlTextResponse wrapper for the IngestSqlText operation
type IngestSqlTextResponse struct {
// The underlying http response
RawResponse *http.Response
// The IngestSqlTextResponseDetails instance
IngestSqlTextResponseDetails `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 IngestSqlTextResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IngestSqlTextResponse) String() string
IngestSqlTextResponseDetails The response object returned from IngestSqlTextDetails operation.
type IngestSqlTextResponseDetails struct {
// Success message returned as a result of the upload.
Message *string `mandatory:"true" json:"message"`
}
func (m IngestSqlTextResponseDetails) String() string
func (m IngestSqlTextResponseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InstanceMetrics Object containing instance metrics.
type InstanceMetrics struct {
// The hostname of the database insight resource.
HostName *string `mandatory:"false" json:"hostName"`
// The instance name of the database insight resource.
InstanceName *string `mandatory:"false" json:"instanceName"`
// Total amount used of the resource metric type (CPU, STORAGE).
Usage *float64 `mandatory:"false" json:"usage"`
// The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Capacity *float64 `mandatory:"false" json:"capacity"`
// The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
// Resource utilization in percentage
UtilizationPercent *float64 `mandatory:"false" json:"utilizationPercent"`
// Change in resource utilization in percentage
UsageChangePercent *float64 `mandatory:"false" json:"usageChangePercent"`
}
func (m InstanceMetrics) String() string
func (m InstanceMetrics) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IoUsageTrend Usage data for IO interface per usage unit.
type IoUsageTrend struct {
// The timestamp in which the current sampling period ends in RFC 3339 format.
EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
// MBs Read.
DiskBytesReadInMBs *float64 `mandatory:"true" json:"diskBytesReadInMBs"`
// MBs Written.
DiskBytesWrittenInMBs *float64 `mandatory:"true" json:"diskBytesWrittenInMBs"`
// Read IO operations per second.
DiskIopsRead *float64 `mandatory:"true" json:"diskIopsRead"`
// Write IO operations per second.
DiskIopsWritten *float64 `mandatory:"true" json:"diskIopsWritten"`
// IO operations per second.
DiskIops *float64 `mandatory:"true" json:"diskIops"`
}
func (m IoUsageTrend) String() string
func (m IoUsageTrend) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
IoUsageTrendAggregation Usage data per io interface.
type IoUsageTrendAggregation struct {
// Mount point is specialized NTFS filesystem object.
MountPoint *string `mandatory:"true" json:"mountPoint"`
// List of usage data samples for a IO interface.
UsageData []IoUsageTrend `mandatory:"true" json:"usageData"`
}
func (m IoUsageTrendAggregation) String() string
func (m IoUsageTrendAggregation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const (
LifecycleStateCreating LifecycleStateEnum = "CREATING"
LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
LifecycleStateActive LifecycleStateEnum = "ACTIVE"
LifecycleStateDeleting LifecycleStateEnum = "DELETING"
LifecycleStateDeleted LifecycleStateEnum = "DELETED"
LifecycleStateFailed LifecycleStateEnum = "FAILED"
LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION"
)
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbFindingCategoriesRequest wrapper for the ListAddmDbFindingCategories operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbFindingCategories.go.html to see an example of how to use ListAddmDbFindingCategoriesRequest.
type ListAddmDbFindingCategoriesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAddmDbFindingCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Field name for sorting the finding categories
SortBy ListAddmDbFindingCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListAddmDbFindingCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAddmDbFindingCategoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAddmDbFindingCategoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAddmDbFindingCategoriesRequest) String() string
func (request ListAddmDbFindingCategoriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAddmDbFindingCategoriesResponse wrapper for the ListAddmDbFindingCategories operation
type ListAddmDbFindingCategoriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AddmDbFindingCategoryCollection instances
AddmDbFindingCategoryCollection `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 ListAddmDbFindingCategoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAddmDbFindingCategoriesResponse) String() string
ListAddmDbFindingCategoriesSortByEnum Enum with underlying type: string
type ListAddmDbFindingCategoriesSortByEnum string
Set of constants representing the allowable values for ListAddmDbFindingCategoriesSortByEnum
const (
ListAddmDbFindingCategoriesSortByName ListAddmDbFindingCategoriesSortByEnum = "name"
)
func GetListAddmDbFindingCategoriesSortByEnumValues() []ListAddmDbFindingCategoriesSortByEnum
GetListAddmDbFindingCategoriesSortByEnumValues Enumerates the set of values for ListAddmDbFindingCategoriesSortByEnum
func GetMappingListAddmDbFindingCategoriesSortByEnum(val string) (ListAddmDbFindingCategoriesSortByEnum, bool)
GetMappingListAddmDbFindingCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbFindingCategoriesSortOrderEnum Enum with underlying type: string
type ListAddmDbFindingCategoriesSortOrderEnum string
Set of constants representing the allowable values for ListAddmDbFindingCategoriesSortOrderEnum
const (
ListAddmDbFindingCategoriesSortOrderAsc ListAddmDbFindingCategoriesSortOrderEnum = "ASC"
ListAddmDbFindingCategoriesSortOrderDesc ListAddmDbFindingCategoriesSortOrderEnum = "DESC"
)
func GetListAddmDbFindingCategoriesSortOrderEnumValues() []ListAddmDbFindingCategoriesSortOrderEnum
GetListAddmDbFindingCategoriesSortOrderEnumValues Enumerates the set of values for ListAddmDbFindingCategoriesSortOrderEnum
func GetMappingListAddmDbFindingCategoriesSortOrderEnum(val string) (ListAddmDbFindingCategoriesSortOrderEnum, bool)
GetMappingListAddmDbFindingCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbFindingsTimeSeriesRequest wrapper for the ListAddmDbFindingsTimeSeries operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbFindingsTimeSeries.go.html to see an example of how to use ListAddmDbFindingsTimeSeriesRequest.
type ListAddmDbFindingsTimeSeriesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// The optional single value query parameter to filter by database instance number.
InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
// Analysis start time in UTC in ISO 8601 format(inclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// The minimum allowed value is 2 years prior to the current day.
// timeIntervalStart and timeIntervalEnd parameters are used together.
// If analysisTimeInterval is specified, this parameter is ignored.
TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
// Analysis end time in UTC in ISO 8601 format(exclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// timeIntervalStart and timeIntervalEnd are used together.
// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
// Optional value filter to match the finding category exactly.
CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAddmDbFindingsTimeSeriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Field name for sorting the ADDM finding time series summary data
SortBy ListAddmDbFindingsTimeSeriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListAddmDbFindingsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAddmDbFindingsTimeSeriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAddmDbFindingsTimeSeriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAddmDbFindingsTimeSeriesRequest) String() string
func (request ListAddmDbFindingsTimeSeriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAddmDbFindingsTimeSeriesResponse wrapper for the ListAddmDbFindingsTimeSeries operation
type ListAddmDbFindingsTimeSeriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AddmDbFindingsTimeSeriesCollection instances
AddmDbFindingsTimeSeriesCollection `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 ListAddmDbFindingsTimeSeriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAddmDbFindingsTimeSeriesResponse) String() string
ListAddmDbFindingsTimeSeriesSortByEnum Enum with underlying type: string
type ListAddmDbFindingsTimeSeriesSortByEnum string
Set of constants representing the allowable values for ListAddmDbFindingsTimeSeriesSortByEnum
const (
ListAddmDbFindingsTimeSeriesSortByTimestamp ListAddmDbFindingsTimeSeriesSortByEnum = "timestamp"
)
func GetListAddmDbFindingsTimeSeriesSortByEnumValues() []ListAddmDbFindingsTimeSeriesSortByEnum
GetListAddmDbFindingsTimeSeriesSortByEnumValues Enumerates the set of values for ListAddmDbFindingsTimeSeriesSortByEnum
func GetMappingListAddmDbFindingsTimeSeriesSortByEnum(val string) (ListAddmDbFindingsTimeSeriesSortByEnum, bool)
GetMappingListAddmDbFindingsTimeSeriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbFindingsTimeSeriesSortOrderEnum Enum with underlying type: string
type ListAddmDbFindingsTimeSeriesSortOrderEnum string
Set of constants representing the allowable values for ListAddmDbFindingsTimeSeriesSortOrderEnum
const (
ListAddmDbFindingsTimeSeriesSortOrderAsc ListAddmDbFindingsTimeSeriesSortOrderEnum = "ASC"
ListAddmDbFindingsTimeSeriesSortOrderDesc ListAddmDbFindingsTimeSeriesSortOrderEnum = "DESC"
)
func GetListAddmDbFindingsTimeSeriesSortOrderEnumValues() []ListAddmDbFindingsTimeSeriesSortOrderEnum
GetListAddmDbFindingsTimeSeriesSortOrderEnumValues Enumerates the set of values for ListAddmDbFindingsTimeSeriesSortOrderEnum
func GetMappingListAddmDbFindingsTimeSeriesSortOrderEnum(val string) (ListAddmDbFindingsTimeSeriesSortOrderEnum, bool)
GetMappingListAddmDbFindingsTimeSeriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbParameterCategoriesRequest wrapper for the ListAddmDbParameterCategories operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbParameterCategories.go.html to see an example of how to use ListAddmDbParameterCategoriesRequest.
type ListAddmDbParameterCategoriesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAddmDbParameterCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Field name for sorting the database parameter categories
SortBy ListAddmDbParameterCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListAddmDbParameterCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAddmDbParameterCategoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAddmDbParameterCategoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAddmDbParameterCategoriesRequest) String() string
func (request ListAddmDbParameterCategoriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAddmDbParameterCategoriesResponse wrapper for the ListAddmDbParameterCategories operation
type ListAddmDbParameterCategoriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AddmDbParameterCategoryCollection instances
AddmDbParameterCategoryCollection `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 ListAddmDbParameterCategoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAddmDbParameterCategoriesResponse) String() string
ListAddmDbParameterCategoriesSortByEnum Enum with underlying type: string
type ListAddmDbParameterCategoriesSortByEnum string
Set of constants representing the allowable values for ListAddmDbParameterCategoriesSortByEnum
const (
ListAddmDbParameterCategoriesSortByName ListAddmDbParameterCategoriesSortByEnum = "name"
)
func GetListAddmDbParameterCategoriesSortByEnumValues() []ListAddmDbParameterCategoriesSortByEnum
GetListAddmDbParameterCategoriesSortByEnumValues Enumerates the set of values for ListAddmDbParameterCategoriesSortByEnum
func GetMappingListAddmDbParameterCategoriesSortByEnum(val string) (ListAddmDbParameterCategoriesSortByEnum, bool)
GetMappingListAddmDbParameterCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbParameterCategoriesSortOrderEnum Enum with underlying type: string
type ListAddmDbParameterCategoriesSortOrderEnum string
Set of constants representing the allowable values for ListAddmDbParameterCategoriesSortOrderEnum
const (
ListAddmDbParameterCategoriesSortOrderAsc ListAddmDbParameterCategoriesSortOrderEnum = "ASC"
ListAddmDbParameterCategoriesSortOrderDesc ListAddmDbParameterCategoriesSortOrderEnum = "DESC"
)
func GetListAddmDbParameterCategoriesSortOrderEnumValues() []ListAddmDbParameterCategoriesSortOrderEnum
GetListAddmDbParameterCategoriesSortOrderEnumValues Enumerates the set of values for ListAddmDbParameterCategoriesSortOrderEnum
func GetMappingListAddmDbParameterCategoriesSortOrderEnum(val string) (ListAddmDbParameterCategoriesSortOrderEnum, bool)
GetMappingListAddmDbParameterCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbRecommendationCategoriesRequest wrapper for the ListAddmDbRecommendationCategories operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbRecommendationCategories.go.html to see an example of how to use ListAddmDbRecommendationCategoriesRequest.
type ListAddmDbRecommendationCategoriesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAddmDbRecommendationCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Field name for sorting the recommendation categories
SortBy ListAddmDbRecommendationCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListAddmDbRecommendationCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAddmDbRecommendationCategoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAddmDbRecommendationCategoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAddmDbRecommendationCategoriesRequest) String() string
func (request ListAddmDbRecommendationCategoriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAddmDbRecommendationCategoriesResponse wrapper for the ListAddmDbRecommendationCategories operation
type ListAddmDbRecommendationCategoriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AddmDbRecommendationCategoryCollection instances
AddmDbRecommendationCategoryCollection `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 ListAddmDbRecommendationCategoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAddmDbRecommendationCategoriesResponse) String() string
ListAddmDbRecommendationCategoriesSortByEnum Enum with underlying type: string
type ListAddmDbRecommendationCategoriesSortByEnum string
Set of constants representing the allowable values for ListAddmDbRecommendationCategoriesSortByEnum
const (
ListAddmDbRecommendationCategoriesSortByName ListAddmDbRecommendationCategoriesSortByEnum = "name"
)
func GetListAddmDbRecommendationCategoriesSortByEnumValues() []ListAddmDbRecommendationCategoriesSortByEnum
GetListAddmDbRecommendationCategoriesSortByEnumValues Enumerates the set of values for ListAddmDbRecommendationCategoriesSortByEnum
func GetMappingListAddmDbRecommendationCategoriesSortByEnum(val string) (ListAddmDbRecommendationCategoriesSortByEnum, bool)
GetMappingListAddmDbRecommendationCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbRecommendationCategoriesSortOrderEnum Enum with underlying type: string
type ListAddmDbRecommendationCategoriesSortOrderEnum string
Set of constants representing the allowable values for ListAddmDbRecommendationCategoriesSortOrderEnum
const (
ListAddmDbRecommendationCategoriesSortOrderAsc ListAddmDbRecommendationCategoriesSortOrderEnum = "ASC"
ListAddmDbRecommendationCategoriesSortOrderDesc ListAddmDbRecommendationCategoriesSortOrderEnum = "DESC"
)
func GetListAddmDbRecommendationCategoriesSortOrderEnumValues() []ListAddmDbRecommendationCategoriesSortOrderEnum
GetListAddmDbRecommendationCategoriesSortOrderEnumValues Enumerates the set of values for ListAddmDbRecommendationCategoriesSortOrderEnum
func GetMappingListAddmDbRecommendationCategoriesSortOrderEnum(val string) (ListAddmDbRecommendationCategoriesSortOrderEnum, bool)
GetMappingListAddmDbRecommendationCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbRecommendationsTimeSeriesRequest wrapper for the ListAddmDbRecommendationsTimeSeries operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbRecommendationsTimeSeries.go.html to see an example of how to use ListAddmDbRecommendationsTimeSeriesRequest.
type ListAddmDbRecommendationsTimeSeriesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// The optional single value query parameter to filter by database instance number.
InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
// Analysis start time in UTC in ISO 8601 format(inclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// The minimum allowed value is 2 years prior to the current day.
// timeIntervalStart and timeIntervalEnd parameters are used together.
// If analysisTimeInterval is specified, this parameter is ignored.
TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
// Analysis end time in UTC in ISO 8601 format(exclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// timeIntervalStart and timeIntervalEnd are used together.
// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
// Optional value filter to match the finding category exactly.
CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
// Optional filter to return only resources whose sql id matches the value given. Only considered when
// categoryName is SQL_TUNING.
SqlIdentifier *string `mandatory:"false" contributesTo:"query" name:"sqlIdentifier"`
// Optional filter to return only resources whose owner or name contains the substring given. The
// match is not case sensitive. Only considered when categoryName is SCHEMA_OBJECT.
OwnerOrNameContains *string `mandatory:"false" contributesTo:"query" name:"ownerOrNameContains"`
// Optional filter to return only resources whose name contains the substring given. The
// match is not case sensitive. Only considered when categoryName is DATABASE_CONFIGURATION.
NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`
// Optional filter to return only resources whose name exactly matches the substring given. The
// match is case sensitive. Only considered when categoryName is DATABASE_CONFIGURATION.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAddmDbRecommendationsTimeSeriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Field name for sorting the ADDM recommendation time series summary data
SortBy ListAddmDbRecommendationsTimeSeriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListAddmDbRecommendationsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAddmDbRecommendationsTimeSeriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAddmDbRecommendationsTimeSeriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAddmDbRecommendationsTimeSeriesRequest) String() string
func (request ListAddmDbRecommendationsTimeSeriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAddmDbRecommendationsTimeSeriesResponse wrapper for the ListAddmDbRecommendationsTimeSeries operation
type ListAddmDbRecommendationsTimeSeriesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AddmDbRecommendationsTimeSeriesCollection instances
AddmDbRecommendationsTimeSeriesCollection `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 ListAddmDbRecommendationsTimeSeriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAddmDbRecommendationsTimeSeriesResponse) String() string
ListAddmDbRecommendationsTimeSeriesSortByEnum Enum with underlying type: string
type ListAddmDbRecommendationsTimeSeriesSortByEnum string
Set of constants representing the allowable values for ListAddmDbRecommendationsTimeSeriesSortByEnum
const (
ListAddmDbRecommendationsTimeSeriesSortByTimestamp ListAddmDbRecommendationsTimeSeriesSortByEnum = "timestamp"
)
func GetListAddmDbRecommendationsTimeSeriesSortByEnumValues() []ListAddmDbRecommendationsTimeSeriesSortByEnum
GetListAddmDbRecommendationsTimeSeriesSortByEnumValues Enumerates the set of values for ListAddmDbRecommendationsTimeSeriesSortByEnum
func GetMappingListAddmDbRecommendationsTimeSeriesSortByEnum(val string) (ListAddmDbRecommendationsTimeSeriesSortByEnum, bool)
GetMappingListAddmDbRecommendationsTimeSeriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbRecommendationsTimeSeriesSortOrderEnum Enum with underlying type: string
type ListAddmDbRecommendationsTimeSeriesSortOrderEnum string
Set of constants representing the allowable values for ListAddmDbRecommendationsTimeSeriesSortOrderEnum
const (
ListAddmDbRecommendationsTimeSeriesSortOrderAsc ListAddmDbRecommendationsTimeSeriesSortOrderEnum = "ASC"
ListAddmDbRecommendationsTimeSeriesSortOrderDesc ListAddmDbRecommendationsTimeSeriesSortOrderEnum = "DESC"
)
func GetListAddmDbRecommendationsTimeSeriesSortOrderEnumValues() []ListAddmDbRecommendationsTimeSeriesSortOrderEnum
GetListAddmDbRecommendationsTimeSeriesSortOrderEnumValues Enumerates the set of values for ListAddmDbRecommendationsTimeSeriesSortOrderEnum
func GetMappingListAddmDbRecommendationsTimeSeriesSortOrderEnum(val string) (ListAddmDbRecommendationsTimeSeriesSortOrderEnum, bool)
GetMappingListAddmDbRecommendationsTimeSeriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbsRequest wrapper for the ListAddmDbs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbs.go.html to see an example of how to use ListAddmDbsRequest.
type ListAddmDbsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// Analysis start time in UTC in ISO 8601 format(inclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// The minimum allowed value is 2 years prior to the current day.
// timeIntervalStart and timeIntervalEnd parameters are used together.
// If analysisTimeInterval is specified, this parameter is ignored.
TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
// Analysis end time in UTC in ISO 8601 format(exclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// timeIntervalStart and timeIntervalEnd are used together.
// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAddmDbsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Field name for sorting ADDM database data
SortBy ListAddmDbsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListAddmDbsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAddmDbsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAddmDbsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAddmDbsRequest) String() string
func (request ListAddmDbsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAddmDbsResponse wrapper for the ListAddmDbs operation
type ListAddmDbsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AddmDbCollection instances
AddmDbCollection `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 ListAddmDbsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAddmDbsResponse) String() string
ListAddmDbsSortByEnum Enum with underlying type: string
type ListAddmDbsSortByEnum string
Set of constants representing the allowable values for ListAddmDbsSortByEnum
const (
ListAddmDbsSortByDatabasename ListAddmDbsSortByEnum = "databaseName"
ListAddmDbsSortByNumberoffindings ListAddmDbsSortByEnum = "numberOfFindings"
)
func GetListAddmDbsSortByEnumValues() []ListAddmDbsSortByEnum
GetListAddmDbsSortByEnumValues Enumerates the set of values for ListAddmDbsSortByEnum
func GetMappingListAddmDbsSortByEnum(val string) (ListAddmDbsSortByEnum, bool)
GetMappingListAddmDbsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAddmDbsSortOrderEnum Enum with underlying type: string
type ListAddmDbsSortOrderEnum string
Set of constants representing the allowable values for ListAddmDbsSortOrderEnum
const (
ListAddmDbsSortOrderAsc ListAddmDbsSortOrderEnum = "ASC"
ListAddmDbsSortOrderDesc ListAddmDbsSortOrderEnum = "DESC"
)
func GetListAddmDbsSortOrderEnumValues() []ListAddmDbsSortOrderEnum
GetListAddmDbsSortOrderEnumValues Enumerates the set of values for ListAddmDbsSortOrderEnum
func GetMappingListAddmDbsSortOrderEnum(val string) (ListAddmDbsSortOrderEnum, bool)
GetMappingListAddmDbsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDatabaseSnapshotsRequest wrapper for the ListAwrDatabaseSnapshots operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrDatabaseSnapshots.go.html to see an example of how to use ListAwrDatabaseSnapshotsRequest.
type ListAwrDatabaseSnapshotsRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// The internal ID of the database. The internal ID of the database is not the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
// It can be retrieved from the following endpoint:
// /awrHubs/{awrHubId}/awrDatabases
AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
// The optional single value query parameter to filter by database instance number.
InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
// The optional greater than or equal to filter on the snapshot ID.
BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the snapshot Identifier.
EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
// The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The option to sort the AWR snapshot summary data.
SortBy ListAwrDatabaseSnapshotsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAwrDatabaseSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListAwrDatabaseSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrDatabaseSnapshotsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrDatabaseSnapshotsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrDatabaseSnapshotsRequest) String() string
func (request ListAwrDatabaseSnapshotsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrDatabaseSnapshotsResponse wrapper for the ListAwrDatabaseSnapshots operation
type ListAwrDatabaseSnapshotsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AwrDatabaseSnapshotCollection instances
AwrDatabaseSnapshotCollection `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 ListAwrDatabaseSnapshotsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrDatabaseSnapshotsResponse) String() string
ListAwrDatabaseSnapshotsSortByEnum Enum with underlying type: string
type ListAwrDatabaseSnapshotsSortByEnum string
Set of constants representing the allowable values for ListAwrDatabaseSnapshotsSortByEnum
const (
ListAwrDatabaseSnapshotsSortByTimeBegin ListAwrDatabaseSnapshotsSortByEnum = "TIME_BEGIN"
ListAwrDatabaseSnapshotsSortBySnapshotId ListAwrDatabaseSnapshotsSortByEnum = "SNAPSHOT_ID"
)
func GetListAwrDatabaseSnapshotsSortByEnumValues() []ListAwrDatabaseSnapshotsSortByEnum
GetListAwrDatabaseSnapshotsSortByEnumValues Enumerates the set of values for ListAwrDatabaseSnapshotsSortByEnum
func GetMappingListAwrDatabaseSnapshotsSortByEnum(val string) (ListAwrDatabaseSnapshotsSortByEnum, bool)
GetMappingListAwrDatabaseSnapshotsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDatabaseSnapshotsSortOrderEnum Enum with underlying type: string
type ListAwrDatabaseSnapshotsSortOrderEnum string
Set of constants representing the allowable values for ListAwrDatabaseSnapshotsSortOrderEnum
const (
ListAwrDatabaseSnapshotsSortOrderAsc ListAwrDatabaseSnapshotsSortOrderEnum = "ASC"
ListAwrDatabaseSnapshotsSortOrderDesc ListAwrDatabaseSnapshotsSortOrderEnum = "DESC"
)
func GetListAwrDatabaseSnapshotsSortOrderEnumValues() []ListAwrDatabaseSnapshotsSortOrderEnum
GetListAwrDatabaseSnapshotsSortOrderEnumValues Enumerates the set of values for ListAwrDatabaseSnapshotsSortOrderEnum
func GetMappingListAwrDatabaseSnapshotsSortOrderEnum(val string) (ListAwrDatabaseSnapshotsSortOrderEnum, bool)
GetMappingListAwrDatabaseSnapshotsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDatabasesRequest wrapper for the ListAwrDatabases operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrDatabases.go.html to see an example of how to use ListAwrDatabasesRequest.
type ListAwrDatabasesRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// 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. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The option to sort the AWR summary data.
SortBy ListAwrDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAwrDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListAwrDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrDatabasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrDatabasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrDatabasesRequest) String() string
func (request ListAwrDatabasesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrDatabasesResponse wrapper for the ListAwrDatabases operation
type ListAwrDatabasesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AwrDatabaseCollection instances
AwrDatabaseCollection `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 ListAwrDatabasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrDatabasesResponse) String() string
ListAwrDatabasesSortByEnum Enum with underlying type: string
type ListAwrDatabasesSortByEnum string
Set of constants representing the allowable values for ListAwrDatabasesSortByEnum
const (
ListAwrDatabasesSortByEndIntervalTime ListAwrDatabasesSortByEnum = "END_INTERVAL_TIME"
ListAwrDatabasesSortByName ListAwrDatabasesSortByEnum = "NAME"
)
func GetListAwrDatabasesSortByEnumValues() []ListAwrDatabasesSortByEnum
GetListAwrDatabasesSortByEnumValues Enumerates the set of values for ListAwrDatabasesSortByEnum
func GetMappingListAwrDatabasesSortByEnum(val string) (ListAwrDatabasesSortByEnum, bool)
GetMappingListAwrDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrDatabasesSortOrderEnum Enum with underlying type: string
type ListAwrDatabasesSortOrderEnum string
Set of constants representing the allowable values for ListAwrDatabasesSortOrderEnum
const (
ListAwrDatabasesSortOrderAsc ListAwrDatabasesSortOrderEnum = "ASC"
ListAwrDatabasesSortOrderDesc ListAwrDatabasesSortOrderEnum = "DESC"
)
func GetListAwrDatabasesSortOrderEnumValues() []ListAwrDatabasesSortOrderEnum
GetListAwrDatabasesSortOrderEnumValues Enumerates the set of values for ListAwrDatabasesSortOrderEnum
func GetMappingListAwrDatabasesSortOrderEnum(val string) (ListAwrDatabasesSortOrderEnum, bool)
GetMappingListAwrDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrHubObjectsFieldsEnum Enum with underlying type: string
type ListAwrHubObjectsFieldsEnum string
Set of constants representing the allowable values for ListAwrHubObjectsFieldsEnum
const (
ListAwrHubObjectsFieldsName ListAwrHubObjectsFieldsEnum = "name"
ListAwrHubObjectsFieldsSize ListAwrHubObjectsFieldsEnum = "size"
ListAwrHubObjectsFieldsEtag ListAwrHubObjectsFieldsEnum = "etag"
ListAwrHubObjectsFieldsTimecreated ListAwrHubObjectsFieldsEnum = "timeCreated"
ListAwrHubObjectsFieldsMd5 ListAwrHubObjectsFieldsEnum = "md5"
ListAwrHubObjectsFieldsArchivalstate ListAwrHubObjectsFieldsEnum = "archivalState"
ListAwrHubObjectsFieldsTimemodified ListAwrHubObjectsFieldsEnum = "timeModified"
ListAwrHubObjectsFieldsStoragetier ListAwrHubObjectsFieldsEnum = "storageTier"
)
func GetListAwrHubObjectsFieldsEnumValues() []ListAwrHubObjectsFieldsEnum
GetListAwrHubObjectsFieldsEnumValues Enumerates the set of values for ListAwrHubObjectsFieldsEnum
func GetMappingListAwrHubObjectsFieldsEnum(val string) (ListAwrHubObjectsFieldsEnum, bool)
GetMappingListAwrHubObjectsFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrHubObjectsRequest wrapper for the ListAwrHubObjects operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrHubObjects.go.html to see an example of how to use ListAwrHubObjectsRequest.
type ListAwrHubObjectsRequest struct {
// Unique Awr Hub Source identifier
AwrHubSourceId *string `mandatory:"true" contributesTo:"path" name:"awrHubSourceId"`
// The string to use for matching against the start of object names in a Awr Hub list objects query.
Prefix *string `mandatory:"false" contributesTo:"query" name:"prefix"`
// Object names returned by Awr Hub list objects query must be greater or equal to this parameter.
Start *string `mandatory:"false" contributesTo:"query" name:"start"`
// Object names returned by Awr Hub list objects query must be strictly less than this parameter.
End *string `mandatory:"false" contributesTo:"query" name:"end"`
// When this parameter is set, only objects whose names do not contain the delimiter character
// (after an optionally specified prefix) are returned in the Awr Hub list objects key of the response body.
// Scanned objects whose names contain the delimiter have the part of their name up to the first
// occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
// Note that only '/' is a supported delimiter character at this time.
Delimiter *string `mandatory:"false" contributesTo:"query" name:"delimiter"`
// Awr Hub Object name after which remaining objects are listed
StartAfter *string `mandatory:"false" contributesTo:"query" name:"startAfter"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// By default all the fields are returned. Use this parameter to fetch specific fields 'size', 'etag', 'md5',
// 'timeCreated', 'timeModified', 'storageTier' and 'archivalState' fields. List the names of those fields
// in a comma-separated, case-insensitive list as the value of this parameter.
// For example: 'name,etag,timeCreated,md5,timeModified,storageTier,archivalState'.
Fields ListAwrHubObjectsFieldsEnum `mandatory:"false" contributesTo:"query" name:"fields" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListAwrHubObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrHubObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrHubObjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrHubObjectsRequest) String() string
func (request ListAwrHubObjectsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrHubObjectsResponse wrapper for the ListAwrHubObjects operation
type ListAwrHubObjectsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ListObjects instances
ListObjects `presentIn:"body"`
// Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
OpcClientRequestId *string `presentIn:"header" name:"opc-client-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"`
// 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 ListAwrHubObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrHubObjectsResponse) String() string
ListAwrHubSourcesRequest wrapper for the ListAwrHubSources operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrHubSources.go.html to see an example of how to use ListAwrHubSourcesRequest.
type ListAwrHubSourcesRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"query" name:"awrHubId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Awr Hub source identifier
AwrHubSourceId *string `mandatory:"false" contributesTo:"query" name:"awrHubSourceId"`
// Filter by one or more database type.
// Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
SourceType []AwrHubSourceTypeEnum `contributesTo:"query" name:"sourceType" omitEmpty:"true" collectionFormat:"multi"`
// Awr Hub source database name
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// Resource Status
Status []AwrHubSourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Lifecycle states
LifecycleState []AwrHubSourceLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAwrHubSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListAwrHubSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListAwrHubSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrHubSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrHubSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrHubSourcesRequest) String() string
func (request ListAwrHubSourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrHubSourcesResponse wrapper for the ListAwrHubSources operation
type ListAwrHubSourcesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AwrHubSourceSummaryCollection instances
AwrHubSourceSummaryCollection `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 ListAwrHubSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrHubSourcesResponse) String() string
ListAwrHubSourcesSortByEnum Enum with underlying type: string
type ListAwrHubSourcesSortByEnum string
Set of constants representing the allowable values for ListAwrHubSourcesSortByEnum
const (
ListAwrHubSourcesSortByTimecreated ListAwrHubSourcesSortByEnum = "timeCreated"
ListAwrHubSourcesSortByDisplayname ListAwrHubSourcesSortByEnum = "displayName"
)
func GetListAwrHubSourcesSortByEnumValues() []ListAwrHubSourcesSortByEnum
GetListAwrHubSourcesSortByEnumValues Enumerates the set of values for ListAwrHubSourcesSortByEnum
func GetMappingListAwrHubSourcesSortByEnum(val string) (ListAwrHubSourcesSortByEnum, bool)
GetMappingListAwrHubSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrHubSourcesSortOrderEnum Enum with underlying type: string
type ListAwrHubSourcesSortOrderEnum string
Set of constants representing the allowable values for ListAwrHubSourcesSortOrderEnum
const (
ListAwrHubSourcesSortOrderAsc ListAwrHubSourcesSortOrderEnum = "ASC"
ListAwrHubSourcesSortOrderDesc ListAwrHubSourcesSortOrderEnum = "DESC"
)
func GetListAwrHubSourcesSortOrderEnumValues() []ListAwrHubSourcesSortOrderEnum
GetListAwrHubSourcesSortOrderEnumValues Enumerates the set of values for ListAwrHubSourcesSortOrderEnum
func GetMappingListAwrHubSourcesSortOrderEnum(val string) (ListAwrHubSourcesSortOrderEnum, bool)
GetMappingListAwrHubSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrHubsRequest wrapper for the ListAwrHubs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrHubs.go.html to see an example of how to use ListAwrHubsRequest.
type ListAwrHubsRequest struct {
// Unique Operations Insights Warehouse identifier
OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"query" name:"operationsInsightsWarehouseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Unique Awr Hub identifier
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// Lifecycle states
LifecycleState []AwrHubLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAwrHubsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListAwrHubsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListAwrHubsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrHubsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrHubsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrHubsRequest) String() string
func (request ListAwrHubsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrHubsResponse wrapper for the ListAwrHubs operation
type ListAwrHubsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AwrHubSummaryCollection instances
AwrHubSummaryCollection `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 ListAwrHubsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrHubsResponse) String() string
ListAwrHubsSortByEnum Enum with underlying type: string
type ListAwrHubsSortByEnum string
Set of constants representing the allowable values for ListAwrHubsSortByEnum
const (
ListAwrHubsSortByTimecreated ListAwrHubsSortByEnum = "timeCreated"
ListAwrHubsSortByDisplayname ListAwrHubsSortByEnum = "displayName"
)
func GetListAwrHubsSortByEnumValues() []ListAwrHubsSortByEnum
GetListAwrHubsSortByEnumValues Enumerates the set of values for ListAwrHubsSortByEnum
func GetMappingListAwrHubsSortByEnum(val string) (ListAwrHubsSortByEnum, bool)
GetMappingListAwrHubsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrHubsSortOrderEnum Enum with underlying type: string
type ListAwrHubsSortOrderEnum string
Set of constants representing the allowable values for ListAwrHubsSortOrderEnum
const (
ListAwrHubsSortOrderAsc ListAwrHubsSortOrderEnum = "ASC"
ListAwrHubsSortOrderDesc ListAwrHubsSortOrderEnum = "DESC"
)
func GetListAwrHubsSortOrderEnumValues() []ListAwrHubsSortOrderEnum
GetListAwrHubsSortOrderEnumValues Enumerates the set of values for ListAwrHubsSortOrderEnum
func GetMappingListAwrHubsSortOrderEnum(val string) (ListAwrHubsSortOrderEnum, bool)
GetMappingListAwrHubsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrSnapshotsRequest wrapper for the ListAwrSnapshots operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrSnapshots.go.html to see an example of how to use ListAwrSnapshotsRequest.
type ListAwrSnapshotsRequest struct {
// Unique Awr Hub identifier
AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
// AWR source database identifier.
AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
// The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
// The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListAwrSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The option to sort the AWR snapshot summary data. Default sort is by timeBegin.
SortBy ListAwrSnapshotsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListAwrSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAwrSnapshotsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAwrSnapshotsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAwrSnapshotsRequest) String() string
func (request ListAwrSnapshotsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAwrSnapshotsResponse wrapper for the ListAwrSnapshots operation
type ListAwrSnapshotsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of AwrSnapshotCollection instances
AwrSnapshotCollection `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 ListAwrSnapshotsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAwrSnapshotsResponse) String() string
ListAwrSnapshotsSortByEnum Enum with underlying type: string
type ListAwrSnapshotsSortByEnum string
Set of constants representing the allowable values for ListAwrSnapshotsSortByEnum
const (
ListAwrSnapshotsSortByTimebegin ListAwrSnapshotsSortByEnum = "timeBegin"
ListAwrSnapshotsSortBySnapshotid ListAwrSnapshotsSortByEnum = "snapshotId"
)
func GetListAwrSnapshotsSortByEnumValues() []ListAwrSnapshotsSortByEnum
GetListAwrSnapshotsSortByEnumValues Enumerates the set of values for ListAwrSnapshotsSortByEnum
func GetMappingListAwrSnapshotsSortByEnum(val string) (ListAwrSnapshotsSortByEnum, bool)
GetMappingListAwrSnapshotsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListAwrSnapshotsSortOrderEnum Enum with underlying type: string
type ListAwrSnapshotsSortOrderEnum string
Set of constants representing the allowable values for ListAwrSnapshotsSortOrderEnum
const (
ListAwrSnapshotsSortOrderAsc ListAwrSnapshotsSortOrderEnum = "ASC"
ListAwrSnapshotsSortOrderDesc ListAwrSnapshotsSortOrderEnum = "DESC"
)
func GetListAwrSnapshotsSortOrderEnumValues() []ListAwrSnapshotsSortOrderEnum
GetListAwrSnapshotsSortOrderEnumValues Enumerates the set of values for ListAwrSnapshotsSortOrderEnum
func GetMappingListAwrSnapshotsSortOrderEnum(val string) (ListAwrSnapshotsSortOrderEnum, bool)
GetMappingListAwrSnapshotsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListChargebackPlanReportsRequest wrapper for the ListChargebackPlanReports operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListChargebackPlanReports.go.html to see an example of how to use ListChargebackPlanReportsRequest.
type ListChargebackPlanReportsRequest struct {
// Unique Ops insight identifier
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Filter by resource type.
// Supported values are EXADATA_INSIGHT , HOST_INSIGHT, DATABASE_INSIGHT.
ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListChargebackPlanReportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort chargeback plan reports.
SortBy ListChargebackPlanReportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListChargebackPlanReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListChargebackPlanReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListChargebackPlanReportsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListChargebackPlanReportsRequest) String() string
func (request ListChargebackPlanReportsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListChargebackPlanReportsResponse wrapper for the ListChargebackPlanReports operation
type ListChargebackPlanReportsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ChargebackPlanReportCollection instances
ChargebackPlanReportCollection `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 ListChargebackPlanReportsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListChargebackPlanReportsResponse) String() string
ListChargebackPlanReportsSortByEnum Enum with underlying type: string
type ListChargebackPlanReportsSortByEnum string
Set of constants representing the allowable values for ListChargebackPlanReportsSortByEnum
const (
ListChargebackPlanReportsSortByTimecreated ListChargebackPlanReportsSortByEnum = "timeCreated"
ListChargebackPlanReportsSortById ListChargebackPlanReportsSortByEnum = "id"
)
func GetListChargebackPlanReportsSortByEnumValues() []ListChargebackPlanReportsSortByEnum
GetListChargebackPlanReportsSortByEnumValues Enumerates the set of values for ListChargebackPlanReportsSortByEnum
func GetMappingListChargebackPlanReportsSortByEnum(val string) (ListChargebackPlanReportsSortByEnum, bool)
GetMappingListChargebackPlanReportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListChargebackPlanReportsSortOrderEnum Enum with underlying type: string
type ListChargebackPlanReportsSortOrderEnum string
Set of constants representing the allowable values for ListChargebackPlanReportsSortOrderEnum
const (
ListChargebackPlanReportsSortOrderAsc ListChargebackPlanReportsSortOrderEnum = "ASC"
ListChargebackPlanReportsSortOrderDesc ListChargebackPlanReportsSortOrderEnum = "DESC"
)
func GetListChargebackPlanReportsSortOrderEnumValues() []ListChargebackPlanReportsSortOrderEnum
GetListChargebackPlanReportsSortOrderEnumValues Enumerates the set of values for ListChargebackPlanReportsSortOrderEnum
func GetMappingListChargebackPlanReportsSortOrderEnum(val string) (ListChargebackPlanReportsSortOrderEnum, bool)
GetMappingListChargebackPlanReportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListChargebackPlansRequest wrapper for the ListChargebackPlans operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListChargebackPlans.go.html to see an example of how to use ListChargebackPlansRequest.
type ListChargebackPlansRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ops Insights chargeback plan.
ChargebackplanId *string `mandatory:"false" contributesTo:"query" name:"chargebackplanId"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListChargebackPlansSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort chargeback plans.
SortBy ListChargebackPlansSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListChargebackPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListChargebackPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListChargebackPlansRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListChargebackPlansRequest) String() string
func (request ListChargebackPlansRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListChargebackPlansResponse wrapper for the ListChargebackPlans operation
type ListChargebackPlansResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ChargebackPlanCollection instances
ChargebackPlanCollection `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 ListChargebackPlansResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListChargebackPlansResponse) String() string
ListChargebackPlansSortByEnum Enum with underlying type: string
type ListChargebackPlansSortByEnum string
Set of constants representing the allowable values for ListChargebackPlansSortByEnum
const (
ListChargebackPlansSortByTimecreated ListChargebackPlansSortByEnum = "timeCreated"
ListChargebackPlansSortById ListChargebackPlansSortByEnum = "id"
ListChargebackPlansSortByLifecyclestate ListChargebackPlansSortByEnum = "lifecycleState"
)
func GetListChargebackPlansSortByEnumValues() []ListChargebackPlansSortByEnum
GetListChargebackPlansSortByEnumValues Enumerates the set of values for ListChargebackPlansSortByEnum
func GetMappingListChargebackPlansSortByEnum(val string) (ListChargebackPlansSortByEnum, bool)
GetMappingListChargebackPlansSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListChargebackPlansSortOrderEnum Enum with underlying type: string
type ListChargebackPlansSortOrderEnum string
Set of constants representing the allowable values for ListChargebackPlansSortOrderEnum
const (
ListChargebackPlansSortOrderAsc ListChargebackPlansSortOrderEnum = "ASC"
ListChargebackPlansSortOrderDesc ListChargebackPlansSortOrderEnum = "DESC"
)
func GetListChargebackPlansSortOrderEnumValues() []ListChargebackPlansSortOrderEnum
GetListChargebackPlansSortOrderEnumValues Enumerates the set of values for ListChargebackPlansSortOrderEnum
func GetMappingListChargebackPlansSortOrderEnum(val string) (ListChargebackPlansSortOrderEnum, bool)
GetMappingListChargebackPlansSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseConfigurationsDatabaseTypeEnum Enum with underlying type: string
type ListDatabaseConfigurationsDatabaseTypeEnum string
Set of constants representing the allowable values for ListDatabaseConfigurationsDatabaseTypeEnum
const (
ListDatabaseConfigurationsDatabaseTypeAdwS ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-S"
ListDatabaseConfigurationsDatabaseTypeAtpS ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-S"
ListDatabaseConfigurationsDatabaseTypeAdwD ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-D"
ListDatabaseConfigurationsDatabaseTypeAtpD ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-D"
ListDatabaseConfigurationsDatabaseTypeExternalPdb ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-PDB"
ListDatabaseConfigurationsDatabaseTypeExternalNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-NONCDB"
ListDatabaseConfigurationsDatabaseTypeComanagedVmCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-VM-CDB"
ListDatabaseConfigurationsDatabaseTypeComanagedVmPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-VM-PDB"
ListDatabaseConfigurationsDatabaseTypeComanagedVmNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
ListDatabaseConfigurationsDatabaseTypeComanagedBmCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-BM-CDB"
ListDatabaseConfigurationsDatabaseTypeComanagedBmPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-BM-PDB"
ListDatabaseConfigurationsDatabaseTypeComanagedBmNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
ListDatabaseConfigurationsDatabaseTypeComanagedExacsCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
ListDatabaseConfigurationsDatabaseTypeComanagedExacsPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
ListDatabaseConfigurationsDatabaseTypeComanagedExacsNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
ListDatabaseConfigurationsDatabaseTypeComanagedExaccCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACC-CDB"
ListDatabaseConfigurationsDatabaseTypeComanagedExaccPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACC-PDB"
ListDatabaseConfigurationsDatabaseTypeComanagedExaccNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACC-NONCDB"
ListDatabaseConfigurationsDatabaseTypeMdsMysql ListDatabaseConfigurationsDatabaseTypeEnum = "MDS-MYSQL"
ListDatabaseConfigurationsDatabaseTypeExternalMysql ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-MYSQL"
ListDatabaseConfigurationsDatabaseTypeAtpExacc ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-EXACC"
ListDatabaseConfigurationsDatabaseTypeAdwExacc ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-EXACC"
ListDatabaseConfigurationsDatabaseTypeExternalAdw ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-ADW"
ListDatabaseConfigurationsDatabaseTypeExternalAtp ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-ATP"
ListDatabaseConfigurationsDatabaseTypeLhD ListDatabaseConfigurationsDatabaseTypeEnum = "LH-D"
ListDatabaseConfigurationsDatabaseTypeApexD ListDatabaseConfigurationsDatabaseTypeEnum = "APEX-D"
ListDatabaseConfigurationsDatabaseTypeAjdD ListDatabaseConfigurationsDatabaseTypeEnum = "AJD-D"
ListDatabaseConfigurationsDatabaseTypeAvdD ListDatabaseConfigurationsDatabaseTypeEnum = "AVD-D"
ListDatabaseConfigurationsDatabaseTypeLhS ListDatabaseConfigurationsDatabaseTypeEnum = "LH-S"
ListDatabaseConfigurationsDatabaseTypeApexS ListDatabaseConfigurationsDatabaseTypeEnum = "APEX-S"
ListDatabaseConfigurationsDatabaseTypeAjdS ListDatabaseConfigurationsDatabaseTypeEnum = "AJD-S"
ListDatabaseConfigurationsDatabaseTypeAvdS ListDatabaseConfigurationsDatabaseTypeEnum = "AVD-S"
ListDatabaseConfigurationsDatabaseTypeLhExacc ListDatabaseConfigurationsDatabaseTypeEnum = "LH-EXACC"
ListDatabaseConfigurationsDatabaseTypeApexExacc ListDatabaseConfigurationsDatabaseTypeEnum = "APEX-EXACC"
ListDatabaseConfigurationsDatabaseTypeAjdExacc ListDatabaseConfigurationsDatabaseTypeEnum = "AJD-EXACC"
ListDatabaseConfigurationsDatabaseTypeAvdExacc ListDatabaseConfigurationsDatabaseTypeEnum = "AVD-EXACC"
)
func GetListDatabaseConfigurationsDatabaseTypeEnumValues() []ListDatabaseConfigurationsDatabaseTypeEnum
GetListDatabaseConfigurationsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseConfigurationsDatabaseTypeEnum
func GetMappingListDatabaseConfigurationsDatabaseTypeEnum(val string) (ListDatabaseConfigurationsDatabaseTypeEnum, bool)
GetMappingListDatabaseConfigurationsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseConfigurationsRequest wrapper for the ListDatabaseConfigurations operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseConfigurations.go.html to see an example of how to use ListDatabaseConfigurationsRequest.
type ListDatabaseConfigurationsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of exadata insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more cdb name.
CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
// Filter by one or more database type.
// Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
DatabaseType []ListDatabaseConfigurationsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListDatabaseConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Database configuration list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
SortBy ListDatabaseConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Filter by one or more hostname.
HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Optional list of Exadata Insight VM cluster name.
VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListDatabaseConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseConfigurationsRequest) String() string
func (request ListDatabaseConfigurationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseConfigurationsResponse wrapper for the ListDatabaseConfigurations operation
type ListDatabaseConfigurationsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseConfigurationCollection instances
DatabaseConfigurationCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListDatabaseConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseConfigurationsResponse) String() string
ListDatabaseConfigurationsSortByEnum Enum with underlying type: string
type ListDatabaseConfigurationsSortByEnum string
Set of constants representing the allowable values for ListDatabaseConfigurationsSortByEnum
const (
ListDatabaseConfigurationsSortByDatabasename ListDatabaseConfigurationsSortByEnum = "databaseName"
ListDatabaseConfigurationsSortByDatabasedisplayname ListDatabaseConfigurationsSortByEnum = "databaseDisplayName"
ListDatabaseConfigurationsSortByDatabasetype ListDatabaseConfigurationsSortByEnum = "databaseType"
)
func GetListDatabaseConfigurationsSortByEnumValues() []ListDatabaseConfigurationsSortByEnum
GetListDatabaseConfigurationsSortByEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortByEnum
func GetMappingListDatabaseConfigurationsSortByEnum(val string) (ListDatabaseConfigurationsSortByEnum, bool)
GetMappingListDatabaseConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseConfigurationsSortOrderEnum Enum with underlying type: string
type ListDatabaseConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseConfigurationsSortOrderEnum
const (
ListDatabaseConfigurationsSortOrderAsc ListDatabaseConfigurationsSortOrderEnum = "ASC"
ListDatabaseConfigurationsSortOrderDesc ListDatabaseConfigurationsSortOrderEnum = "DESC"
)
func GetListDatabaseConfigurationsSortOrderEnumValues() []ListDatabaseConfigurationsSortOrderEnum
GetListDatabaseConfigurationsSortOrderEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortOrderEnum
func GetMappingListDatabaseConfigurationsSortOrderEnum(val string) (ListDatabaseConfigurationsSortOrderEnum, bool)
GetMappingListDatabaseConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseInsightsDatabaseTypeEnum Enum with underlying type: string
type ListDatabaseInsightsDatabaseTypeEnum string
Set of constants representing the allowable values for ListDatabaseInsightsDatabaseTypeEnum
const (
ListDatabaseInsightsDatabaseTypeAdwS ListDatabaseInsightsDatabaseTypeEnum = "ADW-S"
ListDatabaseInsightsDatabaseTypeAtpS ListDatabaseInsightsDatabaseTypeEnum = "ATP-S"
ListDatabaseInsightsDatabaseTypeAdwD ListDatabaseInsightsDatabaseTypeEnum = "ADW-D"
ListDatabaseInsightsDatabaseTypeAtpD ListDatabaseInsightsDatabaseTypeEnum = "ATP-D"
ListDatabaseInsightsDatabaseTypeExternalPdb ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-PDB"
ListDatabaseInsightsDatabaseTypeExternalNoncdb ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-NONCDB"
ListDatabaseInsightsDatabaseTypeComanagedVmCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-VM-CDB"
ListDatabaseInsightsDatabaseTypeComanagedVmPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-VM-PDB"
ListDatabaseInsightsDatabaseTypeComanagedVmNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
ListDatabaseInsightsDatabaseTypeComanagedBmCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-BM-CDB"
ListDatabaseInsightsDatabaseTypeComanagedBmPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-BM-PDB"
ListDatabaseInsightsDatabaseTypeComanagedBmNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
ListDatabaseInsightsDatabaseTypeComanagedExacsCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
ListDatabaseInsightsDatabaseTypeComanagedExacsPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
ListDatabaseInsightsDatabaseTypeComanagedExacsNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
ListDatabaseInsightsDatabaseTypeComanagedExaccCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACC-CDB"
ListDatabaseInsightsDatabaseTypeComanagedExaccPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACC-PDB"
ListDatabaseInsightsDatabaseTypeComanagedExaccNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACC-NONCDB"
ListDatabaseInsightsDatabaseTypeMdsMysql ListDatabaseInsightsDatabaseTypeEnum = "MDS-MYSQL"
ListDatabaseInsightsDatabaseTypeExternalMysql ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-MYSQL"
ListDatabaseInsightsDatabaseTypeAtpExacc ListDatabaseInsightsDatabaseTypeEnum = "ATP-EXACC"
ListDatabaseInsightsDatabaseTypeAdwExacc ListDatabaseInsightsDatabaseTypeEnum = "ADW-EXACC"
ListDatabaseInsightsDatabaseTypeExternalAdw ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-ADW"
ListDatabaseInsightsDatabaseTypeExternalAtp ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-ATP"
ListDatabaseInsightsDatabaseTypeLhD ListDatabaseInsightsDatabaseTypeEnum = "LH-D"
ListDatabaseInsightsDatabaseTypeApexD ListDatabaseInsightsDatabaseTypeEnum = "APEX-D"
ListDatabaseInsightsDatabaseTypeAjdD ListDatabaseInsightsDatabaseTypeEnum = "AJD-D"
ListDatabaseInsightsDatabaseTypeAvdD ListDatabaseInsightsDatabaseTypeEnum = "AVD-D"
ListDatabaseInsightsDatabaseTypeLhS ListDatabaseInsightsDatabaseTypeEnum = "LH-S"
ListDatabaseInsightsDatabaseTypeApexS ListDatabaseInsightsDatabaseTypeEnum = "APEX-S"
ListDatabaseInsightsDatabaseTypeAjdS ListDatabaseInsightsDatabaseTypeEnum = "AJD-S"
ListDatabaseInsightsDatabaseTypeAvdS ListDatabaseInsightsDatabaseTypeEnum = "AVD-S"
ListDatabaseInsightsDatabaseTypeLhExacc ListDatabaseInsightsDatabaseTypeEnum = "LH-EXACC"
ListDatabaseInsightsDatabaseTypeApexExacc ListDatabaseInsightsDatabaseTypeEnum = "APEX-EXACC"
ListDatabaseInsightsDatabaseTypeAjdExacc ListDatabaseInsightsDatabaseTypeEnum = "AJD-EXACC"
ListDatabaseInsightsDatabaseTypeAvdExacc ListDatabaseInsightsDatabaseTypeEnum = "AVD-EXACC"
)
func GetListDatabaseInsightsDatabaseTypeEnumValues() []ListDatabaseInsightsDatabaseTypeEnum
GetListDatabaseInsightsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseInsightsDatabaseTypeEnum
func GetMappingListDatabaseInsightsDatabaseTypeEnum(val string) (ListDatabaseInsightsDatabaseTypeEnum, bool)
GetMappingListDatabaseInsightsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseInsightsFieldsEnum Enum with underlying type: string
type ListDatabaseInsightsFieldsEnum string
Set of constants representing the allowable values for ListDatabaseInsightsFieldsEnum
const (
ListDatabaseInsightsFieldsCompartmentid ListDatabaseInsightsFieldsEnum = "compartmentId"
ListDatabaseInsightsFieldsDatabasename ListDatabaseInsightsFieldsEnum = "databaseName"
ListDatabaseInsightsFieldsDatabasedisplayname ListDatabaseInsightsFieldsEnum = "databaseDisplayName"
ListDatabaseInsightsFieldsDatabasetype ListDatabaseInsightsFieldsEnum = "databaseType"
ListDatabaseInsightsFieldsDatabaseversion ListDatabaseInsightsFieldsEnum = "databaseVersion"
ListDatabaseInsightsFieldsDatabasehostnames ListDatabaseInsightsFieldsEnum = "databaseHostNames"
ListDatabaseInsightsFieldsEnum = "freeformTags"
ListDatabaseInsightsFieldsEnum = "definedTags"
)
func GetListDatabaseInsightsFieldsEnumValues() []ListDatabaseInsightsFieldsEnum
GetListDatabaseInsightsFieldsEnumValues Enumerates the set of values for ListDatabaseInsightsFieldsEnum
func GetMappingListDatabaseInsightsFieldsEnum(val string) (ListDatabaseInsightsFieldsEnum, bool)
GetMappingListDatabaseInsightsFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseInsightsRequest wrapper for the ListDatabaseInsights operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsightsRequest.
type ListDatabaseInsightsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
// Optional list of database insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// Resource Status
Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Lifecycle states
LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// Filter by one or more database type.
// Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
DatabaseType []ListDatabaseInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Specifies the fields to return in a database summary response. By default all fields are returned if omitted.
Fields []ListDatabaseInsightsFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListDatabaseInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Database insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
SortBy ListDatabaseInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Operations Insights PrivateEndpoint identifier
OpsiPrivateEndpointId *string `mandatory:"false" contributesTo:"query" name:"opsiPrivateEndpointId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListDatabaseInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDatabaseInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDatabaseInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDatabaseInsightsRequest) String() string
func (request ListDatabaseInsightsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDatabaseInsightsResponse wrapper for the ListDatabaseInsights operation
type ListDatabaseInsightsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of DatabaseInsightsCollection instances
DatabaseInsightsCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListDatabaseInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDatabaseInsightsResponse) String() string
ListDatabaseInsightsSortByEnum Enum with underlying type: string
type ListDatabaseInsightsSortByEnum string
Set of constants representing the allowable values for ListDatabaseInsightsSortByEnum
const (
ListDatabaseInsightsSortByDatabasename ListDatabaseInsightsSortByEnum = "databaseName"
ListDatabaseInsightsSortByDatabasedisplayname ListDatabaseInsightsSortByEnum = "databaseDisplayName"
ListDatabaseInsightsSortByDatabasetype ListDatabaseInsightsSortByEnum = "databaseType"
)
func GetListDatabaseInsightsSortByEnumValues() []ListDatabaseInsightsSortByEnum
GetListDatabaseInsightsSortByEnumValues Enumerates the set of values for ListDatabaseInsightsSortByEnum
func GetMappingListDatabaseInsightsSortByEnum(val string) (ListDatabaseInsightsSortByEnum, bool)
GetMappingListDatabaseInsightsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDatabaseInsightsSortOrderEnum Enum with underlying type: string
type ListDatabaseInsightsSortOrderEnum string
Set of constants representing the allowable values for ListDatabaseInsightsSortOrderEnum
const (
ListDatabaseInsightsSortOrderAsc ListDatabaseInsightsSortOrderEnum = "ASC"
ListDatabaseInsightsSortOrderDesc ListDatabaseInsightsSortOrderEnum = "DESC"
)
func GetListDatabaseInsightsSortOrderEnumValues() []ListDatabaseInsightsSortOrderEnum
GetListDatabaseInsightsSortOrderEnumValues Enumerates the set of values for ListDatabaseInsightsSortOrderEnum
func GetMappingListDatabaseInsightsSortOrderEnum(val string) (ListDatabaseInsightsSortOrderEnum, bool)
GetMappingListDatabaseInsightsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListEnterpriseManagerBridgesRequest wrapper for the ListEnterpriseManagerBridges operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListEnterpriseManagerBridges.go.html to see an example of how to use ListEnterpriseManagerBridgesRequest.
type ListEnterpriseManagerBridgesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Unique Enterprise Manager bridge identifier
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// Lifecycle states
LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListEnterpriseManagerBridgesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListEnterpriseManagerBridgesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListEnterpriseManagerBridgesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListEnterpriseManagerBridgesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListEnterpriseManagerBridgesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListEnterpriseManagerBridgesRequest) String() string
func (request ListEnterpriseManagerBridgesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListEnterpriseManagerBridgesResponse wrapper for the ListEnterpriseManagerBridges operation
type ListEnterpriseManagerBridgesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of EnterpriseManagerBridgeCollection instances
EnterpriseManagerBridgeCollection `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 ListEnterpriseManagerBridgesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListEnterpriseManagerBridgesResponse) String() string
ListEnterpriseManagerBridgesSortByEnum Enum with underlying type: string
type ListEnterpriseManagerBridgesSortByEnum string
Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortByEnum
const (
ListEnterpriseManagerBridgesSortByTimecreated ListEnterpriseManagerBridgesSortByEnum = "timeCreated"
ListEnterpriseManagerBridgesSortByDisplayname ListEnterpriseManagerBridgesSortByEnum = "displayName"
)
func GetListEnterpriseManagerBridgesSortByEnumValues() []ListEnterpriseManagerBridgesSortByEnum
GetListEnterpriseManagerBridgesSortByEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortByEnum
func GetMappingListEnterpriseManagerBridgesSortByEnum(val string) (ListEnterpriseManagerBridgesSortByEnum, bool)
GetMappingListEnterpriseManagerBridgesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListEnterpriseManagerBridgesSortOrderEnum Enum with underlying type: string
type ListEnterpriseManagerBridgesSortOrderEnum string
Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortOrderEnum
const (
ListEnterpriseManagerBridgesSortOrderAsc ListEnterpriseManagerBridgesSortOrderEnum = "ASC"
ListEnterpriseManagerBridgesSortOrderDesc ListEnterpriseManagerBridgesSortOrderEnum = "DESC"
)
func GetListEnterpriseManagerBridgesSortOrderEnumValues() []ListEnterpriseManagerBridgesSortOrderEnum
GetListEnterpriseManagerBridgesSortOrderEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortOrderEnum
func GetMappingListEnterpriseManagerBridgesSortOrderEnum(val string) (ListEnterpriseManagerBridgesSortOrderEnum, bool)
GetMappingListEnterpriseManagerBridgesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListExadataConfigurationsRequest wrapper for the ListExadataConfigurations operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataConfigurations.go.html to see an example of how to use ListExadataConfigurationsRequest.
type ListExadataConfigurationsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Optional list of exadata insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListExadataConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Exadata configuration list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
SortBy ListExadataConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListExadataConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListExadataConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListExadataConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListExadataConfigurationsRequest) String() string
func (request ListExadataConfigurationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListExadataConfigurationsResponse wrapper for the ListExadataConfigurations operation
type ListExadataConfigurationsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ExadataConfigurationCollection instances
ExadataConfigurationCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListExadataConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListExadataConfigurationsResponse) String() string
ListExadataConfigurationsSortByEnum Enum with underlying type: string
type ListExadataConfigurationsSortByEnum string
Set of constants representing the allowable values for ListExadataConfigurationsSortByEnum
const (
ListExadataConfigurationsSortByExadataname ListExadataConfigurationsSortByEnum = "exadataName"
ListExadataConfigurationsSortByExadatadisplayname ListExadataConfigurationsSortByEnum = "exadataDisplayName"
ListExadataConfigurationsSortByExadatatype ListExadataConfigurationsSortByEnum = "exadataType"
)
func GetListExadataConfigurationsSortByEnumValues() []ListExadataConfigurationsSortByEnum
GetListExadataConfigurationsSortByEnumValues Enumerates the set of values for ListExadataConfigurationsSortByEnum
func GetMappingListExadataConfigurationsSortByEnum(val string) (ListExadataConfigurationsSortByEnum, bool)
GetMappingListExadataConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListExadataConfigurationsSortOrderEnum Enum with underlying type: string
type ListExadataConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListExadataConfigurationsSortOrderEnum
const (
ListExadataConfigurationsSortOrderAsc ListExadataConfigurationsSortOrderEnum = "ASC"
ListExadataConfigurationsSortOrderDesc ListExadataConfigurationsSortOrderEnum = "DESC"
)
func GetListExadataConfigurationsSortOrderEnumValues() []ListExadataConfigurationsSortOrderEnum
GetListExadataConfigurationsSortOrderEnumValues Enumerates the set of values for ListExadataConfigurationsSortOrderEnum
func GetMappingListExadataConfigurationsSortOrderEnum(val string) (ListExadataConfigurationsSortOrderEnum, bool)
GetMappingListExadataConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListExadataInsightsRequest wrapper for the ListExadataInsights operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataInsights.go.html to see an example of how to use ListExadataInsightsRequest.
type ListExadataInsightsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
// Optional list of Exadata insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// Resource Status
Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Lifecycle states
LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// Filter by one or more Exadata types.
// Possible value are DBMACHINE, EXACS, and EXACC.
ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListExadataInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Exadata insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified. Default order for timeCreated is descending. Default order for exadataName is ascending. If no value is specified timeCreated is default.
SortBy ListExadataInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListExadataInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListExadataInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListExadataInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListExadataInsightsRequest) String() string
func (request ListExadataInsightsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListExadataInsightsResponse wrapper for the ListExadataInsights operation
type ListExadataInsightsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ExadataInsightSummaryCollection instances
ExadataInsightSummaryCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListExadataInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListExadataInsightsResponse) String() string
ListExadataInsightsSortByEnum Enum with underlying type: string
type ListExadataInsightsSortByEnum string
Set of constants representing the allowable values for ListExadataInsightsSortByEnum
const (
ListExadataInsightsSortByTimecreated ListExadataInsightsSortByEnum = "timeCreated"
ListExadataInsightsSortByExadataname ListExadataInsightsSortByEnum = "exadataName"
)
func GetListExadataInsightsSortByEnumValues() []ListExadataInsightsSortByEnum
GetListExadataInsightsSortByEnumValues Enumerates the set of values for ListExadataInsightsSortByEnum
func GetMappingListExadataInsightsSortByEnum(val string) (ListExadataInsightsSortByEnum, bool)
GetMappingListExadataInsightsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListExadataInsightsSortOrderEnum Enum with underlying type: string
type ListExadataInsightsSortOrderEnum string
Set of constants representing the allowable values for ListExadataInsightsSortOrderEnum
const (
ListExadataInsightsSortOrderAsc ListExadataInsightsSortOrderEnum = "ASC"
ListExadataInsightsSortOrderDesc ListExadataInsightsSortOrderEnum = "DESC"
)
func GetListExadataInsightsSortOrderEnumValues() []ListExadataInsightsSortOrderEnum
GetListExadataInsightsSortOrderEnumValues Enumerates the set of values for ListExadataInsightsSortOrderEnum
func GetMappingListExadataInsightsSortOrderEnum(val string) (ListExadataInsightsSortOrderEnum, bool)
GetMappingListExadataInsightsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostConfigurationsPlatformTypeEnum Enum with underlying type: string
type ListHostConfigurationsPlatformTypeEnum string
Set of constants representing the allowable values for ListHostConfigurationsPlatformTypeEnum
const (
ListHostConfigurationsPlatformTypeLinux ListHostConfigurationsPlatformTypeEnum = "LINUX"
ListHostConfigurationsPlatformTypeSolaris ListHostConfigurationsPlatformTypeEnum = "SOLARIS"
ListHostConfigurationsPlatformTypeSunos ListHostConfigurationsPlatformTypeEnum = "SUNOS"
ListHostConfigurationsPlatformTypeZlinux ListHostConfigurationsPlatformTypeEnum = "ZLINUX"
ListHostConfigurationsPlatformTypeWindows ListHostConfigurationsPlatformTypeEnum = "WINDOWS"
ListHostConfigurationsPlatformTypeAix ListHostConfigurationsPlatformTypeEnum = "AIX"
ListHostConfigurationsPlatformTypeHpUx ListHostConfigurationsPlatformTypeEnum = "HP_UX"
)
func GetListHostConfigurationsPlatformTypeEnumValues() []ListHostConfigurationsPlatformTypeEnum
GetListHostConfigurationsPlatformTypeEnumValues Enumerates the set of values for ListHostConfigurationsPlatformTypeEnum
func GetMappingListHostConfigurationsPlatformTypeEnum(val string) (ListHostConfigurationsPlatformTypeEnum, bool)
GetMappingListHostConfigurationsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostConfigurationsRequest wrapper for the ListHostConfigurations operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostConfigurations.go.html to see an example of how to use ListHostConfigurationsRequest.
type ListHostConfigurationsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
// Optional list of host insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// Optional list of exadata insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
// Filter by one or more platform types.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType []ListHostConfigurationsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListHostConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Host configuration list sort options.
SortBy ListHostConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Filter by one or more host types.
// Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST, COMANAGED-EXACC-HOST
HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host (Compute Id)
HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"`
// Optional list of Exadata Insight VM cluster name.
VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
// Resource Status
Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListHostConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHostConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListHostConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListHostConfigurationsRequest) String() string
func (request ListHostConfigurationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListHostConfigurationsResponse wrapper for the ListHostConfigurations operation
type ListHostConfigurationsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of HostConfigurationCollection instances
HostConfigurationCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListHostConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListHostConfigurationsResponse) String() string
ListHostConfigurationsSortByEnum Enum with underlying type: string
type ListHostConfigurationsSortByEnum string
Set of constants representing the allowable values for ListHostConfigurationsSortByEnum
const (
ListHostConfigurationsSortByHostname ListHostConfigurationsSortByEnum = "hostName"
ListHostConfigurationsSortByPlatformtype ListHostConfigurationsSortByEnum = "platformType"
)
func GetListHostConfigurationsSortByEnumValues() []ListHostConfigurationsSortByEnum
GetListHostConfigurationsSortByEnumValues Enumerates the set of values for ListHostConfigurationsSortByEnum
func GetMappingListHostConfigurationsSortByEnum(val string) (ListHostConfigurationsSortByEnum, bool)
GetMappingListHostConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostConfigurationsSortOrderEnum Enum with underlying type: string
type ListHostConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListHostConfigurationsSortOrderEnum
const (
ListHostConfigurationsSortOrderAsc ListHostConfigurationsSortOrderEnum = "ASC"
ListHostConfigurationsSortOrderDesc ListHostConfigurationsSortOrderEnum = "DESC"
)
func GetListHostConfigurationsSortOrderEnumValues() []ListHostConfigurationsSortOrderEnum
GetListHostConfigurationsSortOrderEnumValues Enumerates the set of values for ListHostConfigurationsSortOrderEnum
func GetMappingListHostConfigurationsSortOrderEnum(val string) (ListHostConfigurationsSortOrderEnum, bool)
GetMappingListHostConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostInsightsPlatformTypeEnum Enum with underlying type: string
type ListHostInsightsPlatformTypeEnum string
Set of constants representing the allowable values for ListHostInsightsPlatformTypeEnum
const (
ListHostInsightsPlatformTypeLinux ListHostInsightsPlatformTypeEnum = "LINUX"
ListHostInsightsPlatformTypeSolaris ListHostInsightsPlatformTypeEnum = "SOLARIS"
ListHostInsightsPlatformTypeSunos ListHostInsightsPlatformTypeEnum = "SUNOS"
ListHostInsightsPlatformTypeZlinux ListHostInsightsPlatformTypeEnum = "ZLINUX"
ListHostInsightsPlatformTypeWindows ListHostInsightsPlatformTypeEnum = "WINDOWS"
ListHostInsightsPlatformTypeAix ListHostInsightsPlatformTypeEnum = "AIX"
ListHostInsightsPlatformTypeHpUx ListHostInsightsPlatformTypeEnum = "HP_UX"
)
func GetListHostInsightsPlatformTypeEnumValues() []ListHostInsightsPlatformTypeEnum
GetListHostInsightsPlatformTypeEnumValues Enumerates the set of values for ListHostInsightsPlatformTypeEnum
func GetMappingListHostInsightsPlatformTypeEnum(val string) (ListHostInsightsPlatformTypeEnum, bool)
GetMappingListHostInsightsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostInsightsRequest wrapper for the ListHostInsights operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostInsights.go.html to see an example of how to use ListHostInsightsRequest.
type ListHostInsightsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Optional list of host insight resource OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// Resource Status
Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Lifecycle states
LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// Filter by one or more host types.
// Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST, COMANAGED-EXACC-HOST
HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
// Filter by one or more platform types.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType []ListHostInsightsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListHostInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Host insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
SortBy ListHostInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListHostInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHostInsightsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListHostInsightsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListHostInsightsRequest) String() string
func (request ListHostInsightsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListHostInsightsResponse wrapper for the ListHostInsights operation
type ListHostInsightsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of HostInsightSummaryCollection instances
HostInsightSummaryCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListHostInsightsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListHostInsightsResponse) String() string
ListHostInsightsSortByEnum Enum with underlying type: string
type ListHostInsightsSortByEnum string
Set of constants representing the allowable values for ListHostInsightsSortByEnum
const (
ListHostInsightsSortByHostname ListHostInsightsSortByEnum = "hostName"
ListHostInsightsSortByHosttype ListHostInsightsSortByEnum = "hostType"
)
func GetListHostInsightsSortByEnumValues() []ListHostInsightsSortByEnum
GetListHostInsightsSortByEnumValues Enumerates the set of values for ListHostInsightsSortByEnum
func GetMappingListHostInsightsSortByEnum(val string) (ListHostInsightsSortByEnum, bool)
GetMappingListHostInsightsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostInsightsSortOrderEnum Enum with underlying type: string
type ListHostInsightsSortOrderEnum string
Set of constants representing the allowable values for ListHostInsightsSortOrderEnum
const (
ListHostInsightsSortOrderAsc ListHostInsightsSortOrderEnum = "ASC"
ListHostInsightsSortOrderDesc ListHostInsightsSortOrderEnum = "DESC"
)
func GetListHostInsightsSortOrderEnumValues() []ListHostInsightsSortOrderEnum
GetListHostInsightsSortOrderEnumValues Enumerates the set of values for ListHostInsightsSortOrderEnum
func GetMappingListHostInsightsSortOrderEnum(val string) (ListHostInsightsSortOrderEnum, bool)
GetMappingListHostInsightsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostedEntitiesPlatformTypeEnum Enum with underlying type: string
type ListHostedEntitiesPlatformTypeEnum string
Set of constants representing the allowable values for ListHostedEntitiesPlatformTypeEnum
const (
ListHostedEntitiesPlatformTypeLinux ListHostedEntitiesPlatformTypeEnum = "LINUX"
ListHostedEntitiesPlatformTypeSolaris ListHostedEntitiesPlatformTypeEnum = "SOLARIS"
ListHostedEntitiesPlatformTypeSunos ListHostedEntitiesPlatformTypeEnum = "SUNOS"
ListHostedEntitiesPlatformTypeZlinux ListHostedEntitiesPlatformTypeEnum = "ZLINUX"
ListHostedEntitiesPlatformTypeWindows ListHostedEntitiesPlatformTypeEnum = "WINDOWS"
ListHostedEntitiesPlatformTypeAix ListHostedEntitiesPlatformTypeEnum = "AIX"
ListHostedEntitiesPlatformTypeHpUx ListHostedEntitiesPlatformTypeEnum = "HP_UX"
)
func GetListHostedEntitiesPlatformTypeEnumValues() []ListHostedEntitiesPlatformTypeEnum
GetListHostedEntitiesPlatformTypeEnumValues Enumerates the set of values for ListHostedEntitiesPlatformTypeEnum
func GetMappingListHostedEntitiesPlatformTypeEnum(val string) (ListHostedEntitiesPlatformTypeEnum, bool)
GetMappingListHostedEntitiesPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostedEntitiesRequest wrapper for the ListHostedEntities operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostedEntities.go.html to see an example of how to use ListHostedEntitiesRequest.
type ListHostedEntitiesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Required OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" contributesTo:"query" name:"id"`
// Specify time period in ISO 8601 format with respect to current time.
// Default is last 30 days represented by P30D.
// If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
// Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
// Analysis start time in UTC in ISO 8601 format(inclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// The minimum allowed value is 2 years prior to the current day.
// timeIntervalStart and timeIntervalEnd parameters are used together.
// If analysisTimeInterval is specified, this parameter is ignored.
TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
// Analysis end time in UTC in ISO 8601 format(exclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// timeIntervalStart and timeIntervalEnd are used together.
// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
// Filter by one or more platform types.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType []ListHostedEntitiesPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListHostedEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Hosted entity list sort options.
SortBy ListHostedEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Filter by one or more host types.
// Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST, COMANAGED-EXACC-HOST
HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host (Compute Id)
HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"`
// Resource Status
Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListHostedEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHostedEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListHostedEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListHostedEntitiesRequest) String() string
func (request ListHostedEntitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListHostedEntitiesResponse wrapper for the ListHostedEntities operation
type ListHostedEntitiesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of HostedEntityCollection instances
HostedEntityCollection `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 ListHostedEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListHostedEntitiesResponse) String() string
ListHostedEntitiesSortByEnum Enum with underlying type: string
type ListHostedEntitiesSortByEnum string
Set of constants representing the allowable values for ListHostedEntitiesSortByEnum
const (
ListHostedEntitiesSortByEntityname ListHostedEntitiesSortByEnum = "entityName"
ListHostedEntitiesSortByEntitytype ListHostedEntitiesSortByEnum = "entityType"
)
func GetListHostedEntitiesSortByEnumValues() []ListHostedEntitiesSortByEnum
GetListHostedEntitiesSortByEnumValues Enumerates the set of values for ListHostedEntitiesSortByEnum
func GetMappingListHostedEntitiesSortByEnum(val string) (ListHostedEntitiesSortByEnum, bool)
GetMappingListHostedEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostedEntitiesSortOrderEnum Enum with underlying type: string
type ListHostedEntitiesSortOrderEnum string
Set of constants representing the allowable values for ListHostedEntitiesSortOrderEnum
const (
ListHostedEntitiesSortOrderAsc ListHostedEntitiesSortOrderEnum = "ASC"
ListHostedEntitiesSortOrderDesc ListHostedEntitiesSortOrderEnum = "DESC"
)
func GetListHostedEntitiesSortOrderEnumValues() []ListHostedEntitiesSortOrderEnum
GetListHostedEntitiesSortOrderEnumValues Enumerates the set of values for ListHostedEntitiesSortOrderEnum
func GetMappingListHostedEntitiesSortOrderEnum(val string) (ListHostedEntitiesSortOrderEnum, bool)
GetMappingListHostedEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListImportableAgentEntitiesRequest wrapper for the ListImportableAgentEntities operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableAgentEntities.go.html to see an example of how to use ListImportableAgentEntitiesRequest.
type ListImportableAgentEntitiesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListImportableAgentEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Hosted entity list sort options.
SortBy ListImportableAgentEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListImportableAgentEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListImportableAgentEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListImportableAgentEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListImportableAgentEntitiesRequest) String() string
func (request ListImportableAgentEntitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListImportableAgentEntitiesResponse wrapper for the ListImportableAgentEntities operation
type ListImportableAgentEntitiesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ImportableAgentEntitySummaryCollection instances
ImportableAgentEntitySummaryCollection `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 ListImportableAgentEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListImportableAgentEntitiesResponse) String() string
ListImportableAgentEntitiesSortByEnum Enum with underlying type: string
type ListImportableAgentEntitiesSortByEnum string
Set of constants representing the allowable values for ListImportableAgentEntitiesSortByEnum
const (
ListImportableAgentEntitiesSortByEntityname ListImportableAgentEntitiesSortByEnum = "entityName"
ListImportableAgentEntitiesSortByEntitytype ListImportableAgentEntitiesSortByEnum = "entityType"
)
func GetListImportableAgentEntitiesSortByEnumValues() []ListImportableAgentEntitiesSortByEnum
GetListImportableAgentEntitiesSortByEnumValues Enumerates the set of values for ListImportableAgentEntitiesSortByEnum
func GetMappingListImportableAgentEntitiesSortByEnum(val string) (ListImportableAgentEntitiesSortByEnum, bool)
GetMappingListImportableAgentEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListImportableAgentEntitiesSortOrderEnum Enum with underlying type: string
type ListImportableAgentEntitiesSortOrderEnum string
Set of constants representing the allowable values for ListImportableAgentEntitiesSortOrderEnum
const (
ListImportableAgentEntitiesSortOrderAsc ListImportableAgentEntitiesSortOrderEnum = "ASC"
ListImportableAgentEntitiesSortOrderDesc ListImportableAgentEntitiesSortOrderEnum = "DESC"
)
func GetListImportableAgentEntitiesSortOrderEnumValues() []ListImportableAgentEntitiesSortOrderEnum
GetListImportableAgentEntitiesSortOrderEnumValues Enumerates the set of values for ListImportableAgentEntitiesSortOrderEnum
func GetMappingListImportableAgentEntitiesSortOrderEnum(val string) (ListImportableAgentEntitiesSortOrderEnum, bool)
GetMappingListImportableAgentEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListImportableComputeEntitiesRequest wrapper for the ListImportableComputeEntities operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableComputeEntities.go.html to see an example of how to use ListImportableComputeEntitiesRequest.
type ListImportableComputeEntitiesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListImportableComputeEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Compute entity list sort options.
SortBy ListImportableComputeEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListImportableComputeEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListImportableComputeEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListImportableComputeEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListImportableComputeEntitiesRequest) String() string
func (request ListImportableComputeEntitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListImportableComputeEntitiesResponse wrapper for the ListImportableComputeEntities operation
type ListImportableComputeEntitiesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ImportableComputeEntitySummaryCollection instances
ImportableComputeEntitySummaryCollection `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 ListImportableComputeEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListImportableComputeEntitiesResponse) String() string
ListImportableComputeEntitiesSortByEnum Enum with underlying type: string
type ListImportableComputeEntitiesSortByEnum string
Set of constants representing the allowable values for ListImportableComputeEntitiesSortByEnum
const (
ListImportableComputeEntitiesSortByComputeid ListImportableComputeEntitiesSortByEnum = "computeId"
ListImportableComputeEntitiesSortByComputedisplayname ListImportableComputeEntitiesSortByEnum = "computeDisplayName"
ListImportableComputeEntitiesSortByPlatformtype ListImportableComputeEntitiesSortByEnum = "platformType"
ListImportableComputeEntitiesSortByHostname ListImportableComputeEntitiesSortByEnum = "hostName"
)
func GetListImportableComputeEntitiesSortByEnumValues() []ListImportableComputeEntitiesSortByEnum
GetListImportableComputeEntitiesSortByEnumValues Enumerates the set of values for ListImportableComputeEntitiesSortByEnum
func GetMappingListImportableComputeEntitiesSortByEnum(val string) (ListImportableComputeEntitiesSortByEnum, bool)
GetMappingListImportableComputeEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListImportableComputeEntitiesSortOrderEnum Enum with underlying type: string
type ListImportableComputeEntitiesSortOrderEnum string
Set of constants representing the allowable values for ListImportableComputeEntitiesSortOrderEnum
const (
ListImportableComputeEntitiesSortOrderAsc ListImportableComputeEntitiesSortOrderEnum = "ASC"
ListImportableComputeEntitiesSortOrderDesc ListImportableComputeEntitiesSortOrderEnum = "DESC"
)
func GetListImportableComputeEntitiesSortOrderEnumValues() []ListImportableComputeEntitiesSortOrderEnum
GetListImportableComputeEntitiesSortOrderEnumValues Enumerates the set of values for ListImportableComputeEntitiesSortOrderEnum
func GetMappingListImportableComputeEntitiesSortOrderEnum(val string) (ListImportableComputeEntitiesSortOrderEnum, bool)
GetMappingListImportableComputeEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListImportableEnterpriseManagerEntitiesRequest wrapper for the ListImportableEnterpriseManagerEntities operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableEnterpriseManagerEntities.go.html to see an example of how to use ListImportableEnterpriseManagerEntitiesRequest.
type ListImportableEnterpriseManagerEntitiesRequest struct {
// Unique Enterprise Manager bridge identifier
EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// Filter by one or more Enterprise Manager entity types. Currently, the supported types are "oracle_pdb", "oracle_database", "host", "oracle_dbmachine", "oracle_exa_cloud_service", and "oracle_oci_exadata_cloud_service". If this parameter is not specified, targets of all supported entity types are returned by default.
EnterpriseManagerEntityType []string `contributesTo:"query" name:"enterpriseManagerEntityType" collectionFormat:"multi"`
// Used in combination with enterpriseManagerParentEntityIdentifier to return the members of a particular Enterprise Manager parent entity. Both enterpriseManagerIdentifier and enterpriseManagerParentEntityIdentifier must be specified to identify a particular Enterprise Manager parent entity.
EnterpriseManagerIdentifier *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerIdentifier"`
// Used in combination with enterpriseManagerIdentifier to return the members of a particular Enterprise Manager parent entity. Both enterpriseManagerIdentifier and enterpriseManagerParentEntityIdentifier must be specified to identify a particular Enterprise Manager parent entity.
EnterpriseManagerParentEntityIdentifier *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerParentEntityIdentifier"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListImportableEnterpriseManagerEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListImportableEnterpriseManagerEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListImportableEnterpriseManagerEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListImportableEnterpriseManagerEntitiesRequest) String() string
func (request ListImportableEnterpriseManagerEntitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListImportableEnterpriseManagerEntitiesResponse wrapper for the ListImportableEnterpriseManagerEntities operation
type ListImportableEnterpriseManagerEntitiesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of ImportableEnterpriseManagerEntityCollection instances
ImportableEnterpriseManagerEntityCollection `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 ListImportableEnterpriseManagerEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListImportableEnterpriseManagerEntitiesResponse) String() string
ListNewsReportsRequest wrapper for the ListNewsReports operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListNewsReports.go.html to see an example of how to use ListNewsReportsRequest.
type ListNewsReportsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// Unique Ops Insights news report identifier
NewsReportId *string `mandatory:"false" contributesTo:"query" name:"newsReportId"`
// Resource Status
Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
// Lifecycle states
LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListNewsReportsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// News report list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
SortBy ListNewsReportsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListNewsReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNewsReportsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNewsReportsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNewsReportsRequest) String() string
func (request ListNewsReportsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListNewsReportsResponse wrapper for the ListNewsReports operation
type ListNewsReportsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of NewsReportCollection instances
NewsReportCollection `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. The total number of items in the result.
OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
// 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 ListNewsReportsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNewsReportsResponse) String() string
ListNewsReportsSortByEnum Enum with underlying type: string
type ListNewsReportsSortByEnum string
Set of constants representing the allowable values for ListNewsReportsSortByEnum
const (
ListNewsReportsSortByName ListNewsReportsSortByEnum = "name"
ListNewsReportsSortByNewsfrequency ListNewsReportsSortByEnum = "newsFrequency"
)
func GetListNewsReportsSortByEnumValues() []ListNewsReportsSortByEnum
GetListNewsReportsSortByEnumValues Enumerates the set of values for ListNewsReportsSortByEnum
func GetMappingListNewsReportsSortByEnum(val string) (ListNewsReportsSortByEnum, bool)
GetMappingListNewsReportsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListNewsReportsSortOrderEnum Enum with underlying type: string
type ListNewsReportsSortOrderEnum string
Set of constants representing the allowable values for ListNewsReportsSortOrderEnum
const (
ListNewsReportsSortOrderAsc ListNewsReportsSortOrderEnum = "ASC"
ListNewsReportsSortOrderDesc ListNewsReportsSortOrderEnum = "DESC"
)
func GetListNewsReportsSortOrderEnumValues() []ListNewsReportsSortOrderEnum
GetListNewsReportsSortOrderEnumValues Enumerates the set of values for ListNewsReportsSortOrderEnum
func GetMappingListNewsReportsSortOrderEnum(val string) (ListNewsReportsSortOrderEnum, bool)
GetMappingListNewsReportsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListObjects List of the objects.
type ListObjects struct {
// List of the object summary data.
Objects []ObjectSummary `mandatory:"true" json:"objects"`
// Array comprising of all the prefixes.
Prefixes []string `mandatory:"false" json:"prefixes"`
// Object names returned by a list query must be greater or equal to this parameter.
NextStartWith *string `mandatory:"false" json:"nextStartWith"`
}
func (m ListObjects) String() string
func (m ListObjects) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListOperationsInsightsPrivateEndpointsRequest wrapper for the ListOperationsInsightsPrivateEndpoints operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOperationsInsightsPrivateEndpoints.go.html to see an example of how to use ListOperationsInsightsPrivateEndpointsRequest.
type ListOperationsInsightsPrivateEndpointsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Unique Operations Insights PrivateEndpoint identifier
OpsiPrivateEndpointId *string `mandatory:"false" contributesTo:"query" name:"opsiPrivateEndpointId"`
// The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
IsUsedForRacDbs *bool `mandatory:"false" contributesTo:"query" name:"isUsedForRacDbs"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`
// Lifecycle states
LifecycleState []OperationsInsightsPrivateEndpointLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListOperationsInsightsPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort private endpoints.
SortBy ListOperationsInsightsPrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListOperationsInsightsPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOperationsInsightsPrivateEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOperationsInsightsPrivateEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOperationsInsightsPrivateEndpointsRequest) String() string
func (request ListOperationsInsightsPrivateEndpointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListOperationsInsightsPrivateEndpointsResponse wrapper for the ListOperationsInsightsPrivateEndpoints operation
type ListOperationsInsightsPrivateEndpointsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of OperationsInsightsPrivateEndpointCollection instances
OperationsInsightsPrivateEndpointCollection `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 ListOperationsInsightsPrivateEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOperationsInsightsPrivateEndpointsResponse) String() string
ListOperationsInsightsPrivateEndpointsSortByEnum Enum with underlying type: string
type ListOperationsInsightsPrivateEndpointsSortByEnum string
Set of constants representing the allowable values for ListOperationsInsightsPrivateEndpointsSortByEnum
const (
ListOperationsInsightsPrivateEndpointsSortByTimecreated ListOperationsInsightsPrivateEndpointsSortByEnum = "timeCreated"
ListOperationsInsightsPrivateEndpointsSortById ListOperationsInsightsPrivateEndpointsSortByEnum = "id"
ListOperationsInsightsPrivateEndpointsSortByDisplayname ListOperationsInsightsPrivateEndpointsSortByEnum = "displayName"
)
func GetListOperationsInsightsPrivateEndpointsSortByEnumValues() []ListOperationsInsightsPrivateEndpointsSortByEnum
GetListOperationsInsightsPrivateEndpointsSortByEnumValues Enumerates the set of values for ListOperationsInsightsPrivateEndpointsSortByEnum
func GetMappingListOperationsInsightsPrivateEndpointsSortByEnum(val string) (ListOperationsInsightsPrivateEndpointsSortByEnum, bool)
GetMappingListOperationsInsightsPrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOperationsInsightsPrivateEndpointsSortOrderEnum Enum with underlying type: string
type ListOperationsInsightsPrivateEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListOperationsInsightsPrivateEndpointsSortOrderEnum
const (
ListOperationsInsightsPrivateEndpointsSortOrderAsc ListOperationsInsightsPrivateEndpointsSortOrderEnum = "ASC"
ListOperationsInsightsPrivateEndpointsSortOrderDesc ListOperationsInsightsPrivateEndpointsSortOrderEnum = "DESC"
)
func GetListOperationsInsightsPrivateEndpointsSortOrderEnumValues() []ListOperationsInsightsPrivateEndpointsSortOrderEnum
GetListOperationsInsightsPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListOperationsInsightsPrivateEndpointsSortOrderEnum
func GetMappingListOperationsInsightsPrivateEndpointsSortOrderEnum(val string) (ListOperationsInsightsPrivateEndpointsSortOrderEnum, bool)
GetMappingListOperationsInsightsPrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOperationsInsightsWarehouseUsersRequest wrapper for the ListOperationsInsightsWarehouseUsers operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOperationsInsightsWarehouseUsers.go.html to see an example of how to use ListOperationsInsightsWarehouseUsersRequest.
type ListOperationsInsightsWarehouseUsersRequest struct {
// Unique Operations Insights Warehouse identifier
OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"query" name:"operationsInsightsWarehouseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Unique Operations Insights Warehouse User identifier
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// Lifecycle states
LifecycleState []OperationsInsightsWarehouseUserLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListOperationsInsightsWarehouseUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListOperationsInsightsWarehouseUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListOperationsInsightsWarehouseUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOperationsInsightsWarehouseUsersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOperationsInsightsWarehouseUsersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOperationsInsightsWarehouseUsersRequest) String() string
func (request ListOperationsInsightsWarehouseUsersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListOperationsInsightsWarehouseUsersResponse wrapper for the ListOperationsInsightsWarehouseUsers operation
type ListOperationsInsightsWarehouseUsersResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of OperationsInsightsWarehouseUserSummaryCollection instances
OperationsInsightsWarehouseUserSummaryCollection `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 ListOperationsInsightsWarehouseUsersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOperationsInsightsWarehouseUsersResponse) String() string
ListOperationsInsightsWarehouseUsersSortByEnum Enum with underlying type: string
type ListOperationsInsightsWarehouseUsersSortByEnum string
Set of constants representing the allowable values for ListOperationsInsightsWarehouseUsersSortByEnum
const (
ListOperationsInsightsWarehouseUsersSortByTimecreated ListOperationsInsightsWarehouseUsersSortByEnum = "timeCreated"
ListOperationsInsightsWarehouseUsersSortByDisplayname ListOperationsInsightsWarehouseUsersSortByEnum = "displayName"
)
func GetListOperationsInsightsWarehouseUsersSortByEnumValues() []ListOperationsInsightsWarehouseUsersSortByEnum
GetListOperationsInsightsWarehouseUsersSortByEnumValues Enumerates the set of values for ListOperationsInsightsWarehouseUsersSortByEnum
func GetMappingListOperationsInsightsWarehouseUsersSortByEnum(val string) (ListOperationsInsightsWarehouseUsersSortByEnum, bool)
GetMappingListOperationsInsightsWarehouseUsersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOperationsInsightsWarehouseUsersSortOrderEnum Enum with underlying type: string
type ListOperationsInsightsWarehouseUsersSortOrderEnum string
Set of constants representing the allowable values for ListOperationsInsightsWarehouseUsersSortOrderEnum
const (
ListOperationsInsightsWarehouseUsersSortOrderAsc ListOperationsInsightsWarehouseUsersSortOrderEnum = "ASC"
ListOperationsInsightsWarehouseUsersSortOrderDesc ListOperationsInsightsWarehouseUsersSortOrderEnum = "DESC"
)
func GetListOperationsInsightsWarehouseUsersSortOrderEnumValues() []ListOperationsInsightsWarehouseUsersSortOrderEnum
GetListOperationsInsightsWarehouseUsersSortOrderEnumValues Enumerates the set of values for ListOperationsInsightsWarehouseUsersSortOrderEnum
func GetMappingListOperationsInsightsWarehouseUsersSortOrderEnum(val string) (ListOperationsInsightsWarehouseUsersSortOrderEnum, bool)
GetMappingListOperationsInsightsWarehouseUsersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOperationsInsightsWarehousesRequest wrapper for the ListOperationsInsightsWarehouses operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOperationsInsightsWarehouses.go.html to see an example of how to use ListOperationsInsightsWarehousesRequest.
type ListOperationsInsightsWarehousesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// A filter to return only resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Unique Ops Insights Warehouse identifier
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// Lifecycle states
LifecycleState []OperationsInsightsWarehouseLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListOperationsInsightsWarehousesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
SortBy ListOperationsInsightsWarehousesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListOperationsInsightsWarehousesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOperationsInsightsWarehousesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOperationsInsightsWarehousesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOperationsInsightsWarehousesRequest) String() string
func (request ListOperationsInsightsWarehousesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListOperationsInsightsWarehousesResponse wrapper for the ListOperationsInsightsWarehouses operation
type ListOperationsInsightsWarehousesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of OperationsInsightsWarehouseSummaryCollection instances
OperationsInsightsWarehouseSummaryCollection `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 ListOperationsInsightsWarehousesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOperationsInsightsWarehousesResponse) String() string
ListOperationsInsightsWarehousesSortByEnum Enum with underlying type: string
type ListOperationsInsightsWarehousesSortByEnum string
Set of constants representing the allowable values for ListOperationsInsightsWarehousesSortByEnum
const (
ListOperationsInsightsWarehousesSortByTimecreated ListOperationsInsightsWarehousesSortByEnum = "timeCreated"
ListOperationsInsightsWarehousesSortByDisplayname ListOperationsInsightsWarehousesSortByEnum = "displayName"
)
func GetListOperationsInsightsWarehousesSortByEnumValues() []ListOperationsInsightsWarehousesSortByEnum
GetListOperationsInsightsWarehousesSortByEnumValues Enumerates the set of values for ListOperationsInsightsWarehousesSortByEnum
func GetMappingListOperationsInsightsWarehousesSortByEnum(val string) (ListOperationsInsightsWarehousesSortByEnum, bool)
GetMappingListOperationsInsightsWarehousesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOperationsInsightsWarehousesSortOrderEnum Enum with underlying type: string
type ListOperationsInsightsWarehousesSortOrderEnum string
Set of constants representing the allowable values for ListOperationsInsightsWarehousesSortOrderEnum
const (
ListOperationsInsightsWarehousesSortOrderAsc ListOperationsInsightsWarehousesSortOrderEnum = "ASC"
ListOperationsInsightsWarehousesSortOrderDesc ListOperationsInsightsWarehousesSortOrderEnum = "DESC"
)
func GetListOperationsInsightsWarehousesSortOrderEnumValues() []ListOperationsInsightsWarehousesSortOrderEnum
GetListOperationsInsightsWarehousesSortOrderEnumValues Enumerates the set of values for ListOperationsInsightsWarehousesSortOrderEnum
func GetMappingListOperationsInsightsWarehousesSortOrderEnum(val string) (ListOperationsInsightsWarehousesSortOrderEnum, bool)
GetMappingListOperationsInsightsWarehousesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOpsiConfigurationsRequest wrapper for the ListOpsiConfigurations operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOpsiConfigurations.go.html to see an example of how to use ListOpsiConfigurationsRequest.
type ListOpsiConfigurationsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Filter to return based on resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// Filter to return based on Lifecycle state of OPSI configuration.
LifecycleState []OpsiConfigurationLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
// Filter to return based on configuration type of OPSI configuration.
OpsiConfigType []OpsiConfigurationTypeEnum `contributesTo:"query" name:"opsiConfigType" omitEmpty:"true" collectionFormat:"multi"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListOpsiConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// OPSI configurations list sort options.
SortBy ListOpsiConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListOpsiConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOpsiConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOpsiConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOpsiConfigurationsRequest) String() string
func (request ListOpsiConfigurationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListOpsiConfigurationsResponse wrapper for the ListOpsiConfigurations operation
type ListOpsiConfigurationsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of OpsiConfigurationsCollection instances
OpsiConfigurationsCollection `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 ListOpsiConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOpsiConfigurationsResponse) String() string
ListOpsiConfigurationsSortByEnum Enum with underlying type: string
type ListOpsiConfigurationsSortByEnum string
Set of constants representing the allowable values for ListOpsiConfigurationsSortByEnum
const (
ListOpsiConfigurationsSortByDisplayname ListOpsiConfigurationsSortByEnum = "displayName"
)
func GetListOpsiConfigurationsSortByEnumValues() []ListOpsiConfigurationsSortByEnum
GetListOpsiConfigurationsSortByEnumValues Enumerates the set of values for ListOpsiConfigurationsSortByEnum
func GetMappingListOpsiConfigurationsSortByEnum(val string) (ListOpsiConfigurationsSortByEnum, bool)
GetMappingListOpsiConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOpsiConfigurationsSortOrderEnum Enum with underlying type: string
type ListOpsiConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListOpsiConfigurationsSortOrderEnum
const (
ListOpsiConfigurationsSortOrderAsc ListOpsiConfigurationsSortOrderEnum = "ASC"
ListOpsiConfigurationsSortOrderDesc ListOpsiConfigurationsSortOrderEnum = "DESC"
)
func GetListOpsiConfigurationsSortOrderEnumValues() []ListOpsiConfigurationsSortOrderEnum
GetListOpsiConfigurationsSortOrderEnumValues Enumerates the set of values for ListOpsiConfigurationsSortOrderEnum
func GetMappingListOpsiConfigurationsSortOrderEnum(val string) (ListOpsiConfigurationsSortOrderEnum, bool)
GetMappingListOpsiConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListOpsiDataObjectsRequest wrapper for the ListOpsiDataObjects operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOpsiDataObjects.go.html to see an example of how to use ListOpsiDataObjectsRequest.
type ListOpsiDataObjectsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// OPSI data object types.
DataObjectType []OpsiDataObjectTypeEnum `contributesTo:"query" name:"dataObjectType" omitEmpty:"true" collectionFormat:"multi"`
// A filter to return only resources that match the entire display name.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListOpsiDataObjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// OPSI data object list sort options.
SortBy ListOpsiDataObjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// A filter to return only data objects that belongs to the group of the given group name. By default, no filtering will be applied on group name.
GroupName *string `mandatory:"false" contributesTo:"query" name:"groupName"`
// A filter to return only data objects that match the entire data object name. By default, no filtering will be applied on data object name.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListOpsiDataObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOpsiDataObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOpsiDataObjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOpsiDataObjectsRequest) String() string
func (request ListOpsiDataObjectsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListOpsiDataObjectsResponse wrapper for the ListOpsiDataObjects operation
type ListOpsiDataObjectsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of OpsiDataObjectsCollection instances
OpsiDataObjectsCollection `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 ListOpsiDataObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOpsiDataObjectsResponse) String() string
ListOpsiDataObjectsSortByEnum Enum with underlying type: string
type ListOpsiDataObjectsSortByEnum string
Set of constants representing the allowable values for ListOpsiDataObjectsSortByEnum
const (
ListOpsiDataObjectsSortByDisplayname ListOpsiDataObjectsSortByEnum = "displayName"
ListOpsiDataObjectsSortByDataobjecttype ListOpsiDataObjectsSortByEnum = "dataObjectType"
ListOpsiDataObjectsSortByName ListOpsiDataObjectsSortByEnum = "name"
)
func GetListOpsiDataObjectsSortByEnumValues() []ListOpsiDataObjectsSortByEnum
GetListOpsiDataObjectsSortByEnumValues Enumerates the set of values for ListOpsiDataObjectsSortByEnum
func GetMappingListOpsiDataObjectsSortByEnum(val string) (ListOpsiDataObjectsSortByEnum, bool)
GetMappingListOpsiDataObjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListOpsiDataObjectsSortOrderEnum Enum with underlying type: string
type ListOpsiDataObjectsSortOrderEnum string
Set of constants representing the allowable values for ListOpsiDataObjectsSortOrderEnum
const (
ListOpsiDataObjectsSortOrderAsc ListOpsiDataObjectsSortOrderEnum = "ASC"
ListOpsiDataObjectsSortOrderDesc ListOpsiDataObjectsSortOrderEnum = "DESC"
)
func GetListOpsiDataObjectsSortOrderEnumValues() []ListOpsiDataObjectsSortOrderEnum
GetListOpsiDataObjectsSortOrderEnumValues Enumerates the set of values for ListOpsiDataObjectsSortOrderEnum
func GetMappingListOpsiDataObjectsSortOrderEnum(val string) (ListOpsiDataObjectsSortOrderEnum, bool)
GetMappingListOpsiDataObjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSqlPlansRequest wrapper for the ListSqlPlans operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlansRequest.
type ListSqlPlansRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Unique SQL_ID for a SQL Statement.
// Example: `6rgjh9bjmy2s7`
SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
// Unique plan hash for a SQL Plan of a particular SQL Statement.
// Example: `9820154385`
PlanHash []int64 `contributesTo:"query" name:"planHash" collectionFormat:"multi"`
// Optional OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
// OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"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 `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 ListSqlPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlPlansRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlPlansRequest) String() string
func (request ListSqlPlansRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSqlPlansResponse wrapper for the ListSqlPlans operation
type ListSqlPlansResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SqlPlanCollection instances
SqlPlanCollection `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 ListSqlPlansResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlPlansResponse) String() string
ListSqlSearchesRequest wrapper for the ListSqlSearches operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearchesRequest.
type ListSqlSearchesRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// Unique SQL_ID for a SQL Statement.
// Example: `6rgjh9bjmy2s7`
SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
// Specify time period in ISO 8601 format with respect to current time.
// Default is last 30 days represented by P30D.
// If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
// Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
// Analysis start time in UTC in ISO 8601 format(inclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// The minimum allowed value is 2 years prior to the current day.
// timeIntervalStart and timeIntervalEnd parameters are used together.
// If analysisTimeInterval is specified, this parameter is ignored.
TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
// Analysis end time in UTC in ISO 8601 format(exclusive).
// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
// timeIntervalStart and timeIntervalEnd are used together.
// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListSqlSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlSearchesRequest) String() string
func (request ListSqlSearchesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSqlSearchesResponse wrapper for the ListSqlSearches operation
type ListSqlSearchesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SqlSearchCollection instances
SqlSearchCollection `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 ListSqlSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlSearchesResponse) String() string
ListSqlTextsRequest wrapper for the ListSqlTexts operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTextsRequest.
type ListSqlTextsRequest struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// One or more unique SQL_IDs for a SQL Statement.
// Example: `6rgjh9bjmy2s7`
SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the assosicated DBaaS entity.
DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
// Optional list of database OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
// Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
// A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
// The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
// Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
// Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
// or "{namespace}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
// Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
// A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
// The key for each tag is "{tagName}.true". All inputs are case-insensitive.
// Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
// Multiple values for different tag names are interpreted as "AND".
FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
// A flag to search all resources within a given compartment and all sub-compartments.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// Metadata about the request. 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 ListSqlTextsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSqlTextsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSqlTextsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSqlTextsRequest) String() string
func (request ListSqlTextsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListSqlTextsResponse wrapper for the ListSqlTexts operation
type ListSqlTextsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of SqlTextCollection instances
SqlTextCollection `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 ListSqlTextsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSqlTextsResponse) String() string
ListWarehouseDataObjectsRequest wrapper for the ListWarehouseDataObjects operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWarehouseDataObjects.go.html to see an example of how to use ListWarehouseDataObjectsRequest.
type ListWarehouseDataObjectsRequest struct {
// Type of the Warehouse.
WarehouseType ListWarehouseDataObjectsWarehouseTypeEnum `mandatory:"true" contributesTo:"path" name:"warehouseType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Warehouse.
WarehouseId *string `mandatory:"true" contributesTo:"path" name:"warehouseId"`
// A filter to return only data objects that match the data object type. By default, no filtering will be applied on data object type.
DataObjectType []DataObjectTypeEnum `contributesTo:"query" name:"dataObjectType" omitEmpty:"true" collectionFormat:"multi"`
// A filter to return only data objects that match the entire data object name. By default, no filtering will be applied on data object name.
Name *string `mandatory:"false" contributesTo:"query" name:"name"`
// A filter to return only data objects that match the entire data object owner name. By default, no filtering will be applied on data object owner name.
Owner *string `mandatory:"false" contributesTo:"query" name:"owner"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWarehouseDataObjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Sort options for Warehouse data objects list.
SortBy ListWarehouseDataObjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// Specifies the optional fields to return in a WarehouseDataObjectSummary. Unless requested, these fields are not returned by default.
SummaryField []ListWarehouseDataObjectsSummaryFieldEnum `contributesTo:"query" name:"summaryField" omitEmpty:"true" collectionFormat:"multi"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. 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 ListWarehouseDataObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWarehouseDataObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWarehouseDataObjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWarehouseDataObjectsRequest) String() string
func (request ListWarehouseDataObjectsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWarehouseDataObjectsResponse wrapper for the ListWarehouseDataObjects operation
type ListWarehouseDataObjectsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of WarehouseDataObjectCollection instances
WarehouseDataObjectCollection `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 ListWarehouseDataObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWarehouseDataObjectsResponse) String() string
ListWarehouseDataObjectsSortByEnum Enum with underlying type: string
type ListWarehouseDataObjectsSortByEnum string
Set of constants representing the allowable values for ListWarehouseDataObjectsSortByEnum
const (
ListWarehouseDataObjectsSortByDataobjecttype ListWarehouseDataObjectsSortByEnum = "dataObjectType"
ListWarehouseDataObjectsSortByName ListWarehouseDataObjectsSortByEnum = "name"
ListWarehouseDataObjectsSortByOwner ListWarehouseDataObjectsSortByEnum = "owner"
)
func GetListWarehouseDataObjectsSortByEnumValues() []ListWarehouseDataObjectsSortByEnum
GetListWarehouseDataObjectsSortByEnumValues Enumerates the set of values for ListWarehouseDataObjectsSortByEnum
func GetMappingListWarehouseDataObjectsSortByEnum(val string) (ListWarehouseDataObjectsSortByEnum, bool)
GetMappingListWarehouseDataObjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWarehouseDataObjectsSortOrderEnum Enum with underlying type: string
type ListWarehouseDataObjectsSortOrderEnum string
Set of constants representing the allowable values for ListWarehouseDataObjectsSortOrderEnum
const (
ListWarehouseDataObjectsSortOrderAsc ListWarehouseDataObjectsSortOrderEnum = "ASC"
ListWarehouseDataObjectsSortOrderDesc ListWarehouseDataObjectsSortOrderEnum = "DESC"
)
func GetListWarehouseDataObjectsSortOrderEnumValues() []ListWarehouseDataObjectsSortOrderEnum
GetListWarehouseDataObjectsSortOrderEnumValues Enumerates the set of values for ListWarehouseDataObjectsSortOrderEnum
func GetMappingListWarehouseDataObjectsSortOrderEnum(val string) (ListWarehouseDataObjectsSortOrderEnum, bool)
GetMappingListWarehouseDataObjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWarehouseDataObjectsSummaryFieldEnum Enum with underlying type: string
type ListWarehouseDataObjectsSummaryFieldEnum string
Set of constants representing the allowable values for ListWarehouseDataObjectsSummaryFieldEnum
const (
ListWarehouseDataObjectsSummaryFieldDetails ListWarehouseDataObjectsSummaryFieldEnum = "details"
)
func GetListWarehouseDataObjectsSummaryFieldEnumValues() []ListWarehouseDataObjectsSummaryFieldEnum
GetListWarehouseDataObjectsSummaryFieldEnumValues Enumerates the set of values for ListWarehouseDataObjectsSummaryFieldEnum
func GetMappingListWarehouseDataObjectsSummaryFieldEnum(val string) (ListWarehouseDataObjectsSummaryFieldEnum, bool)
GetMappingListWarehouseDataObjectsSummaryFieldEnum performs case Insensitive comparison on enum value and return the desired enum
ListWarehouseDataObjectsWarehouseTypeEnum Enum with underlying type: string
type ListWarehouseDataObjectsWarehouseTypeEnum string
Set of constants representing the allowable values for ListWarehouseDataObjectsWarehouseTypeEnum
const (
ListWarehouseDataObjectsWarehouseTypeAwrhubs ListWarehouseDataObjectsWarehouseTypeEnum = "awrHubs"
)
func GetListWarehouseDataObjectsWarehouseTypeEnumValues() []ListWarehouseDataObjectsWarehouseTypeEnum
GetListWarehouseDataObjectsWarehouseTypeEnumValues Enumerates the set of values for ListWarehouseDataObjectsWarehouseTypeEnum
func GetMappingListWarehouseDataObjectsWarehouseTypeEnum(val string) (ListWarehouseDataObjectsWarehouseTypeEnum, bool)
GetMappingListWarehouseDataObjectsWarehouseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct {
// The ID of the asynchronous request.
WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
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.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct {
// Unique Oracle-assigned identifier for the request. If you need to contact
// Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// For list pagination. The value of the `opc-next-page` response header from
// the previous "List" call. For important details about how pagination works,
// see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
// For list pagination. The maximum number of results per page, or items to
// return in a paginated "List" call.
// For important details about how pagination works, see
// List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
// Example: `50`
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The ID of the asynchronous work request.
Id *string `mandatory:"false" contributesTo:"query" name:"id"`
// A filter to return only resources their lifecycleState matches the given OperationStatus.
Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
// The ID of the resource affected by the work request.
ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
// The ID of the related resource for the resource affected by the work request, e.g. the related Exadata Insight OCID of the Database Insight work request
RelatedResourceId *string `mandatory:"false" contributesTo:"query" name:"relatedResourceId"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
SortBy ListWorkRequestsSortByEnum `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 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"
ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING"
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
MacsManagedAutonomousDatabaseConfigurationSummary Configuration Summary of a Macs Managed Cloud Autonomous database.
type MacsManagedAutonomousDatabaseConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"true" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"true" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
ParentId *string `mandatory:"true" json:"parentId"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
}
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetIsAdvancedFeaturesEnabled() *bool
GetIsAdvancedFeaturesEnabled returns IsAdvancedFeaturesEnabled
func (m MacsManagedAutonomousDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedAutonomousDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedAutonomousDatabaseConfigurationSummary) String() string
func (m MacsManagedAutonomousDatabaseConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedAutonomousDatabaseInsight Database insight resource.
type MacsManagedAutonomousDatabaseInsight struct {
// Database insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Name of database
DatabaseName *string `mandatory:"true" json:"databaseName"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"false" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"false" json:"connectionCredentialDetails"`
// Display name of database
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.oracle.com/iaas/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.
DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
ParentId *string `mandatory:"false" json:"parentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
RootId *string `mandatory:"false" json:"rootId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m MacsManagedAutonomousDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedAutonomousDatabaseInsight) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m MacsManagedAutonomousDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedAutonomousDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedAutonomousDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedAutonomousDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedAutonomousDatabaseInsight) GetId() *string
GetId returns Id
func (m MacsManagedAutonomousDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedAutonomousDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedAutonomousDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedAutonomousDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedAutonomousDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedAutonomousDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedAutonomousDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedAutonomousDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedAutonomousDatabaseInsight) String() string
func (m *MacsManagedAutonomousDatabaseInsight) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MacsManagedAutonomousDatabaseInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedAutonomousDatabaseInsightSummary Summary of a database insight resource.
type MacsManagedAutonomousDatabaseInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"false" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// The hostnames for the database.
DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"false" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
ParentId *string `mandatory:"false" json:"parentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the root resource for a composite target. e.g. for ExaCS members the rootId will be the OCID of the Exadata Infrastructure resource.
RootId *string `mandatory:"false" json:"rootId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m MacsManagedAutonomousDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedAutonomousDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedAutonomousDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedAutonomousDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m MacsManagedAutonomousDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedAutonomousDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedAutonomousDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedAutonomousDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedAutonomousDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedAutonomousDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedAutonomousDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedAutonomousDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedAutonomousDatabaseInsightSummary) String() string
func (m MacsManagedAutonomousDatabaseInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudDatabaseConfigurationSummary Configuration Summary of a Macs Managed Cloud database.
type MacsManagedCloudDatabaseConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"true" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"true" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"true" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
// Flag is to identify if advanced features for autonomous database is enabled or not
IsAdvancedFeaturesEnabled *bool `mandatory:"true" json:"isAdvancedFeaturesEnabled"`
// Name of the CDB.Only applies to PDB.
CdbName *string `mandatory:"true" json:"cdbName"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
ParentId *string `mandatory:"true" json:"parentId"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
}
func (m MacsManagedCloudDatabaseConfigurationSummary) GetCdbName() *string
GetCdbName returns CdbName
func (m MacsManagedCloudDatabaseConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudDatabaseConfigurationSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m MacsManagedCloudDatabaseConfigurationSummary) GetDatabaseInsightId() *string
GetDatabaseInsightId returns DatabaseInsightId
func (m MacsManagedCloudDatabaseConfigurationSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m MacsManagedCloudDatabaseConfigurationSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedCloudDatabaseConfigurationSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedCloudDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudDatabaseConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudDatabaseConfigurationSummary) GetIsAdvancedFeaturesEnabled() *bool
GetIsAdvancedFeaturesEnabled returns IsAdvancedFeaturesEnabled
func (m MacsManagedCloudDatabaseConfigurationSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedCloudDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudDatabaseConfigurationSummary) String() string
func (m MacsManagedCloudDatabaseConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudDatabaseHostInsight Cloud MACS-managed database host insight resource.
type MacsManagedCloudDatabaseHostInsight struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the host insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The user-friendly name for the host. The name does not have to be unique.
HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
// Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
HostType *string `mandatory:"false" json:"hostType"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the host insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// Platform name.
PlatformName *string `mandatory:"false" json:"platformName"`
// Platform version.
PlatformVersion *string `mandatory:"false" json:"platformVersion"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
ParentId *string `mandatory:"false" json:"parentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
RootId *string `mandatory:"false" json:"rootId"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType MacsManagedCloudDatabaseHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
// Indicates the status of a host insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the host.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m MacsManagedCloudDatabaseHostInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudDatabaseHostInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudDatabaseHostInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudDatabaseHostInsight) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (m MacsManagedCloudDatabaseHostInsight) GetHostName() *string
GetHostName returns HostName
func (m MacsManagedCloudDatabaseHostInsight) GetHostType() *string
GetHostType returns HostType
func (m MacsManagedCloudDatabaseHostInsight) GetId() *string
GetId returns Id
func (m MacsManagedCloudDatabaseHostInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedCloudDatabaseHostInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedCloudDatabaseHostInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedCloudDatabaseHostInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedCloudDatabaseHostInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedCloudDatabaseHostInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedCloudDatabaseHostInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedCloudDatabaseHostInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudDatabaseHostInsight) String() string
func (m MacsManagedCloudDatabaseHostInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudDatabaseHostInsightPlatformTypeEnum Enum with underlying type: string
type MacsManagedCloudDatabaseHostInsightPlatformTypeEnum string
Set of constants representing the allowable values for MacsManagedCloudDatabaseHostInsightPlatformTypeEnum
const (
MacsManagedCloudDatabaseHostInsightPlatformTypeLinux MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "LINUX"
MacsManagedCloudDatabaseHostInsightPlatformTypeSolaris MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "SOLARIS"
MacsManagedCloudDatabaseHostInsightPlatformTypeSunos MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "SUNOS"
MacsManagedCloudDatabaseHostInsightPlatformTypeZlinux MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "ZLINUX"
MacsManagedCloudDatabaseHostInsightPlatformTypeWindows MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "WINDOWS"
MacsManagedCloudDatabaseHostInsightPlatformTypeAix MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "AIX"
MacsManagedCloudDatabaseHostInsightPlatformTypeHpUx MacsManagedCloudDatabaseHostInsightPlatformTypeEnum = "HP_UX"
)
func GetMacsManagedCloudDatabaseHostInsightPlatformTypeEnumValues() []MacsManagedCloudDatabaseHostInsightPlatformTypeEnum
GetMacsManagedCloudDatabaseHostInsightPlatformTypeEnumValues Enumerates the set of values for MacsManagedCloudDatabaseHostInsightPlatformTypeEnum
func GetMappingMacsManagedCloudDatabaseHostInsightPlatformTypeEnum(val string) (MacsManagedCloudDatabaseHostInsightPlatformTypeEnum, bool)
GetMappingMacsManagedCloudDatabaseHostInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
MacsManagedCloudDatabaseHostInsightSummary Summary of a Cloud MACS-managed database host insight resource.
type MacsManagedCloudDatabaseHostInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The user-friendly name for the host. The name does not have to be unique.
HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
// Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
HostType *string `mandatory:"false" json:"hostType"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
// The time the the host insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the host insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
ParentId *string `mandatory:"false" json:"parentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
RootId *string `mandatory:"false" json:"rootId"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
// Indicates the status of a host insight in Ops Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the host.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m MacsManagedCloudDatabaseHostInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudDatabaseHostInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudDatabaseHostInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudDatabaseHostInsightSummary) GetHostDisplayName() *string
GetHostDisplayName returns HostDisplayName
func (m MacsManagedCloudDatabaseHostInsightSummary) GetHostName() *string
GetHostName returns HostName
func (m MacsManagedCloudDatabaseHostInsightSummary) GetHostType() *string
GetHostType returns HostType
func (m MacsManagedCloudDatabaseHostInsightSummary) GetId() *string
GetId returns Id
func (m MacsManagedCloudDatabaseHostInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedCloudDatabaseHostInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedCloudDatabaseHostInsightSummary) GetOpsiPrivateEndpointId() *string
GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
func (m MacsManagedCloudDatabaseHostInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedCloudDatabaseHostInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedCloudDatabaseHostInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedCloudDatabaseHostInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedCloudDatabaseHostInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedCloudDatabaseHostInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudDatabaseHostInsightSummary) String() string
func (m MacsManagedCloudDatabaseHostInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
type MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum string
Set of constants representing the allowable values for MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum
const (
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeLinux MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "LINUX"
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeSolaris MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "SOLARIS"
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeSunos MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "SUNOS"
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeZlinux MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "ZLINUX"
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeWindows MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "WINDOWS"
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeAix MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "AIX"
MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeHpUx MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum = "HP_UX"
)
func GetMacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnumValues() []MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum
GetMacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum
func GetMappingMacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum(val string) (MacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum, bool)
GetMappingMacsManagedCloudDatabaseHostInsightSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
MacsManagedCloudDatabaseInsight Database insight resource.
type MacsManagedCloudDatabaseInsight struct {
// Database insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the database
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// Name of database
DatabaseName *string `mandatory:"true" json:"databaseName"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"false" json:"managementAgentId"`
ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
ConnectionCredentialDetails CredentialDetails `mandatory:"false" json:"connectionCredentialDetails"`
// Display name of database
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.oracle.com/iaas/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.
DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
ParentId *string `mandatory:"false" json:"parentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
RootId *string `mandatory:"false" json:"rootId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}
func (m MacsManagedCloudDatabaseInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudDatabaseInsight) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m MacsManagedCloudDatabaseInsight) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedCloudDatabaseInsight) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedCloudDatabaseInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudDatabaseInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudDatabaseInsight) GetId() *string
GetId returns Id
func (m MacsManagedCloudDatabaseInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedCloudDatabaseInsight) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedCloudDatabaseInsight) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedCloudDatabaseInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedCloudDatabaseInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedCloudDatabaseInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedCloudDatabaseInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedCloudDatabaseInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudDatabaseInsight) String() string
func (m *MacsManagedCloudDatabaseInsight) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m MacsManagedCloudDatabaseInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudDatabaseInsightSummary Summary of a database insight resource.
type MacsManagedCloudDatabaseInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
DatabaseId *string `mandatory:"true" json:"databaseId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// The database name. The database name is unique within the tenancy.
DatabaseName *string `mandatory:"false" json:"databaseName"`
// The user-friendly name for the database. The name does not have to be unique.
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
// Ops Insights internal representation of the database type.
DatabaseType *string `mandatory:"false" json:"databaseType"`
// The version of the database.
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
// The hostnames for the database.
DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
ProcessorCount *int `mandatory:"false" json:"processorCount"`
// The time the the database insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The time the database insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
// OCI database resource type
DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"false" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
ParentId *string `mandatory:"false" json:"parentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the root resource for a composite target. e.g. for ExaCS members the rootId will be the OCID of the Exadata Infrastructure resource.
RootId *string `mandatory:"false" json:"rootId"`
// Indicates the status of a database insight in Operations Insights
Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
// The current state of the database.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}
func (m MacsManagedCloudDatabaseInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string
GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseDisplayName() *string
GetDatabaseDisplayName returns DatabaseDisplayName
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseHostNames() []string
GetDatabaseHostNames returns DatabaseHostNames
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseId() *string
GetDatabaseId returns DatabaseId
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseName() *string
GetDatabaseName returns DatabaseName
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseType() *string
GetDatabaseType returns DatabaseType
func (m MacsManagedCloudDatabaseInsightSummary) GetDatabaseVersion() *string
GetDatabaseVersion returns DatabaseVersion
func (m MacsManagedCloudDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudDatabaseInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudDatabaseInsightSummary) GetId() *string
GetId returns Id
func (m MacsManagedCloudDatabaseInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedCloudDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedCloudDatabaseInsightSummary) GetProcessorCount() *int
GetProcessorCount returns ProcessorCount
func (m MacsManagedCloudDatabaseInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedCloudDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedCloudDatabaseInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedCloudDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedCloudDatabaseInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudDatabaseInsightSummary) String() string
func (m MacsManagedCloudDatabaseInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudDbHostConfigurationSummary Configuration Summary of Cloud MACS-managed database host insight resource.
type MacsManagedCloudDbHostConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
HostInsightId *string `mandatory:"true" json:"hostInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Platform version.
PlatformVersion *string `mandatory:"true" json:"platformVersion"`
// Platform vendor.
PlatformVendor *string `mandatory:"true" json:"platformVendor"`
// Total CPU on this host.
TotalCpus *int `mandatory:"true" json:"totalCpus"`
// Total amount of usable physical memory in gibabytes
TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
// CPU architechure
CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
// Size of cache memory in megabytes.
CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
// Name of the CPU vendor.
CpuVendor *string `mandatory:"true" json:"cpuVendor"`
// Clock frequency of the processor in megahertz.
CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
// Model name of processor.
CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
// Number of cores per socket.
CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
// Number of total sockets.
TotalSockets *int `mandatory:"true" json:"totalSockets"`
// Number of threads per socket.
ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
// Indicates if hyper-threading is enabled or not
IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
ParentId *string `mandatory:"true" json:"parentId"`
ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
func (m MacsManagedCloudDbHostConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudDbHostConfigurationSummary) GetCoresPerSocket() *int
GetCoresPerSocket returns CoresPerSocket
func (m MacsManagedCloudDbHostConfigurationSummary) GetCpuArchitecture() *string
GetCpuArchitecture returns CpuArchitecture
func (m MacsManagedCloudDbHostConfigurationSummary) GetCpuCacheInMBs() *float64
GetCpuCacheInMBs returns CpuCacheInMBs
func (m MacsManagedCloudDbHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
GetCpuFrequencyInMhz returns CpuFrequencyInMhz
func (m MacsManagedCloudDbHostConfigurationSummary) GetCpuImplementation() *string
GetCpuImplementation returns CpuImplementation
func (m MacsManagedCloudDbHostConfigurationSummary) GetCpuVendor() *string
GetCpuVendor returns CpuVendor
func (m MacsManagedCloudDbHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudDbHostConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudDbHostConfigurationSummary) GetHostInsightId() *string
GetHostInsightId returns HostInsightId
func (m MacsManagedCloudDbHostConfigurationSummary) GetHostName() *string
GetHostName returns HostName
func (m MacsManagedCloudDbHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
func (m MacsManagedCloudDbHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
GetPlatformType returns PlatformType
func (m MacsManagedCloudDbHostConfigurationSummary) GetPlatformVendor() *string
GetPlatformVendor returns PlatformVendor
func (m MacsManagedCloudDbHostConfigurationSummary) GetPlatformVersion() *string
GetPlatformVersion returns PlatformVersion
func (m MacsManagedCloudDbHostConfigurationSummary) GetThreadsPerSocket() *int
GetThreadsPerSocket returns ThreadsPerSocket
func (m MacsManagedCloudDbHostConfigurationSummary) GetTotalCpus() *int
GetTotalCpus returns TotalCpus
func (m MacsManagedCloudDbHostConfigurationSummary) GetTotalMemoryInGBs() *float64
GetTotalMemoryInGBs returns TotalMemoryInGBs
func (m MacsManagedCloudDbHostConfigurationSummary) GetTotalSockets() *int
GetTotalSockets returns TotalSockets
func (m MacsManagedCloudDbHostConfigurationSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudDbHostConfigurationSummary) String() string
func (m MacsManagedCloudDbHostConfigurationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudExadataInsight Cloud MACS-managed Exadata insight resource (ExaCC) (ExaCS will be supported in the future).
type MacsManagedCloudExadataInsight struct {
// Exadata insight identifier
Id *string `mandatory:"true" json:"id"`
// Compartment identifier of the Exadata insight resource
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
// The shape of the Exadata Infrastructure.
ExadataShape *string `mandatory:"true" json:"exadataShape"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
// true if virtualization is used in the Exadata system
IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"false" json:"chargebackPlanDetails"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
// The time the Exadata insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the Exadata Resource. For example, it can be used to provide actionable information about the policies needed to access the Exadata Resource.
StatusDetails *string `mandatory:"false" json:"statusDetails"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
// Exadata rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
// Indicates the status of an Exadata insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the Exadata insight.
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// OCI exadata infrastructure resource type
ExadataInfraResourceType ExadataResourceTypeEnum `mandatory:"true" json:"exadataInfraResourceType"`
}
func (m MacsManagedCloudExadataInsight) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m MacsManagedCloudExadataInsight) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudExadataInsight) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudExadataInsight) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m MacsManagedCloudExadataInsight) GetExadataName() *string
GetExadataName returns ExadataName
func (m MacsManagedCloudExadataInsight) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m MacsManagedCloudExadataInsight) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m MacsManagedCloudExadataInsight) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudExadataInsight) GetId() *string
GetId returns Id
func (m MacsManagedCloudExadataInsight) GetIsVirtualizedExadata() *bool
GetIsVirtualizedExadata returns IsVirtualizedExadata
func (m MacsManagedCloudExadataInsight) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedCloudExadataInsight) GetLifecycleState() ExadataInsightLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedCloudExadataInsight) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedCloudExadataInsight) GetStatusDetails() *string
GetStatusDetails returns StatusDetails
func (m MacsManagedCloudExadataInsight) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedCloudExadataInsight) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedCloudExadataInsight) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedCloudExadataInsight) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudExadataInsight) String() string
func (m MacsManagedCloudExadataInsight) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudExadataInsightSummary Summary of a Cloud MACS-managed Exadata insight resource (ExaCC).
type MacsManagedCloudExadataInsightSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight resource.
Id *string `mandatory:"true" json:"id"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
ExadataName *string `mandatory:"true" json:"exadataName"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
// The shape of the Exadata Infrastructure.
ExadataShape *string `mandatory:"true" json:"exadataShape"`
// The user-friendly name for the Exadata system. The name does not have to be unique.
ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
// System tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
ChargebackPlanDetails *ChargebackPlanDetails `mandatory:"false" json:"chargebackPlanDetails"`
// The time the Exadata insight was updated. An RFC3339 formatted datetime string
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
// A message describing the status of the Exadata Resource. For example, it can be used to provide actionable information about the policies needed to access the Exadata Resource.
StatusDetails *string `mandatory:"false" json:"statusDetails"`
// Operations Insights internal representation of the the Exadata system type.
ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
// Operations Insights internal representation of the the Exadata system rack type.
ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
// Indicates the status of an Exadata insight in Operations Insights
Status ResourceStatusEnum `mandatory:"true" json:"status"`
// The current state of the Exadata insight.
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
// OCI exadata infrastructure resource type
ExadataInfraResourceType ExadataResourceTypeEnum `mandatory:"true" json:"exadataInfraResourceType"`
}
func (m MacsManagedCloudExadataInsightSummary) GetChargebackPlanDetails() *ChargebackPlanDetails
GetChargebackPlanDetails returns ChargebackPlanDetails
func (m MacsManagedCloudExadataInsightSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudExadataInsightSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudExadataInsightSummary) GetExadataDisplayName() *string
GetExadataDisplayName returns ExadataDisplayName
func (m MacsManagedCloudExadataInsightSummary) GetExadataName() *string
GetExadataName returns ExadataName
func (m MacsManagedCloudExadataInsightSummary) GetExadataRackType() ExadataRackTypeEnum
GetExadataRackType returns ExadataRackType
func (m MacsManagedCloudExadataInsightSummary) GetExadataType() ExadataTypeEnum
GetExadataType returns ExadataType
func (m MacsManagedCloudExadataInsightSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudExadataInsightSummary) GetId() *string
GetId returns Id
func (m MacsManagedCloudExadataInsightSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m MacsManagedCloudExadataInsightSummary) GetLifecycleState() ExadataInsightLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m MacsManagedCloudExadataInsightSummary) GetStatus() ResourceStatusEnum
GetStatus returns Status
func (m MacsManagedCloudExadataInsightSummary) GetStatusDetails() *string
GetStatusDetails returns StatusDetails
func (m MacsManagedCloudExadataInsightSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m MacsManagedCloudExadataInsightSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m MacsManagedCloudExadataInsightSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m MacsManagedCloudExadataInsightSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m MacsManagedCloudExadataInsightSummary) String() string
func (m MacsManagedCloudExadataInsightSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MacsManagedCloudHostConfigurationSummary Configuration Summary of a Macs Managed Cloud host.
type MacsManagedCloudHostConfigurationSummary struct {
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
HostInsightId *string `mandatory:"true" json:"hostInsightId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The host name. The host name is unique amongst the hosts managed by the same management agent.
HostName *string `mandatory:"true" json:"hostName"`
// Platform version.
PlatformVersion *string `mandatory:"true" json:"platformVersion"`
// Platform vendor.
PlatformVendor *string `mandatory:"true" json:"platformVendor"`
// Total CPU on this host.
TotalCpus *int `mandatory:"true" json:"totalCpus"`
// Total amount of usable physical memory in gibabytes
TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
// CPU architechure
CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
// Size of cache memory in megabytes.
CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
// Name of the CPU vendor.
CpuVendor *string `mandatory:"true" json:"cpuVendor"`
// Clock frequency of the processor in megahertz.
CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
// Model name of processor.
CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
// Number of cores per socket.
CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
// Number of total sockets.
TotalSockets *int `mandatory:"true" json:"totalSockets"`
// Number of threads per socket.
ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
// Indicates if hyper-threading is enabled or not
IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
ComputeId *string `mandatory:"true" json:"computeId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector
ConnectorId *string `mandatory:"false" json:"connectorId"`
// Platform type.
// Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
// Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
// Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
}
func (m MacsManagedCloudHostConfigurationSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m MacsManagedCloudHostConfigurationSummary) GetCoresPerSocket() *int
GetCoresPerSocket returns CoresPerSocket
func (m MacsManagedCloudHostConfigurationSummary) GetCpuArchitecture() *string
GetCpuArchitecture returns CpuArchitecture
func (m MacsManagedCloudHostConfigurationSummary) GetCpuCacheInMBs() *float64
GetCpuCacheInMBs returns CpuCacheInMBs
func (m MacsManagedCloudHostConfigurationSummary) GetCpuFrequencyInMhz() *float64
GetCpuFrequencyInMhz returns CpuFrequencyInMhz
func (m MacsManagedCloudHostConfigurationSummary) GetCpuImplementation() *string
GetCpuImplementation returns CpuImplementation
func (m MacsManagedCloudHostConfigurationSummary) GetCpuVendor() *string
GetCpuVendor returns CpuVendor
func (m MacsManagedCloudHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m MacsManagedCloudHostConfigurationSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m MacsManagedCloudHostConfigurationSummary) GetHostInsightId() *string
GetHostInsightId returns HostInsightId
func (m MacsManagedCloudHostConfigurationSummary) GetHostName() *string
GetHostName returns HostName
func (m MacsManagedCloudHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool
GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
func (m MacsManagedCloudHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum
GetPlatformType returns PlatformType
func (m MacsManagedCloudHostConfigurationSummary) GetPlatformVendor() *string
GetPlatformVendor returns PlatformVendor
func (m MacsManagedCloudHostConfigurationSummary) GetPlatformVersion() *string
GetPlatformVersion returns PlatformVersion
func (m MacsManagedCloudHostConfigurationSummary) GetThreadsPerSocket() *int
GetThreadsPerSocket returns ThreadsPerSocket