1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsReservation
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.IsReservation

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Import

    The ibm_is_reservation resource can be imported by using the ID.

    Syntax

    $ pulumi import ibm:index/isReservation:IsReservation example <reservation_ID>
    

    Example

    $ pulumi import ibm:index/isReservation:IsReservation example d7bec597-4726-451f-8a63-e62e6f12122c
    

    Create IsReservation Resource

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

    Constructor syntax

    new IsReservation(name: string, args: IsReservationArgs, opts?: CustomResourceOptions);
    @overload
    def IsReservation(resource_name: str,
                      args: IsReservationArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsReservation(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      capacity: Optional[IsReservationCapacityArgs] = None,
                      committed_use: Optional[IsReservationCommittedUseArgs] = None,
                      profile: Optional[IsReservationProfileArgs] = None,
                      zone: Optional[str] = None,
                      affinity_policy: Optional[str] = None,
                      name: Optional[str] = None,
                      resource_group: Optional[IsReservationResourceGroupArgs] = None)
    func NewIsReservation(ctx *Context, name string, args IsReservationArgs, opts ...ResourceOption) (*IsReservation, error)
    public IsReservation(string name, IsReservationArgs args, CustomResourceOptions? opts = null)
    public IsReservation(String name, IsReservationArgs args)
    public IsReservation(String name, IsReservationArgs args, CustomResourceOptions options)
    
    type: ibm:IsReservation
    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 IsReservationArgs
    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 IsReservationArgs
    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 IsReservationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsReservationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsReservationArgs
    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 isReservationResource = new Ibm.IsReservation("isReservationResource", new()
    {
        Capacity = new Ibm.Inputs.IsReservationCapacityArgs
        {
            Total = 0,
            Allocated = 0,
            Available = 0,
            Status = "string",
            Used = 0,
        },
        CommittedUse = new Ibm.Inputs.IsReservationCommittedUseArgs
        {
            Term = "string",
            ExpirationAt = "string",
            ExpirationPolicy = "string",
        },
        Profile = new Ibm.Inputs.IsReservationProfileArgs
        {
            Name = "string",
            ResourceType = "string",
            Href = "string",
        },
        Zone = "string",
        AffinityPolicy = "string",
        Name = "string",
        ResourceGroup = new Ibm.Inputs.IsReservationResourceGroupArgs
        {
            Id = "string",
            Href = "string",
            Name = "string",
        },
    });
    
    example, err := ibm.NewIsReservation(ctx, "isReservationResource", &ibm.IsReservationArgs{
    	Capacity: &ibm.IsReservationCapacityArgs{
    		Total:     pulumi.Float64(0),
    		Allocated: pulumi.Float64(0),
    		Available: pulumi.Float64(0),
    		Status:    pulumi.String("string"),
    		Used:      pulumi.Float64(0),
    	},
    	CommittedUse: &ibm.IsReservationCommittedUseArgs{
    		Term:             pulumi.String("string"),
    		ExpirationAt:     pulumi.String("string"),
    		ExpirationPolicy: pulumi.String("string"),
    	},
    	Profile: &ibm.IsReservationProfileArgs{
    		Name:         pulumi.String("string"),
    		ResourceType: pulumi.String("string"),
    		Href:         pulumi.String("string"),
    	},
    	Zone:           pulumi.String("string"),
    	AffinityPolicy: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	ResourceGroup: &ibm.IsReservationResourceGroupArgs{
    		Id:   pulumi.String("string"),
    		Href: pulumi.String("string"),
    		Name: pulumi.String("string"),
    	},
    })
    
    var isReservationResource = new IsReservation("isReservationResource", IsReservationArgs.builder()
        .capacity(IsReservationCapacityArgs.builder()
            .total(0)
            .allocated(0)
            .available(0)
            .status("string")
            .used(0)
            .build())
        .committedUse(IsReservationCommittedUseArgs.builder()
            .term("string")
            .expirationAt("string")
            .expirationPolicy("string")
            .build())
        .profile(IsReservationProfileArgs.builder()
            .name("string")
            .resourceType("string")
            .href("string")
            .build())
        .zone("string")
        .affinityPolicy("string")
        .name("string")
        .resourceGroup(IsReservationResourceGroupArgs.builder()
            .id("string")
            .href("string")
            .name("string")
            .build())
        .build());
    
    is_reservation_resource = ibm.IsReservation("isReservationResource",
        capacity={
            "total": 0,
            "allocated": 0,
            "available": 0,
            "status": "string",
            "used": 0,
        },
        committed_use={
            "term": "string",
            "expiration_at": "string",
            "expiration_policy": "string",
        },
        profile={
            "name": "string",
            "resource_type": "string",
            "href": "string",
        },
        zone="string",
        affinity_policy="string",
        name="string",
        resource_group={
            "id": "string",
            "href": "string",
            "name": "string",
        })
    
    const isReservationResource = new ibm.IsReservation("isReservationResource", {
        capacity: {
            total: 0,
            allocated: 0,
            available: 0,
            status: "string",
            used: 0,
        },
        committedUse: {
            term: "string",
            expirationAt: "string",
            expirationPolicy: "string",
        },
        profile: {
            name: "string",
            resourceType: "string",
            href: "string",
        },
        zone: "string",
        affinityPolicy: "string",
        name: "string",
        resourceGroup: {
            id: "string",
            href: "string",
            name: "string",
        },
    });
    
    type: ibm:IsReservation
    properties:
        affinityPolicy: string
        capacity:
            allocated: 0
            available: 0
            status: string
            total: 0
            used: 0
        committedUse:
            expirationAt: string
            expirationPolicy: string
            term: string
        name: string
        profile:
            href: string
            name: string
            resourceType: string
        resourceGroup:
            href: string
            id: string
            name: string
        zone: string
    

    IsReservation Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IsReservation resource accepts the following input properties:

    Capacity IsReservationCapacity

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    CommittedUse IsReservationCommittedUse

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    Profile IsReservationProfile

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    Zone string
    The zone to use for this reservation.
    AffinityPolicy string
    affinity policy to use for this reservation. [ restricted ]
    Name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    ResourceGroup IsReservationResourceGroup

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    Capacity IsReservationCapacityArgs

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    CommittedUse IsReservationCommittedUseArgs

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    Profile IsReservationProfileArgs

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    Zone string
    The zone to use for this reservation.
    AffinityPolicy string
    affinity policy to use for this reservation. [ restricted ]
    Name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    ResourceGroup IsReservationResourceGroupArgs

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    capacity IsReservationCapacity

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committedUse IsReservationCommittedUse

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    profile IsReservationProfile

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    zone String
    The zone to use for this reservation.
    affinityPolicy String
    affinity policy to use for this reservation. [ restricted ]
    name String
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resourceGroup IsReservationResourceGroup

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    capacity IsReservationCapacity

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committedUse IsReservationCommittedUse

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    profile IsReservationProfile

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    zone string
    The zone to use for this reservation.
    affinityPolicy string
    affinity policy to use for this reservation. [ restricted ]
    name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resourceGroup IsReservationResourceGroup

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    capacity IsReservationCapacityArgs

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committed_use IsReservationCommittedUseArgs

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    profile IsReservationProfileArgs

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    zone str
    The zone to use for this reservation.
    affinity_policy str
    affinity policy to use for this reservation. [ restricted ]
    name str
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resource_group IsReservationResourceGroupArgs

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    capacity Property Map

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committedUse Property Map

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    profile Property Map

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    zone String
    The zone to use for this reservation.
    affinityPolicy String
    affinity policy to use for this reservation. [ restricted ]
    name String
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resourceGroup Property Map

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    Outputs

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

    CreatedAt string
    (Timestamp) The date and time that the reservation was created.
    Crn string
    (String) The CRN for this reservation.
    Href string
    (String) The URL for this resource group.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String) The lifecycle state of this reservation.
    ResourceType string
    (String) The resource type.
    Status string
    (String) The status of the reservation.
    StatusReasons List<IsReservationStatusReason>
    (List) The reasons for the current status (if any).
    CreatedAt string
    (Timestamp) The date and time that the reservation was created.
    Crn string
    (String) The CRN for this reservation.
    Href string
    (String) The URL for this resource group.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String) The lifecycle state of this reservation.
    ResourceType string
    (String) The resource type.
    Status string
    (String) The status of the reservation.
    StatusReasons []IsReservationStatusReason
    (List) The reasons for the current status (if any).
    createdAt String
    (Timestamp) The date and time that the reservation was created.
    crn String
    (String) The CRN for this reservation.
    href String
    (String) The URL for this resource group.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String) The lifecycle state of this reservation.
    resourceType String
    (String) The resource type.
    status String
    (String) The status of the reservation.
    statusReasons List<IsReservationStatusReason>
    (List) The reasons for the current status (if any).
    createdAt string
    (Timestamp) The date and time that the reservation was created.
    crn string
    (String) The CRN for this reservation.
    href string
    (String) The URL for this resource group.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    (String) The lifecycle state of this reservation.
    resourceType string
    (String) The resource type.
    status string
    (String) The status of the reservation.
    statusReasons IsReservationStatusReason[]
    (List) The reasons for the current status (if any).
    created_at str
    (Timestamp) The date and time that the reservation was created.
    crn str
    (String) The CRN for this reservation.
    href str
    (String) The URL for this resource group.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    (String) The lifecycle state of this reservation.
    resource_type str
    (String) The resource type.
    status str
    (String) The status of the reservation.
    status_reasons Sequence[IsReservationStatusReason]
    (List) The reasons for the current status (if any).
    createdAt String
    (Timestamp) The date and time that the reservation was created.
    crn String
    (String) The CRN for this reservation.
    href String
    (String) The URL for this resource group.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String) The lifecycle state of this reservation.
    resourceType String
    (String) The resource type.
    status String
    (String) The status of the reservation.
    statusReasons List<Property Map>
    (List) The reasons for the current status (if any).

    Look up Existing IsReservation Resource

    Get an existing IsReservation 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?: IsReservationState, opts?: CustomResourceOptions): IsReservation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            affinity_policy: Optional[str] = None,
            capacity: Optional[IsReservationCapacityArgs] = None,
            committed_use: Optional[IsReservationCommittedUseArgs] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            lifecycle_state: Optional[str] = None,
            name: Optional[str] = None,
            profile: Optional[IsReservationProfileArgs] = None,
            resource_group: Optional[IsReservationResourceGroupArgs] = None,
            resource_type: Optional[str] = None,
            status: Optional[str] = None,
            status_reasons: Optional[Sequence[IsReservationStatusReasonArgs]] = None,
            zone: Optional[str] = None) -> IsReservation
    func GetIsReservation(ctx *Context, name string, id IDInput, state *IsReservationState, opts ...ResourceOption) (*IsReservation, error)
    public static IsReservation Get(string name, Input<string> id, IsReservationState? state, CustomResourceOptions? opts = null)
    public static IsReservation get(String name, Output<String> id, IsReservationState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsReservation    get:      id: ${id}
    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:
    AffinityPolicy string
    affinity policy to use for this reservation. [ restricted ]
    Capacity IsReservationCapacity

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    CommittedUse IsReservationCommittedUse

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    CreatedAt string
    (Timestamp) The date and time that the reservation was created.
    Crn string
    (String) The CRN for this reservation.
    Href string
    (String) The URL for this resource group.
    LifecycleState string
    (String) The lifecycle state of this reservation.
    Name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    Profile IsReservationProfile

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    ResourceGroup IsReservationResourceGroup

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    ResourceType string
    (String) The resource type.
    Status string
    (String) The status of the reservation.
    StatusReasons List<IsReservationStatusReason>
    (List) The reasons for the current status (if any).
    Zone string
    The zone to use for this reservation.
    AffinityPolicy string
    affinity policy to use for this reservation. [ restricted ]
    Capacity IsReservationCapacityArgs

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    CommittedUse IsReservationCommittedUseArgs

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    CreatedAt string
    (Timestamp) The date and time that the reservation was created.
    Crn string
    (String) The CRN for this reservation.
    Href string
    (String) The URL for this resource group.
    LifecycleState string
    (String) The lifecycle state of this reservation.
    Name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    Profile IsReservationProfileArgs

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    ResourceGroup IsReservationResourceGroupArgs

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    ResourceType string
    (String) The resource type.
    Status string
    (String) The status of the reservation.
    StatusReasons []IsReservationStatusReasonArgs
    (List) The reasons for the current status (if any).
    Zone string
    The zone to use for this reservation.
    affinityPolicy String
    affinity policy to use for this reservation. [ restricted ]
    capacity IsReservationCapacity

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committedUse IsReservationCommittedUse

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    createdAt String
    (Timestamp) The date and time that the reservation was created.
    crn String
    (String) The CRN for this reservation.
    href String
    (String) The URL for this resource group.
    lifecycleState String
    (String) The lifecycle state of this reservation.
    name String
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    profile IsReservationProfile

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    resourceGroup IsReservationResourceGroup

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    resourceType String
    (String) The resource type.
    status String
    (String) The status of the reservation.
    statusReasons List<IsReservationStatusReason>
    (List) The reasons for the current status (if any).
    zone String
    The zone to use for this reservation.
    affinityPolicy string
    affinity policy to use for this reservation. [ restricted ]
    capacity IsReservationCapacity

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committedUse IsReservationCommittedUse

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    createdAt string
    (Timestamp) The date and time that the reservation was created.
    crn string
    (String) The CRN for this reservation.
    href string
    (String) The URL for this resource group.
    lifecycleState string
    (String) The lifecycle state of this reservation.
    name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    profile IsReservationProfile

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    resourceGroup IsReservationResourceGroup

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    resourceType string
    (String) The resource type.
    status string
    (String) The status of the reservation.
    statusReasons IsReservationStatusReason[]
    (List) The reasons for the current status (if any).
    zone string
    The zone to use for this reservation.
    affinity_policy str
    affinity policy to use for this reservation. [ restricted ]
    capacity IsReservationCapacityArgs

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committed_use IsReservationCommittedUseArgs

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    created_at str
    (Timestamp) The date and time that the reservation was created.
    crn str
    (String) The CRN for this reservation.
    href str
    (String) The URL for this resource group.
    lifecycle_state str
    (String) The lifecycle state of this reservation.
    name str
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    profile IsReservationProfileArgs

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    resource_group IsReservationResourceGroupArgs

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    resource_type str
    (String) The resource type.
    status str
    (String) The status of the reservation.
    status_reasons Sequence[IsReservationStatusReasonArgs]
    (List) The reasons for the current status (if any).
    zone str
    The zone to use for this reservation.
    affinityPolicy String
    affinity policy to use for this reservation. [ restricted ]
    capacity Property Map

    The capacity reservation configuration to use.

    Nested scheme for capacity:

    committedUse Property Map

    The committed use configuration to use for this reservation.

    Nested scheme for committed_use:

    createdAt String
    (Timestamp) The date and time that the reservation was created.
    crn String
    (String) The CRN for this reservation.
    href String
    (String) The URL for this resource group.
    lifecycleState String
    (String) The lifecycle state of this reservation.
    name String
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    profile Property Map

    The virtual server instance profile to use for this reservation.

    Nested scheme for profile:

    resourceGroup Property Map

    The resource group to use. If unspecified, the account's default resource group will be used.

    Nested scheme for resource_group:

    resourceType String
    (String) The resource type.
    status String
    (String) The status of the reservation.
    statusReasons List<Property Map>
    (List) The reasons for the current status (if any).
    zone String
    The zone to use for this reservation.

    Supporting Types

    IsReservationCapacity, IsReservationCapacityArgs

    Total double
    The total amount to use for this capacity reservation.
    Allocated double
    (Integer) The amount allocated to this capacity reservation.
    Available double
    (Integer) The amount of this capacity reservation available for new attachments.
    Status string
    (String) The status of the reservation.
    Used double
    (Integer) The amount of this capacity reservation used by existing attachments.
    Total float64
    The total amount to use for this capacity reservation.
    Allocated float64
    (Integer) The amount allocated to this capacity reservation.
    Available float64
    (Integer) The amount of this capacity reservation available for new attachments.
    Status string
    (String) The status of the reservation.
    Used float64
    (Integer) The amount of this capacity reservation used by existing attachments.
    total Double
    The total amount to use for this capacity reservation.
    allocated Double
    (Integer) The amount allocated to this capacity reservation.
    available Double
    (Integer) The amount of this capacity reservation available for new attachments.
    status String
    (String) The status of the reservation.
    used Double
    (Integer) The amount of this capacity reservation used by existing attachments.
    total number
    The total amount to use for this capacity reservation.
    allocated number
    (Integer) The amount allocated to this capacity reservation.
    available number
    (Integer) The amount of this capacity reservation available for new attachments.
    status string
    (String) The status of the reservation.
    used number
    (Integer) The amount of this capacity reservation used by existing attachments.
    total float
    The total amount to use for this capacity reservation.
    allocated float
    (Integer) The amount allocated to this capacity reservation.
    available float
    (Integer) The amount of this capacity reservation available for new attachments.
    status str
    (String) The status of the reservation.
    used float
    (Integer) The amount of this capacity reservation used by existing attachments.
    total Number
    The total amount to use for this capacity reservation.
    allocated Number
    (Integer) The amount allocated to this capacity reservation.
    available Number
    (Integer) The amount of this capacity reservation available for new attachments.
    status String
    (String) The status of the reservation.
    used Number
    (Integer) The amount of this capacity reservation used by existing attachments.

    IsReservationCommittedUse, IsReservationCommittedUseArgs

    Term string
    The term for this committed use reservation. [one_year, three_year]
    ExpirationAt string
    (Timestamp) The expiration date and time for this committed use reservation.
    ExpirationPolicy string

    The policy to apply when the committed use term expires. [release, renew]

    Note: release Release any available capacity and let the reservation expire. renew Renew for another term, provided the term remains listed in the reservation_terms for the profile. Otherwise, let the reservation expire.

    Term string
    The term for this committed use reservation. [one_year, three_year]
    ExpirationAt string
    (Timestamp) The expiration date and time for this committed use reservation.
    ExpirationPolicy string

    The policy to apply when the committed use term expires. [release, renew]

    Note: release Release any available capacity and let the reservation expire. renew Renew for another term, provided the term remains listed in the reservation_terms for the profile. Otherwise, let the reservation expire.

    term String
    The term for this committed use reservation. [one_year, three_year]
    expirationAt String
    (Timestamp) The expiration date and time for this committed use reservation.
    expirationPolicy String

    The policy to apply when the committed use term expires. [release, renew]

    Note: release Release any available capacity and let the reservation expire. renew Renew for another term, provided the term remains listed in the reservation_terms for the profile. Otherwise, let the reservation expire.

    term string
    The term for this committed use reservation. [one_year, three_year]
    expirationAt string
    (Timestamp) The expiration date and time for this committed use reservation.
    expirationPolicy string

    The policy to apply when the committed use term expires. [release, renew]

    Note: release Release any available capacity and let the reservation expire. renew Renew for another term, provided the term remains listed in the reservation_terms for the profile. Otherwise, let the reservation expire.

    term str
    The term for this committed use reservation. [one_year, three_year]
    expiration_at str
    (Timestamp) The expiration date and time for this committed use reservation.
    expiration_policy str

    The policy to apply when the committed use term expires. [release, renew]

    Note: release Release any available capacity and let the reservation expire. renew Renew for another term, provided the term remains listed in the reservation_terms for the profile. Otherwise, let the reservation expire.

    term String
    The term for this committed use reservation. [one_year, three_year]
    expirationAt String
    (Timestamp) The expiration date and time for this committed use reservation.
    expirationPolicy String

    The policy to apply when the committed use term expires. [release, renew]

    Note: release Release any available capacity and let the reservation expire. renew Renew for another term, provided the term remains listed in the reservation_terms for the profile. Otherwise, let the reservation expire.

    IsReservationProfile, IsReservationProfileArgs

    Name string
    The globally unique name of the profile.
    ResourceType string
    The resource type of the profile. [ instance_profile ]
    Href string
    (String) The URL for this resource group.
    Name string
    The globally unique name of the profile.
    ResourceType string
    The resource type of the profile. [ instance_profile ]
    Href string
    (String) The URL for this resource group.
    name String
    The globally unique name of the profile.
    resourceType String
    The resource type of the profile. [ instance_profile ]
    href String
    (String) The URL for this resource group.
    name string
    The globally unique name of the profile.
    resourceType string
    The resource type of the profile. [ instance_profile ]
    href string
    (String) The URL for this resource group.
    name str
    The globally unique name of the profile.
    resource_type str
    The resource type of the profile. [ instance_profile ]
    href str
    (String) The URL for this resource group.
    name String
    The globally unique name of the profile.
    resourceType String
    The resource type of the profile. [ instance_profile ]
    href String
    (String) The URL for this resource group.

    IsReservationResourceGroup, IsReservationResourceGroupArgs

    Id string
    The unique identifier for this resource group.
    Href string
    (String) The URL for this resource group.
    Name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    Id string
    The unique identifier for this resource group.
    Href string
    (String) The URL for this resource group.
    Name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    id String
    The unique identifier for this resource group.
    href String
    (String) The URL for this resource group.
    name String
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    id string
    The unique identifier for this resource group.
    href string
    (String) The URL for this resource group.
    name string
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    id str
    The unique identifier for this resource group.
    href str
    (String) The URL for this resource group.
    name str
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
    id String
    The unique identifier for this resource group.
    href String
    (String) The URL for this resource group.
    name String
    The name for this reservation. The name must not be used by another reservation in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.

    IsReservationStatusReason, IsReservationStatusReasonArgs

    Code string
    (String) A snake case string succinctly identifying the status reason.
    Message string
    (String) An explanation of the status reason.
    MoreInfo string
    (string) Link to documentation about this status reason
    Code string
    (String) A snake case string succinctly identifying the status reason.
    Message string
    (String) An explanation of the status reason.
    MoreInfo string
    (string) Link to documentation about this status reason
    code String
    (String) A snake case string succinctly identifying the status reason.
    message String
    (String) An explanation of the status reason.
    moreInfo String
    (string) Link to documentation about this status reason
    code string
    (String) A snake case string succinctly identifying the status reason.
    message string
    (String) An explanation of the status reason.
    moreInfo string
    (string) Link to documentation about this status reason
    code str
    (String) A snake case string succinctly identifying the status reason.
    message str
    (String) An explanation of the status reason.
    more_info str
    (string) Link to documentation about this status reason
    code String
    (String) A snake case string succinctly identifying the status reason.
    message String
    (String) An explanation of the status reason.
    moreInfo String
    (string) Link to documentation about this status reason

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud