Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.CapacityManagement.getInternalNamespaceOccOverviews
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/v3/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:
- Compartment
Id 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.
- Occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- Filters
List<Get
Internal 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.
- Workload
Type string - Workload type using the resources in an availability catalog can be filtered.
- Compartment
Id 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.
- Occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- Filters
[]Get
Internal 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.
- Workload
Type string - Workload type using the resources in an availability catalog can be filtered.
- compartment
Id 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.
- occ
Customer StringGroup Id - The customer group ocid by which we would filter the list.
- filters
List<Get
Internal 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.
- workload
Type String - Workload type using the resources in an availability catalog can be filtered.
- compartment
Id 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.
- occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- filters
Get
Internal 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.
- workload
Type 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[Get
Internal 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.
- compartment
Id 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.
- occ
Customer 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.
- workload
Type String - Workload type using the resources in an availability catalog can be filtered.
getInternalNamespaceOccOverviews Result
The following output properties are available:
- Compartment
Id 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
- Occ
Customer stringGroup Id - Occ
Overview List<GetCollections Internal Namespace Occ Overviews Occ Overview Collection> - The list of occ_overview_collection.
- Filters
List<Get
Internal Namespace Occ Overviews Filter> - From string
- To string
- Workload
Type string
- Compartment
Id 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
- Occ
Customer stringGroup Id - Occ
Overview []GetCollections Internal Namespace Occ Overviews Occ Overview Collection - The list of occ_overview_collection.
- Filters
[]Get
Internal Namespace Occ Overviews Filter - From string
- To string
- Workload
Type string
- compartment
Id 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
- occ
Customer StringGroup Id - occ
Overview List<GetCollections Internal Namespace Occ Overviews Occ Overview Collection> - The list of occ_overview_collection.
- filters
List<Get
Internal Namespace Occ Overviews Filter> - from String
- to String
- workload
Type String
- compartment
Id 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
- occ
Customer stringGroup Id - occ
Overview GetCollections Internal Namespace Occ Overviews Occ Overview Collection[] - The list of occ_overview_collection.
- filters
Get
Internal Namespace Occ Overviews Filter[] - from string
- to string
- workload
Type 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[Get
Internal Namespace Occ Overviews Filter] - from_ str
- to str
- workload_
type str
- compartment
Id 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
- occ
Customer StringGroup Id - occ
Overview List<Property Map>Collections - The list of occ_overview_collection.
- filters List<Property Map>
- from String
- to String
- workload
Type String
Supporting Types
GetInternalNamespaceOccOverviewsFilter
GetInternalNamespaceOccOverviewsOccOverviewCollection
- Items
List<Get
Internal Namespace Occ Overviews Occ Overview Collection Item> - An array of overview summary.
- Items
[]Get
Internal Namespace Occ Overviews Occ Overview Collection Item - An array of overview summary.
- items
List<Get
Internal Namespace Occ Overviews Occ Overview Collection Item> - An array of overview summary.
- items
Get
Internal Namespace Occ Overviews Occ Overview Collection Item[] - An array of overview summary.
- items
Sequence[Get
Internal Namespace Occ Overviews Occ Overview Collection Item] - An array of overview summary.
- items List<Property Map>
- An array of overview summary.
GetInternalNamespaceOccOverviewsOccOverviewCollectionItem
- Capacity
Requests stringBlob - A raw json blob containing all the capacity requests corresponding to the resource name
- Compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- Period
Value string - The name of the month along with year for which this summary corresponds to.
- Resource
Name string - The name of the resource for which we have aggregated the value.
- Total
Available string - The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- Total
Cancelled 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.
- Total
Demanded 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.
- Total
Rejected string - The quantity of the resource which is rejected by Oracle.
- Total
Supplied 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.
- Total
Unfulfilled 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.
- Workload
Type stringBreakdown Blob - A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- Capacity
Requests stringBlob - A raw json blob containing all the capacity requests corresponding to the resource name
- Compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- Period
Value string - The name of the month along with year for which this summary corresponds to.
- Resource
Name string - The name of the resource for which we have aggregated the value.
- Total
Available string - The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- Total
Cancelled 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.
- Total
Demanded 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.
- Total
Rejected string - The quantity of the resource which is rejected by Oracle.
- Total
Supplied 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.
- Total
Unfulfilled 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.
- Workload
Type stringBreakdown Blob - A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- capacity
Requests StringBlob - A raw json blob containing all the capacity requests corresponding to the resource name
- compartment
Id String - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- period
Value String - The name of the month along with year for which this summary corresponds to.
- resource
Name String - The name of the resource for which we have aggregated the value.
- total
Available String - The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- total
Cancelled 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.
- total
Demanded 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.
- total
Rejected String - The quantity of the resource which is rejected by Oracle.
- total
Supplied 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.
- total
Unfulfilled 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.
- workload
Type StringBreakdown Blob - A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
- capacity
Requests stringBlob - A raw json blob containing all the capacity requests corresponding to the resource name
- compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- period
Value string - The name of the month along with year for which this summary corresponds to.
- resource
Name string - The name of the resource for which we have aggregated the value.
- total
Available string - The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- total
Cancelled 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.
- total
Demanded 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.
- total
Rejected string - The quantity of the resource which is rejected by Oracle.
- total
Supplied 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.
- total
Unfulfilled 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.
- workload
Type 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
- capacity
Requests StringBlob - A raw json blob containing all the capacity requests corresponding to the resource name
- compartment
Id String - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- period
Value String - The name of the month along with year for which this summary corresponds to.
- resource
Name String - The name of the resource for which we have aggregated the value.
- total
Available String - The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
- total
Cancelled 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.
- total
Demanded 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.
- total
Rejected String - The quantity of the resource which is rejected by Oracle.
- total
Supplied 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.
- total
Unfulfilled 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.
- workload
Type 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.
