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.getReservation
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
Retrieves information about the specified reservation.
Using getReservation
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 getReservation(args: GetReservationArgs, opts?: InvokeOptions): Promise<GetReservationResult>
function getReservationOutput(args: GetReservationOutputArgs, opts?: InvokeOptions): Output<GetReservationResult>def get_reservation(project: Optional[str] = None,
                    reservation: Optional[str] = None,
                    zone: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetReservationResult
def get_reservation_output(project: Optional[pulumi.Input[str]] = None,
                    reservation: Optional[pulumi.Input[str]] = None,
                    zone: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetReservationResult]func LookupReservation(ctx *Context, args *LookupReservationArgs, opts ...InvokeOption) (*LookupReservationResult, error)
func LookupReservationOutput(ctx *Context, args *LookupReservationOutputArgs, opts ...InvokeOption) LookupReservationResultOutput> Note: This function is named LookupReservation in the Go SDK.
public static class GetReservation 
{
    public static Task<GetReservationResult> InvokeAsync(GetReservationArgs args, InvokeOptions? opts = null)
    public static Output<GetReservationResult> Invoke(GetReservationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReservationResult> getReservation(GetReservationArgs args, InvokeOptions options)
public static Output<GetReservationResult> getReservation(GetReservationArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:compute/alpha:getReservation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Reservation string
- Zone string
- Project string
- Reservation string
- Zone string
- Project string
- reservation String
- zone String
- project String
- reservation string
- zone string
- project string
- reservation str
- zone str
- project str
- reservation String
- zone String
- project String
getReservation Result
The following output properties are available:
- AggregateReservation Pulumi.Google Native. Compute. Alpha. Outputs. Allocation Aggregate Reservation Response 
- Reservation for aggregated resources, providing shape flexibility.
- 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.
- DeleteAfter Pulumi.Duration Google Native. Compute. Alpha. Outputs. Duration Response 
- Duration time relative to reservation creation when GCE will automatically delete this resource.
- DeleteAt stringTime 
- Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented 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. Alpha. Outputs. 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.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- 
Pulumi.Google Native. Compute. Alpha. Outputs. 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. Alpha. Outputs. 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.
- AggregateReservation AllocationAggregate Reservation Response 
- Reservation for aggregated resources, providing shape flexibility.
- 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.
- DeleteAfter DurationDuration Response 
- Duration time relative to reservation creation when GCE will automatically delete this resource.
- DeleteAt stringTime 
- Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented 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.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- 
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.
- aggregateReservation AllocationAggregate Reservation Response 
- Reservation for aggregated resources, providing shape flexibility.
- 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.
- deleteAfter DurationDuration Response 
- Duration time relative to reservation creation when GCE will automatically delete this resource.
- deleteAt StringTime 
- Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented 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.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- 
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.
- aggregateReservation AllocationAggregate Reservation Response 
- Reservation for aggregated resources, providing shape flexibility.
- 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.
- deleteAfter DurationDuration Response 
- Duration time relative to reservation creation when GCE will automatically delete this resource.
- deleteAt stringTime 
- Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented 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.
- selfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- 
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.
- aggregate_reservation AllocationAggregate Reservation Response 
- Reservation for aggregated resources, providing shape flexibility.
- 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.
- delete_after_ Durationduration Response 
- Duration time relative to reservation creation when GCE will automatically delete this resource.
- delete_at_ strtime 
- Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented 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.
- self_link_ strwith_ id 
- Server-defined URL for this resource with the resource id.
- 
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.
- aggregateReservation Property Map
- Reservation for aggregated resources, providing shape flexibility.
- 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.
- deleteAfter Property MapDuration 
- Duration time relative to reservation creation when GCE will automatically delete this resource.
- deleteAt StringTime 
- Absolute time in future when the reservation will be auto-deleted by GCE. Timestamp is represented 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.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- 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.
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.
AllocationAggregateReservationReservedResourceInfoAcceleratorResponse       
- AcceleratorCount int
- Number of accelerators of specified type.
- AcceleratorType string
- Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- AcceleratorCount int
- Number of accelerators of specified type.
- AcceleratorType string
- Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- acceleratorCount Integer
- Number of accelerators of specified type.
- acceleratorType String
- Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- acceleratorCount number
- Number of accelerators of specified type.
- acceleratorType string
- Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator_count int
- Number of accelerators of specified type.
- accelerator_type str
- Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- acceleratorCount Number
- Number of accelerators of specified type.
- acceleratorType String
- Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
AllocationAggregateReservationReservedResourceInfoResponse      
- Accelerator
Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Accelerator Response 
- Properties of accelerator resources in this reservation.
- Accelerator
AllocationAggregate Reservation Reserved Resource Info Accelerator Response 
- Properties of accelerator resources in this reservation.
- accelerator
AllocationAggregate Reservation Reserved Resource Info Accelerator Response 
- Properties of accelerator resources in this reservation.
- accelerator
AllocationAggregate Reservation Reserved Resource Info Accelerator Response 
- Properties of accelerator resources in this reservation.
- accelerator
AllocationAggregate Reservation Reserved Resource Info Accelerator Response 
- Properties of accelerator resources in this reservation.
- accelerator Property Map
- Properties of accelerator resources in this reservation.
AllocationAggregateReservationResponse   
- InUse List<Pulumi.Resources Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> 
- [Output only] List of resources currently in use.
- ReservedResources List<Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> 
- List of reserved resources (CPUs, memory, accelerators).
- VmFamily string
- The VM family that all instances scheduled against this reservation must belong to.
- WorkloadType string
- The workload type of the instances that will target this reservation.
- InUse []AllocationResources Aggregate Reservation Reserved Resource Info Response 
- [Output only] List of resources currently in use.
- ReservedResources []AllocationAggregate Reservation Reserved Resource Info Response 
- List of reserved resources (CPUs, memory, accelerators).
- VmFamily string
- The VM family that all instances scheduled against this reservation must belong to.
- WorkloadType string
- The workload type of the instances that will target this reservation.
- inUse List<AllocationResources Aggregate Reservation Reserved Resource Info Response> 
- [Output only] List of resources currently in use.
- reservedResources List<AllocationAggregate Reservation Reserved Resource Info Response> 
- List of reserved resources (CPUs, memory, accelerators).
- vmFamily String
- The VM family that all instances scheduled against this reservation must belong to.
- workloadType String
- The workload type of the instances that will target this reservation.
- inUse AllocationResources Aggregate Reservation Reserved Resource Info Response[] 
- [Output only] List of resources currently in use.
- reservedResources AllocationAggregate Reservation Reserved Resource Info Response[] 
- List of reserved resources (CPUs, memory, accelerators).
- vmFamily string
- The VM family that all instances scheduled against this reservation must belong to.
- workloadType string
- The workload type of the instances that will target this reservation.
- in_use_ Sequence[Allocationresources Aggregate Reservation Reserved Resource Info Response] 
- [Output only] List of resources currently in use.
- reserved_resources Sequence[AllocationAggregate Reservation Reserved Resource Info Response] 
- List of reserved resources (CPUs, memory, accelerators).
- vm_family str
- The VM family that all instances scheduled against this reservation must belong to.
- workload_type str
- The workload type of the instances that will target this reservation.
- inUse List<Property Map>Resources 
- [Output only] List of resources currently in use.
- reservedResources List<Property Map>
- List of reserved resources (CPUs, memory, accelerators).
- vmFamily String
- The VM family that all instances scheduled against this reservation must belong to.
- workloadType String
- The workload type of the instances that will target this reservation.
AllocationResourceStatusResponse   
- SpecificSku Pulumi.Allocation Google Native. Compute. Alpha. 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. Alpha. Inputs. Accelerator Config Response> 
- Specifies accelerator type and count.
- LocalSsds List<Pulumi.Google Native. Compute. Alpha. 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.
- MaintenanceFreeze intDuration Hours 
- Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- MaintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
- 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.
- MaintenanceFreeze intDuration Hours 
- Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- MaintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
- 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.
- maintenanceFreeze IntegerDuration Hours 
- Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenanceInterval String
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
- 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.
- maintenanceFreeze numberDuration Hours 
- Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
- 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.
- maintenance_freeze_ intduration_ hours 
- Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance_interval str
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
- 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.
- maintenanceFreeze NumberDuration Hours 
- Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenanceInterval String
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
- 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. Alpha. 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
DurationResponse 
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 secondsfield and a positivenanosfield. Must be from 0 to 999,999,999 inclusive.
- Seconds 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 int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 secondsfield and a positivenanosfield. Must be from 0 to 999,999,999 inclusive.
- Seconds 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 Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 secondsfield and a positivenanosfield. Must be from 0 to 999,999,999 inclusive.
- seconds 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 number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 secondsfield and a positivenanosfield. Must be from 0 to 999,999,999 inclusive.
- seconds 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 int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 secondsfield and a positivenanosfield. Must be from 0 to 999,999,999 inclusive.
- seconds 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 Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 secondsfield and a positivenanosfield. Must be from 0 to 999,999,999 inclusive.
- seconds 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
ShareSettingsResponse  
- FolderMap 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 Dictionary<string, string>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects 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.
- string
- Type of sharing for this shared-reservation
- FolderMap 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 map[string]string
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects []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.
- string
- Type of sharing for this shared-reservation
- folderMap 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 Map<String,String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects 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.
- String
- Type of sharing for this shared-reservation
- folderMap {[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 {[key: string]: string}
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects 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.
- string
- Type of sharing for this shared-reservation
- folder_map 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 Mapping[str, str]
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects 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.
- str
- Type of sharing for this shared-reservation
- folderMap 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 Map<String>
- A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects 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.
- 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