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/v1.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>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]func LookupRegionCommitment(ctx *Context, args *LookupRegionCommitmentArgs, opts ...InvokeOption) (*LookupRegionCommitmentResult, error)
func LookupRegionCommitmentOutput(ctx *Context, args *LookupRegionCommitmentOutputArgs, opts ...InvokeOption) LookupRegionCommitmentResultOutput> 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)
}public static CompletableFuture<GetRegionCommitmentResult> getRegionCommitment(GetRegionCommitmentArgs args, InvokeOptions options)
public static Output<GetRegionCommitmentResult> getRegionCommitment(GetRegionCommitmentArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/v1:getRegionCommitment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Commitment string
- Region string
- Project string
- Commitment string
- Region string
- Project string
- commitment String
- region String
- project String
- commitment string
- region string
- project string
- commitment str
- region str
- project str
- commitment String
- region 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.
- Kind string
- Type of the resource. Always compute#commitment for commitments.
- LicenseResource Pulumi.Google Native. Compute. V1. Outputs. License Resource Commitment Response 
- The license specification required as part of a license commitment.
- MergeSource List<string>Commitments 
- 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.Google Native. Compute. V1. Outputs. Reservation Response> 
- List of create-on-create reseravtions for this commitment.
- Resources
List<Pulumi.Google Native. Compute. V1. Outputs. Resource Commitment Response> 
- 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.
- SplitSource stringCommitment 
- 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.
- Kind string
- Type of the resource. Always compute#commitment for commitments.
- LicenseResource LicenseResource Commitment Response 
- The license specification required as part of a license commitment.
- MergeSource []stringCommitments 
- 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.
- Resources
[]ResourceCommitment Response 
- 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.
- SplitSource stringCommitment 
- 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.
- kind String
- Type of the resource. Always compute#commitment for commitments.
- licenseResource LicenseResource Commitment Response 
- The license specification required as part of a license commitment.
- mergeSource List<String>Commitments 
- 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.
- resources
List<ResourceCommitment Response> 
- 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.
- splitSource StringCommitment 
- 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.
- kind string
- Type of the resource. Always compute#commitment for commitments.
- licenseResource LicenseResource Commitment Response 
- The license specification required as part of a license commitment.
- mergeSource string[]Commitments 
- 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.
- resources
ResourceCommitment Response[] 
- 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.
- splitSource stringCommitment 
- 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.
- kind str
- Type of the resource. Always compute#commitment for commitments.
- license_resource LicenseResource Commitment Response 
- The license specification required as part of a license commitment.
- merge_source_ Sequence[str]commitments 
- 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.
- resources
Sequence[ResourceCommitment Response] 
- 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.
- split_source_ strcommitment 
- 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.
- kind String
- Type of the resource. Always compute#commitment for commitments.
- licenseResource Property Map
- The license specification required as part of a license commitment.
- mergeSource List<String>Commitments 
- 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.
- 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.
- splitSource StringCommitment 
- 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 int
- The number of the guest accelerator cards exposed to this instance.
- AcceleratorType 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 int
- The number of the guest accelerator cards exposed to this instance.
- AcceleratorType 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 Integer
- The number of the guest accelerator cards exposed to this instance.
- acceleratorType 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 number
- The number of the guest accelerator cards exposed to this instance.
- acceleratorType 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 int
- The number of the guest accelerator cards exposed to this instance.
- accelerator_type 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 Number
- The number of the guest accelerator cards exposed to this instance.
- acceleratorType 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.
AllocationResourceStatusResponse   
- SpecificSku Pulumi.Allocation Google Native. Compute. V1. Inputs. Allocation Resource Status Specific SKUAllocation Response 
- Allocation Properties of this reservation.
- SpecificSku AllocationAllocation Resource Status Specific SKUAllocation Response 
- Allocation Properties of this reservation.
- specificSku AllocationAllocation Resource Status Specific SKUAllocation Response 
- Allocation Properties of this reservation.
- specificSku AllocationAllocation Resource Status Specific SKUAllocation Response 
- Allocation Properties of this reservation.
- specific_sku_ Allocationallocation Resource Status Specific SKUAllocation Response 
- Allocation Properties of this reservation.
- specificSku Property MapAllocation 
- Allocation Properties of this reservation.
AllocationResourceStatusSpecificSKUAllocationResponse     
- SourceInstance stringTemplate Id 
- ID of the instance template used to populate reservation properties.
- SourceInstance stringTemplate Id 
- ID of the instance template used to populate reservation properties.
- sourceInstance StringTemplate Id 
- ID of the instance template used to populate reservation properties.
- sourceInstance stringTemplate Id 
- ID of the instance template used to populate reservation properties.
- source_instance_ strtemplate_ id 
- ID of the instance template used to populate reservation properties.
- sourceInstance StringTemplate Id 
- ID of the instance template used to populate reservation properties.
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse        
- DiskSize stringGb 
- Specifies the size of the disk in base-2 GB.
- Interface 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.
- DiskSize stringGb 
- Specifies the size of the disk in base-2 GB.
- Interface 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.
- diskSize StringGb 
- Specifies the size of the disk in base-2 GB.
- interface_ 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.
- diskSize stringGb 
- Specifies the size of the disk in base-2 GB.
- interface 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_ strgb 
- Specifies the size of the disk in base-2 GB.
- interface 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.
- diskSize StringGb 
- Specifies the size of the disk in base-2 GB.
- interface 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 List<Pulumi.Google Native. Compute. V1. Inputs. Accelerator Config Response> 
- Specifies accelerator type and count.
- LocalSsds List<Pulumi.Google Native. Compute. V1. Inputs. Allocation Specific SKUAllocation Allocated Instance Properties Reserved Disk Response> 
- Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- LocationHint 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 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.
- MinCpu stringPlatform 
- Minimum cpu platform the reservation.
- GuestAccelerators []AcceleratorConfig Response 
- Specifies accelerator type and count.
- LocalSsds []AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk Response 
- Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- LocationHint 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 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.
- MinCpu stringPlatform 
- Minimum cpu platform the reservation.
- guestAccelerators List<AcceleratorConfig Response> 
- Specifies accelerator type and count.
- localSsds List<AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk Response> 
- Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- locationHint 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 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.
- minCpu StringPlatform 
- Minimum cpu platform the reservation.
- guestAccelerators AcceleratorConfig Response[] 
- Specifies accelerator type and count.
- localSsds AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk Response[] 
- Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- locationHint 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 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.
- minCpu stringPlatform 
- Minimum cpu platform the reservation.
- guest_accelerators Sequence[AcceleratorConfig Response] 
- Specifies accelerator type and count.
- local_ssds Sequence[AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk Response] 
- Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- location_hint 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 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.
- min_cpu_ strplatform 
- Minimum cpu platform the reservation.
- guestAccelerators List<Property Map>
- Specifies accelerator type and count.
- localSsds List<Property Map>
- Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- locationHint 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 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.
- minCpu StringPlatform 
- Minimum cpu platform the reservation.
AllocationSpecificSKUReservationResponse   
- AssuredCount string
- Indicates how many instances are actually usable currently.
- Count string
- Specifies the number of resources that are allocated.
- InUse stringCount 
- Indicates how many instances are in use.
- InstanceProperties Pulumi.Google Native. Compute. V1. Inputs. Allocation Specific SKUAllocation Reserved Instance Properties Response 
- The instance properties for the reservation.
- SourceInstance stringTemplate 
- 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 string
- Indicates how many instances are actually usable currently.
- Count string
- Specifies the number of resources that are allocated.
- InUse stringCount 
- Indicates how many instances are in use.
- InstanceProperties AllocationSpecific SKUAllocation Reserved Instance Properties Response 
- The instance properties for the reservation.
- SourceInstance stringTemplate 
- 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 String
- Indicates how many instances are actually usable currently.
- count String
- Specifies the number of resources that are allocated.
- inUse StringCount 
- Indicates how many instances are in use.
- instanceProperties AllocationSpecific SKUAllocation Reserved Instance Properties Response 
- The instance properties for the reservation.
- sourceInstance StringTemplate 
- 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 string
- Indicates how many instances are actually usable currently.
- count string
- Specifies the number of resources that are allocated.
- inUse stringCount 
- Indicates how many instances are in use.
- instanceProperties AllocationSpecific SKUAllocation Reserved Instance Properties Response 
- The instance properties for the reservation.
- sourceInstance stringTemplate 
- 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 str
- Indicates how many instances are actually usable currently.
- count str
- Specifies the number of resources that are allocated.
- in_use_ strcount 
- Indicates how many instances are in use.
- instance_properties AllocationSpecific SKUAllocation Reserved Instance Properties Response 
- The instance properties for the reservation.
- source_instance_ strtemplate 
- 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 String
- Indicates how many instances are actually usable currently.
- count String
- Specifies the number of resources that are allocated.
- inUse StringCount 
- Indicates how many instances are in use.
- instanceProperties Property Map
- The instance properties for the reservation.
- sourceInstance StringTemplate 
- 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
LicenseResourceCommitmentResponse   
- Amount string
- The number of licenses purchased.
- CoresPer stringLicense 
- Specifies the core range of the instance for which this license applies.
- License string
- Any applicable license URI.
- Amount string
- The number of licenses purchased.
- CoresPer stringLicense 
- Specifies the core range of the instance for which this license applies.
- License string
- Any applicable license URI.
- amount String
- The number of licenses purchased.
- coresPer StringLicense 
- Specifies the core range of the instance for which this license applies.
- license String
- Any applicable license URI.
- amount string
- The number of licenses purchased.
- coresPer stringLicense 
- Specifies the core range of the instance for which this license applies.
- license string
- Any applicable license URI.
- amount str
- The number of licenses purchased.
- cores_per_ strlicense 
- Specifies the core range of the instance for which this license applies.
- license str
- Any applicable license URI.
- amount String
- The number of licenses purchased.
- coresPer StringLicense 
- Specifies the core range of the instance for which this license applies.
- license String
- Any applicable license URI.
ReservationResponse 
- Commitment string
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Kind string
- Type of the resource. Always compute#reservations for reservations.
- Name 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 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 Pulumi.Google Native. Compute. V1. Inputs. Allocation Resource Status Response 
- Status information for Reservation resource.
- SatisfiesPzs bool
- Reserved for future use.
- SelfLink string
- Server-defined fully-qualified URL for this resource.
- 
Pulumi.Google Native. Compute. V1. Inputs. Share Settings Response 
- 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 Pulumi.Google Native. Compute. V1. Inputs. Allocation Specific SKUReservation Response 
- Reservation for instances with specific machine shapes.
- SpecificReservation boolRequired 
- 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 string
- The status of the reservation.
- Zone string
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
- Commitment string
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Kind string
- Type of the resource. Always compute#reservations for reservations.
- Name 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 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 AllocationResource Status Response 
- Status information for Reservation resource.
- SatisfiesPzs bool
- Reserved for future use.
- SelfLink string
- Server-defined fully-qualified URL for this resource.
- 
ShareSettings Response 
- 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 AllocationSpecific SKUReservation Response 
- Reservation for instances with specific machine shapes.
- SpecificReservation boolRequired 
- 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 string
- The status of the reservation.
- Zone string
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
- commitment String
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- kind String
- Type of the resource. Always compute#reservations for reservations.
- name 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 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 AllocationResource Status Response 
- Status information for Reservation resource.
- satisfiesPzs Boolean
- Reserved for future use.
- selfLink String
- Server-defined fully-qualified URL for this resource.
- 
ShareSettings Response 
- 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 AllocationSpecific SKUReservation Response 
- Reservation for instances with specific machine shapes.
- specificReservation BooleanRequired 
- 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 String
- The status of the reservation.
- zone String
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
- commitment string
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- kind string
- Type of the resource. Always compute#reservations for reservations.
- name 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 {[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 AllocationResource Status Response 
- Status information for Reservation resource.
- satisfiesPzs boolean
- Reserved for future use.
- selfLink string
- Server-defined fully-qualified URL for this resource.
- 
ShareSettings Response 
- 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 AllocationSpecific SKUReservation Response 
- Reservation for instances with specific machine shapes.
- specificReservation booleanRequired 
- 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 string
- The status of the reservation.
- zone string
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
- commitment str
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- 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.
- kind str
- Type of the resource. Always compute#reservations for reservations.
- name 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 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 AllocationResource Status Response 
- Status information for Reservation resource.
- satisfies_pzs bool
- Reserved for future use.
- self_link str
- Server-defined fully-qualified URL for this resource.
- 
ShareSettings Response 
- 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 AllocationSpecific SKUReservation Response 
- Reservation for instances with specific machine shapes.
- specific_reservation_ boolrequired 
- 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 str
- The status of the reservation.
- zone str
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
- commitment String
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- kind String
- Type of the resource. Always compute#reservations for reservations.
- name 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 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 Property Map
- Status information for Reservation resource.
- satisfiesPzs Boolean
- Reserved for future use.
- selfLink String
- Server-defined fully-qualified URL for this resource.
- 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 Property Map
- Reservation for instances with specific machine shapes.
- specificReservation BooleanRequired 
- 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 String
- The status of the reservation.
- zone String
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
ResourceCommitmentResponse  
- AcceleratorType string
- Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- Amount 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 string
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- AcceleratorType string
- Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- Amount 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 string
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- acceleratorType String
- Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount 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 String
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- acceleratorType string
- Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount 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 string
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- accelerator_type str
- Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount 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 str
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- acceleratorType String
- Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount 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 String
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
ShareSettingsResponse  
- ProjectMap Dictionary<string, string>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- string
- Type of sharing for this shared-reservation
- ProjectMap map[string]string
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- string
- Type of sharing for this shared-reservation
- projectMap Map<String,String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- String
- Type of sharing for this shared-reservation
- projectMap {[key: string]: string}
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- string
- Type of sharing for this shared-reservation
- project_map Mapping[str, str]
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- str
- Type of sharing for this shared-reservation
- projectMap Map<String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- 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