1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CapacityManagement
  5. OccCapacityRequest
Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi

oci.CapacityManagement.OccCapacityRequest

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi

    This resource provides the Occ Capacity Request resource in Oracle Cloud Infrastructure Capacity Management service.

    Create Capacity Request. Updates the OccCapacityRequest by evaluating a sequence of instructions.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      testOccCapacityRequest:
        type: oci:CapacityManagement:OccCapacityRequest
        name: test_occ_capacity_request
        properties:
          compartmentId: ${compartmentId}
          dateExpectedCapacityHandover: ${occCapacityRequestDateExpectedCapacityHandover}
          details:
            - demandQuantity: ${occCapacityRequestDetailsDemandQuantity}
              resourceName: ${testResource.name}
              resourceType: ${occCapacityRequestDetailsResourceType}
              workloadType: ${occCapacityRequestDetailsWorkloadType}
              actualHandoverQuantity: ${occCapacityRequestDetailsActualHandoverQuantity}
              associatedOccHandoverResourceBlockLists:
                - handoverQuantity: ${occCapacityRequestDetailsAssociatedOccHandoverResourceBlockListHandoverQuantity}
                  occHandoverResourceBlockId: ${testOccHandoverResourceBlock.id}
              availabilityDomain: ${occCapacityRequestDetailsAvailabilityDomain}
              dateActualHandover: ${occCapacityRequestDetailsDateActualHandover}
              dateExpectedHandover: ${occCapacityRequestDetailsDateExpectedHandover}
              expectedHandoverQuantity: ${occCapacityRequestDetailsExpectedHandoverQuantity}
              sourceWorkloadType: ${occCapacityRequestDetailsSourceWorkloadType}
          displayName: ${occCapacityRequestDisplayName}
          namespace: ${occCapacityRequestNamespace}
          occCapacityRequestId: ${occCapacityRequestOccCapacityRequestId}
          region: ${occCapacityRequestRegion}
          availabilityDomain: ${occCapacityRequestAvailabilityDomain}
          definedTags:
            foo-namespace.bar-key: value
          description: ${occCapacityRequestDescription}
          freeformTags:
            bar-key: value
          lifecycleDetails: ${occCapacityRequestLifecycleDetails}
          occAvailabilityCatalogId: ${testOccAvailabilityCatalog.id}
          patchOperations:
            - operation: ${occCapacityRequestPatchOperationsOperation}
              selection: ${occCapacityRequestPatchOperationsSelection}
              from: ${occCapacityRequestPatchOperationsFrom}
              position: ${occCapacityRequestPatchOperationsPosition}
              selectedItem: ${occCapacityRequestPatchOperationsSelectedItem}
              value: ${occCapacityRequestPatchOperationsValue}
              values: ${occCapacityRequestPatchOperationsValues}
          requestState: ${occCapacityRequestRequestState}
          requestType: ${occCapacityRequestRequestType}
    

    Create OccCapacityRequest Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OccCapacityRequest(name: string, args: OccCapacityRequestArgs, opts?: CustomResourceOptions);
    @overload
    def OccCapacityRequest(resource_name: str,
                           args: OccCapacityRequestArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def OccCapacityRequest(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           namespace: Optional[str] = None,
                           display_name: Optional[str] = None,
                           date_expected_capacity_handover: Optional[str] = None,
                           region: Optional[str] = None,
                           occ_availability_catalog_id: Optional[str] = None,
                           details: Optional[Sequence[_capacitymanagement.OccCapacityRequestDetailArgs]] = None,
                           compartment_id: Optional[str] = None,
                           description: Optional[str] = None,
                           lifecycle_details: Optional[str] = None,
                           availability_domain: Optional[str] = None,
                           freeform_tags: Optional[Mapping[str, str]] = None,
                           patch_operations: Optional[Sequence[_capacitymanagement.OccCapacityRequestPatchOperationArgs]] = None,
                           defined_tags: Optional[Mapping[str, str]] = None,
                           request_state: Optional[str] = None,
                           request_type: Optional[str] = None)
    func NewOccCapacityRequest(ctx *Context, name string, args OccCapacityRequestArgs, opts ...ResourceOption) (*OccCapacityRequest, error)
    public OccCapacityRequest(string name, OccCapacityRequestArgs args, CustomResourceOptions? opts = null)
    public OccCapacityRequest(String name, OccCapacityRequestArgs args)
    public OccCapacityRequest(String name, OccCapacityRequestArgs args, CustomResourceOptions options)
    
    type: oci:CapacityManagement:OccCapacityRequest
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OccCapacityRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OccCapacityRequestArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OccCapacityRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OccCapacityRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OccCapacityRequestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var occCapacityRequestResource = new Oci.CapacityManagement.OccCapacityRequest("occCapacityRequestResource", new()
    {
        Namespace = "string",
        DisplayName = "string",
        DateExpectedCapacityHandover = "string",
        Region = "string",
        OccAvailabilityCatalogId = "string",
        Details = new[]
        {
            new Oci.CapacityManagement.Inputs.OccCapacityRequestDetailArgs
            {
                DemandQuantity = "string",
                ResourceName = "string",
                ResourceType = "string",
                WorkloadType = "string",
                ActualHandoverQuantity = "string",
                AssociatedOccHandoverResourceBlockLists = new[]
                {
                    new Oci.CapacityManagement.Inputs.OccCapacityRequestDetailAssociatedOccHandoverResourceBlockListArgs
                    {
                        HandoverQuantity = "string",
                        OccHandoverResourceBlockId = "string",
                    },
                },
                AvailabilityDomain = "string",
                DateActualHandover = "string",
                DateExpectedHandover = "string",
                ExpectedHandoverQuantity = "string",
                SourceWorkloadType = "string",
            },
        },
        CompartmentId = "string",
        Description = "string",
        LifecycleDetails = "string",
        AvailabilityDomain = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        PatchOperations = new[]
        {
            new Oci.CapacityManagement.Inputs.OccCapacityRequestPatchOperationArgs
            {
                From = "string",
                Operation = "string",
                Selection = "string",
                Value = 
                {
                    { "string", "string" },
                },
                Position = "string",
                SelectedItem = "string",
            },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        RequestState = "string",
        RequestType = "string",
    });
    
    example, err := CapacityManagement.NewOccCapacityRequest(ctx, "occCapacityRequestResource", &CapacityManagement.OccCapacityRequestArgs{
    	Namespace:                    pulumi.String("string"),
    	DisplayName:                  pulumi.String("string"),
    	DateExpectedCapacityHandover: pulumi.String("string"),
    	Region:                       pulumi.String("string"),
    	OccAvailabilityCatalogId:     pulumi.String("string"),
    	Details: capacitymanagement.OccCapacityRequestDetailArray{
    		&capacitymanagement.OccCapacityRequestDetailArgs{
    			DemandQuantity:         pulumi.String("string"),
    			ResourceName:           pulumi.String("string"),
    			ResourceType:           pulumi.String("string"),
    			WorkloadType:           pulumi.String("string"),
    			ActualHandoverQuantity: pulumi.String("string"),
    			AssociatedOccHandoverResourceBlockLists: capacitymanagement.OccCapacityRequestDetailAssociatedOccHandoverResourceBlockListArray{
    				&capacitymanagement.OccCapacityRequestDetailAssociatedOccHandoverResourceBlockListArgs{
    					HandoverQuantity:           pulumi.String("string"),
    					OccHandoverResourceBlockId: pulumi.String("string"),
    				},
    			},
    			AvailabilityDomain:       pulumi.String("string"),
    			DateActualHandover:       pulumi.String("string"),
    			DateExpectedHandover:     pulumi.String("string"),
    			ExpectedHandoverQuantity: pulumi.String("string"),
    			SourceWorkloadType:       pulumi.String("string"),
    		},
    	},
    	CompartmentId:      pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	LifecycleDetails:   pulumi.String("string"),
    	AvailabilityDomain: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	PatchOperations: capacitymanagement.OccCapacityRequestPatchOperationArray{
    		&capacitymanagement.OccCapacityRequestPatchOperationArgs{
    			From:      pulumi.String("string"),
    			Operation: pulumi.String("string"),
    			Selection: pulumi.String("string"),
    			Value: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Position:     pulumi.String("string"),
    			SelectedItem: pulumi.String("string"),
    		},
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	RequestState: pulumi.String("string"),
    	RequestType:  pulumi.String("string"),
    })
    
    var occCapacityRequestResource = new OccCapacityRequest("occCapacityRequestResource", OccCapacityRequestArgs.builder()
        .namespace("string")
        .displayName("string")
        .dateExpectedCapacityHandover("string")
        .region("string")
        .occAvailabilityCatalogId("string")
        .details(OccCapacityRequestDetailArgs.builder()
            .demandQuantity("string")
            .resourceName("string")
            .resourceType("string")
            .workloadType("string")
            .actualHandoverQuantity("string")
            .associatedOccHandoverResourceBlockLists(OccCapacityRequestDetailAssociatedOccHandoverResourceBlockListArgs.builder()
                .handoverQuantity("string")
                .occHandoverResourceBlockId("string")
                .build())
            .availabilityDomain("string")
            .dateActualHandover("string")
            .dateExpectedHandover("string")
            .expectedHandoverQuantity("string")
            .sourceWorkloadType("string")
            .build())
        .compartmentId("string")
        .description("string")
        .lifecycleDetails("string")
        .availabilityDomain("string")
        .freeformTags(Map.of("string", "string"))
        .patchOperations(OccCapacityRequestPatchOperationArgs.builder()
            .from("string")
            .operation("string")
            .selection("string")
            .value(Map.of("string", "string"))
            .position("string")
            .selectedItem("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .requestState("string")
        .requestType("string")
        .build());
    
    occ_capacity_request_resource = oci.capacity_management.OccCapacityRequest("occCapacityRequestResource",
        namespace="string",
        display_name="string",
        date_expected_capacity_handover="string",
        region="string",
        occ_availability_catalog_id="string",
        details=[oci.capacity_management.OccCapacityRequestDetailArgs(
            demand_quantity="string",
            resource_name="string",
            resource_type="string",
            workload_type="string",
            actual_handover_quantity="string",
            associated_occ_handover_resource_block_lists=[oci.capacity_management.OccCapacityRequestDetailAssociatedOccHandoverResourceBlockListArgs(
                handover_quantity="string",
                occ_handover_resource_block_id="string",
            )],
            availability_domain="string",
            date_actual_handover="string",
            date_expected_handover="string",
            expected_handover_quantity="string",
            source_workload_type="string",
        )],
        compartment_id="string",
        description="string",
        lifecycle_details="string",
        availability_domain="string",
        freeform_tags={
            "string": "string",
        },
        patch_operations=[oci.capacity_management.OccCapacityRequestPatchOperationArgs(
            from_="string",
            operation="string",
            selection="string",
            value={
                "string": "string",
            },
            position="string",
            selected_item="string",
        )],
        defined_tags={
            "string": "string",
        },
        request_state="string",
        request_type="string")
    
    const occCapacityRequestResource = new oci.capacitymanagement.OccCapacityRequest("occCapacityRequestResource", {
        namespace: "string",
        displayName: "string",
        dateExpectedCapacityHandover: "string",
        region: "string",
        occAvailabilityCatalogId: "string",
        details: [{
            demandQuantity: "string",
            resourceName: "string",
            resourceType: "string",
            workloadType: "string",
            actualHandoverQuantity: "string",
            associatedOccHandoverResourceBlockLists: [{
                handoverQuantity: "string",
                occHandoverResourceBlockId: "string",
            }],
            availabilityDomain: "string",
            dateActualHandover: "string",
            dateExpectedHandover: "string",
            expectedHandoverQuantity: "string",
            sourceWorkloadType: "string",
        }],
        compartmentId: "string",
        description: "string",
        lifecycleDetails: "string",
        availabilityDomain: "string",
        freeformTags: {
            string: "string",
        },
        patchOperations: [{
            from: "string",
            operation: "string",
            selection: "string",
            value: {
                string: "string",
            },
            position: "string",
            selectedItem: "string",
        }],
        definedTags: {
            string: "string",
        },
        requestState: "string",
        requestType: "string",
    });
    
    type: oci:CapacityManagement:OccCapacityRequest
    properties:
        availabilityDomain: string
        compartmentId: string
        dateExpectedCapacityHandover: string
        definedTags:
            string: string
        description: string
        details:
            - actualHandoverQuantity: string
              associatedOccHandoverResourceBlockLists:
                - handoverQuantity: string
                  occHandoverResourceBlockId: string
              availabilityDomain: string
              dateActualHandover: string
              dateExpectedHandover: string
              demandQuantity: string
              expectedHandoverQuantity: string
              resourceName: string
              resourceType: string
              sourceWorkloadType: string
              workloadType: string
        displayName: string
        freeformTags:
            string: string
        lifecycleDetails: string
        namespace: string
        occAvailabilityCatalogId: string
        patchOperations:
            - from: string
              operation: string
              position: string
              selectedItem: string
              selection: string
              value:
                string: string
        region: string
        requestState: string
        requestType: string
    

    OccCapacityRequest Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OccCapacityRequest resource accepts the following input properties:

    CompartmentId string
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    DateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    Details List<OccCapacityRequestDetail>
    A list of different resources requested by the user.
    DisplayName string
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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 capacity request is made.
    Region string
    The name of the region for which the capacity request is made.
    AvailabilityDomain string
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    DefinedTags Dictionary<string, string>
    (Updatable) 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.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    PatchOperations List<OccCapacityRequestPatchOperation>
    (Updatable)
    RequestState string
    (Updatable) The subset of request states available for creating the capacity request.
    RequestType string

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    DateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    Details []OccCapacityRequestDetailArgs
    A list of different resources requested by the user.
    DisplayName string
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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 capacity request is made.
    Region string
    The name of the region for which the capacity request is made.
    AvailabilityDomain string
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    DefinedTags map[string]string
    (Updatable) 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.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    PatchOperations []OccCapacityRequestPatchOperationArgs
    (Updatable)
    RequestState string
    (Updatable) The subset of request states available for creating the capacity request.
    RequestType string

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    dateExpectedCapacityHandover String
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    details List<OccCapacityRequestDetail>
    A list of different resources requested by the user.
    displayName String
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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 capacity request is made.
    region String
    The name of the region for which the capacity request is made.
    availabilityDomain String
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    definedTags Map<String,String>
    (Updatable) 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.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    patchOperations List<OccCapacityRequestPatchOperation>
    (Updatable)
    requestState String
    (Updatable) The subset of request states available for creating the capacity request.
    requestType String

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    dateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    details OccCapacityRequestDetail[]
    A list of different resources requested by the user.
    displayName string
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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 capacity request is made.
    region string
    The name of the region for which the capacity request is made.
    availabilityDomain string
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    definedTags {[key: string]: string}
    (Updatable) 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.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    patchOperations OccCapacityRequestPatchOperation[]
    (Updatable)
    requestState string
    (Updatable) The subset of request states available for creating the capacity request.
    requestType string

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    date_expected_capacity_handover str
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    details Sequence[capacitymanagement.OccCapacityRequestDetailArgs]
    A list of different resources requested by the user.
    display_name str
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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 capacity request is made.
    region str
    The name of the region for which the capacity request is made.
    availability_domain str
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    defined_tags Mapping[str, str]
    (Updatable) 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.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    patch_operations Sequence[capacitymanagement.OccCapacityRequestPatchOperationArgs]
    (Updatable)
    request_state str
    (Updatable) The subset of request states available for creating the capacity request.
    request_type str

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    dateExpectedCapacityHandover String
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    details List<Property Map>
    A list of different resources requested by the user.
    displayName String
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    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 capacity request is made.
    region String
    The name of the region for which the capacity request is made.
    availabilityDomain String
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    definedTags Map<String>
    (Updatable) 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.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    patchOperations List<Property Map>
    (Updatable)
    requestState String
    (Updatable) The subset of request states available for creating the capacity request.
    requestType String

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OccCapacityRequest resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    OccCustomerGroupId string
    The OCID of the customer group to which this customer belongs to.
    State string
    The current lifecycle state of the resource.
    SystemTags 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 string
    The time when the capacity request was created.
    TimeUpdated string
    The time when the capacity request was updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    OccCustomerGroupId string
    The OCID of the customer group to which this customer belongs to.
    State string
    The current lifecycle state of the resource.
    SystemTags 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 string
    The time when the capacity request was created.
    TimeUpdated string
    The time when the capacity request was updated.
    id String
    The provider-assigned unique ID for this managed resource.
    occCustomerGroupId String
    The OCID of the customer group to which this customer belongs to.
    state String
    The current lifecycle state of the resource.
    systemTags 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 String
    The time when the capacity request was created.
    timeUpdated String
    The time when the capacity request was updated.
    id string
    The provider-assigned unique ID for this managed resource.
    occCustomerGroupId string
    The OCID of the customer group to which this customer belongs to.
    state string
    The current lifecycle state of the resource.
    systemTags {[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 string
    The time when the capacity request was created.
    timeUpdated string
    The time when the capacity request was updated.
    id str
    The provider-assigned unique ID for this managed resource.
    occ_customer_group_id str
    The OCID of the customer group to which this customer belongs to.
    state str
    The current lifecycle state of the resource.
    system_tags 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 str
    The time when the capacity request was created.
    time_updated str
    The time when the capacity request was updated.
    id String
    The provider-assigned unique ID for this managed resource.
    occCustomerGroupId String
    The OCID of the customer group to which this customer belongs to.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the capacity request was created.
    timeUpdated String
    The time when the capacity request was updated.

    Look up Existing OccCapacityRequest Resource

    Get an existing OccCapacityRequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OccCapacityRequestState, opts?: CustomResourceOptions): OccCapacityRequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            compartment_id: Optional[str] = None,
            date_expected_capacity_handover: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            details: Optional[Sequence[_capacitymanagement.OccCapacityRequestDetailArgs]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            namespace: Optional[str] = None,
            occ_availability_catalog_id: Optional[str] = None,
            occ_customer_group_id: Optional[str] = None,
            patch_operations: Optional[Sequence[_capacitymanagement.OccCapacityRequestPatchOperationArgs]] = None,
            region: Optional[str] = None,
            request_state: Optional[str] = None,
            request_type: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> OccCapacityRequest
    func GetOccCapacityRequest(ctx *Context, name string, id IDInput, state *OccCapacityRequestState, opts ...ResourceOption) (*OccCapacityRequest, error)
    public static OccCapacityRequest Get(string name, Input<string> id, OccCapacityRequestState? state, CustomResourceOptions? opts = null)
    public static OccCapacityRequest get(String name, Output<String> id, OccCapacityRequestState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityDomain string
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    CompartmentId string
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    DateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DefinedTags Dictionary<string, string>
    (Updatable) 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<OccCapacityRequestDetail>
    A list of different resources requested by the user.
    DisplayName string
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    OccAvailabilityCatalogId string
    The OCID of the availability catalog against which capacity request is made.
    OccCustomerGroupId string
    The OCID of the customer group to which this customer belongs to.
    PatchOperations List<OccCapacityRequestPatchOperation>
    (Updatable)
    Region string
    The name of the region for which the capacity request is made.
    RequestState string
    (Updatable) The subset of request states available for creating the capacity request.
    RequestType string

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current lifecycle state of the resource.
    SystemTags 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 string
    The time when the capacity request was created.
    TimeUpdated string
    The time when the capacity request was updated.
    AvailabilityDomain string
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    CompartmentId string
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    DateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DefinedTags map[string]string
    (Updatable) 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 []OccCapacityRequestDetailArgs
    A list of different resources requested by the user.
    DisplayName string
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    OccAvailabilityCatalogId string
    The OCID of the availability catalog against which capacity request is made.
    OccCustomerGroupId string
    The OCID of the customer group to which this customer belongs to.
    PatchOperations []OccCapacityRequestPatchOperationArgs
    (Updatable)
    Region string
    The name of the region for which the capacity request is made.
    RequestState string
    (Updatable) The subset of request states available for creating the capacity request.
    RequestType string

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current lifecycle state of the resource.
    SystemTags 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 string
    The time when the capacity request was created.
    TimeUpdated string
    The time when the capacity request was updated.
    availabilityDomain String
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    compartmentId String
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    dateExpectedCapacityHandover String
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    definedTags Map<String,String>
    (Updatable) 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<OccCapacityRequestDetail>
    A list of different resources requested by the user.
    displayName String
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    occAvailabilityCatalogId String
    The OCID of the availability catalog against which capacity request is made.
    occCustomerGroupId String
    The OCID of the customer group to which this customer belongs to.
    patchOperations List<OccCapacityRequestPatchOperation>
    (Updatable)
    region String
    The name of the region for which the capacity request is made.
    requestState String
    (Updatable) The subset of request states available for creating the capacity request.
    requestType String

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current lifecycle state of the resource.
    systemTags 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 String
    The time when the capacity request was created.
    timeUpdated String
    The time when the capacity request was updated.
    availabilityDomain string
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    compartmentId string
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    dateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    definedTags {[key: string]: string}
    (Updatable) 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 OccCapacityRequestDetail[]
    A list of different resources requested by the user.
    displayName string
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    occAvailabilityCatalogId string
    The OCID of the availability catalog against which capacity request is made.
    occCustomerGroupId string
    The OCID of the customer group to which this customer belongs to.
    patchOperations OccCapacityRequestPatchOperation[]
    (Updatable)
    region string
    The name of the region for which the capacity request is made.
    requestState string
    (Updatable) The subset of request states available for creating the capacity request.
    requestType string

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current lifecycle state of the resource.
    systemTags {[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 string
    The time when the capacity request was created.
    timeUpdated string
    The time when the capacity request was updated.
    availability_domain str
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    compartment_id str
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    date_expected_capacity_handover str
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    defined_tags Mapping[str, str]
    (Updatable) 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.OccCapacityRequestDetailArgs]
    A list of different resources requested by the user.
    display_name str
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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_catalog_id str
    The OCID of the availability catalog against which capacity request is made.
    occ_customer_group_id str
    The OCID of the customer group to which this customer belongs to.
    patch_operations Sequence[capacitymanagement.OccCapacityRequestPatchOperationArgs]
    (Updatable)
    region str
    The name of the region for which the capacity request is made.
    request_state str
    (Updatable) The subset of request states available for creating the capacity request.
    request_type str

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current lifecycle state of the resource.
    system_tags 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 str
    The time when the capacity request was created.
    time_updated str
    The time when the capacity request was updated.
    availabilityDomain String
    The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
    compartmentId String
    Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
    dateExpectedCapacityHandover String
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    definedTags Map<String>
    (Updatable) 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 different resources requested by the user.
    displayName String
    (Updatable) An user-friendly name for the capacity request. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    occAvailabilityCatalogId String
    The OCID of the availability catalog against which capacity request is made.
    occCustomerGroupId String
    The OCID of the customer group to which this customer belongs to.
    patchOperations List<Property Map>
    (Updatable)
    region String
    The name of the region for which the capacity request is made.
    requestState String
    (Updatable) The subset of request states available for creating the capacity request.
    requestType String

    Type of Capacity Request(New or Transfer)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current lifecycle state of the resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the capacity request was created.
    timeUpdated String
    The time when the capacity request was updated.

    Supporting Types

    OccCapacityRequestDetail, OccCapacityRequestDetailArgs

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

    OccCapacityRequestDetailAssociatedOccHandoverResourceBlockList, OccCapacityRequestDetailAssociatedOccHandoverResourceBlockListArgs

    HandoverQuantity string
    The total quantity of the resource that was made available to the customer as part of this resource block
    OccHandoverResourceBlockId string
    The OCID of the handed over resource block.
    HandoverQuantity string
    The total quantity of the resource that was made available to the customer as part of this resource block
    OccHandoverResourceBlockId string
    The OCID of the handed over resource block.
    handoverQuantity String
    The total quantity of the resource that was made available to the customer as part of this resource block
    occHandoverResourceBlockId String
    The OCID of the handed over resource block.
    handoverQuantity string
    The total quantity of the resource that was made available to the customer as part of this resource block
    occHandoverResourceBlockId string
    The OCID of the handed over resource block.
    handover_quantity 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 str
    The OCID of the handed over resource block.
    handoverQuantity String
    The total quantity of the resource that was made available to the customer as part of this resource block
    occHandoverResourceBlockId String
    The OCID of the handed over resource block.

    OccCapacityRequestPatchOperation, OccCapacityRequestPatchOperationArgs

    From string
    (Updatable)
    Operation string
    (Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
    Selection string
    (Updatable)
    Value Dictionary<string, string>
    (Updatable)
    Position string
    (Updatable)
    SelectedItem string
    (Updatable)
    From string
    (Updatable)
    Operation string
    (Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
    Selection string
    (Updatable)
    Value map[string]string
    (Updatable)
    Position string
    (Updatable)
    SelectedItem string
    (Updatable)
    from String
    (Updatable)
    operation String
    (Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
    selection String
    (Updatable)
    value Map<String,String>
    (Updatable)
    position String
    (Updatable)
    selectedItem String
    (Updatable)
    from string
    (Updatable)
    operation string
    (Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
    selection string
    (Updatable)
    value {[key: string]: string}
    (Updatable)
    position string
    (Updatable)
    selectedItem string
    (Updatable)
    from_ str
    (Updatable)
    operation str
    (Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
    selection str
    (Updatable)
    value Mapping[str, str]
    (Updatable)
    position str
    (Updatable)
    selected_item str
    (Updatable)
    from String
    (Updatable)
    operation String
    (Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
    selection String
    (Updatable)
    value Map<String>
    (Updatable)
    position String
    (Updatable)
    selectedItem String
    (Updatable)

    Import

    OccCapacityRequests can be imported using the id, e.g.

    $ pulumi import oci:CapacityManagement/occCapacityRequest:OccCapacityRequest test_occ_capacity_request "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi