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 dictionary
The following arguments are supported:
- Reservation
This property is required. string - Zone
This property is required. string - Project string
- Reservation
This property is required. string - Zone
This property is required. string - Project string
- reservation
This property is required. String - zone
This property is required. String - project String
- reservation
This property is required. string - zone
This property is required. string - project string
- reservation
This property is required. str - zone
This property is required. str - project str
- reservation
This property is required. String - zone
This property is required. String - project String
getReservation Result
The following output properties are available:
- Aggregate
Reservation 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.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Delete
After Pulumi.Duration Google Native. Compute. Alpha. Outputs. Duration Response - Duration time relative to reservation creation when GCE will automatically delete this resource.
- Delete
At 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. - Resource
Policies 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.
- Resource
Status Pulumi.Google Native. Compute. Alpha. Outputs. Allocation Resource Status Response - Status information for Reservation resource.
- Satisfies
Pzs bool - Reserved for future use.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Self
Link 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.
- Specific
Reservation Pulumi.Google Native. Compute. Alpha. Outputs. Allocation Specific 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 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 string
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- Creation
Timestamp string - 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 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. - Resource
Policies 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.
- Resource
Status AllocationResource Status Response - Status information for Reservation resource.
- Satisfies
Pzs bool - Reserved for future use.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- 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.
- 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 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 String
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- creation
Timestamp String - 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 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. - resource
Policies 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.
- resource
Status AllocationResource Status Response - Status information for Reservation resource.
- satisfies
Pzs Boolean - Reserved for future use.
- self
Link String - Server-defined fully-qualified URL for this resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- 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.
- specific
Reservation AllocationSpecific SKUReservation Response - Reservation for instances with specific machine shapes.
- specific
Reservation 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 string
- Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
- creation
Timestamp string - 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 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. - resource
Policies {[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.
- resource
Status AllocationResource Status Response - Status information for Reservation resource.
- satisfies
Pzs boolean - Reserved for future use.
- self
Link string - Server-defined fully-qualified URL for this resource.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- 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.
- specific
Reservation AllocationSpecific SKUReservation Response - Reservation for instances with specific machine shapes.
- specific
Reservation 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.
- 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.
- 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.
- aggregate
Reservation 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.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- delete
After Property MapDuration - Duration time relative to reservation creation when GCE will automatically delete this resource.
- delete
At 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. - resource
Policies 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.
- resource
Status Property Map - Status information for Reservation resource.
- satisfies
Pzs Boolean - Reserved for future use.
- self
Link String - Server-defined fully-qualified URL for this resource.
- self
Link 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.
- specific
Reservation Property Map - Reservation for instances with specific machine shapes.
- specific
Reservation 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
- Accelerator
Count This property is required. int - The number of the guest accelerator cards exposed to this instance.
- Accelerator
Type This property is required. string - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
- Accelerator
Count This property is required. int - The number of the guest accelerator cards exposed to this instance.
- Accelerator
Type This property is required. string - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
- accelerator
Count This property is required. Integer - The number of the guest accelerator cards exposed to this instance.
- accelerator
Type This property is required. String - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
- accelerator
Count This property is required. number - The number of the guest accelerator cards exposed to this instance.
- accelerator
Type This property is required. string - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
- accelerator_
count This property is required. int - The number of the guest accelerator cards exposed to this instance.
- accelerator_
type This property is required. str - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
- accelerator
Count This property is required. Number - The number of the guest accelerator cards exposed to this instance.
- accelerator
Type This property is required. String - Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
- Accelerator
Count This property is required. int - Number of accelerators of specified type.
- Accelerator
Type This property is required. string - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- Accelerator
Count This property is required. int - Number of accelerators of specified type.
- Accelerator
Type This property is required. string - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator
Count This property is required. Integer - Number of accelerators of specified type.
- accelerator
Type This property is required. String - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator
Count This property is required. number - Number of accelerators of specified type.
- accelerator
Type This property is required. string - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator_
count This property is required. int - Number of accelerators of specified type.
- accelerator_
type This property is required. str - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator
Count This property is required. Number - Number of accelerators of specified type.
- accelerator
Type This property is required. String - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
AllocationAggregateReservationReservedResourceInfoResponse
- Accelerator
This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- Accelerator
This property is required. AllocationAggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
This property is required. AllocationAggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
This property is required. AllocationAggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
This property is required. AllocationAggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
This property is required. Property Map - Properties of accelerator resources in this reservation.
AllocationAggregateReservationResponse
- In
Use Resources This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> - [Output only] List of resources currently in use.
- Reserved
Resources This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> - List of reserved resources (CPUs, memory, accelerators).
- Vm
Family This property is required. string - The VM family that all instances scheduled against this reservation must belong to.
- Workload
Type This property is required. string - The workload type of the instances that will target this reservation.
- In
Use Resources This property is required. []AllocationAggregate Reservation Reserved Resource Info Response - [Output only] List of resources currently in use.
- Reserved
Resources This property is required. []AllocationAggregate Reservation Reserved Resource Info Response - List of reserved resources (CPUs, memory, accelerators).
- Vm
Family This property is required. string - The VM family that all instances scheduled against this reservation must belong to.
- Workload
Type This property is required. string - The workload type of the instances that will target this reservation.
- in
Use Resources This property is required. List<AllocationAggregate Reservation Reserved Resource Info Response> - [Output only] List of resources currently in use.
- reserved
Resources This property is required. List<AllocationAggregate Reservation Reserved Resource Info Response> - List of reserved resources (CPUs, memory, accelerators).
- vm
Family This property is required. String - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type This property is required. String - The workload type of the instances that will target this reservation.
- in
Use Resources This property is required. AllocationAggregate Reservation Reserved Resource Info Response[] - [Output only] List of resources currently in use.
- reserved
Resources This property is required. AllocationAggregate Reservation Reserved Resource Info Response[] - List of reserved resources (CPUs, memory, accelerators).
- vm
Family This property is required. string - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type This property is required. string - The workload type of the instances that will target this reservation.
- in_
use_ resources This property is required. Sequence[AllocationAggregate Reservation Reserved Resource Info Response] - [Output only] List of resources currently in use.
- reserved_
resources This property is required. Sequence[AllocationAggregate Reservation Reserved Resource Info Response] - List of reserved resources (CPUs, memory, accelerators).
- vm_
family This property is required. str - The VM family that all instances scheduled against this reservation must belong to.
- workload_
type This property is required. str - The workload type of the instances that will target this reservation.
- in
Use Resources This property is required. List<Property Map> - [Output only] List of resources currently in use.
- reserved
Resources This property is required. List<Property Map> - List of reserved resources (CPUs, memory, accelerators).
- vm
Family This property is required. String - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type This property is required. String - The workload type of the instances that will target this reservation.
AllocationResourceStatusResponse
- Specific
Sku Allocation This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Resource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- Specific
Sku Allocation This property is required. AllocationResource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific
Sku Allocation This property is required. AllocationResource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific
Sku Allocation This property is required. AllocationResource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific_
sku_ allocation This property is required. AllocationResource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific
Sku Allocation This property is required. Property Map - Allocation Properties of this reservation.
AllocationResourceStatusSpecificSKUAllocationResponse
- Source
Instance Template Id This property is required. string - ID of the instance template used to populate reservation properties.
- Source
Instance Template Id This property is required. string - ID of the instance template used to populate reservation properties.
- source
Instance Template Id This property is required. String - ID of the instance template used to populate reservation properties.
- source
Instance Template Id This property is required. string - ID of the instance template used to populate reservation properties.
- source_
instance_ template_ id This property is required. str - ID of the instance template used to populate reservation properties.
- source
Instance Template Id This property is required. String - ID of the instance template used to populate reservation properties.
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse
- Disk
Size Gb This property is required. string - Specifies the size of the disk in base-2 GB.
- Interface
This property is required. string - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
- Disk
Size Gb This property is required. string - Specifies the size of the disk in base-2 GB.
- Interface
This property is required. string - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
- disk
Size Gb This property is required. String - Specifies the size of the disk in base-2 GB.
- interface_
This property is required. String - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
- disk
Size Gb This property is required. string - Specifies the size of the disk in base-2 GB.
- interface
This property is required. string - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
- disk_
size_ gb This property is required. str - Specifies the size of the disk in base-2 GB.
- interface
This property is required. str - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
- disk
Size Gb This property is required. String - Specifies the size of the disk in base-2 GB.
- interface
This property is required. String - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
- Guest
Accelerators This property is required. List<Pulumi.Google Native. Compute. Alpha. Inputs. Accelerator Config Response> - Specifies accelerator type and count.
- Local
Ssds This property is required. 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.
- Location
Hint This property is required. string - An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
- Machine
Type This property is required. string - Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
- Maintenance
Freeze Duration Hours This property is required. int - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- Maintenance
Interval This property is required. string - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - Min
Cpu Platform This property is required. string - Minimum cpu platform the reservation.
- Guest
Accelerators This property is required. []AcceleratorConfig Response - Specifies accelerator type and count.
- Local
Ssds This property is required. []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 This property is required. string - An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
- Machine
Type This property is required. string - Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
- Maintenance
Freeze Duration Hours This property is required. int - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- Maintenance
Interval This property is required. string - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - Min
Cpu Platform This property is required. string - Minimum cpu platform the reservation.
- guest
Accelerators This property is required. List<AcceleratorConfig Response> - Specifies accelerator type and count.
- local
Ssds This property is required. 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.
- location
Hint This property is required. String - An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
- machine
Type This property is required. String - Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
- maintenance
Freeze Duration Hours This property is required. Integer - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance
Interval This property is required. String - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu Platform This property is required. String - Minimum cpu platform the reservation.
- guest
Accelerators This property is required. AcceleratorConfig Response[] - Specifies accelerator type and count.
- local
Ssds This property is required. 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 This property is required. string - An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
- machine
Type This property is required. string - Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
- maintenance
Freeze Duration Hours This property is required. number - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance
Interval This property is required. string - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu Platform This property is required. string - Minimum cpu platform the reservation.
- guest_
accelerators This property is required. Sequence[AcceleratorConfig Response] - Specifies accelerator type and count.
- local_
ssds This property is required. 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 This property is required. str - An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
- machine_
type This property is required. str - Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
- maintenance_
freeze_ duration_ hours This property is required. int - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance_
interval This property is required. str - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min_
cpu_ platform This property is required. str - Minimum cpu platform the reservation.
- guest
Accelerators This property is required. List<Property Map> - Specifies accelerator type and count.
- local
Ssds This property is required. List<Property Map> - Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- location
Hint This property is required. String - An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
- machine
Type This property is required. String - Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
- maintenance
Freeze Duration Hours This property is required. Number - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance
Interval This property is required. String - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu Platform This property is required. String - Minimum cpu platform the reservation.
AllocationSpecificSKUReservationResponse
- Assured
Count This property is required. string - Indicates how many instances are actually usable currently.
- Count
This property is required. string - Specifies the number of resources that are allocated.
- In
Use Count This property is required. string - Indicates how many instances are in use.
- Instance
Properties This property is required. Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Specific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- Source
Instance Template This property is required. string - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
- Assured
Count This property is required. string - Indicates how many instances are actually usable currently.
- Count
This property is required. string - Specifies the number of resources that are allocated.
- In
Use Count This property is required. string - Indicates how many instances are in use.
- Instance
Properties This property is required. AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- Source
Instance Template This property is required. string - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
- assured
Count This property is required. String - Indicates how many instances are actually usable currently.
- count
This property is required. String - Specifies the number of resources that are allocated.
- in
Use Count This property is required. String - Indicates how many instances are in use.
- instance
Properties This property is required. AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- source
Instance Template This property is required. String - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
- assured
Count This property is required. string - Indicates how many instances are actually usable currently.
- count
This property is required. string - Specifies the number of resources that are allocated.
- in
Use Count This property is required. string - Indicates how many instances are in use.
- instance
Properties This property is required. AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- source
Instance Template This property is required. string - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
- assured_
count This property is required. str - Indicates how many instances are actually usable currently.
- count
This property is required. str - Specifies the number of resources that are allocated.
- in_
use_ count This property is required. str - Indicates how many instances are in use.
- instance_
properties This property is required. AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- source_
instance_ template This property is required. str - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
- assured
Count This property is required. String - Indicates how many instances are actually usable currently.
- count
This property is required. String - Specifies the number of resources that are allocated.
- in
Use Count This property is required. String - Indicates how many instances are in use.
- instance
Properties This property is required. Property Map - The instance properties for the reservation.
- source
Instance Template This property is required. String - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
DurationResponse
- Nanos
This property is required. int - Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds
field and a positivenanos
field. Must be from 0 to 999,999,999 inclusive. - Seconds
This property is required. string - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- Nanos
This property is required. int - Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds
field and a positivenanos
field. Must be from 0 to 999,999,999 inclusive. - Seconds
This property is required. string - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
This property is required. Integer - Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds
field and a positivenanos
field. Must be from 0 to 999,999,999 inclusive. - seconds
This property is required. String - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
This property is required. number - Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds
field and a positivenanos
field. Must be from 0 to 999,999,999 inclusive. - seconds
This property is required. string - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
This property is required. int - Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds
field and a positivenanos
field. Must be from 0 to 999,999,999 inclusive. - seconds
This property is required. str - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- nanos
This property is required. Number - Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0
seconds
field and a positivenanos
field. Must be from 0 to 999,999,999 inclusive. - seconds
This property is required. String - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
ShareSettingsResponse
- Folder
Map This property is required. Dictionary<string, string> - A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
- Project
Map This property is required. Dictionary<string, string> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects
This property is required. List<string> - A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
This property is required. string- Type of sharing for this shared-reservation
- Folder
Map This property is required. map[string]string - A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
- Project
Map This property is required. map[string]string - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- Projects
This property is required. []string - A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
This property is required. string- Type of sharing for this shared-reservation
- folder
Map This property is required. Map<String,String> - A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
- project
Map This property is required. Map<String,String> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
This property is required. List<String> - A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
This property is required. String- Type of sharing for this shared-reservation
- folder
Map This property is required. {[key: string]: string} - A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
- project
Map This property is required. {[key: string]: string} - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
This property is required. string[] - A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
This property is required. string- Type of sharing for this shared-reservation
- folder_
map This property is required. Mapping[str, str] - A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
- project_
map This property is required. Mapping[str, str] - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
This property is required. Sequence[str] - A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
This property is required. str- Type of sharing for this shared-reservation
- folder
Map This property is required. Map<String> - A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
- project
Map This property is required. Map<String> - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- projects
This property is required. List<String> - A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
This property is required. String- Type of sharing for this shared-reservation
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi