Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CapacityManagement.getInternalNamespaceOccOverviews
Explore with Pulumi AI
This data source provides the list of Internal Namespace Occ Overviews in Oracle Cloud Infrastructure Capacity Management service.
Lists an overview of all resources in that namespace in a given time interval.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInternalNamespaceOccOverviews = oci.CapacityManagement.getInternalNamespaceOccOverviews({
    compartmentId: compartmentId,
    namespace: internalNamespaceOccOverviewNamespace,
    occCustomerGroupId: testOccCustomerGroup.id,
    from: internalNamespaceOccOverviewFrom,
    to: internalNamespaceOccOverviewTo,
    workloadType: internalNamespaceOccOverviewWorkloadType,
});
import pulumi
import pulumi_oci as oci
test_internal_namespace_occ_overviews = oci.CapacityManagement.get_internal_namespace_occ_overviews(compartment_id=compartment_id,
    namespace=internal_namespace_occ_overview_namespace,
    occ_customer_group_id=test_occ_customer_group["id"],
    from_=internal_namespace_occ_overview_from,
    to=internal_namespace_occ_overview_to,
    workload_type=internal_namespace_occ_overview_workload_type)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/capacitymanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := capacitymanagement.GetInternalNamespaceOccOverviews(ctx, &capacitymanagement.GetInternalNamespaceOccOverviewsArgs{
			CompartmentId:      compartmentId,
			Namespace:          internalNamespaceOccOverviewNamespace,
			OccCustomerGroupId: testOccCustomerGroup.Id,
			From:               pulumi.StringRef(internalNamespaceOccOverviewFrom),
			To:                 pulumi.StringRef(internalNamespaceOccOverviewTo),
			WorkloadType:       pulumi.StringRef(internalNamespaceOccOverviewWorkloadType),
		}, 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 testInternalNamespaceOccOverviews = Oci.CapacityManagement.GetInternalNamespaceOccOverviews.Invoke(new()
    {
        CompartmentId = compartmentId,
        Namespace = internalNamespaceOccOverviewNamespace,
        OccCustomerGroupId = testOccCustomerGroup.Id,
        From = internalNamespaceOccOverviewFrom,
        To = internalNamespaceOccOverviewTo,
        WorkloadType = internalNamespaceOccOverviewWorkloadType,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CapacityManagement.CapacityManagementFunctions;
import com.pulumi.oci.CapacityManagement.inputs.GetInternalNamespaceOccOverviewsArgs;
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 testInternalNamespaceOccOverviews = CapacityManagementFunctions.getInternalNamespaceOccOverviews(GetInternalNamespaceOccOverviewsArgs.builder()
            .compartmentId(compartmentId)
            .namespace(internalNamespaceOccOverviewNamespace)
            .occCustomerGroupId(testOccCustomerGroup.id())
            .from(internalNamespaceOccOverviewFrom)
            .to(internalNamespaceOccOverviewTo)
            .workloadType(internalNamespaceOccOverviewWorkloadType)
            .build());
    }
}
variables:
  testInternalNamespaceOccOverviews:
    fn::invoke:
      function: oci:CapacityManagement:getInternalNamespaceOccOverviews
      arguments:
        compartmentId: ${compartmentId}
        namespace: ${internalNamespaceOccOverviewNamespace}
        occCustomerGroupId: ${testOccCustomerGroup.id}
        from: ${internalNamespaceOccOverviewFrom}
        to: ${internalNamespaceOccOverviewTo}
        workloadType: ${internalNamespaceOccOverviewWorkloadType}
Using getInternalNamespaceOccOverviews
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 getInternalNamespaceOccOverviews(args: GetInternalNamespaceOccOverviewsArgs, opts?: InvokeOptions): Promise<GetInternalNamespaceOccOverviewsResult>
function getInternalNamespaceOccOverviewsOutput(args: GetInternalNamespaceOccOverviewsOutputArgs, opts?: InvokeOptions): Output<GetInternalNamespaceOccOverviewsResult>def get_internal_namespace_occ_overviews(compartment_id: Optional[str] = None,
                                         filters: Optional[Sequence[GetInternalNamespaceOccOverviewsFilter]] = None,
                                         from_: Optional[str] = None,
                                         namespace: Optional[str] = None,
                                         occ_customer_group_id: Optional[str] = None,
                                         to: Optional[str] = None,
                                         workload_type: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetInternalNamespaceOccOverviewsResult
def get_internal_namespace_occ_overviews_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInternalNamespaceOccOverviewsFilterArgs]]]] = None,
                                         from_: Optional[pulumi.Input[str]] = None,
                                         namespace: Optional[pulumi.Input[str]] = None,
                                         occ_customer_group_id: Optional[pulumi.Input[str]] = None,
                                         to: Optional[pulumi.Input[str]] = None,
                                         workload_type: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetInternalNamespaceOccOverviewsResult]func GetInternalNamespaceOccOverviews(ctx *Context, args *GetInternalNamespaceOccOverviewsArgs, opts ...InvokeOption) (*GetInternalNamespaceOccOverviewsResult, error)
