Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.CapacityManagement.getOccCapacityRequest
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Occ Capacity Request resource in Oracle Cloud Infrastructure Capacity Management service.
Get details about the capacity request.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOccCapacityRequest = oci.CapacityManagement.getOccCapacityRequest({
occCapacityRequestId: testOccCapacityRequestOciCapacityManagementOccCapacityRequest.id,
});
import pulumi
import pulumi_oci as oci
test_occ_capacity_request = oci.CapacityManagement.get_occ_capacity_request(occ_capacity_request_id=test_occ_capacity_request_oci_capacity_management_occ_capacity_request["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/CapacityManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CapacityManagement.GetOccCapacityRequest(ctx, &capacitymanagement.GetOccCapacityRequestArgs{
OccCapacityRequestId: testOccCapacityRequestOciCapacityManagementOccCapacityRequest.Id,
}, 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 testOccCapacityRequest = Oci.CapacityManagement.GetOccCapacityRequest.Invoke(new()
{
OccCapacityRequestId = testOccCapacityRequestOciCapacityManagementOccCapacityRequest.Id,
});
});
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.GetOccCapacityRequestArgs;
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 testOccCapacityRequest = CapacityManagementFunctions.getOccCapacityRequest(GetOccCapacityRequestArgs.builder()
.occCapacityRequestId(testOccCapacityRequestOciCapacityManagementOccCapacityRequest.id())
.build());
}
}
variables:
testOccCapacityRequest:
fn::invoke:
Function: oci:CapacityManagement:getOccCapacityRequest
Arguments:
occCapacityRequestId: ${testOccCapacityRequestOciCapacityManagementOccCapacityRequest.id}
Using getOccCapacityRequest
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 getOccCapacityRequest(args: GetOccCapacityRequestArgs, opts?: InvokeOptions): Promise<GetOccCapacityRequestResult>
function getOccCapacityRequestOutput(args: GetOccCapacityRequestOutputArgs, opts?: InvokeOptions): Output<GetOccCapacityRequestResult>
def get_occ_capacity_request(occ_capacity_request_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOccCapacityRequestResult
def get_occ_capacity_request_output(occ_capacity_request_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOccCapacityRequestResult]
func GetOccCapacityRequest(ctx *Context, args *GetOccCapacityRequestArgs, opts ...InvokeOption) (*GetOccCapacityRequestResult, error)
func GetOccCapacityRequestOutput(ctx *Context, args *GetOccCapacityRequestOutputArgs, opts ...InvokeOption) GetOccCapacityRequestResultOutput
> Note: This function is named GetOccCapacityRequest
in the Go SDK.
public static class GetOccCapacityRequest
{
public static Task<GetOccCapacityRequestResult> InvokeAsync(GetOccCapacityRequestArgs args, InvokeOptions? opts = null)
public static Output<GetOccCapacityRequestResult> Invoke(GetOccCapacityRequestInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOccCapacityRequestResult> getOccCapacityRequest(GetOccCapacityRequestArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CapacityManagement/getOccCapacityRequest:getOccCapacityRequest
arguments:
# arguments dictionary
The following arguments are supported:
- Occ
Capacity stringRequest Id - The OCID of the capacity request.
- Occ
Capacity stringRequest Id - The OCID of the capacity request.
- occ
Capacity StringRequest Id - The OCID of the capacity request.
- occ
Capacity stringRequest Id - The OCID of the capacity request.
- occ_
capacity_ strrequest_ id - The OCID of the capacity request.
- occ
Capacity StringRequest Id - The OCID of the capacity request.
getOccCapacityRequest Result
The following output properties are available:
- Availability
Domain string - The availability domain (AD) for which the capacity request was made.
- Compartment
Id string - The OCID of the tenancy from which the request was made.
- Date
Expected stringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Meaningful text about the capacity request.
- Details
List<Get
Occ Capacity Request Detail> - A list of resources requested as part of this request
- Display
Name string - The display name of the capacity request.
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the capacity request.
- Lifecycle
Details 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 string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- Occ
Availability stringCatalog Id - The OCID of the availability catalog against which the capacity request was placed.
- Occ
Capacity stringRequest Id - Occ
Customer stringGroup Id - The OCID of the customer group to which this customer belongs to.
- Patch
Operations List<GetOcc Capacity Request Patch Operation> - Region string
- The name of the region for which the capacity request was made.
- Request
State string - The different states the capacity request goes through.
- State string
- The current lifecycle state of the resource.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the capacity request was created.
- Time
Updated string - The time when the capacity request was updated.
- Availability
Domain string - The availability domain (AD) for which the capacity request was made.
- Compartment
Id string - The OCID of the tenancy from which the request was made.
- Date
Expected stringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Meaningful text about the capacity request.
- Details
[]Get
Occ Capacity Request Detail - A list of resources requested as part of this request
- Display
Name string - The display name of the capacity request.
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the capacity request.
- Lifecycle
Details 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 string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- Occ
Availability stringCatalog Id - The OCID of the availability catalog against which the capacity request was placed.
- Occ
Capacity stringRequest Id - Occ
Customer stringGroup Id - The OCID of the customer group to which this customer belongs to.
- Patch
Operations []GetOcc Capacity Request Patch Operation - Region string
- The name of the region for which the capacity request was made.
- Request
State string - The different states the capacity request goes through.
- State string
- The current lifecycle state of the resource.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the capacity request was created.
- Time
Updated string - The time when the capacity request was updated.
- availability
Domain String - The availability domain (AD) for which the capacity request was made.
- compartment
Id String - The OCID of the tenancy from which the request was made.
- date
Expected StringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Meaningful text about the capacity request.
- details
List<Get
Occ Capacity Request Detail> - A list of resources requested as part of this request
- display
Name String - The display name of the capacity request.
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the capacity request.
- lifecycle
Details 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 String
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ
Availability StringCatalog Id - The OCID of the availability catalog against which the capacity request was placed.
- occ
Capacity StringRequest Id - occ
Customer StringGroup Id - The OCID of the customer group to which this customer belongs to.
- patch
Operations List<GetOcc Capacity Request Patch Operation> - region String
- The name of the region for which the capacity request was made.
- request
State String - The different states the capacity request goes through.
- state String
- The current lifecycle state of the resource.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the capacity request was created.
- time
Updated String - The time when the capacity request was updated.
- availability
Domain string - The availability domain (AD) for which the capacity request was made.
- compartment
Id string - The OCID of the tenancy from which the request was made.
- date
Expected stringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- Meaningful text about the capacity request.
- details
Get
Occ Capacity Request Detail[] - A list of resources requested as part of this request
- display
Name string - The display name of the capacity request.
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- The OCID of the capacity request.
- lifecycle
Details 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 string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ
Availability stringCatalog Id - The OCID of the availability catalog against which the capacity request was placed.
- occ
Capacity stringRequest Id - occ
Customer stringGroup Id - The OCID of the customer group to which this customer belongs to.
- patch
Operations GetOcc Capacity Request Patch Operation[] - region string
- The name of the region for which the capacity request was made.
- request
State string - The different states the capacity request goes through.
- state string
- The current lifecycle state of the resource.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the capacity request was created.
- time
Updated string - The time when the capacity request was updated.
- availability_
domain str - The availability domain (AD) for which the capacity request was made.
- compartment_
id str - The OCID of the tenancy from which the request was made.
- date_
expected_ strcapacity_ handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- Meaningful text about the capacity request.
- details
Sequence[capacitymanagement.
Get Occ Capacity Request Detail] - A list of resources requested as part of this request
- display_
name str - The display name of the capacity request.
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- The OCID of the capacity request.
- lifecycle_
details 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 str
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ_
availability_ strcatalog_ id - The OCID of the availability catalog against which the capacity request was placed.
- occ_
capacity_ strrequest_ id - occ_
customer_ strgroup_ id - The OCID of the customer group to which this customer belongs to.
- patch_
operations Sequence[capacitymanagement.Get Occ Capacity Request Patch Operation] - region str
- The name of the region for which the capacity request was made.
- request_
state str - The different states the capacity request goes through.
- state str
- The current lifecycle state of the resource.
- Mapping[str, Any]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when the capacity request was created.
- time_
updated str - The time when the capacity request was updated.
- availability
Domain String - The availability domain (AD) for which the capacity request was made.
- compartment
Id String - The OCID of the tenancy from which the request was made.
- date
Expected StringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Meaningful text about the capacity request.
- details List<Property Map>
- A list of resources requested as part of this request
- display
Name String - The display name of the capacity request.
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the capacity request.
- lifecycle
Details 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 String
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ
Availability StringCatalog Id - The OCID of the availability catalog against which the capacity request was placed.
- occ
Capacity StringRequest Id - occ
Customer StringGroup Id - The OCID of the customer group to which this customer belongs to.
- patch
Operations List<Property Map> - region String
- The name of the region for which the capacity request was made.
- request
State String - The different states the capacity request goes through.
- state String
- The current lifecycle state of the resource.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the capacity request was created.
- time
Updated String - The time when the capacity request was updated.
Supporting Types
GetOccCapacityRequestDetail
- Actual
Handover stringQuantity - The actual handed over quantity of resources at the time of request resolution.
- Date
Actual stringHandover - The date on which the actual handover quantity of resources is delivered.
- Date
Expected stringHandover - The date on which the latest increment to supplied quantity of resources was delivered.
- Demand
Quantity string - The number of compute server's with name required by the user.
- Expected
Handover stringQuantity - The incremental quantity of resources supplied as the provisioning is underway.
- Resource
Name string - The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
- Resource
Type string - The type of the resource against which the user wants to place a capacity request.
- Workload
Type string - The type of the workload (Generic/ROW).
- Actual
Handover stringQuantity - The actual handed over quantity of resources at the time of request resolution.
- Date
Actual stringHandover - The date on which the actual handover quantity of resources is delivered.
- Date
Expected stringHandover - The date on which the latest increment to supplied quantity of resources was delivered.
- Demand
Quantity string - The number of compute server's with name required by the user.
- Expected
Handover stringQuantity - The incremental quantity of resources supplied as the provisioning is underway.
- Resource
Name string - The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
- Resource
Type string - The type of the resource against which the user wants to place a capacity request.
- Workload
Type string - The type of the workload (Generic/ROW).
- actual
Handover StringQuantity - The actual handed over quantity of resources at the time of request resolution.
- date
Actual StringHandover - The date on which the actual handover quantity of resources is delivered.
- date
Expected StringHandover - The date on which the latest increment to supplied quantity of resources was delivered.
- demand
Quantity String - The number of compute server's with name required by the user.
- expected
Handover StringQuantity - The incremental quantity of resources supplied as the provisioning is underway.
- resource
Name String - The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
- resource
Type String - The type of the resource against which the user wants to place a capacity request.
- workload
Type String - The type of the workload (Generic/ROW).
- actual
Handover stringQuantity - The actual handed over quantity of resources at the time of request resolution.
- date
Actual stringHandover - The date on which the actual handover quantity of resources is delivered.
- date
Expected stringHandover - The date on which the latest increment to supplied quantity of resources was delivered.
- demand
Quantity string - The number of compute server's with name required by the user.
- expected
Handover stringQuantity - The incremental quantity of resources supplied as the provisioning is underway.
- resource
Name string - The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
- resource
Type string - The type of the resource against which the user wants to place a capacity request.
- workload
Type string - The type of the workload (Generic/ROW).
- actual_
handover_ strquantity - The actual handed over quantity of resources at the time of request resolution.
- date_
actual_ strhandover - The date on which the actual handover quantity of resources is delivered.
- date_
expected_ strhandover - The date on which the latest increment to supplied quantity of resources was delivered.
- demand_
quantity str - The number of compute server's with name required by the user.
- expected_
handover_ strquantity - The incremental quantity of resources supplied as the provisioning is underway.
- resource_
name 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 str - The type of the resource against which the user wants to place a capacity request.
- workload_
type str - The type of the workload (Generic/ROW).
- actual
Handover StringQuantity - The actual handed over quantity of resources at the time of request resolution.
- date
Actual StringHandover - The date on which the actual handover quantity of resources is delivered.
- date
Expected StringHandover - The date on which the latest increment to supplied quantity of resources was delivered.
- demand
Quantity String - The number of compute server's with name required by the user.
- expected
Handover StringQuantity - The incremental quantity of resources supplied as the provisioning is underway.
- resource
Name String - The name of the COMPUTE server shape for which the request is made. Do not use CAPACITY_CONSTRAINT as the resource name.
- resource
Type String - The type of the resource against which the user wants to place a capacity request.
- workload
Type String - The type of the workload (Generic/ROW).
GetOccCapacityRequestPatchOperation
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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi