oci.DatabaseManagement.getManagedDatabaseOptimizerStatisticsCollectionOperations
Explore with Pulumi AI
This data source provides the list of Managed Database Optimizer Statistics Collection Operations in Oracle Cloud Infrastructure Database Management service.
Lists the optimizer statistics (Auto and Manual) task operation summary for the specified Managed Database. The summary includes the details of each operation and the number of tasks grouped by status: Completed, In Progress, Failed, and so on. Optionally, you can specify a date-time range (of seven days) to obtain the list of operations that fall within the specified time range. If the date-time range is not specified, then the operations in the last seven days are listed. This API also enables the pagination of results and the opc-next-page response header indicates whether there is a next page. If you use the same header value in a consecutive request, the next page records are returned. To obtain the required results, you can apply the different types of filters supported by this API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabaseOptimizerStatisticsCollectionOperations = oci.DatabaseManagement.getManagedDatabaseOptimizerStatisticsCollectionOperations({
    managedDatabaseId: testManagedDatabase.id,
    endTimeLessThanOrEqualTo: managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo,
    filterBy: managedDatabaseOptimizerStatisticsCollectionOperationFilterBy,
    startTimeGreaterThanOrEqualTo: managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo,
    taskType: managedDatabaseOptimizerStatisticsCollectionOperationTaskType,
});
import pulumi
import pulumi_oci as oci
test_managed_database_optimizer_statistics_collection_operations = oci.DatabaseManagement.get_managed_database_optimizer_statistics_collection_operations(managed_database_id=test_managed_database["id"],
    end_time_less_than_or_equal_to=managed_database_optimizer_statistics_collection_operation_end_time_less_than_or_equal_to,
    filter_by=managed_database_optimizer_statistics_collection_operation_filter_by,
    start_time_greater_than_or_equal_to=managed_database_optimizer_statistics_collection_operation_start_time_greater_than_or_equal_to,
    task_type=managed_database_optimizer_statistics_collection_operation_task_type)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemanagement.GetManagedDatabaseOptimizerStatisticsCollectionOperations(ctx, &databasemanagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs{
			ManagedDatabaseId:             testManagedDatabase.Id,
			EndTimeLessThanOrEqualTo:      pulumi.StringRef(managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo),
			FilterBy:                      pulumi.StringRef(managedDatabaseOptimizerStatisticsCollectionOperationFilterBy),
			StartTimeGreaterThanOrEqualTo: pulumi.StringRef(managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo),
			TaskType:                      pulumi.StringRef(managedDatabaseOptimizerStatisticsCollectionOperationTaskType),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testManagedDatabaseOptimizerStatisticsCollectionOperations = Oci.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperations.Invoke(new()
    {
        ManagedDatabaseId = testManagedDatabase.Id,
        EndTimeLessThanOrEqualTo = managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo,
        FilterBy = managedDatabaseOptimizerStatisticsCollectionOperationFilterBy,
        StartTimeGreaterThanOrEqualTo = managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo,
        TaskType = managedDatabaseOptimizerStatisticsCollectionOperationTaskType,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testManagedDatabaseOptimizerStatisticsCollectionOperations = DatabaseManagementFunctions.getManagedDatabaseOptimizerStatisticsCollectionOperations(GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs.builder()
            .managedDatabaseId(testManagedDatabase.id())
            .endTimeLessThanOrEqualTo(managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo)
            .filterBy(managedDatabaseOptimizerStatisticsCollectionOperationFilterBy)
            .startTimeGreaterThanOrEqualTo(managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo)
            .taskType(managedDatabaseOptimizerStatisticsCollectionOperationTaskType)
            .build());
    }
}
variables:
  testManagedDatabaseOptimizerStatisticsCollectionOperations:
    fn::invoke:
      function: oci:DatabaseManagement:getManagedDatabaseOptimizerStatisticsCollectionOperations
      arguments:
        managedDatabaseId: ${testManagedDatabase.id}
        endTimeLessThanOrEqualTo: ${managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo}
        filterBy: ${managedDatabaseOptimizerStatisticsCollectionOperationFilterBy}
        startTimeGreaterThanOrEqualTo: ${managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo}
        taskType: ${managedDatabaseOptimizerStatisticsCollectionOperationTaskType}
Using getManagedDatabaseOptimizerStatisticsCollectionOperations
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedDatabaseOptimizerStatisticsCollectionOperations(args: GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult>
function getManagedDatabaseOptimizerStatisticsCollectionOperationsOutput(args: GetManagedDatabaseOptimizerStatisticsCollectionOperationsOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult>def get_managed_database_optimizer_statistics_collection_operations(end_time_less_than_or_equal_to: Optional[str] = None,
                                                                    filter_by: Optional[str] = None,
                                                                    filters: Optional[Sequence[GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilter]] = None,
                                                                    limit: Optional[int] = None,
                                                                    managed_database_id: Optional[str] = None,
                                                                    start_time_greater_than_or_equal_to: Optional[str] = None,
                                                                    task_type: Optional[str] = None,
                                                                    opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult
def get_managed_database_optimizer_statistics_collection_operations_output(end_time_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                                    filter_by: Optional[pulumi.Input[str]] = None,
                                                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilterArgs]]]] = None,
                                                                    limit: Optional[pulumi.Input[int]] = None,
                                                                    managed_database_id: Optional[pulumi.Input[str]] = None,
                                                                    start_time_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                                    task_type: Optional[pulumi.Input[str]] = None,
                                                                    opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult]func GetManagedDatabaseOptimizerStatisticsCollectionOperations(ctx *Context, args *GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs, opts ...InvokeOption) (*GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult, error)
func GetManagedDatabaseOptimizerStatisticsCollectionOperationsOutput(ctx *Context, args *GetManagedDatabaseOptimizerStatisticsCollectionOperationsOutputArgs, opts ...InvokeOption) GetManagedDatabaseOptimizerStatisticsCollectionOperationsResultOutput> Note: This function is named GetManagedDatabaseOptimizerStatisticsCollectionOperations in the Go SDK.
public static class GetManagedDatabaseOptimizerStatisticsCollectionOperations 
{
    public static Task<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult> InvokeAsync(GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult> Invoke(GetManagedDatabaseOptimizerStatisticsCollectionOperationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult> getManagedDatabaseOptimizerStatisticsCollectionOperations(GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs args, InvokeOptions options)
public static Output<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult> getManagedDatabaseOptimizerStatisticsCollectionOperations(GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsCollectionOperations:getManagedDatabaseOptimizerStatisticsCollectionOperations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ManagedDatabase stringId 
- The OCID of the Managed Database.
- EndTime stringLess Than Or Equal To 
- The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- FilterBy string
- The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName= AND status=
- Filters
List<GetManaged Database Optimizer Statistics Collection Operations Filter> 
- Limit int
- StartTime stringGreater Than Or Equal To 
- The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- TaskType string
- The filter types of the optimizer statistics tasks.
- ManagedDatabase stringId 
- The OCID of the Managed Database.
- EndTime stringLess Than Or Equal To 
- The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- FilterBy string
- The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName= AND status=
- Filters
[]GetManaged Database Optimizer Statistics Collection Operations Filter 
- Limit int
- StartTime stringGreater Than Or Equal To 
- The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- TaskType string
- The filter types of the optimizer statistics tasks.
- managedDatabase StringId 
- The OCID of the Managed Database.
- endTime StringLess Than Or Equal To 
- The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filterBy String
- The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName= AND status=
- filters
List<GetManaged Database Optimizer Statistics Collection Operations Filter> 
- limit Integer
- startTime StringGreater Than Or Equal To 
- The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- taskType String
- The filter types of the optimizer statistics tasks.
- managedDatabase stringId 
- The OCID of the Managed Database.
- endTime stringLess Than Or Equal To 
- The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filterBy string
- The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName= AND status=
- filters
GetManaged Database Optimizer Statistics Collection Operations Filter[] 
- limit number
- startTime stringGreater Than Or Equal To 
- The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- taskType string
- The filter types of the optimizer statistics tasks.
- managed_database_ strid 
- The OCID of the Managed Database.
- end_time_ strless_ than_ or_ equal_ to 
- The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filter_by str
- The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName= AND status=
- filters
Sequence[GetManaged Database Optimizer Statistics Collection Operations Filter] 
- limit int
- start_time_ strgreater_ than_ or_ equal_ to 
- The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- task_type str
- The filter types of the optimizer statistics tasks.
- managedDatabase StringId 
- The OCID of the Managed Database.
- endTime StringLess Than Or Equal To 
- The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- filterBy String
- The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName= AND status=
- filters List<Property Map>
- limit Number
- startTime StringGreater Than Or Equal To 
- The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
- taskType String
- The filter types of the optimizer statistics tasks.
getManagedDatabaseOptimizerStatisticsCollectionOperations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagedDatabase stringId 
- OptimizerStatistics List<GetCollection Operations Collections Managed Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection> 
- The list of optimizer_statistics_collection_operations_collection.
- EndTime stringLess Than Or Equal To 
- FilterBy string
- Filters
List<GetManaged Database Optimizer Statistics Collection Operations Filter> 
- Limit int
- StartTime stringGreater Than Or Equal To 
- TaskType string
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagedDatabase stringId 
- OptimizerStatistics []GetCollection Operations Collections Managed Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection 
- The list of optimizer_statistics_collection_operations_collection.
- EndTime stringLess Than Or Equal To 
- FilterBy string
- Filters
[]GetManaged Database Optimizer Statistics Collection Operations Filter 
- Limit int
- StartTime stringGreater Than Or Equal To 
- TaskType string
- id String
- The provider-assigned unique ID for this managed resource.
- managedDatabase StringId 
- optimizerStatistics List<GetCollection Operations Collections Managed Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection> 
- The list of optimizer_statistics_collection_operations_collection.
- endTime StringLess Than Or Equal To 
- filterBy String
- filters
List<GetManaged Database Optimizer Statistics Collection Operations Filter> 
- limit Integer
- startTime StringGreater Than Or Equal To 
- taskType String
- id string
- The provider-assigned unique ID for this managed resource.
- managedDatabase stringId 
- optimizerStatistics GetCollection Operations Collections Managed Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection[] 
- The list of optimizer_statistics_collection_operations_collection.
- endTime stringLess Than Or Equal To 
- filterBy string
- filters
GetManaged Database Optimizer Statistics Collection Operations Filter[] 
- limit number
- startTime stringGreater Than Or Equal To 
- taskType string
- id str
- The provider-assigned unique ID for this managed resource.
- managed_database_ strid 
- optimizer_statistics_ Sequence[Getcollection_ operations_ collections Managed Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection] 
- The list of optimizer_statistics_collection_operations_collection.
- end_time_ strless_ than_ or_ equal_ to 
- filter_by str
- filters
Sequence[GetManaged Database Optimizer Statistics Collection Operations Filter] 
- limit int
- start_time_ strgreater_ than_ or_ equal_ to 
- task_type str
- id String
- The provider-assigned unique ID for this managed resource.
- managedDatabase StringId 
- optimizerStatistics List<Property Map>Collection Operations Collections 
- The list of optimizer_statistics_collection_operations_collection.
- endTime StringLess Than Or Equal To 
- filterBy String
- filters List<Property Map>
- limit Number
- startTime StringGreater Than Or Equal To 
- taskType String
Supporting Types
GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilter       
GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollection           
GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItem            
- CompletedCount int
- The number of objects for which statistics collection is completed.
- Databases
List<GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Database> 
- The summary of the Managed Database resource.
- DurationIn doubleSeconds 
- The time it takes to complete the operation (in seconds).
- EndTime string
- The end time of the operation.
- FailedCount int
- The number of objects for which statistics collection failed.
- Id int
- The ID of the operation.
- InProgress intCount 
- The number of objects for which statistics collection is in progress.
- JobName string
- The name of the job.
- OperationName string
- The name of the operation.
- StartTime string
- The start time of the operation.
- Status string
- The status of the Optimizer Statistics Collection task.
- Target string
- The name of the target object for which statistics are gathered.
- Tasks
List<GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Task> 
- An array of Optimizer Statistics Collection task details.
- TimedOut intCount 
- The number of objects for which statistics collection timed out.
- TotalObjects intCount 
- The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
- CompletedCount int
- The number of objects for which statistics collection is completed.
- Databases
[]GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Database 
- The summary of the Managed Database resource.
- DurationIn float64Seconds 
- The time it takes to complete the operation (in seconds).
- EndTime string
- The end time of the operation.
- FailedCount int
- The number of objects for which statistics collection failed.
- Id int
- The ID of the operation.
- InProgress intCount 
- The number of objects for which statistics collection is in progress.
- JobName string
- The name of the job.
- OperationName string
- The name of the operation.
- StartTime string
- The start time of the operation.
- Status string
- The status of the Optimizer Statistics Collection task.
- Target string
- The name of the target object for which statistics are gathered.
- Tasks
[]GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Task 
- An array of Optimizer Statistics Collection task details.
- TimedOut intCount 
- The number of objects for which statistics collection timed out.
- TotalObjects intCount 
- The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
- completedCount Integer
- The number of objects for which statistics collection is completed.
- databases
List<GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Database> 
- The summary of the Managed Database resource.
- durationIn DoubleSeconds 
- The time it takes to complete the operation (in seconds).
- endTime String
- The end time of the operation.
- failedCount Integer
- The number of objects for which statistics collection failed.
- id Integer
- The ID of the operation.
- inProgress IntegerCount 
- The number of objects for which statistics collection is in progress.
- jobName String
- The name of the job.
- operationName String
- The name of the operation.
- startTime String
- The start time of the operation.
- status String
- The status of the Optimizer Statistics Collection task.
- target String
- The name of the target object for which statistics are gathered.
- tasks
List<GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Task> 
- An array of Optimizer Statistics Collection task details.
- timedOut IntegerCount 
- The number of objects for which statistics collection timed out.
- totalObjects IntegerCount 
- The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
- completedCount number
- The number of objects for which statistics collection is completed.
- databases
GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Database[] 
- The summary of the Managed Database resource.
- durationIn numberSeconds 
- The time it takes to complete the operation (in seconds).
- endTime string
- The end time of the operation.
- failedCount number
- The number of objects for which statistics collection failed.
- id number
- The ID of the operation.
- inProgress numberCount 
- The number of objects for which statistics collection is in progress.
- jobName string
- The name of the job.
- operationName string
- The name of the operation.
- startTime string
- The start time of the operation.
- status string
- The status of the Optimizer Statistics Collection task.
- target string
- The name of the target object for which statistics are gathered.
- tasks
GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Task[] 
- An array of Optimizer Statistics Collection task details.
- timedOut numberCount 
- The number of objects for which statistics collection timed out.
- totalObjects numberCount 
- The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
- completed_count int
- The number of objects for which statistics collection is completed.
- databases
Sequence[GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Database] 
- The summary of the Managed Database resource.
- duration_in_ floatseconds 
- The time it takes to complete the operation (in seconds).
- end_time str
- The end time of the operation.
- failed_count int
- The number of objects for which statistics collection failed.
- id int
- The ID of the operation.
- in_progress_ intcount 
- The number of objects for which statistics collection is in progress.
- job_name str
- The name of the job.
- operation_name str
- The name of the operation.
- start_time str
- The start time of the operation.
- status str
- The status of the Optimizer Statistics Collection task.
- target str
- The name of the target object for which statistics are gathered.
- tasks
Sequence[GetManaged Database Optimizer Statistics Collection Operations Optimizer Statistics Collection Operations Collection Item Task] 
- An array of Optimizer Statistics Collection task details.
- timed_out_ intcount 
- The number of objects for which statistics collection timed out.
- total_objects_ intcount 
- The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
- completedCount Number
- The number of objects for which statistics collection is completed.
- databases List<Property Map>
- The summary of the Managed Database resource.
- durationIn NumberSeconds 
- The time it takes to complete the operation (in seconds).
- endTime String
- The end time of the operation.
- failedCount Number
- The number of objects for which statistics collection failed.
- id Number
- The ID of the operation.
- inProgress NumberCount 
- The number of objects for which statistics collection is in progress.
- jobName String
- The name of the job.
- operationName String
- The name of the operation.
- startTime String
- The start time of the operation.
- status String
- The status of the Optimizer Statistics Collection task.
- target String
- The name of the target object for which statistics are gathered.
- tasks List<Property Map>
- An array of Optimizer Statistics Collection task details.
- timedOut NumberCount 
- The number of objects for which statistics collection timed out.
- totalObjects NumberCount 
- The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemDatabase             
- CompartmentId string
- The OCID of the compartment in which the Managed Database resides.
- DbDeployment stringType 
- The infrastructure used to deploy the Oracle Database.
- DbSub stringType 
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- DbType string
- The type of Oracle Database installation.
- DbVersion string
- The version of the Oracle Database.
- Id string
- The ID of the operation.
- Name string
- The name of the Managed Database.
- CompartmentId string
- The OCID of the compartment in which the Managed Database resides.
- DbDeployment stringType 
- The infrastructure used to deploy the Oracle Database.
- DbSub stringType 
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- DbType string
- The type of Oracle Database installation.
- DbVersion string
- The version of the Oracle Database.
- Id string
- The ID of the operation.
- Name string
- The name of the Managed Database.
- compartmentId String
- The OCID of the compartment in which the Managed Database resides.
- dbDeployment StringType 
- The infrastructure used to deploy the Oracle Database.
- dbSub StringType 
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- dbType String
- The type of Oracle Database installation.
- dbVersion String
- The version of the Oracle Database.
- id String
- The ID of the operation.
- name String
- The name of the Managed Database.
- compartmentId string
- The OCID of the compartment in which the Managed Database resides.
- dbDeployment stringType 
- The infrastructure used to deploy the Oracle Database.
- dbSub stringType 
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- dbType string
- The type of Oracle Database installation.
- dbVersion string
- The version of the Oracle Database.
- id string
- The ID of the operation.
- name string
- The name of the Managed Database.
- compartment_id str
- The OCID of the compartment in which the Managed Database resides.
- db_deployment_ strtype 
- The infrastructure used to deploy the Oracle Database.
- db_sub_ strtype 
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- db_type str
- The type of Oracle Database installation.
- db_version str
- The version of the Oracle Database.
- id str
- The ID of the operation.
- name str
- The name of the Managed Database.
- compartmentId String
- The OCID of the compartment in which the Managed Database resides.
- dbDeployment StringType 
- The infrastructure used to deploy the Oracle Database.
- dbSub StringType 
- The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- dbType String
- The type of Oracle Database installation.
- dbVersion String
- The version of the Oracle Database.
- id String
- The ID of the operation.
- name String
- The name of the Managed Database.
GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemTask             
- Status string
- The status of the Optimizer Statistics Collection task.
- Target string
- The name of the target object for which statistics are gathered.
- TargetType string
- The type of target object.
- TimeEnd string
- The end time of the Optimizer Statistics Collection task.
- TimeStart string
- The start time of the Optimizer Statistics Collection task.
- Status string
- The status of the Optimizer Statistics Collection task.
- Target string
- The name of the target object for which statistics are gathered.
- TargetType string
- The type of target object.
- TimeEnd string
- The end time of the Optimizer Statistics Collection task.
- TimeStart string
- The start time of the Optimizer Statistics Collection task.
- status String
- The status of the Optimizer Statistics Collection task.
- target String
- The name of the target object for which statistics are gathered.
- targetType String
- The type of target object.
- timeEnd String
- The end time of the Optimizer Statistics Collection task.
- timeStart String
- The start time of the Optimizer Statistics Collection task.
- status string
- The status of the Optimizer Statistics Collection task.
- target string
- The name of the target object for which statistics are gathered.
- targetType string
- The type of target object.
- timeEnd string
- The end time of the Optimizer Statistics Collection task.
- timeStart string
- The start time of the Optimizer Statistics Collection task.
- status str
- The status of the Optimizer Statistics Collection task.
- target str
- The name of the target object for which statistics are gathered.
- target_type str
- The type of target object.
- time_end str
- The end time of the Optimizer Statistics Collection task.
- time_start str
- The start time of the Optimizer Statistics Collection task.
- status String
- The status of the Optimizer Statistics Collection task.
- target String
- The name of the target object for which statistics are gathered.
- targetType String
- The type of target object.
- timeEnd String
- The end time of the Optimizer Statistics Collection task.
- timeStart String
- The start time of the Optimizer Statistics Collection task.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.