1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CapacityManagement
  5. getOccCapacityRequests
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.CapacityManagement.getOccCapacityRequests

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides the list of Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service.

Lists all capacity requests.

Example Usage

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

const testOccCapacityRequests = oci.CapacityManagement.getOccCapacityRequests({
    compartmentId: compartmentId,
    displayName: occCapacityRequestDisplayName,
    id: occCapacityRequestId,
    namespace: occCapacityRequestNamespace,
    occAvailabilityCatalogId: testOccAvailabilityCatalog.id,
    requestType: occCapacityRequestRequestType,
});
Copy
import pulumi
import pulumi_oci as oci

test_occ_capacity_requests = oci.CapacityManagement.get_occ_capacity_requests(compartment_id=compartment_id,
    display_name=occ_capacity_request_display_name,
    id=occ_capacity_request_id,
    namespace=occ_capacity_request_namespace,
    occ_availability_catalog_id=test_occ_availability_catalog["id"],
    request_type=occ_capacity_request_request_type)
Copy
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.GetOccCapacityRequests(ctx, &capacitymanagement.GetOccCapacityRequestsArgs{
			CompartmentId:            compartmentId,
			DisplayName:              pulumi.StringRef(occCapacityRequestDisplayName),
			Id:                       pulumi.StringRef(occCapacityRequestId),
			Namespace:                pulumi.StringRef(occCapacityRequestNamespace),
			OccAvailabilityCatalogId: pulumi.StringRef(testOccAvailabilityCatalog.Id),
			RequestType:              pulumi.StringRef(occCapacityRequestRequestType),
		}, 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 testOccCapacityRequests = Oci.CapacityManagement.GetOccCapacityRequests.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = occCapacityRequestDisplayName,
        Id = occCapacityRequestId,
        Namespace = occCapacityRequestNamespace,
        OccAvailabilityCatalogId = testOccAvailabilityCatalog.Id,
        RequestType = occCapacityRequestRequestType,
    });

});
Copy
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.GetOccCapacityRequestsArgs;
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 testOccCapacityRequests = CapacityManagementFunctions.getOccCapacityRequests(GetOccCapacityRequestsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(occCapacityRequestDisplayName)
            .id(occCapacityRequestId)
            .namespace(occCapacityRequestNamespace)
            .occAvailabilityCatalogId(testOccAvailabilityCatalog.id())
            .requestType(occCapacityRequestRequestType)
            .build());

    }
}
Copy
variables:
  testOccCapacityRequests:
    fn::invoke:
      function: oci:CapacityManagement:getOccCapacityRequests
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${occCapacityRequestDisplayName}
        id: ${occCapacityRequestId}
        namespace: ${occCapacityRequestNamespace}
        occAvailabilityCatalogId: ${testOccAvailabilityCatalog.id}
        requestType: ${occCapacityRequestRequestType}
Copy

Using getOccCapacityRequests

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 getOccCapacityRequests(args: GetOccCapacityRequestsArgs, opts?: InvokeOptions): Promise<GetOccCapacityRequestsResult>
function getOccCapacityRequestsOutput(args: GetOccCapacityRequestsOutputArgs, opts?: InvokeOptions): Output<GetOccCapacityRequestsResult>
Copy
def get_occ_capacity_requests(compartment_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              filters: Optional[Sequence[_capacitymanagement.GetOccCapacityRequestsFilter]] = None,
                              id: Optional[str] = None,
                              namespace: Optional[str] = None,
                              occ_availability_catalog_id: Optional[str] = None,
                              request_type: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetOccCapacityRequestsResult
def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]] = None,
                              display_name: Optional[pulumi.Input[str]] = None,
                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_capacitymanagement.GetOccCapacityRequestsFilterArgs]]]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              namespace: Optional[pulumi.Input[str]] = None,
                              occ_availability_catalog_id: Optional[pulumi.Input[str]] = None,
                              request_type: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetOccCapacityRequestsResult]
Copy
func GetOccCapacityRequests(ctx *Context, args *GetOccCapacityRequestsArgs, opts ...InvokeOption) (*GetOccCapacityRequestsResult, error)
func GetOccCapacityRequestsOutput(ctx *Context, args *GetOccCapacityRequestsOutputArgs, opts ...InvokeOption) GetOccCapacityRequestsResultOutput
Copy

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

public static class GetOccCapacityRequests 
{
    public static Task<GetOccCapacityRequestsResult> InvokeAsync(GetOccCapacityRequestsArgs args, InvokeOptions? opts = null)
    public static Output<GetOccCapacityRequestsResult> Invoke(GetOccCapacityRequestsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOccCapacityRequestsResult> getOccCapacityRequests(GetOccCapacityRequestsArgs args, InvokeOptions options)
public static Output<GetOccCapacityRequestsResult> getOccCapacityRequests(GetOccCapacityRequestsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:CapacityManagement/getOccCapacityRequests:getOccCapacityRequests
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
DisplayName string
A filter to return only the resources that match the entire display name. The match is not case sensitive.
Filters Changes to this property will trigger replacement. List<GetOccCapacityRequestsFilter>
Id string
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
Namespace string
The namespace by which we would filter the list.
OccAvailabilityCatalogId string
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
RequestType string
A filter to return only the resources that match the request type. The match is not case sensitive.
CompartmentId This property is required. string
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
DisplayName string
A filter to return only the resources that match the entire display name. The match is not case sensitive.
Filters Changes to this property will trigger replacement. []GetOccCapacityRequestsFilter
Id string
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
Namespace string
The namespace by which we would filter the list.
OccAvailabilityCatalogId string
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
RequestType string
A filter to return only the resources that match the request type. The match is not case sensitive.
compartmentId This property is required. String
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
displayName String
A filter to return only the resources that match the entire display name. The match is not case sensitive.
filters Changes to this property will trigger replacement. List<GetOccCapacityRequestsFilter>
id String
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
namespace String
The namespace by which we would filter the list.
occAvailabilityCatalogId String
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
requestType String
A filter to return only the resources that match the request type. The match is not case sensitive.
compartmentId This property is required. string
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
displayName string
A filter to return only the resources that match the entire display name. The match is not case sensitive.
filters Changes to this property will trigger replacement. GetOccCapacityRequestsFilter[]
id string
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
namespace string
The namespace by which we would filter the list.
occAvailabilityCatalogId string
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
requestType string
A filter to return only the resources that match the request type. The match is not case sensitive.
compartment_id This property is required. str
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
display_name str
A filter to return only the resources that match the entire display name. The match is not case sensitive.
filters Changes to this property will trigger replacement. Sequence[capacitymanagement.GetOccCapacityRequestsFilter]
id str
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
namespace str
The namespace by which we would filter the list.
occ_availability_catalog_id str
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
request_type str
A filter to return only the resources that match the request type. The match is not case sensitive.
compartmentId This property is required. String
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
displayName String
A filter to return only the resources that match the entire display name. The match is not case sensitive.
filters Changes to this property will trigger replacement. List<Property Map>
id String
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
namespace String
The namespace by which we would filter the list.
occAvailabilityCatalogId String
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
requestType String
A filter to return only the resources that match the request type. The match is not case sensitive.

getOccCapacityRequests Result

The following output properties are available:

CompartmentId string
The OCID of the tenancy from which the request was made.
OccCapacityRequestCollections List<GetOccCapacityRequestsOccCapacityRequestCollection>
The list of occ_capacity_request_collection.
DisplayName string
The display name of the capacity request.
Filters List<GetOccCapacityRequestsFilter>
Id string
The OCID of the capacity request.
Namespace string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
OccAvailabilityCatalogId string
The OCID of the availability catalog against which the capacity request was placed.
RequestType string
Type of Capacity Request(New or Transfer)
CompartmentId string
The OCID of the tenancy from which the request was made.
OccCapacityRequestCollections []GetOccCapacityRequestsOccCapacityRequestCollection
The list of occ_capacity_request_collection.
DisplayName string
The display name of the capacity request.
Filters []GetOccCapacityRequestsFilter
Id string
The OCID of the capacity request.
Namespace string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
OccAvailabilityCatalogId string
The OCID of the availability catalog against which the capacity request was placed.
RequestType string
Type of Capacity Request(New or Transfer)
compartmentId String
The OCID of the tenancy from which the request was made.
occCapacityRequestCollections List<GetOccCapacityRequestsOccCapacityRequestCollection>
The list of occ_capacity_request_collection.
displayName String
The display name of the capacity request.
filters List<GetOccCapacityRequestsFilter>
id String
The OCID of the capacity request.
namespace String
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occAvailabilityCatalogId String
The OCID of the availability catalog against which the capacity request was placed.
requestType String
Type of Capacity Request(New or Transfer)
compartmentId string
The OCID of the tenancy from which the request was made.
occCapacityRequestCollections GetOccCapacityRequestsOccCapacityRequestCollection[]
The list of occ_capacity_request_collection.
displayName string
The display name of the capacity request.
filters GetOccCapacityRequestsFilter[]
id string
The OCID of the capacity request.
namespace string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occAvailabilityCatalogId string
The OCID of the availability catalog against which the capacity request was placed.
requestType string
Type of Capacity Request(New or Transfer)
compartment_id str
The OCID of the tenancy from which the request was made.
occ_capacity_request_collections Sequence[capacitymanagement.GetOccCapacityRequestsOccCapacityRequestCollection]
The list of occ_capacity_request_collection.
display_name str
The display name of the capacity request.
filters Sequence[capacitymanagement.GetOccCapacityRequestsFilter]
id str
The OCID of the capacity request.
namespace str
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occ_availability_catalog_id str
The OCID of the availability catalog against which the capacity request was placed.
request_type str
Type of Capacity Request(New or Transfer)
compartmentId String
The OCID of the tenancy from which the request was made.
occCapacityRequestCollections List<Property Map>
The list of occ_capacity_request_collection.
displayName String
The display name of the capacity request.
filters List<Property Map>
id String
The OCID of the capacity request.
namespace String
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occAvailabilityCatalogId String
The OCID of the availability catalog against which the capacity request was placed.
requestType String
Type of Capacity Request(New or Transfer)

Supporting Types

GetOccCapacityRequestsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetOccCapacityRequestsOccCapacityRequestCollection

items This property is required. List<Property Map>

GetOccCapacityRequestsOccCapacityRequestCollectionItem

AvailabilityDomain This property is required. string
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
CompartmentId This property is required. string
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
DateExpectedCapacityHandover This property is required. string
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Meaningful text about the capacity request.
Details This property is required. List<GetOccCapacityRequestsOccCapacityRequestCollectionItemDetail>
A list of resources requested as part of this request
DisplayName This property is required. string
A filter to return only the resources that match the entire display name. The match is not case sensitive.
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
Namespace This property is required. string
The namespace by which we would filter the list.
OccAvailabilityCatalogId This property is required. string
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
OccCustomerGroupId This property is required. string
The OCID of the customer group to which this customer belongs to.
PatchOperations This property is required. List<GetOccCapacityRequestsOccCapacityRequestCollectionItemPatchOperation>
Region This property is required. string
The name of the region for which the capacity request was made.
RequestState This property is required. string
The different states the capacity request goes through.
RequestType This property is required. string
A filter to return only the resources that match the request type. The match is not case sensitive.
State This property is required. string
The current lifecycle state of the resource.
SystemTags This property is required. Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time when the capacity request was created.
TimeUpdated This property is required. string
The time when the capacity request was updated.
AvailabilityDomain This property is required. string
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
CompartmentId This property is required. string
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
DateExpectedCapacityHandover This property is required. string
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Meaningful text about the capacity request.
Details This property is required. []GetOccCapacityRequestsOccCapacityRequestCollectionItemDetail
A list of resources requested as part of this request
DisplayName This property is required. string
A filter to return only the resources that match the entire display name. The match is not case sensitive.
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
Namespace This property is required. string
The namespace by which we would filter the list.
OccAvailabilityCatalogId This property is required. string
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
OccCustomerGroupId This property is required. string
The OCID of the customer group to which this customer belongs to.
PatchOperations This property is required. []GetOccCapacityRequestsOccCapacityRequestCollectionItemPatchOperation
Region This property is required. string
The name of the region for which the capacity request was made.
RequestState This property is required. string
The different states the capacity request goes through.
RequestType This property is required. string
A filter to return only the resources that match the request type. The match is not case sensitive.
State This property is required. string
The current lifecycle state of the resource.
SystemTags This property is required. map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time when the capacity request was created.
TimeUpdated This property is required. string
The time when the capacity request was updated.
availabilityDomain This property is required. String
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
compartmentId This property is required. String
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
dateExpectedCapacityHandover This property is required. String
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Meaningful text about the capacity request.
details This property is required. List<GetOccCapacityRequestsOccCapacityRequestCollectionItemDetail>
A list of resources requested as part of this request
displayName This property is required. String
A filter to return only the resources that match the entire display name. The match is not case sensitive.
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
namespace This property is required. String
The namespace by which we would filter the list.
occAvailabilityCatalogId This property is required. String
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
occCustomerGroupId This property is required. String
The OCID of the customer group to which this customer belongs to.
patchOperations This property is required. List<GetOccCapacityRequestsOccCapacityRequestCollectionItemPatchOperation>
region This property is required. String
The name of the region for which the capacity request was made.
requestState This property is required. String
The different states the capacity request goes through.
requestType This property is required. String
A filter to return only the resources that match the request type. The match is not case sensitive.
state This property is required. String
The current lifecycle state of the resource.
systemTags This property is required. Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time when the capacity request was created.
timeUpdated This property is required. String
The time when the capacity request was updated.
availabilityDomain This property is required. string
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
compartmentId This property is required. string
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
dateExpectedCapacityHandover This property is required. string
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. string
Meaningful text about the capacity request.
details This property is required. GetOccCapacityRequestsOccCapacityRequestCollectionItemDetail[]
A list of resources requested as part of this request
displayName This property is required. string
A filter to return only the resources that match the entire display name. The match is not case sensitive.
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. string
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
lifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
namespace This property is required. string
The namespace by which we would filter the list.
occAvailabilityCatalogId This property is required. string
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
occCustomerGroupId This property is required. string
The OCID of the customer group to which this customer belongs to.
patchOperations This property is required. GetOccCapacityRequestsOccCapacityRequestCollectionItemPatchOperation[]
region This property is required. string
The name of the region for which the capacity request was made.
requestState This property is required. string
The different states the capacity request goes through.
requestType This property is required. string
A filter to return only the resources that match the request type. The match is not case sensitive.
state This property is required. string
The current lifecycle state of the resource.
systemTags This property is required. {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The time when the capacity request was created.
timeUpdated This property is required. string
The time when the capacity request was updated.
availability_domain This property is required. str
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
compartment_id This property is required. str
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
date_expected_capacity_handover This property is required. str
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. str
Meaningful text about the capacity request.
details This property is required. Sequence[capacitymanagement.GetOccCapacityRequestsOccCapacityRequestCollectionItemDetail]
A list of resources requested as part of this request
display_name This property is required. str
A filter to return only the resources that match the entire display name. The match is not case sensitive.
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. str
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
lifecycle_details This property is required. str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
namespace This property is required. str
The namespace by which we would filter the list.
occ_availability_catalog_id This property is required. str
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
occ_customer_group_id This property is required. str
The OCID of the customer group to which this customer belongs to.
patch_operations This property is required. Sequence[capacitymanagement.GetOccCapacityRequestsOccCapacityRequestCollectionItemPatchOperation]
region This property is required. str
The name of the region for which the capacity request was made.
request_state This property is required. str
The different states the capacity request goes through.
request_type This property is required. str
A filter to return only the resources that match the request type. The match is not case sensitive.
state This property is required. str
The current lifecycle state of the resource.
system_tags This property is required. Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The time when the capacity request was created.
time_updated This property is required. str
The time when the capacity request was updated.
availabilityDomain This property is required. String
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
compartmentId This property is required. String
The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
dateExpectedCapacityHandover This property is required. String
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Meaningful text about the capacity request.
details This property is required. List<Property Map>
A list of resources requested as part of this request
displayName This property is required. String
A filter to return only the resources that match the entire display name. The match is not case sensitive.
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
namespace This property is required. String
The namespace by which we would filter the list.
occAvailabilityCatalogId This property is required. String
A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
occCustomerGroupId This property is required. String
The OCID of the customer group to which this customer belongs to.
patchOperations This property is required. List<Property Map>
region This property is required. String
The name of the region for which the capacity request was made.
requestState This property is required. String
The different states the capacity request goes through.
requestType This property is required. String
A filter to return only the resources that match the request type. The match is not case sensitive.
state This property is required. String
The current lifecycle state of the resource.
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time when the capacity request was created.
timeUpdated This property is required. String
The time when the capacity request was updated.

GetOccCapacityRequestsOccCapacityRequestCollectionItemDetail

ActualHandoverQuantity This property is required. string
The actual handed over quantity of resources at the time of request resolution.
AssociatedOccHandoverResourceBlockLists This property is required. List<GetOccCapacityRequestsOccCapacityRequestCollectionItemDetailAssociatedOccHandoverResourceBlockList>
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
AvailabilityDomain This property is required. string
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
DateActualHandover This property is required. string
The date on which the actual handover quantity of resources is delivered.
DateExpectedHandover This property is required. string
The date on which the latest increment to supplied quantity of resources was delivered.
DemandQuantity This property is required. string
The number of compute server's with name required by the user.
ExpectedHandoverQuantity This property is required. string
The incremental quantity of resources supplied as the provisioning is underway.
ResourceName This property is required. string
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
ResourceType This property is required. string
The type of the resource against which the user wants to place a capacity request.
SourceWorkloadType This property is required. string
The WorkloadType from where capacity request are to be transferred.
WorkloadType This property is required. string
The type of the workload (Generic/ROW).
ActualHandoverQuantity This property is required. string
The actual handed over quantity of resources at the time of request resolution.
AssociatedOccHandoverResourceBlockLists This property is required. []GetOccCapacityRequestsOccCapacityRequestCollectionItemDetailAssociatedOccHandoverResourceBlockList
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
AvailabilityDomain This property is required. string
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
DateActualHandover This property is required. string
The date on which the actual handover quantity of resources is delivered.
DateExpectedHandover This property is required. string
The date on which the latest increment to supplied quantity of resources was delivered.
DemandQuantity This property is required. string
The number of compute server's with name required by the user.
ExpectedHandoverQuantity This property is required. string
The incremental quantity of resources supplied as the provisioning is underway.
ResourceName This property is required. string
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
ResourceType This property is required. string
The type of the resource against which the user wants to place a capacity request.
SourceWorkloadType This property is required. string
The WorkloadType from where capacity request are to be transferred.
WorkloadType This property is required. string
The type of the workload (Generic/ROW).
actualHandoverQuantity This property is required. String
The actual handed over quantity of resources at the time of request resolution.
associatedOccHandoverResourceBlockLists This property is required. List<GetOccCapacityRequestsOccCapacityRequestCollectionItemDetailAssociatedOccHandoverResourceBlockList>
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
availabilityDomain This property is required. String
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
dateActualHandover This property is required. String
The date on which the actual handover quantity of resources is delivered.
dateExpectedHandover This property is required. String
The date on which the latest increment to supplied quantity of resources was delivered.
demandQuantity This property is required. String
The number of compute server's with name required by the user.
expectedHandoverQuantity This property is required. String
The incremental quantity of resources supplied as the provisioning is underway.
resourceName This property is required. String
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
resourceType This property is required. String
The type of the resource against which the user wants to place a capacity request.
sourceWorkloadType This property is required. String
The WorkloadType from where capacity request are to be transferred.
workloadType This property is required. String
The type of the workload (Generic/ROW).
actualHandoverQuantity This property is required. string
The actual handed over quantity of resources at the time of request resolution.
associatedOccHandoverResourceBlockLists This property is required. GetOccCapacityRequestsOccCapacityRequestCollectionItemDetailAssociatedOccHandoverResourceBlockList[]
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
availabilityDomain This property is required. string
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
dateActualHandover This property is required. string
The date on which the actual handover quantity of resources is delivered.
dateExpectedHandover This property is required. string
The date on which the latest increment to supplied quantity of resources was delivered.
demandQuantity This property is required. string
The number of compute server's with name required by the user.
expectedHandoverQuantity This property is required. string
The incremental quantity of resources supplied as the provisioning is underway.
resourceName This property is required. string
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
resourceType This property is required. string
The type of the resource against which the user wants to place a capacity request.
sourceWorkloadType This property is required. string
The WorkloadType from where capacity request are to be transferred.
workloadType This property is required. string
The type of the workload (Generic/ROW).
actual_handover_quantity This property is required. str
The actual handed over quantity of resources at the time of request resolution.
associated_occ_handover_resource_block_lists This property is required. Sequence[capacitymanagement.GetOccCapacityRequestsOccCapacityRequestCollectionItemDetailAssociatedOccHandoverResourceBlockList]
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
availability_domain This property is required. str
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
date_actual_handover This property is required. str
The date on which the actual handover quantity of resources is delivered.
date_expected_handover This property is required. str
The date on which the latest increment to supplied quantity of resources was delivered.
demand_quantity This property is required. str
The number of compute server's with name required by the user.
expected_handover_quantity This property is required. str
The incremental quantity of resources supplied as the provisioning is underway.
resource_name This property is required. str
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
resource_type This property is required. str
The type of the resource against which the user wants to place a capacity request.
source_workload_type This property is required. str
The WorkloadType from where capacity request are to be transferred.
workload_type This property is required. str
The type of the workload (Generic/ROW).
actualHandoverQuantity This property is required. String
The actual handed over quantity of resources at the time of request resolution.
associatedOccHandoverResourceBlockLists This property is required. List<Property Map>
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
availabilityDomain This property is required. String
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
dateActualHandover This property is required. String
The date on which the actual handover quantity of resources is delivered.
dateExpectedHandover This property is required. String
The date on which the latest increment to supplied quantity of resources was delivered.
demandQuantity This property is required. String
The number of compute server's with name required by the user.
expectedHandoverQuantity This property is required. String
The incremental quantity of resources supplied as the provisioning is underway.
resourceName This property is required. String
The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
resourceType This property is required. String
The type of the resource against which the user wants to place a capacity request.
sourceWorkloadType This property is required. String
The WorkloadType from where capacity request are to be transferred.
workloadType This property is required. String
The type of the workload (Generic/ROW).

GetOccCapacityRequestsOccCapacityRequestCollectionItemDetailAssociatedOccHandoverResourceBlockList

HandoverQuantity This property is required. string
The total quantity of the resource that was made available to the customer as part of this resource block
OccHandoverResourceBlockId This property is required. string
The OCID of the handed over resource block.
HandoverQuantity This property is required. string
The total quantity of the resource that was made available to the customer as part of this resource block
OccHandoverResourceBlockId This property is required. string
The OCID of the handed over resource block.
handoverQuantity This property is required. String
The total quantity of the resource that was made available to the customer as part of this resource block
occHandoverResourceBlockId This property is required. String
The OCID of the handed over resource block.
handoverQuantity This property is required. string
The total quantity of the resource that was made available to the customer as part of this resource block
occHandoverResourceBlockId This property is required. string
The OCID of the handed over resource block.
handover_quantity This property is required. str
The total quantity of the resource that was made available to the customer as part of this resource block
occ_handover_resource_block_id This property is required. str
The OCID of the handed over resource block.
handoverQuantity This property is required. String
The total quantity of the resource that was made available to the customer as part of this resource block
occHandoverResourceBlockId This property is required. String
The OCID of the handed over resource block.

GetOccCapacityRequestsOccCapacityRequestCollectionItemPatchOperation

From This property is required. string
Operation This property is required. string
Position This property is required. string
SelectedItem This property is required. string
Selection This property is required. string
Value This property is required. Dictionary<string, string>
From This property is required. string
Operation This property is required. string
Position This property is required. string
SelectedItem This property is required. string
Selection This property is required. string
Value This property is required. map[string]string
from This property is required. String
operation This property is required. String
position This property is required. String
selectedItem This property is required. String
selection This property is required. String
value This property is required. Map<String,String>
from This property is required. string
operation This property is required. string
position This property is required. string
selectedItem This property is required. string
selection This property is required. string
value This property is required. {[key: string]: string}
from_ This property is required. str
operation This property is required. str
position This property is required. str
selected_item This property is required. str
selection This property is required. str
value This property is required. Mapping[str, str]
from This property is required. String
operation This property is required. String
position This property is required. String
selectedItem This property is required. String
selection This property is required. String
value This property is required. Map<String>

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.30.0 published on Monday, Apr 14, 2025 by Pulumi