1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Optimizer
  5. getCategories
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Optimizer.getCategories

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Categories in Oracle Cloud Infrastructure Optimizer service.

Lists the supported Cloud Advisor categories.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCategories = oci.Optimizer.getCategories({
    compartmentId: compartmentId,
    compartmentIdInSubtree: categoryCompartmentIdInSubtree,
    childTenancyIds: categoryChildTenancyIds,
    includeOrganization: categoryIncludeOrganization,
    name: categoryName,
    state: categoryState,
});
Copy
import pulumi
import pulumi_oci as oci

test_categories = oci.Optimizer.get_categories(compartment_id=compartment_id,
    compartment_id_in_subtree=category_compartment_id_in_subtree,
    child_tenancy_ids=category_child_tenancy_ids,
    include_organization=category_include_organization,
    name=category_name,
    state=category_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/optimizer"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := optimizer.GetCategories(ctx, &optimizer.GetCategoriesArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: categoryCompartmentIdInSubtree,
			ChildTenancyIds:        categoryChildTenancyIds,
			IncludeOrganization:    pulumi.BoolRef(categoryIncludeOrganization),
			Name:                   pulumi.StringRef(categoryName),
			State:                  pulumi.StringRef(categoryState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testCategories = Oci.Optimizer.GetCategories.Invoke(new()
    {
        CompartmentId = compartmentId,
        CompartmentIdInSubtree = categoryCompartmentIdInSubtree,
        ChildTenancyIds = categoryChildTenancyIds,
        IncludeOrganization = categoryIncludeOrganization,
        Name = categoryName,
        State = categoryState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Optimizer.OptimizerFunctions;
import com.pulumi.oci.Optimizer.inputs.GetCategoriesArgs;
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 testCategories = OptimizerFunctions.getCategories(GetCategoriesArgs.builder()
            .compartmentId(compartmentId)
            .compartmentIdInSubtree(categoryCompartmentIdInSubtree)
            .childTenancyIds(categoryChildTenancyIds)
            .includeOrganization(categoryIncludeOrganization)
            .name(categoryName)
            .state(categoryState)
            .build());

    }
}
Copy
variables:
  testCategories:
    fn::invoke:
      function: oci:Optimizer:getCategories
      arguments:
        compartmentId: ${compartmentId}
        compartmentIdInSubtree: ${categoryCompartmentIdInSubtree}
        childTenancyIds: ${categoryChildTenancyIds}
        includeOrganization: ${categoryIncludeOrganization}
        name: ${categoryName}
        state: ${categoryState}
Copy

Using getCategories

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 getCategories(args: GetCategoriesArgs, opts?: InvokeOptions): Promise<GetCategoriesResult>
function getCategoriesOutput(args: GetCategoriesOutputArgs, opts?: InvokeOptions): Output<GetCategoriesResult>
Copy
def get_categories(child_tenancy_ids: Optional[Sequence[str]] = None,
                   compartment_id: Optional[str] = None,
                   compartment_id_in_subtree: Optional[bool] = None,
                   filters: Optional[Sequence[_optimizer.GetCategoriesFilter]] = None,
                   include_organization: Optional[bool] = None,
                   name: Optional[str] = None,
                   state: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetCategoriesResult
def get_categories_output(child_tenancy_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   compartment_id: Optional[pulumi.Input[str]] = None,
                   compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_optimizer.GetCategoriesFilterArgs]]]] = None,
                   include_organization: Optional[pulumi.Input[bool]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   state: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetCategoriesResult]
Copy
func GetCategories(ctx *Context, args *GetCategoriesArgs, opts ...InvokeOption) (*GetCategoriesResult, error)
func GetCategoriesOutput(ctx *Context, args *GetCategoriesOutputArgs, opts ...InvokeOption) GetCategoriesResultOutput
Copy

> Note: This function is named GetCategories in the Go SDK.