func GetInternalNamespaceOccOverviewsOutput(ctx *Context, args *GetInternalNamespaceOccOverviewsOutputArgs, opts ...InvokeOption) GetInternalNamespaceOccOverviewsResultOutput> Note: This function is named GetInternalNamespaceOccOverviews in the Go SDK.
public static class GetInternalNamespaceOccOverviews 
{
    public static Task<GetInternalNamespaceOccOverviewsResult> InvokeAsync(GetInternalNamespaceOccOverviewsArgs args, InvokeOptions? opts = null)
    public static Output<GetInternalNamespaceOccOverviewsResult> Invoke(GetInternalNamespaceOccOverviewsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInternalNamespaceOccOverviewsResult> getInternalNamespaceOccOverviews(GetInternalNamespaceOccOverviewsArgs args, InvokeOptions options)
public static Output<GetInternalNamespaceOccOverviewsResult> getInternalNamespaceOccOverviews(GetInternalNamespaceOccOverviewsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CapacityManagement/getInternalNamespaceOccOverviews:getInternalNamespaceOccOverviews
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- Namespace string
- The namespace by which we would filter the list.
- OccCustomer stringGroup Id 
- The customer group ocid by which we would filter the list.
- Filters
List<GetInternal Namespace Occ Overviews Filter> 
- From string
- The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
- To string
- The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
- WorkloadType string
- Workload type using the resources in an availability catalog can be filtered.
- CompartmentId string
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- Namespace string
- The namespace by which we would filter the list.
- OccCustomer stringGroup Id 
- The customer group ocid by which we would filter the list.
- Filters
[]GetInternal Namespace Occ Overviews Filter 
- From string
- The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
- To string
- The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
- WorkloadType string
- Workload type using the resources in an availability catalog can be filtered.
- compartmentId String
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- namespace String
- The namespace by which we would filter the list.
- occCustomer StringGroup Id 
- The customer group ocid by which we would filter the list.
- filters
List<GetInternal Namespace Occ Overviews Filter> 
- from String
- The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
- to String
- The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
- workloadType String
- Workload type using the resources in an availability catalog can be filtered.
- compartmentId string
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- namespace string
- The namespace by which we would filter the list.
- occCustomer stringGroup Id 
- The customer group ocid by which we would filter the list.
- filters
GetInternal Namespace Occ Overviews Filter[] 
- from string
- The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
- to string
- The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
- workloadType string
- Workload type using the resources in an availability catalog can be filtered.
- compartment_id str
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- namespace str
- The namespace by which we would filter the list.
- occ_customer_ strgroup_ id 
- The customer group ocid by which we would filter the list.
- filters
Sequence[GetInternal Namespace Occ Overviews Filter] 
- from_ str
- The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
- to str
- The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
- workload_type str
- Workload type using the resources in an availability catalog can be filtered.
- compartmentId String
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- namespace String
- The namespace by which we would filter the list.
- occCustomer StringGroup Id 
- The customer group ocid by which we would filter the list.
- filters List<Property Map>
- from String
- The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
- to String
- The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
- workloadType String
- Workload type using the resources in an availability catalog can be filtered.
getInternalNamespaceOccOverviews Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- OccCustomer stringGroup Id 
- OccOverview List<GetCollections Internal Namespace Occ Overviews Occ Overview Collection> 
- The list of occ_overview_collection.
- Filters
List<GetInternal Namespace Occ Overviews Filter> 
- From string
- To string
- WorkloadType string
- CompartmentId string
- The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- OccCustomer stringGroup Id 
- OccOverview []GetCollections Internal Namespace Occ Overviews Occ Overview Collection 
- The list of occ_overview_collection.
- Filters
[]GetInternal Namespace Occ Overviews Filter 
- From string
- To string
- WorkloadType string
- compartmentId String
- The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- occCustomer StringGroup Id 
- occOverview List<GetCollections Internal Namespace Occ Overviews Occ Overview Collection> 
- The list of occ_overview_collection.
- filters
List<GetInternal Namespace Occ Overviews Filter> 
- from String
- to String
- workloadType String
- compartmentId string
- The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- occCustomer stringGroup Id 
- occOverview GetCollections Internal Namespace Occ Overviews Occ Overview Collection[] 
- The list of occ_overview_collection.
- filters
GetInternal Namespace Occ Overviews Filter[] 
- from string
- to string
- workloadType string
- compartment_id str
- The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- occ_customer_ strgroup_ id 
- occ_overview_ Sequence[Getcollections Internal Namespace Occ Overviews Occ Overview Collection] 
- The list of occ_overview_collection.
- filters
Sequence[GetInternal Namespace Occ Overviews Filter] 
- from_ str
- to str
- workload_type str
- compartmentId String
- The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- occCustomer StringGroup Id 
- occOverview List<Property Map>Collections 
- The list of occ_overview_collection.
- filters List<Property Map>
- from String
- to String
- workloadType String
Supporting Types
GetInternalNamespaceOccOverviewsFilter     
GetInternalNamespaceOccOverviewsOccOverviewCollection       
- Items
List<GetInternal Namespace Occ Overviews Occ Overview Collection Item> 
- An array of overview summary.
- Items
[]GetInternal Namespace Occ Overviews Occ Overview Collection Item 
- An array of overview summary.
- items
List<GetInternal Namespace Occ Overviews Occ Overview Collection Item> 
- An array of overview summary.
- items
GetInternal Namespace Occ Overviews Occ Overview Collection Item[] 
- An array of overview summary.
- items
Sequence[GetInternal Namespace Occ Overviews Occ Overview Collection Item] 
- An array of overview summary.
- items List<Property Map>
- An array of overview summary.
GetInternalNamespaceOccOverviewsOccOverviewCollectionItem        
- CapacityRequests stringBlob 
- A raw json blob containing all the capacity requests corresponding to the resource name
- CompartmentId string
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- PeriodValue string
- The name of the month along with year for which this summary corresponds to.
- ResourceName string
- The name of the resource for which we have aggregated the value.
- TotalAvailable string
- The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- TotalCancelled string
- The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
- TotalDemanded string
- The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
- TotalRejected string
- The quantity of the resource which is rejected by Oracle.
- TotalSupplied string
- The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
- TotalUnfulfilled string
- The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
- Unit string
- The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
- WorkloadType stringBreakdown Blob 
- A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- CapacityRequests stringBlob 
- A raw json blob containing all the capacity requests corresponding to the resource name
- CompartmentId string
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- PeriodValue string
- The name of the month along with year for which this summary corresponds to.
- ResourceName string
- The name of the resource for which we have aggregated the value.
- TotalAvailable string
- The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- TotalCancelled string
- The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
- TotalDemanded string
- The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
- TotalRejected string
- The quantity of the resource which is rejected by Oracle.
- TotalSupplied string
- The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
- TotalUnfulfilled string
- The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
- Unit string
- The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
- WorkloadType stringBreakdown Blob 
- A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- capacityRequests StringBlob 
- A raw json blob containing all the capacity requests corresponding to the resource name
- compartmentId String
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- periodValue String
- The name of the month along with year for which this summary corresponds to.
- resourceName String
- The name of the resource for which we have aggregated the value.
- totalAvailable String
- The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- totalCancelled String
- The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
- totalDemanded String
- The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
- totalRejected String
- The quantity of the resource which is rejected by Oracle.
- totalSupplied String
- The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
- totalUnfulfilled String
- The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
- unit String
- The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
- workloadType StringBreakdown Blob 
- A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- capacityRequests stringBlob 
- A raw json blob containing all the capacity requests corresponding to the resource name
- compartmentId string
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- periodValue string
- The name of the month along with year for which this summary corresponds to.
- resourceName string
- The name of the resource for which we have aggregated the value.
- totalAvailable string
- The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- totalCancelled string
- The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
- totalDemanded string
- The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
- totalRejected string
- The quantity of the resource which is rejected by Oracle.
- totalSupplied string
- The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
- totalUnfulfilled string
- The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
- unit string
- The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
- workloadType stringBreakdown Blob 
- A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- capacity_requests_ strblob 
- A raw json blob containing all the capacity requests corresponding to the resource name
- compartment_id str
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- period_value str
- The name of the month along with year for which this summary corresponds to.
- resource_name str
- The name of the resource for which we have aggregated the value.
- total_available str
- The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- total_cancelled str
- The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
- total_demanded str
- The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
- total_rejected str
- The quantity of the resource which is rejected by Oracle.
- total_supplied str
- The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
- total_unfulfilled str
- The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
- unit str
- The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
- workload_type_ strbreakdown_ blob 
- A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- capacityRequests StringBlob 
- A raw json blob containing all the capacity requests corresponding to the resource name
- compartmentId String
- The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- periodValue String
- The name of the month along with year for which this summary corresponds to.
- resourceName String
- The name of the resource for which we have aggregated the value.
- totalAvailable String
- The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- totalCancelled String
- The quantity of the resource which is cancelled by the customer. Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.
- totalDemanded String
- The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
- totalRejected String
- The quantity of the resource which is rejected by Oracle.
- totalSupplied String
- The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
- totalUnfulfilled String
- The quantity of the resource which Oracle was unable to supply. For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.
- unit String
- The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
- workloadType StringBreakdown Blob 
- A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.