ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsReservations
Explore with Pulumi AI
Using getIsReservations
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIsReservations(args: GetIsReservationsArgs, opts?: InvokeOptions): Promise<GetIsReservationsResult>
function getIsReservationsOutput(args: GetIsReservationsOutputArgs, opts?: InvokeOptions): Output<GetIsReservationsResult>
def get_is_reservations(id: Optional[str] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None,
zone_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsReservationsResult
def get_is_reservations_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group: Optional[pulumi.Input[str]] = None,
zone_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsReservationsResult]
func GetIsReservations(ctx *Context, args *GetIsReservationsArgs, opts ...InvokeOption) (*GetIsReservationsResult, error)
func GetIsReservationsOutput(ctx *Context, args *GetIsReservationsOutputArgs, opts ...InvokeOption) GetIsReservationsResultOutput
> Note: This function is named GetIsReservations
in the Go SDK.
public static class GetIsReservations
{
public static Task<GetIsReservationsResult> InvokeAsync(GetIsReservationsArgs args, InvokeOptions? opts = null)
public static Output<GetIsReservationsResult> Invoke(GetIsReservationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsReservationsResult> getIsReservations(GetIsReservationsArgs args, InvokeOptions options)
public static Output<GetIsReservationsResult> getIsReservations(GetIsReservationsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsReservations:getIsReservations
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- (String) The unique identifier for this resource group.
- Name string
- (String) The name for this resource group.
- Resource
Group string - The id of the resource group.
- Zone
Name string - The name of the zone.
- Id string
- (String) The unique identifier for this resource group.
- Name string
- (String) The name for this resource group.
- Resource
Group string - The id of the resource group.
- Zone
Name string - The name of the zone.
- id String
- (String) The unique identifier for this resource group.
- name String
- (String) The name for this resource group.
- resource
Group String - The id of the resource group.
- zone
Name String - The name of the zone.
- id string
- (String) The unique identifier for this resource group.
- name string
- (String) The name for this resource group.
- resource
Group string - The id of the resource group.
- zone
Name string - The name of the zone.
- id str
- (String) The unique identifier for this resource group.
- name str
- (String) The name for this resource group.
- resource_
group str - The id of the resource group.
- zone_
name str - The name of the zone.
- id String
- (String) The unique identifier for this resource group.
- name String
- (String) The name for this resource group.
- resource
Group String - The id of the resource group.
- zone
Name String - The name of the zone.
getIsReservations Result
The following output properties are available:
- Id string
- (String) The unique identifier for this resource group.
- Reservations
List<Get
Is Reservations Reservation> - (List) Collection of reservations
- Name string
- (String) The name for this resource group.
- Resource
Group string - (List) The resource group for this reservation.
- Zone
Name string
- Id string
- (String) The unique identifier for this resource group.
- Reservations
[]Get
Is Reservations Reservation - (List) Collection of reservations
- Name string
- (String) The name for this resource group.
- Resource
Group string - (List) The resource group for this reservation.
- Zone
Name string
- id String
- (String) The unique identifier for this resource group.
- reservations
List<Get
Is Reservations Reservation> - (List) Collection of reservations
- name String
- (String) The name for this resource group.
- resource
Group String - (List) The resource group for this reservation.
- zone
Name String
- id string
- (String) The unique identifier for this resource group.
- reservations
Get
Is Reservations Reservation[] - (List) Collection of reservations
- name string
- (String) The name for this resource group.
- resource
Group string - (List) The resource group for this reservation.
- zone
Name string
- id str
- (String) The unique identifier for this resource group.
- reservations
Sequence[Get
Is Reservations Reservation] - (List) Collection of reservations
- name str
- (String) The name for this resource group.
- resource_
group str - (List) The resource group for this reservation.
- zone_
name str
- id String
- (String) The unique identifier for this resource group.
- reservations List<Property Map>
- (List) Collection of reservations
- name String
- (String) The name for this resource group.
- resource
Group String - (List) The resource group for this reservation.
- zone
Name String
Supporting Types
GetIsReservationsReservation
- Affinity
Policy string - (String) The affinity policy to use for this reservation.
- Capacities
List<Get
Is Reservations Reservation Capacity> - (List) The capacity configuration for this reservation. If absent, this reservation has no assigned capacity.
- Committed
Uses List<GetIs Reservations Reservation Committed Use> - (List) The committed use configuration for this reservation. If absent, this reservation has no commitment for use.
- Created
At 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
- (String) The unique identifier for this resource group.
- Lifecycle
State string - (String) The lifecycle state of this reservation.
- Name string
- (String) The name for this resource group.
- Profiles
List<Get
Is Reservations Reservation Profile> - (List) The virtual server instance profile this reservation.
- Resource
Groups List<GetIs Reservations Reservation Resource Group> - The id of the resource group.
- Resource
Type string - (String) The resource type.
- Status string
- (String) The status of the reservation.
- Status
Reasons List<GetIs Reservations Reservation Status Reason> - (List) The reasons for the current status (if any).
- Zone string
- (String) The globally unique name for this zone.
- Affinity
Policy string - (String) The affinity policy to use for this reservation.
- Capacities
[]Get
Is Reservations Reservation Capacity - (List) The capacity configuration for this reservation. If absent, this reservation has no assigned capacity.
- Committed
Uses []GetIs Reservations Reservation Committed Use - (List) The committed use configuration for this reservation. If absent, this reservation has no commitment for use.
- Created
At 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
- (String) The unique identifier for this resource group.
- Lifecycle
State string - (String) The lifecycle state of this reservation.
- Name string
- (String) The name for this resource group.
- Profiles
[]Get
Is Reservations Reservation Profile - (List) The virtual server instance profile this reservation.
- Resource
Groups []GetIs Reservations Reservation Resource Group - The id of the resource group.
- Resource
Type string - (String) The resource type.
- Status string
- (String) The status of the reservation.
- Status
Reasons []GetIs Reservations Reservation Status Reason - (List) The reasons for the current status (if any).
- Zone string
- (String) The globally unique name for this zone.
- affinity
Policy String - (String) The affinity policy to use for this reservation.
- capacities
List<Get
Is Reservations Reservation Capacity> - (List) The capacity configuration for this reservation. If absent, this reservation has no assigned capacity.
- committed
Uses List<GetIs Reservations Reservation Committed Use> - (List) The committed use configuration for this reservation. If absent, this reservation has no commitment for use.
- created
At 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
- (String) The unique identifier for this resource group.
- lifecycle
State String - (String) The lifecycle state of this reservation.
- name String
- (String) The name for this resource group.
- profiles
List<Get
Is Reservations Reservation Profile> - (List) The virtual server instance profile this reservation.
- resource
Groups List<GetIs Reservations Reservation Resource Group> - The id of the resource group.
- resource
Type String - (String) The resource type.
- status String
- (String) The status of the reservation.
- status
Reasons List<GetIs Reservations Reservation Status Reason> - (List) The reasons for the current status (if any).
- zone String
- (String) The globally unique name for this zone.
- affinity
Policy string - (String) The affinity policy to use for this reservation.
- capacities
Get
Is Reservations Reservation Capacity[] - (List) The capacity configuration for this reservation. If absent, this reservation has no assigned capacity.
- committed
Uses GetIs Reservations Reservation Committed Use[] - (List) The committed use configuration for this reservation. If absent, this reservation has no commitment for use.
- created
At 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
- (String) The unique identifier for this resource group.
- lifecycle
State string - (String) The lifecycle state of this reservation.
- name string
- (String) The name for this resource group.
- profiles
Get
Is Reservations Reservation Profile[] - (List) The virtual server instance profile this reservation.
- resource
Groups GetIs Reservations Reservation Resource Group[] - The id of the resource group.
- resource
Type string - (String) The resource type.
- status string
- (String) The status of the reservation.
- status
Reasons GetIs Reservations Reservation Status Reason[] - (List) The reasons for the current status (if any).
- zone string
- (String) The globally unique name for this zone.
- affinity_
policy str - (String) The affinity policy to use for this reservation.
- capacities
Sequence[Get
Is Reservations Reservation Capacity] - (List) The capacity configuration for this reservation. If absent, this reservation has no assigned capacity.
- committed_
uses Sequence[GetIs Reservations Reservation Committed Use] - (List) The committed use configuration for this reservation. If absent, this reservation has no commitment for 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.
- id str
- (String) The unique identifier for this resource group.
- lifecycle_
state str - (String) The lifecycle state of this reservation.
- name str
- (String) The name for this resource group.
- profiles
Sequence[Get
Is Reservations Reservation Profile] - (List) The virtual server instance profile this reservation.
- resource_
groups Sequence[GetIs Reservations Reservation Resource Group] - The id of the resource group.
- resource_
type str - (String) The resource type.
- status str
- (String) The status of the reservation.
- status_
reasons Sequence[GetIs Reservations Reservation Status Reason] - (List) The reasons for the current status (if any).
- zone str
- (String) The globally unique name for this zone.
- affinity
Policy String - (String) The affinity policy to use for this reservation.
- capacities List<Property Map>
- (List) The capacity configuration for this reservation. If absent, this reservation has no assigned capacity.
- committed
Uses List<Property Map> - (List) The committed use configuration for this reservation. If absent, this reservation has no commitment for use.
- created
At 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
- (String) The unique identifier for this resource group.
- lifecycle
State String - (String) The lifecycle state of this reservation.
- name String
- (String) The name for this resource group.
- profiles List<Property Map>
- (List) The virtual server instance profile this reservation.
- resource
Groups List<Property Map> - The id of the resource group.
- resource
Type String - (String) The resource type.
- status String
- (String) The status of the reservation.
- status
Reasons List<Property Map> - (List) The reasons for the current status (if any).
- zone String
- (String) The globally unique name for this zone.
GetIsReservationsReservationCapacity
- 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.
- Total double
- (Integer) The total amount of this capacity reservation.
- Used double
- (Integer) The amount of this capacity reservation used by existing attachments.
- 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.
- Total float64
- (Integer) The total amount of this capacity reservation.
- Used float64
- (Integer) The amount of this capacity reservation used by existing attachments.
- 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.
- total Double
- (Integer) The total amount of this capacity reservation.
- used Double
- (Integer) The amount of this capacity reservation used by existing attachments.
- 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.
- total number
- (Integer) The total amount of this capacity reservation.
- used number
- (Integer) The amount of this capacity reservation used by existing attachments.
- 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.
- total float
- (Integer) The total amount of this capacity reservation.
- used float
- (Integer) The amount of this capacity reservation used by existing attachments.
- 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.
- total Number
- (Integer) The total amount of this capacity reservation.
- used Number
- (Integer) The amount of this capacity reservation used by existing attachments.
GetIsReservationsReservationCommittedUse
- Expiration
At string - (Timestamp) The expiration date and time for this committed use reservation.
- Expiration
Policy string - (String) The policy to apply when the committed use term expires.
- Term string
- (String) The term for this committed use reservation.
- Expiration
At string - (Timestamp) The expiration date and time for this committed use reservation.
- Expiration
Policy string - (String) The policy to apply when the committed use term expires.
- Term string
- (String) The term for this committed use reservation.
- expiration
At String - (Timestamp) The expiration date and time for this committed use reservation.
- expiration
Policy String - (String) The policy to apply when the committed use term expires.
- term String
- (String) The term for this committed use reservation.
- expiration
At string - (Timestamp) The expiration date and time for this committed use reservation.
- expiration
Policy string - (String) The policy to apply when the committed use term expires.
- term string
- (String) The term for this committed use reservation.
- expiration_
at str - (Timestamp) The expiration date and time for this committed use reservation.
- expiration_
policy str - (String) The policy to apply when the committed use term expires.
- term str
- (String) The term for this committed use reservation.
- expiration
At String - (Timestamp) The expiration date and time for this committed use reservation.
- expiration
Policy String - (String) The policy to apply when the committed use term expires.
- term String
- (String) The term for this committed use reservation.
GetIsReservationsReservationProfile
- Href string
- (String) The URL for this resource group.
- Name string
- (String) The name for this resource group.
- Resource
Type string - (String) The resource type.
- Href string
- (String) The URL for this resource group.
- Name string
- (String) The name for this resource group.
- Resource
Type string - (String) The resource type.
- href String
- (String) The URL for this resource group.
- name String
- (String) The name for this resource group.
- resource
Type String - (String) The resource type.
- href string
- (String) The URL for this resource group.
- name string
- (String) The name for this resource group.
- resource
Type string - (String) The resource type.
- href str
- (String) The URL for this resource group.
- name str
- (String) The name for this resource group.
- resource_
type str - (String) The resource type.
- href String
- (String) The URL for this resource group.
- name String
- (String) The name for this resource group.
- resource
Type String - (String) The resource type.
GetIsReservationsReservationResourceGroup
GetIsReservationsReservationStatusReason
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.