public static class GetCategories 
{
    public static Task<GetCategoriesResult> InvokeAsync(GetCategoriesArgs args, InvokeOptions? opts = null)
    public static Output<GetCategoriesResult> Invoke(GetCategoriesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCategoriesResult> getCategories(GetCategoriesArgs args, InvokeOptions options)
public static Output<GetCategoriesResult> getCategories(GetCategoriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Optimizer/getCategories:getCategories
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment.
CompartmentIdInSubtree This property is required. bool

When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.

Can only be set to true when performing ListCompartments on the tenancy (root compartment).

ChildTenancyIds List<string>

A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.

If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.

It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

Filters Changes to this property will trigger replacement. List<GetCategoriesFilter>
IncludeOrganization bool

When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.

Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

Name string
Optional. A filter that returns results that match the name specified.
State string
A filter that returns results that match the lifecycle state specified.
CompartmentId This property is required. string
The OCID of the compartment.
CompartmentIdInSubtree This property is required. bool

When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.

Can only be set to true when performing ListCompartments on the tenancy (root compartment).

ChildTenancyIds []string

A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.

If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.

It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

Filters Changes to this property will trigger replacement. []GetCategoriesFilter
IncludeOrganization bool

When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.

Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

Name string
Optional. A filter that returns results that match the name specified.
State string
A filter that returns results that match the lifecycle state specified.
compartmentId This property is required. String
The OCID of the compartment.
compartmentIdInSubtree This property is required. Boolean

When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.

Can only be set to true when performing ListCompartments on the tenancy (root compartment).

childTenancyIds List<String>

A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.

If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.

It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

filters Changes to this property will trigger replacement. List<GetCategoriesFilter>
includeOrganization Boolean

When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.

Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

name String
Optional. A filter that returns results that match the name specified.
state String
A filter that returns results that match the lifecycle state specified.
compartmentId This property is required. string
The OCID of the compartment.
compartmentIdInSubtree This property is required. boolean

When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.

Can only be set to true when performing ListCompartments on the tenancy (root compartment).

childTenancyIds string[]

A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.

If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.

It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

filters Changes to this property will trigger replacement. GetCategoriesFilter[]
includeOrganization boolean

When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.

Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

name string
Optional. A filter that returns results that match the name specified.
state string
A filter that returns results that match the lifecycle state specified.
compartment_id This property is required. str
The OCID of the compartment.
compartment_id_in_subtree This property is required. bool

When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.

Can only be set to true when performing ListCompartments on the tenancy (root compartment).

child_tenancy_ids Sequence[str]

A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.

If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.

It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

filters Changes to this property will trigger replacement. Sequence[optimizer.GetCategoriesFilter]
include_organization bool

When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.

Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

name str
Optional. A filter that returns results that match the name specified.
state str
A filter that returns results that match the lifecycle state specified.
compartmentId This property is required. String
The OCID of the compartment.
compartmentIdInSubtree This property is required. Boolean

When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.

Can only be set to true when performing ListCompartments on the tenancy (root compartment).

childTenancyIds List<String>

A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.

If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.

It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

filters Changes to this property will trigger replacement. List<Property Map>
includeOrganization Boolean

When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.

Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.

When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.

name String
Optional. A filter that returns results that match the name specified.
state String
A filter that returns results that match the lifecycle state specified.

getCategories Result

The following output properties are available:

CategoryCollections List<GetCategoriesCategoryCollection>
The list of category_collection.
CompartmentId string
The OCID of the tenancy. The tenancy is the root compartment.
CompartmentIdInSubtree bool
Id string
The provider-assigned unique ID for this managed resource.
ChildTenancyIds List<string>
Filters List<GetCategoriesFilter>
IncludeOrganization bool
Name string
The name assigned to the category.
State string
The category's current state.
CategoryCollections []GetCategoriesCategoryCollection
The list of category_collection.
CompartmentId string
The OCID of the tenancy. The tenancy is the root compartment.
CompartmentIdInSubtree bool
Id string
The provider-assigned unique ID for this managed resource.
ChildTenancyIds []string
Filters []GetCategoriesFilter
IncludeOrganization bool
Name string
The name assigned to the category.
State string
The category's current state.
categoryCollections List<GetCategoriesCategoryCollection>
The list of category_collection.
compartmentId String
The OCID of the tenancy. The tenancy is the root compartment.
compartmentIdInSubtree Boolean
id String
The provider-assigned unique ID for this managed resource.
childTenancyIds List<String>
filters List<GetCategoriesFilter>
includeOrganization Boolean
name String
The name assigned to the category.
state String
The category's current state.
categoryCollections GetCategoriesCategoryCollection[]
The list of category_collection.
compartmentId string
The OCID of the tenancy. The tenancy is the root compartment.
compartmentIdInSubtree boolean
id string
The provider-assigned unique ID for this managed resource.
childTenancyIds string[]
filters GetCategoriesFilter[]
includeOrganization boolean
name string
The name assigned to the category.
state string
The category's current state.
category_collections Sequence[optimizer.GetCategoriesCategoryCollection]
The list of category_collection.
compartment_id str
The OCID of the tenancy. The tenancy is the root compartment.
compartment_id_in_subtree bool
id str
The provider-assigned unique ID for this managed resource.
child_tenancy_ids Sequence[str]
filters Sequence[optimizer.GetCategoriesFilter]
include_organization bool
name str
The name assigned to the category.
state str
The category's current state.
categoryCollections List<Property Map>
The list of category_collection.
compartmentId String
The OCID of the tenancy. The tenancy is the root compartment.
compartmentIdInSubtree Boolean
id String
The provider-assigned unique ID for this managed resource.
childTenancyIds List<String>
filters List<Property Map>
includeOrganization Boolean
name String
The name assigned to the category.
state String
The category's current state.

Supporting Types

GetCategoriesCategoryCollection

Items This property is required. []GetCategoriesCategoryCollectionItem
items This property is required. GetCategoriesCategoryCollectionItem[]
items This property is required. List<Property Map>

GetCategoriesCategoryCollectionItem

CompartmentId This property is required. string
The OCID of the compartment.
CompartmentName This property is required. string
The name associated with the compartment.
Description This property is required. string
Text describing the category.
EstimatedCostSaving This property is required. double
The estimated cost savings, in dollars, for the category.
ExtendedMetadata This property is required. Dictionary<string, string>
Additional metadata key/value pairs for the category.
Id This property is required. string
The unique OCID of the category.
Name This property is required. string
Optional. A filter that returns results that match the name specified.
RecommendationCounts This property is required. List<GetCategoriesCategoryCollectionItemRecommendationCount>
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
ResourceCounts This property is required. List<GetCategoriesCategoryCollectionItemResourceCount>
An array of ResourceCount objects grouped by the status of the recommendation.
State This property is required. string
A filter that returns results that match the lifecycle state specified.
TimeCreated This property is required. string
The date and time the category details were created, in the format defined by RFC3339.
TimeUpdated This property is required. string
The date and time the category details were last updated, in the format defined by RFC3339.
CompartmentId This property is required. string
The OCID of the compartment.
CompartmentName This property is required. string
The name associated with the compartment.
Description This property is required. string
Text describing the category.
EstimatedCostSaving This property is required. float64
The estimated cost savings, in dollars, for the category.
ExtendedMetadata This property is required. map[string]string
Additional metadata key/value pairs for the category.
Id This property is required. string
The unique OCID of the category.
Name This property is required. string
Optional. A filter that returns results that match the name specified.
RecommendationCounts This property is required. []GetCategoriesCategoryCollectionItemRecommendationCount
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
ResourceCounts This property is required. []GetCategoriesCategoryCollectionItemResourceCount
An array of ResourceCount objects grouped by the status of the recommendation.
State This property is required. string
A filter that returns results that match the lifecycle state specified.
TimeCreated This property is required. string
The date and time the category details were created, in the format defined by RFC3339.
TimeUpdated This property is required. string
The date and time the category details were last updated, in the format defined by RFC3339.
compartmentId This property is required. String
The OCID of the compartment.
compartmentName This property is required. String
The name associated with the compartment.
description This property is required. String
Text describing the category.
estimatedCostSaving This property is required. Double
The estimated cost savings, in dollars, for the category.
extendedMetadata This property is required. Map<String,String>
Additional metadata key/value pairs for the category.
id This property is required. String
The unique OCID of the category.
name This property is required. String
Optional. A filter that returns results that match the name specified.
recommendationCounts This property is required. List<GetCategoriesCategoryCollectionItemRecommendationCount>
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
resourceCounts This property is required. List<GetCategoriesCategoryCollectionItemResourceCount>
An array of ResourceCount objects grouped by the status of the recommendation.
state This property is required. String
A filter that returns results that match the lifecycle state specified.
timeCreated This property is required. String
The date and time the category details were created, in the format defined by RFC3339.
timeUpdated This property is required. String
The date and time the category details were last updated, in the format defined by RFC3339.
compartmentId This property is required. string
The OCID of the compartment.
compartmentName This property is required. string
The name associated with the compartment.
description This property is required. string
Text describing the category.
estimatedCostSaving This property is required. number
The estimated cost savings, in dollars, for the category.
extendedMetadata This property is required. {[key: string]: string}
Additional metadata key/value pairs for the category.
id This property is required. string
The unique OCID of the category.
name This property is required. string
Optional. A filter that returns results that match the name specified.
recommendationCounts This property is required. GetCategoriesCategoryCollectionItemRecommendationCount[]
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
resourceCounts This property is required. GetCategoriesCategoryCollectionItemResourceCount[]
An array of ResourceCount objects grouped by the status of the recommendation.
state This property is required. string
A filter that returns results that match the lifecycle state specified.
timeCreated This property is required. string
The date and time the category details were created, in the format defined by RFC3339.
timeUpdated This property is required. string
The date and time the category details were last updated, in the format defined by RFC3339.
compartment_id This property is required. str
The OCID of the compartment.
compartment_name This property is required. str
The name associated with the compartment.
description This property is required. str
Text describing the category.
estimated_cost_saving This property is required. float
The estimated cost savings, in dollars, for the category.
extended_metadata This property is required. Mapping[str, str]
Additional metadata key/value pairs for the category.
id This property is required. str
The unique OCID of the category.
name This property is required. str
Optional. A filter that returns results that match the name specified.
recommendation_counts This property is required. Sequence[optimizer.GetCategoriesCategoryCollectionItemRecommendationCount]
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
resource_counts This property is required. Sequence[optimizer.GetCategoriesCategoryCollectionItemResourceCount]
An array of ResourceCount objects grouped by the status of the recommendation.
state This property is required. str
A filter that returns results that match the lifecycle state specified.
time_created This property is required. str
The date and time the category details were created, in the format defined by RFC3339.
time_updated This property is required. str
The date and time the category details were last updated, in the format defined by RFC3339.
compartmentId This property is required. String
The OCID of the compartment.
compartmentName This property is required. String
The name associated with the compartment.
description This property is required. String
Text describing the category.
estimatedCostSaving This property is required. Number
The estimated cost savings, in dollars, for the category.
extendedMetadata This property is required. Map<String>
Additional metadata key/value pairs for the category.
id This property is required. String
The unique OCID of the category.
name This property is required. String
Optional. A filter that returns results that match the name specified.
recommendationCounts This property is required. List<Property Map>
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
resourceCounts This property is required. List<Property Map>
An array of ResourceCount objects grouped by the status of the recommendation.
state This property is required. String
A filter that returns results that match the lifecycle state specified.
timeCreated This property is required. String
The date and time the category details were created, in the format defined by RFC3339.
timeUpdated This property is required. String
The date and time the category details were last updated, in the format defined by RFC3339.

GetCategoriesCategoryCollectionItemRecommendationCount

Count This property is required. int
The count of resources.
Importance This property is required. string
The level of importance assigned to the recommendation.
Count This property is required. int
The count of resources.
Importance This property is required. string
The level of importance assigned to the recommendation.
count This property is required. Integer
The count of resources.
importance This property is required. String
The level of importance assigned to the recommendation.
count This property is required. number
The count of resources.
importance This property is required. string
The level of importance assigned to the recommendation.
count This property is required. int
The count of resources.
importance This property is required. str
The level of importance assigned to the recommendation.
count This property is required. Number
The count of resources.
importance This property is required. String
The level of importance assigned to the recommendation.

GetCategoriesCategoryCollectionItemResourceCount

Count This property is required. int
The count of resources.
Status This property is required. string
The recommendation status of the resource.
Count This property is required. int
The count of resources.
Status This property is required. string
The recommendation status of the resource.
count This property is required. Integer
The count of resources.
status This property is required. String
The recommendation status of the resource.
count This property is required. number
The count of resources.
status This property is required. string
The recommendation status of the resource.
count This property is required. int
The count of resources.
status This property is required. str
The recommendation status of the resource.
count This property is required. Number
The count of resources.
status This property is required. String
The recommendation status of the resource.

GetCategoriesFilter

Name This property is required. string
Optional. A filter that returns results that match the name specified.
Values This property is required. List<string>
Regex bool
Name This property is required. string
Optional. A filter that returns results that match the name specified.
Values This property is required. []string
Regex bool
name This property is required. String
Optional. A filter that returns results that match the name specified.
values This property is required. List<String>
regex Boolean
name This property is required. string
Optional. A filter that returns results that match the name specified.
values This property is required. string[]
regex boolean
name This property is required. str
Optional. A filter that returns results that match the name specified.
values This property is required. Sequence[str]
regex bool
name This property is required. String
Optional. A filter that returns results that match the name specified.
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi