1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. getRegionCommitment

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.getRegionCommitment

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Returns the specified commitment resource.

Using getRegionCommitment

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 getRegionCommitment(args: GetRegionCommitmentArgs, opts?: InvokeOptions): Promise<GetRegionCommitmentResult>
function getRegionCommitmentOutput(args: GetRegionCommitmentOutputArgs, opts?: InvokeOptions): Output<GetRegionCommitmentResult>
Copy
def get_region_commitment(commitment: Optional[str] = None,
                          project: Optional[str] = None,
                          region: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetRegionCommitmentResult
def get_region_commitment_output(commitment: Optional[pulumi.Input[str]] = None,
                          project: Optional[pulumi.Input[str]] = None,
                          region: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetRegionCommitmentResult]
Copy
func LookupRegionCommitment(ctx *Context, args *LookupRegionCommitmentArgs, opts ...InvokeOption) (*LookupRegionCommitmentResult, error)
func LookupRegionCommitmentOutput(ctx *Context, args *LookupRegionCommitmentOutputArgs, opts ...InvokeOption) LookupRegionCommitmentResultOutput
Copy

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

public static class GetRegionCommitment 
{
    public static Task<GetRegionCommitmentResult> InvokeAsync(GetRegionCommitmentArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionCommitmentResult> Invoke(GetRegionCommitmentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRegionCommitmentResult> getRegionCommitment(GetRegionCommitmentArgs args, InvokeOptions options)
public static Output<GetRegionCommitmentResult> getRegionCommitment(GetRegionCommitmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:compute/alpha:getRegionCommitment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Commitment This property is required. string
Region This property is required. string
Project string
Commitment This property is required. string
Region This property is required. string
Project string
commitment This property is required. String
region This property is required. String
project String
commitment This property is required. string
region This property is required. string
project string
commitment This property is required. str
region This property is required. str
project str
commitment This property is required. String
region This property is required. String
project String

getRegionCommitment Result

The following output properties are available:

AutoRenew bool
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
Category string
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Description string
An optional description of this resource. Provide this property when you create the resource.
EndTimestamp string
Commitment end time in RFC3339 text format.
ExistingReservations List<string>
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
Kind string
Type of the resource. Always compute#commitment for commitments.
LicenseResource Pulumi.GoogleNative.Compute.Alpha.Outputs.LicenseResourceCommitmentResponse
The license specification required as part of a license commitment.
MergeSourceCommitments List<string>
List of source commitments to be merged into a new commitment.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Plan string
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
Region string
URL of the region where this commitment may be used.
Reservations List<Pulumi.GoogleNative.Compute.Alpha.Outputs.ReservationResponse>
List of create-on-create reseravtions for this commitment.
ResourceStatus Pulumi.GoogleNative.Compute.Alpha.Outputs.CommitmentResourceStatusResponse
Status information for Commitment resource.
Resources List<Pulumi.GoogleNative.Compute.Alpha.Outputs.ResourceCommitmentResponse>
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
SelfLink string
Server-defined URL for the resource.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
SplitSourceCommitment string
Source commitment to be split into a new commitment.
StartTimestamp string
Commitment start time in RFC3339 text format.
Status string
Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
StatusMessage string
An optional, human-readable explanation of the status.
Type string
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
AutoRenew bool
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
Category string
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Description string
An optional description of this resource. Provide this property when you create the resource.
EndTimestamp string
Commitment end time in RFC3339 text format.
ExistingReservations []string
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
Kind string
Type of the resource. Always compute#commitment for commitments.
LicenseResource LicenseResourceCommitmentResponse
The license specification required as part of a license commitment.
MergeSourceCommitments []string
List of source commitments to be merged into a new commitment.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Plan string
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
Region string
URL of the region where this commitment may be used.
Reservations []ReservationResponse
List of create-on-create reseravtions for this commitment.
ResourceStatus CommitmentResourceStatusResponse
Status information for Commitment resource.
Resources []ResourceCommitmentResponse
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
SelfLink string
Server-defined URL for the resource.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
SplitSourceCommitment string
Source commitment to be split into a new commitment.
StartTimestamp string
Commitment start time in RFC3339 text format.
Status string
Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
StatusMessage string
An optional, human-readable explanation of the status.
Type string
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
autoRenew Boolean
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
category String
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
creationTimestamp String
Creation timestamp in RFC3339 text format.
description String
An optional description of this resource. Provide this property when you create the resource.
endTimestamp String
Commitment end time in RFC3339 text format.
existingReservations List<String>
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
kind String
Type of the resource. Always compute#commitment for commitments.
licenseResource LicenseResourceCommitmentResponse
The license specification required as part of a license commitment.
mergeSourceCommitments List<String>
List of source commitments to be merged into a new commitment.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
plan String
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
region String
URL of the region where this commitment may be used.
reservations List<ReservationResponse>
List of create-on-create reseravtions for this commitment.
resourceStatus CommitmentResourceStatusResponse
Status information for Commitment resource.
resources List<ResourceCommitmentResponse>
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
selfLink String
Server-defined URL for the resource.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
splitSourceCommitment String
Source commitment to be split into a new commitment.
startTimestamp String
Commitment start time in RFC3339 text format.
status String
Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
statusMessage String
An optional, human-readable explanation of the status.
type String
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
autoRenew boolean
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
category string
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
creationTimestamp string
Creation timestamp in RFC3339 text format.
description string
An optional description of this resource. Provide this property when you create the resource.
endTimestamp string
Commitment end time in RFC3339 text format.
existingReservations string[]
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
kind string
Type of the resource. Always compute#commitment for commitments.
licenseResource LicenseResourceCommitmentResponse
The license specification required as part of a license commitment.
mergeSourceCommitments string[]
List of source commitments to be merged into a new commitment.
name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
plan string
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
region string
URL of the region where this commitment may be used.
reservations ReservationResponse[]
List of create-on-create reseravtions for this commitment.
resourceStatus CommitmentResourceStatusResponse
Status information for Commitment resource.
resources ResourceCommitmentResponse[]
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
selfLink string
Server-defined URL for the resource.
selfLinkWithId string
Server-defined URL for this resource with the resource id.
splitSourceCommitment string
Source commitment to be split into a new commitment.
startTimestamp string
Commitment start time in RFC3339 text format.
status string
Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
statusMessage string
An optional, human-readable explanation of the status.
type string
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
auto_renew bool
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
category str
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
creation_timestamp str
Creation timestamp in RFC3339 text format.
description str
An optional description of this resource. Provide this property when you create the resource.
end_timestamp str
Commitment end time in RFC3339 text format.
existing_reservations Sequence[str]
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
kind str
Type of the resource. Always compute#commitment for commitments.
license_resource LicenseResourceCommitmentResponse
The license specification required as part of a license commitment.
merge_source_commitments Sequence[str]
List of source commitments to be merged into a new commitment.
name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
plan str
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
region str
URL of the region where this commitment may be used.
reservations Sequence[ReservationResponse]
List of create-on-create reseravtions for this commitment.
resource_status CommitmentResourceStatusResponse
Status information for Commitment resource.
resources Sequence[ResourceCommitmentResponse]
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
self_link str
Server-defined URL for the resource.
self_link_with_id str
Server-defined URL for this resource with the resource id.
split_source_commitment str
Source commitment to be split into a new commitment.
start_timestamp str
Commitment start time in RFC3339 text format.
status str
Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
status_message str
An optional, human-readable explanation of the status.
type str
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
autoRenew Boolean
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
category String
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
creationTimestamp String
Creation timestamp in RFC3339 text format.
description String
An optional description of this resource. Provide this property when you create the resource.
endTimestamp String
Commitment end time in RFC3339 text format.
existingReservations List<String>
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
kind String
Type of the resource. Always compute#commitment for commitments.
licenseResource Property Map
The license specification required as part of a license commitment.
mergeSourceCommitments List<String>
List of source commitments to be merged into a new commitment.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
plan String
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
region String
URL of the region where this commitment may be used.
reservations List<Property Map>
List of create-on-create reseravtions for this commitment.
resourceStatus Property Map
Status information for Commitment resource.
resources List<Property Map>
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
selfLink String
Server-defined URL for the resource.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
splitSourceCommitment String
Source commitment to be split into a new commitment.
startTimestamp String
Commitment start time in RFC3339 text format.
status String
Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
statusMessage String
An optional, human-readable explanation of the status.
type String
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.

Supporting Types

AcceleratorConfigResponse

AcceleratorCount This property is required. int
The number of the guest accelerator cards exposed to this instance.
AcceleratorType This property is required. string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
AcceleratorCount This property is required. int
The number of the guest accelerator cards exposed to this instance.
AcceleratorType This property is required. string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount This property is required. Integer
The number of the guest accelerator cards exposed to this instance.
acceleratorType This property is required. String
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount This property is required. number
The number of the guest accelerator cards exposed to this instance.
acceleratorType This property is required. string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
accelerator_count This property is required. int
The number of the guest accelerator cards exposed to this instance.
accelerator_type This property is required. str
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount This property is required. Number
The number of the guest accelerator cards exposed to this instance.
acceleratorType This property is required. String
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.

AllocationAggregateReservationReservedResourceInfoAcceleratorResponse

AcceleratorCount This property is required. int
Number of accelerators of specified type.
AcceleratorType This property is required. string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
AcceleratorCount This property is required. int
Number of accelerators of specified type.
AcceleratorType This property is required. string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount This property is required. Integer
Number of accelerators of specified type.
acceleratorType This property is required. String
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount This property is required. number
Number of accelerators of specified type.
acceleratorType This property is required. string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
accelerator_count This property is required. int
Number of accelerators of specified type.
accelerator_type This property is required. str
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount This property is required. Number
Number of accelerators of specified type.
acceleratorType This property is required. String
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

AllocationAggregateReservationReservedResourceInfoResponse

Accelerator This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
Accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. Property Map
Properties of accelerator resources in this reservation.

AllocationAggregateReservationResponse

InUseResources This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoResponse>
[Output only] List of resources currently in use.
ReservedResources This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoResponse>
List of reserved resources (CPUs, memory, accelerators).
VmFamily This property is required. string
The VM family that all instances scheduled against this reservation must belong to.
WorkloadType This property is required. string
The workload type of the instances that will target this reservation.
InUseResources This property is required. []AllocationAggregateReservationReservedResourceInfoResponse
[Output only] List of resources currently in use.
ReservedResources This property is required. []AllocationAggregateReservationReservedResourceInfoResponse
List of reserved resources (CPUs, memory, accelerators).
VmFamily This property is required. string
The VM family that all instances scheduled against this reservation must belong to.
WorkloadType This property is required. string
The workload type of the instances that will target this reservation.
inUseResources This property is required. List<AllocationAggregateReservationReservedResourceInfoResponse>
[Output only] List of resources currently in use.
reservedResources This property is required. List<AllocationAggregateReservationReservedResourceInfoResponse>
List of reserved resources (CPUs, memory, accelerators).
vmFamily This property is required. String
The VM family that all instances scheduled against this reservation must belong to.
workloadType This property is required. String
The workload type of the instances that will target this reservation.
inUseResources This property is required. AllocationAggregateReservationReservedResourceInfoResponse[]
[Output only] List of resources currently in use.
reservedResources This property is required. AllocationAggregateReservationReservedResourceInfoResponse[]
List of reserved resources (CPUs, memory, accelerators).
vmFamily This property is required. string
The VM family that all instances scheduled against this reservation must belong to.
workloadType This property is required. string
The workload type of the instances that will target this reservation.
in_use_resources This property is required. Sequence[AllocationAggregateReservationReservedResourceInfoResponse]
[Output only] List of resources currently in use.
reserved_resources This property is required. Sequence[AllocationAggregateReservationReservedResourceInfoResponse]
List of reserved resources (CPUs, memory, accelerators).
vm_family This property is required. str
The VM family that all instances scheduled against this reservation must belong to.
workload_type This property is required. str
The workload type of the instances that will target this reservation.
inUseResources This property is required. List<Property Map>
[Output only] List of resources currently in use.
reservedResources This property is required. List<Property Map>
List of reserved resources (CPUs, memory, accelerators).
vmFamily This property is required. String
The VM family that all instances scheduled against this reservation must belong to.
workloadType This property is required. String
The workload type of the instances that will target this reservation.

AllocationResourceStatusResponse

SpecificSkuAllocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specificSkuAllocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specificSkuAllocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specific_sku_allocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specificSkuAllocation This property is required. Property Map
Allocation Properties of this reservation.

AllocationResourceStatusSpecificSKUAllocationResponse

SourceInstanceTemplateId This property is required. string
ID of the instance template used to populate reservation properties.
SourceInstanceTemplateId This property is required. string
ID of the instance template used to populate reservation properties.
sourceInstanceTemplateId This property is required. String
ID of the instance template used to populate reservation properties.
sourceInstanceTemplateId This property is required. string
ID of the instance template used to populate reservation properties.
source_instance_template_id This property is required. str
ID of the instance template used to populate reservation properties.
sourceInstanceTemplateId This property is required. String
ID of the instance template used to populate reservation properties.

AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse

DiskSizeGb This property is required. string
Specifies the size of the disk in base-2 GB.
Interface This property is required. string
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
DiskSizeGb This property is required. string
Specifies the size of the disk in base-2 GB.
Interface This property is required. string
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
diskSizeGb This property is required. String
Specifies the size of the disk in base-2 GB.
interface_ This property is required. String
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
diskSizeGb This property is required. string
Specifies the size of the disk in base-2 GB.
interface This property is required. string
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
disk_size_gb This property is required. str
Specifies the size of the disk in base-2 GB.
interface This property is required. str
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
diskSizeGb This property is required. String
Specifies the size of the disk in base-2 GB.
interface This property is required. String
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.

AllocationSpecificSKUAllocationReservedInstancePropertiesResponse

GuestAccelerators This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AcceleratorConfigResponse>
Specifies accelerator type and count.
LocalSsds This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
LocationHint This property is required. string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
MachineType This property is required. string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
MaintenanceFreezeDurationHours This property is required. int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
MaintenanceInterval This property is required. string
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
MinCpuPlatform This property is required. string
Minimum cpu platform the reservation.
GuestAccelerators This property is required. []AcceleratorConfigResponse
Specifies accelerator type and count.
LocalSsds This property is required. []AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
LocationHint This property is required. string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
MachineType This property is required. string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
MaintenanceFreezeDurationHours This property is required. int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
MaintenanceInterval This property is required. string
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
MinCpuPlatform This property is required. string
Minimum cpu platform the reservation.
guestAccelerators This property is required. List<AcceleratorConfigResponse>
Specifies accelerator type and count.
localSsds This property is required. List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint This property is required. String
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType This property is required. String
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours This property is required. Integer
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval This property is required. String
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform This property is required. String
Minimum cpu platform the reservation.
guestAccelerators This property is required. AcceleratorConfigResponse[]
Specifies accelerator type and count.
localSsds This property is required. AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse[]
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint This property is required. string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType This property is required. string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours This property is required. number
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval This property is required. string
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform This property is required. string
Minimum cpu platform the reservation.
guest_accelerators This property is required. Sequence[AcceleratorConfigResponse]
Specifies accelerator type and count.
local_ssds This property is required. Sequence[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
location_hint This property is required. str
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machine_type This property is required. str
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenance_freeze_duration_hours This property is required. int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenance_interval This property is required. str
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
min_cpu_platform This property is required. str
Minimum cpu platform the reservation.
guestAccelerators This property is required. List<Property Map>
Specifies accelerator type and count.
localSsds This property is required. List<Property Map>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint This property is required. String
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType This property is required. String
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours This property is required. Number
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval This property is required. String
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform This property is required. String
Minimum cpu platform the reservation.

AllocationSpecificSKUReservationResponse

AssuredCount This property is required. string
Indicates how many instances are actually usable currently.
Count This property is required. string
Specifies the number of resources that are allocated.
InUseCount This property is required. string
Indicates how many instances are in use.
InstanceProperties This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
SourceInstanceTemplate This property is required. string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
AssuredCount This property is required. string
Indicates how many instances are actually usable currently.
Count This property is required. string
Specifies the number of resources that are allocated.
InUseCount This property is required. string
Indicates how many instances are in use.
InstanceProperties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
SourceInstanceTemplate This property is required. string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assuredCount This property is required. String
Indicates how many instances are actually usable currently.
count This property is required. String
Specifies the number of resources that are allocated.
inUseCount This property is required. String
Indicates how many instances are in use.
instanceProperties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
sourceInstanceTemplate This property is required. String
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assuredCount This property is required. string
Indicates how many instances are actually usable currently.
count This property is required. string
Specifies the number of resources that are allocated.
inUseCount This property is required. string
Indicates how many instances are in use.
instanceProperties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
sourceInstanceTemplate This property is required. string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assured_count This property is required. str
Indicates how many instances are actually usable currently.
count This property is required. str
Specifies the number of resources that are allocated.
in_use_count This property is required. str
Indicates how many instances are in use.
instance_properties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
source_instance_template This property is required. str
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assuredCount This property is required. String
Indicates how many instances are actually usable currently.
count This property is required. String
Specifies the number of resources that are allocated.
inUseCount This property is required. String
Indicates how many instances are in use.
instanceProperties This property is required. Property Map
The instance properties for the reservation.
sourceInstanceTemplate This property is required. String
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate

CommitmentResourceStatusCancellationInformationResponse

CanceledCommitment This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.MoneyResponse
An optional amount of CUDs canceled so far in the last 365 days.
CanceledCommitmentLastUpdatedTimestamp This property is required. string
An optional last update time of canceled_commitment. RFC3339 text format.
CancellationCap This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.MoneyResponse
An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
CancellationFee This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.MoneyResponse
An optional, cancellation fee.
CancellationFeeExpirationTimestamp This property is required. string
An optional, cancellation fee expiration time. RFC3339 text format.
CanceledCommitment This property is required. MoneyResponse
An optional amount of CUDs canceled so far in the last 365 days.
CanceledCommitmentLastUpdatedTimestamp This property is required. string
An optional last update time of canceled_commitment. RFC3339 text format.
CancellationCap This property is required. MoneyResponse
An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
CancellationFee This property is required. MoneyResponse
An optional, cancellation fee.
CancellationFeeExpirationTimestamp This property is required. string
An optional, cancellation fee expiration time. RFC3339 text format.
canceledCommitment This property is required. MoneyResponse
An optional amount of CUDs canceled so far in the last 365 days.
canceledCommitmentLastUpdatedTimestamp This property is required. String
An optional last update time of canceled_commitment. RFC3339 text format.
cancellationCap This property is required. MoneyResponse
An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
cancellationFee This property is required. MoneyResponse
An optional, cancellation fee.
cancellationFeeExpirationTimestamp This property is required. String
An optional, cancellation fee expiration time. RFC3339 text format.
canceledCommitment This property is required. MoneyResponse
An optional amount of CUDs canceled so far in the last 365 days.
canceledCommitmentLastUpdatedTimestamp This property is required. string
An optional last update time of canceled_commitment. RFC3339 text format.
cancellationCap This property is required. MoneyResponse
An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
cancellationFee This property is required. MoneyResponse
An optional, cancellation fee.
cancellationFeeExpirationTimestamp This property is required. string
An optional, cancellation fee expiration time. RFC3339 text format.
canceled_commitment This property is required. MoneyResponse
An optional amount of CUDs canceled so far in the last 365 days.
canceled_commitment_last_updated_timestamp This property is required. str
An optional last update time of canceled_commitment. RFC3339 text format.
cancellation_cap This property is required. MoneyResponse
An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
cancellation_fee This property is required. MoneyResponse
An optional, cancellation fee.
cancellation_fee_expiration_timestamp This property is required. str
An optional, cancellation fee expiration time. RFC3339 text format.
canceledCommitment This property is required. Property Map
An optional amount of CUDs canceled so far in the last 365 days.
canceledCommitmentLastUpdatedTimestamp This property is required. String
An optional last update time of canceled_commitment. RFC3339 text format.
cancellationCap This property is required. Property Map
An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
cancellationFee This property is required. Property Map
An optional, cancellation fee.
cancellationFeeExpirationTimestamp This property is required. String
An optional, cancellation fee expiration time. RFC3339 text format.

CommitmentResourceStatusResponse

CancellationInformation This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.CommitmentResourceStatusCancellationInformationResponse
An optional, contains all the needed information of cancellation.
CancellationInformation This property is required. CommitmentResourceStatusCancellationInformationResponse
An optional, contains all the needed information of cancellation.
cancellationInformation This property is required. CommitmentResourceStatusCancellationInformationResponse
An optional, contains all the needed information of cancellation.
cancellationInformation This property is required. CommitmentResourceStatusCancellationInformationResponse
An optional, contains all the needed information of cancellation.
cancellation_information This property is required. CommitmentResourceStatusCancellationInformationResponse
An optional, contains all the needed information of cancellation.
cancellationInformation This property is required. Property Map
An optional, contains all the needed information of cancellation.

DurationResponse

Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Integer
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. str
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

LicenseResourceCommitmentResponse

Amount This property is required. string
The number of licenses purchased.
CoresPerLicense This property is required. string
Specifies the core range of the instance for which this license applies.
License This property is required. string
Any applicable license URI.
Amount This property is required. string
The number of licenses purchased.
CoresPerLicense This property is required. string
Specifies the core range of the instance for which this license applies.
License This property is required. string
Any applicable license URI.
amount This property is required. String
The number of licenses purchased.
coresPerLicense This property is required. String
Specifies the core range of the instance for which this license applies.
license This property is required. String
Any applicable license URI.
amount This property is required. string
The number of licenses purchased.
coresPerLicense This property is required. string
Specifies the core range of the instance for which this license applies.
license This property is required. string
Any applicable license URI.
amount This property is required. str
The number of licenses purchased.
cores_per_license This property is required. str
Specifies the core range of the instance for which this license applies.
license This property is required. str
Any applicable license URI.
amount This property is required. String
The number of licenses purchased.
coresPerLicense This property is required. String
Specifies the core range of the instance for which this license applies.
license This property is required. String
Any applicable license URI.

MoneyResponse

CurrencyCode This property is required. string
The three-letter currency code defined in ISO 4217.
Nanos This property is required. int
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
Units This property is required. string
The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
CurrencyCode This property is required. string
The three-letter currency code defined in ISO 4217.
Nanos This property is required. int
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
Units This property is required. string
The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
currencyCode This property is required. String
The three-letter currency code defined in ISO 4217.
nanos This property is required. Integer
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
units This property is required. String
The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
currencyCode This property is required. string
The three-letter currency code defined in ISO 4217.
nanos This property is required. number
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
units This property is required. string
The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
currency_code This property is required. str
The three-letter currency code defined in ISO 4217.
nanos This property is required. int
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
units This property is required. str
The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.
currencyCode This property is required. String
The three-letter currency code defined in ISO 4217.
nanos This property is required. Number
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
units This property is required. String
The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

ReservationResponse

AggregateReservation This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationResponse
Reservation for aggregated resources, providing shape flexibility.
Commitment This property is required. string
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
CreationTimestamp This property is required. string
Creation timestamp in RFC3339 text format.
DeleteAfterDuration This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.DurationResponse
Duration time relative to reservation creation when GCE will automatically delete this resource.
DeleteAtTime This property is required. string
Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
Kind This property is required. string
Type of the resource. Always compute#reservations for reservations.
Name This property is required. string
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
ResourcePolicies This property is required. Dictionary<string, string>
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
ResourceStatus This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationResourceStatusResponse
Status information for Reservation resource.
SatisfiesPzs This property is required. bool
Reserved for future use.
SelfLink This property is required. string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId This property is required. string
Server-defined URL for this resource with the resource id.
ShareSettings This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.ShareSettingsResponse
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
SpecificReservation This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUReservationResponse
Reservation for instances with specific machine shapes.
SpecificReservationRequired This property is required. bool
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.
Status This property is required. string
The status of the reservation.
Zone This property is required. string
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
AggregateReservation This property is required. AllocationAggregateReservationResponse
Reservation for aggregated resources, providing shape flexibility.
Commitment This property is required. string
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
CreationTimestamp This property is required. string
Creation timestamp in RFC3339 text format.
DeleteAfterDuration This property is required. DurationResponse
Duration time relative to reservation creation when GCE will automatically delete this resource.
DeleteAtTime This property is required. string
Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
Kind This property is required. string
Type of the resource. Always compute#reservations for reservations.
Name This property is required. string
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
ResourcePolicies This property is required. map[string]string
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
ResourceStatus This property is required. AllocationResourceStatusResponse
Status information for Reservation resource.
SatisfiesPzs This property is required. bool
Reserved for future use.
SelfLink This property is required. string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId This property is required. string
Server-defined URL for this resource with the resource id.
ShareSettings This property is required. ShareSettingsResponse
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
SpecificReservation This property is required. AllocationSpecificSKUReservationResponse
Reservation for instances with specific machine shapes.
SpecificReservationRequired This property is required. bool
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.
Status This property is required. string
The status of the reservation.
Zone This property is required. string
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
aggregateReservation This property is required. AllocationAggregateReservationResponse
Reservation for aggregated resources, providing shape flexibility.
commitment This property is required. String
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
creationTimestamp This property is required. String
Creation timestamp in RFC3339 text format.
deleteAfterDuration This property is required. DurationResponse
Duration time relative to reservation creation when GCE will automatically delete this resource.
deleteAtTime This property is required. String
Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
kind This property is required. String
Type of the resource. Always compute#reservations for reservations.
name This property is required. String
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
resourcePolicies This property is required. Map<String,String>
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
resourceStatus This property is required. AllocationResourceStatusResponse
Status information for Reservation resource.
satisfiesPzs This property is required. Boolean
Reserved for future use.
selfLink This property is required. String
Server-defined fully-qualified URL for this resource.
selfLinkWithId This property is required. String
Server-defined URL for this resource with the resource id.
shareSettings This property is required. ShareSettingsResponse
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specificReservation This property is required. AllocationSpecificSKUReservationResponse
Reservation for instances with specific machine shapes.
specificReservationRequired This property is required. Boolean
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.
status This property is required. String
The status of the reservation.
zone This property is required. String
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
aggregateReservation This property is required. AllocationAggregateReservationResponse
Reservation for aggregated resources, providing shape flexibility.
commitment This property is required. string
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
creationTimestamp This property is required. string
Creation timestamp in RFC3339 text format.
deleteAfterDuration This property is required. DurationResponse
Duration time relative to reservation creation when GCE will automatically delete this resource.
deleteAtTime This property is required. string
Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.
description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
kind This property is required. string
Type of the resource. Always compute#reservations for reservations.
name This property is required. string
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
resourcePolicies This property is required. {[key: string]: string}
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
resourceStatus This property is required. AllocationResourceStatusResponse
Status information for Reservation resource.
satisfiesPzs This property is required. boolean
Reserved for future use.
selfLink This property is required. string
Server-defined fully-qualified URL for this resource.
selfLinkWithId This property is required. string
Server-defined URL for this resource with the resource id.
shareSettings This property is required. ShareSettingsResponse
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specificReservation This property is required. AllocationSpecificSKUReservationResponse
Reservation for instances with specific machine shapes.
specificReservationRequired This property is required. boolean
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.
status This property is required. string
The status of the reservation.
zone This property is required. string
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
aggregate_reservation This property is required. AllocationAggregateReservationResponse
Reservation for aggregated resources, providing shape flexibility.
commitment This property is required. str
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
creation_timestamp This property is required. str
Creation timestamp in RFC3339 text format.
delete_after_duration This property is required. DurationResponse
Duration time relative to reservation creation when GCE will automatically delete this resource.
delete_at_time This property is required. str
Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.
description This property is required. str
An optional description of this resource. Provide this property when you create the resource.
kind This property is required. str
Type of the resource. Always compute#reservations for reservations.
name This property is required. str
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
resource_policies This property is required. Mapping[str, str]
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
resource_status This property is required. AllocationResourceStatusResponse
Status information for Reservation resource.
satisfies_pzs This property is required. bool
Reserved for future use.
self_link This property is required. str
Server-defined fully-qualified URL for this resource.
self_link_with_id This property is required. str
Server-defined URL for this resource with the resource id.
share_settings This property is required. ShareSettingsResponse
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specific_reservation This property is required. AllocationSpecificSKUReservationResponse
Reservation for instances with specific machine shapes.
specific_reservation_required This property is required. bool
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.
status This property is required. str
The status of the reservation.
zone This property is required. str
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
aggregateReservation This property is required. Property Map
Reservation for aggregated resources, providing shape flexibility.
commitment This property is required. String
Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
creationTimestamp This property is required. String
Creation timestamp in RFC3339 text format.
deleteAfterDuration This property is required. Property Map
Duration time relative to reservation creation when GCE will automatically delete this resource.
deleteAtTime This property is required. String
Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented in RFC3339 text format.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
kind This property is required. String
Type of the resource. Always compute#reservations for reservations.
name This property is required. String
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
resourcePolicies This property is required. Map<String>
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
resourceStatus This property is required. Property Map
Status information for Reservation resource.
satisfiesPzs This property is required. Boolean
Reserved for future use.
selfLink This property is required. String
Server-defined fully-qualified URL for this resource.
selfLinkWithId This property is required. String
Server-defined URL for this resource with the resource id.
shareSettings This property is required. Property Map
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specificReservation This property is required. Property Map
Reservation for instances with specific machine shapes.
specificReservationRequired This property is required. Boolean
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.
status This property is required. String
The status of the reservation.
zone This property is required. String
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.

ResourceCommitmentResponse

AcceleratorType This property is required. string
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
Amount This property is required. string
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
Type This property is required. string
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
AcceleratorType This property is required. string
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
Amount This property is required. string
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
Type This property is required. string
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
acceleratorType This property is required. String
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
amount This property is required. String
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
type This property is required. String
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
acceleratorType This property is required. string
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
amount This property is required. string
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
type This property is required. string
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
accelerator_type This property is required. str
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
amount This property is required. str
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
type This property is required. str
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
acceleratorType This property is required. String
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
amount This property is required. String
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
type This property is required. String
Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.

ShareSettingsResponse

FolderMap This property is required. Dictionary<string, string>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
ProjectMap This property is required. Dictionary<string, string>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Projects This property is required. List<string>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
ShareType This property is required. string
Type of sharing for this shared-reservation
FolderMap This property is required. map[string]string
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
ProjectMap This property is required. map[string]string
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Projects This property is required. []string
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
ShareType This property is required. string
Type of sharing for this shared-reservation
folderMap This property is required. Map<String,String>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap This property is required. Map<String,String>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. List<String>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType This property is required. String
Type of sharing for this shared-reservation
folderMap This property is required. {[key: string]: string}
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap This property is required. {[key: string]: string}
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. string[]
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType This property is required. string
Type of sharing for this shared-reservation
folder_map This property is required. Mapping[str, str]
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
project_map This property is required. Mapping[str, str]
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. Sequence[str]
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
share_type This property is required. str
Type of sharing for this shared-reservation
folderMap This property is required. Map<String>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap This property is required. Map<String>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. List<String>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType This property is required. String
Type of sharing for this shared-reservation

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi