Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/alpha.getRegionCommitment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns the specified commitment resource.
Using getRegionCommitment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionCommitment(args: GetRegionCommitmentArgs, opts?: InvokeOptions): Promise<GetRegionCommitmentResult>
function getRegionCommitmentOutput(args: GetRegionCommitmentOutputArgs, opts?: InvokeOptions): Output<GetRegionCommitmentResult>
def get_region_commitment(commitment: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionCommitmentResult
def get_region_commitment_output(commitment: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionCommitmentResult]
func LookupRegionCommitment(ctx *Context, args *LookupRegionCommitmentArgs, opts ...InvokeOption) (*LookupRegionCommitmentResult, error)
func LookupRegionCommitmentOutput(ctx *Context, args *LookupRegionCommitmentOutputArgs, opts ...InvokeOption) LookupRegionCommitmentResultOutput
> Note: This function is named LookupRegionCommitment
in the Go SDK.
public static class GetRegionCommitment
{
public static Task<GetRegionCommitmentResult> InvokeAsync(GetRegionCommitmentArgs args, InvokeOptions? opts = null)
public static Output<GetRegionCommitmentResult> Invoke(GetRegionCommitmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegionCommitmentResult> getRegionCommitment(GetRegionCommitmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/alpha:getRegionCommitment
arguments:
# arguments dictionary
The following arguments are supported:
- Commitment string
- Region string
- Project string
- Commitment string
- Region string
- Project string
- commitment String
- region String
- project String
- commitment string
- region string
- project string
- commitment str
- region str
- project str
- commitment String
- region String
- project String
getRegionCommitment Result
The following output properties are available:
- Auto
Renew bool - Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
- Category string
- The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- End
Timestamp string - Commitment end time in RFC3339 text format.
- Existing
Reservations List<string> - Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
- Kind string
- Type of the resource. Always compute#commitment for commitments.
- License
Resource Pulumi.Google Native. Compute. Alpha. Outputs. License Resource Commitment Response - The license specification required as part of a license commitment.
- Merge
Source List<string>Commitments - List of source commitments to be merged into a new commitment.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Plan string
- The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
- Region string
- URL of the region where this commitment may be used.
- Reservations
List<Pulumi.
Google Native. Compute. Alpha. Outputs. Reservation Response> - List of create-on-create reseravtions for this commitment.
- Resource
Status Pulumi.Google Native. Compute. Alpha. Outputs. Commitment Resource Status Response - Status information for Commitment resource.
- Resources
List<Pulumi.
Google Native. Compute. Alpha. Outputs. Resource Commitment Response> - A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Split
Source stringCommitment - Source commitment to be split into a new commitment.
- Start
Timestamp string - Commitment start time in RFC3339 text format.
- Status string
- Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
- Status
Message string - An optional, human-readable explanation of the status.
- Type string
- The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
- Auto
Renew bool - Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
- Category string
- The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- End
Timestamp string - Commitment end time in RFC3339 text format.
- Existing
Reservations []string - Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
- Kind string
- Type of the resource. Always compute#commitment for commitments.
- License
Resource LicenseResource Commitment Response - The license specification required as part of a license commitment.
- Merge
Source []stringCommitments - List of source commitments to be merged into a new commitment.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Plan string
- The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
- Region string
- URL of the region where this commitment may be used.
- Reservations
[]Reservation
Response - List of create-on-create reseravtions for this commitment.
- Resource
Status CommitmentResource Status Response - Status information for Commitment resource.
- Resources
[]Resource
Commitment Response - A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Split
Source stringCommitment - Source commitment to be split into a new commitment.
- Start
Timestamp string - Commitment start time in RFC3339 text format.
- Status string
- Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
- Status
Message string - An optional, human-readable explanation of the status.
- Type string
- The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
- auto
Renew Boolean - Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
- category String
- The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- end
Timestamp String - Commitment end time in RFC3339 text format.
- existing
Reservations List<String> - Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
- kind String
- Type of the resource. Always compute#commitment for commitments.
- license
Resource LicenseResource Commitment Response - The license specification required as part of a license commitment.
- merge
Source List<String>Commitments - List of source commitments to be merged into a new commitment.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - plan String
- The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
- region String
- URL of the region where this commitment may be used.
- reservations
List<Reservation
Response> - List of create-on-create reseravtions for this commitment.
- resource
Status CommitmentResource Status Response - Status information for Commitment resource.
- resources
List<Resource
Commitment Response> - A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- split
Source StringCommitment - Source commitment to be split into a new commitment.
- start
Timestamp String - Commitment start time in RFC3339 text format.
- status String
- Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
- status
Message String - An optional, human-readable explanation of the status.
- type String
- The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
- auto
Renew boolean - Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
- category string
- The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- end
Timestamp string - Commitment end time in RFC3339 text format.
- existing
Reservations string[] - Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
- kind string
- Type of the resource. Always compute#commitment for commitments.
- license
Resource LicenseResource Commitment Response - The license specification required as part of a license commitment.
- merge
Source string[]Commitments - List of source commitments to be merged into a new commitment.
- name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - plan string
- The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
- region string
- URL of the region where this commitment may be used.
- reservations
Reservation
Response[] - List of create-on-create reseravtions for this commitment.
- resource
Status CommitmentResource Status Response - Status information for Commitment resource.
- resources
Resource
Commitment Response[] - A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
- self
Link string - Server-defined URL for the resource.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- split
Source stringCommitment - Source commitment to be split into a new commitment.
- start
Timestamp string - Commitment start time in RFC3339 text format.
- status string
- Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
- status
Message string - An optional, human-readable explanation of the status.
- type string
- The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
- auto_
renew bool - Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
- category str
- The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- end_
timestamp str - Commitment end time in RFC3339 text format.
- existing_
reservations Sequence[str] - Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
- kind str
- Type of the resource. Always compute#commitment for commitments.
- license_
resource LicenseResource Commitment Response - The license specification required as part of a license commitment.
- merge_
source_ Sequence[str]commitments - List of source commitments to be merged into a new commitment.
- name str
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - plan str
- The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
- region str
- URL of the region where this commitment may be used.
- reservations
Sequence[Reservation
Response] - List of create-on-create reseravtions for this commitment.
- resource_
status CommitmentResource Status Response - Status information for Commitment resource.
- resources
Sequence[Resource
Commitment Response] - A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
- self_
link str - Server-defined URL for the resource.
- self_
link_ strwith_ id - Server-defined URL for this resource with the resource id.
- split_
source_ strcommitment - Source commitment to be split into a new commitment.
- start_
timestamp str - Commitment start time in RFC3339 text format.
- status str
- Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
- status_
message str - An optional, human-readable explanation of the status.
- type str
- The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
- auto
Renew Boolean - Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.
- category String
- The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- end
Timestamp String - Commitment end time in RFC3339 text format.
- existing
Reservations List<String> - Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation
- kind String
- Type of the resource. Always compute#commitment for commitments.
- license
Resource Property Map - The license specification required as part of a license commitment.
- merge
Source List<String>Commitments - List of source commitments to be merged into a new commitment.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - plan String
- The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).
- region String
- URL of the region where this commitment may be used.
- reservations List<Property Map>
- List of create-on-create reseravtions for this commitment.
- resource
Status Property Map - Status information for Commitment resource.
- resources List<Property Map>
- A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- split
Source StringCommitment - Source commitment to be split into a new commitment.
- start
Timestamp String - Commitment start time in RFC3339 text format.
- status String
- Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
- status
Message String - An optional, human-readable explanation of the status.
- type String
- The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
Supporting Types
AcceleratorConfigResponse
- Accelerator
Count int - The number of the guest accelerator cards exposed to this instance.
- Accelerator
Type 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 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 Integer - The number of the guest accelerator cards exposed to this instance.
- accelerator
Type 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 number - The number of the guest accelerator cards exposed to this instance.
- accelerator
Type 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.
- accelerator
Count Number - The number of the guest accelerator cards exposed to this instance.
- accelerator
Type 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 int - Number of accelerators of specified type.
- Accelerator
Type 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 string - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator
Count Integer - Number of accelerators of specified type.
- accelerator
Type String - Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
- accelerator
Count number - Number of accelerators of specified type.
- accelerator
Type 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"
- accelerator
Count Number - Number of accelerators of specified type.
- accelerator
Type 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
Allocation
Aggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator Response - Properties of accelerator resources in this reservation.
- accelerator Property Map
- Properties of accelerator resources in this reservation.
AllocationAggregateReservationResponse
- In
Use List<Pulumi.Resources Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> - [Output only] List of resources currently in use.
- Reserved
Resources List<Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> - List of reserved resources (CPUs, memory, accelerators).
- Vm
Family string - The VM family that all instances scheduled against this reservation must belong to.
- Workload
Type string - The workload type of the instances that will target this reservation.
- In
Use []AllocationResources Aggregate Reservation Reserved Resource Info Response - [Output only] List of resources currently in use.
- Reserved
Resources []AllocationAggregate Reservation Reserved Resource Info Response - List of reserved resources (CPUs, memory, accelerators).
- Vm
Family string - The VM family that all instances scheduled against this reservation must belong to.
- Workload
Type string - The workload type of the instances that will target this reservation.
- in
Use List<AllocationResources Aggregate Reservation Reserved Resource Info Response> - [Output only] List of resources currently in use.
- reserved
Resources List<AllocationAggregate Reservation Reserved Resource Info Response> - List of reserved resources (CPUs, memory, accelerators).
- vm
Family String - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type String - The workload type of the instances that will target this reservation.
- in
Use AllocationResources Aggregate Reservation Reserved Resource Info Response[] - [Output only] List of resources currently in use.
- reserved
Resources AllocationAggregate Reservation Reserved Resource Info Response[] - List of reserved resources (CPUs, memory, accelerators).
- vm
Family string - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type 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.
- in
Use List<Property Map>Resources - [Output only] List of resources currently in use.
- reserved
Resources List<Property Map> - List of reserved resources (CPUs, memory, accelerators).
- vm
Family String - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type String - The workload type of the instances that will target this reservation.
AllocationResourceStatusResponse
- Specific
Sku Pulumi.Allocation Google Native. Compute. Alpha. Inputs. Allocation Resource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- Specific
Sku AllocationAllocation Resource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific
Sku AllocationAllocation Resource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific
Sku AllocationAllocation Resource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific_
sku_ Allocationallocation Resource Status Specific SKUAllocation Response - Allocation Properties of this reservation.
- specific
Sku Property MapAllocation - Allocation Properties of this reservation.
AllocationResourceStatusSpecificSKUAllocationResponse
- Source
Instance stringTemplate Id - ID of the instance template used to populate reservation properties.
- Source
Instance stringTemplate Id - ID of the instance template used to populate reservation properties.
- source
Instance StringTemplate Id - ID of the instance template used to populate reservation properties.
- source
Instance 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.
- source
Instance StringTemplate Id - ID of the instance template used to populate reservation properties.
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse
- Disk
Size 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 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 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 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.
- disk
Size 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
- Guest
Accelerators List<Pulumi.Google Native. Compute. Alpha. Inputs. Accelerator Config Response> - Specifies accelerator type and count.
- Local
Ssds 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 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 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 intDuration Hours - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- Maintenance
Interval string - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - Min
Cpu stringPlatform - Minimum cpu platform the reservation.
- Guest
Accelerators []AcceleratorConfig Response - Specifies accelerator type and count.
- Local
Ssds []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 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 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 intDuration Hours - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- Maintenance
Interval string - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - Min
Cpu stringPlatform - Minimum cpu platform the reservation.
- guest
Accelerators List<AcceleratorConfig Response> - Specifies accelerator type and count.
- local
Ssds 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 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 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 IntegerDuration Hours - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance
Interval String - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu StringPlatform - Minimum cpu platform the reservation.
- guest
Accelerators AcceleratorConfig Response[] - Specifies accelerator type and count.
- local
Ssds 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 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 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 numberDuration Hours - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance
Interval string - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu 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.
- guest
Accelerators List<Property Map> - Specifies accelerator type and count.
- local
Ssds List<Property Map> - Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- location
Hint 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 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 NumberDuration Hours - Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
- maintenance
Interval String - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu StringPlatform - Minimum cpu platform the reservation.
AllocationSpecificSKUReservationResponse
- Assured
Count string - Indicates how many instances are actually usable currently.
- Count string
- Specifies the number of resources that are allocated.
- In
Use stringCount - Indicates how many instances are in use.
- Instance
Properties Pulumi.Google Native. Compute. Alpha. Inputs. Allocation Specific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- Source
Instance 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 string - Indicates how many instances are actually usable currently.
- Count string
- Specifies the number of resources that are allocated.
- In
Use stringCount - Indicates how many instances are in use.
- Instance
Properties AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- Source
Instance 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 String - Indicates how many instances are actually usable currently.
- count String
- Specifies the number of resources that are allocated.
- in
Use StringCount - Indicates how many instances are in use.
- instance
Properties AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- source
Instance 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 string - Indicates how many instances are actually usable currently.
- count string
- Specifies the number of resources that are allocated.
- in
Use stringCount - Indicates how many instances are in use.
- instance
Properties AllocationSpecific SKUAllocation Reserved Instance Properties Response - The instance properties for the reservation.
- source
Instance 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
- assured
Count String - Indicates how many instances are actually usable currently.
- count String
- Specifies the number of resources that are allocated.
- in
Use StringCount - Indicates how many instances are in use.
- instance
Properties Property Map - The instance properties for the reservation.
- source
Instance 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
CommitmentResourceStatusCancellationInformationResponse
- Canceled
Commitment Pulumi.Google Native. Compute. Alpha. Inputs. Money Response - An optional amount of CUDs canceled so far in the last 365 days.
- Canceled
Commitment stringLast Updated Timestamp - An optional last update time of canceled_commitment. RFC3339 text format.
- Cancellation
Cap Pulumi.Google Native. Compute. Alpha. Inputs. Money Response - An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
- Cancellation
Fee Pulumi.Google Native. Compute. Alpha. Inputs. Money Response - An optional, cancellation fee.
- Cancellation
Fee stringExpiration Timestamp - An optional, cancellation fee expiration time. RFC3339 text format.
- Canceled
Commitment MoneyResponse - An optional amount of CUDs canceled so far in the last 365 days.
- Canceled
Commitment stringLast Updated Timestamp - An optional last update time of canceled_commitment. RFC3339 text format.
- Cancellation
Cap MoneyResponse - An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
- Cancellation
Fee MoneyResponse - An optional, cancellation fee.
- Cancellation
Fee stringExpiration Timestamp - An optional, cancellation fee expiration time. RFC3339 text format.
- canceled
Commitment MoneyResponse - An optional amount of CUDs canceled so far in the last 365 days.
- canceled
Commitment StringLast Updated Timestamp - An optional last update time of canceled_commitment. RFC3339 text format.
- cancellation
Cap MoneyResponse - An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
- cancellation
Fee MoneyResponse - An optional, cancellation fee.
- cancellation
Fee StringExpiration Timestamp - An optional, cancellation fee expiration time. RFC3339 text format.
- canceled
Commitment MoneyResponse - An optional amount of CUDs canceled so far in the last 365 days.
- canceled
Commitment stringLast Updated Timestamp - An optional last update time of canceled_commitment. RFC3339 text format.
- cancellation
Cap MoneyResponse - An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
- cancellation
Fee MoneyResponse - An optional, cancellation fee.
- cancellation
Fee stringExpiration Timestamp - An optional, cancellation fee expiration time. RFC3339 text format.
- canceled_
commitment MoneyResponse - An optional amount of CUDs canceled so far in the last 365 days.
- canceled_
commitment_ strlast_ updated_ timestamp - An optional last update time of canceled_commitment. RFC3339 text format.
- cancellation_
cap MoneyResponse - An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
- cancellation_
fee MoneyResponse - An optional, cancellation fee.
- cancellation_
fee_ strexpiration_ timestamp - An optional, cancellation fee expiration time. RFC3339 text format.
- canceled
Commitment Property Map - An optional amount of CUDs canceled so far in the last 365 days.
- canceled
Commitment StringLast Updated Timestamp - An optional last update time of canceled_commitment. RFC3339 text format.
- cancellation
Cap Property Map - An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account.
- cancellation
Fee Property Map - An optional, cancellation fee.
- cancellation
Fee StringExpiration Timestamp - An optional, cancellation fee expiration time. RFC3339 text format.
CommitmentResourceStatusResponse
- Cancellation
Information Pulumi.Google Native. Compute. Alpha. Inputs. Commitment Resource Status Cancellation Information Response - An optional, contains all the needed information of cancellation.
- Cancellation
Information CommitmentResource Status Cancellation Information Response - An optional, contains all the needed information of cancellation.
- cancellation
Information CommitmentResource Status Cancellation Information Response - An optional, contains all the needed information of cancellation.
- cancellation
Information CommitmentResource Status Cancellation Information Response - An optional, contains all the needed information of cancellation.
- cancellation_
information CommitmentResource Status Cancellation Information Response - An optional, contains all the needed information of cancellation.
- cancellation
Information Property Map - An optional, contains all the needed information of cancellation.
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
seconds
field and a positivenanos
field. 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
seconds
field and a positivenanos
field. 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
seconds
field and a positivenanos
field. 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
seconds
field and a positivenanos
field. 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
seconds
field and a positivenanos
field. 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
seconds
field and a positivenanos
field. 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
LicenseResourceCommitmentResponse
- Amount string
- The number of licenses purchased.
- Cores
Per stringLicense - Specifies the core range of the instance for which this license applies.
- License string
- Any applicable license URI.
- Amount string
- The number of licenses purchased.
- Cores
Per stringLicense - Specifies the core range of the instance for which this license applies.
- License string
- Any applicable license URI.
- amount String
- The number of licenses purchased.
- cores
Per StringLicense - Specifies the core range of the instance for which this license applies.
- license String
- Any applicable license URI.
- amount string
- The number of licenses purchased.
- cores
Per stringLicense - Specifies the core range of the instance for which this license applies.
- license string
- Any applicable license URI.
- amount str
- The number of licenses purchased.
- cores_
per_ strlicense - Specifies the core range of the instance for which this license applies.
- license str
- Any applicable license URI.
- amount String
- The number of licenses purchased.
- cores
Per StringLicense - Specifies the core range of the instance for which this license applies.
- license String
- Any applicable license URI.
MoneyResponse
- Currency
Code string - The three-letter currency code defined in ISO 4217.
- Nanos int
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must be negative or zero. For example $-1.75 is represented asunits
=-1 andnanos
=-750,000,000. - Units string
- The whole units of the amount. For example if
currencyCode
is"USD"
, then 1 unit is one US dollar.
- Currency
Code string - The three-letter currency code defined in ISO 4217.
- Nanos int
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must be negative or zero. For example $-1.75 is represented asunits
=-1 andnanos
=-750,000,000. - Units string
- The whole units of the amount. For example if
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency
Code String - The three-letter currency code defined in ISO 4217.
- nanos Integer
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must be negative or zero. For example $-1.75 is represented asunits
=-1 andnanos
=-750,000,000. - units String
- The whole units of the amount. For example if
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency
Code string - The three-letter currency code defined in ISO 4217.
- nanos number
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must be negative or zero. For example $-1.75 is represented asunits
=-1 andnanos
=-750,000,000. - units string
- The whole units of the amount. For example if
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency_
code str - The three-letter currency code defined in ISO 4217.
- nanos int
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must be negative or zero. For example $-1.75 is represented asunits
=-1 andnanos
=-750,000,000. - units str
- The whole units of the amount. For example if
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency
Code String - The three-letter currency code defined in ISO 4217.
- nanos Number
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must be negative or zero. For example $-1.75 is represented asunits
=-1 andnanos
=-750,000,000. - units String
- The whole units of the amount. For example if
currencyCode
is"USD"
, then 1 unit is one US dollar.
ReservationResponse
- Aggregate
Reservation Pulumi.Google Native. Compute. Alpha. Inputs. 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. Inputs. 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. Inputs. 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. Inputs. Share Settings Response - Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
- Specific
Reservation Pulumi.Google Native. Compute. Alpha. Inputs. 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.
ResourceCommitmentResponse
- Accelerator
Type string - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- Amount string
- The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
- Type string
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- Accelerator
Type string - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- Amount string
- The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
- Type string
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- accelerator
Type String - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount String
- The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
- type String
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- accelerator
Type string - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount string
- The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
- type string
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- accelerator_
type str - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount str
- The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
- type str
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
- accelerator
Type String - Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
- amount String
- The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
- type String
- Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
ShareSettingsResponse
- Folder
Map 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 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
- Folder
Map 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 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
- folder
Map 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 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
- folder
Map {[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 {[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
- folder
Map 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 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