Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/beta.Reservation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new reservation. For more information, read Reserving zonal resources.
Create Reservation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Reservation(name: string, args?: ReservationArgs, opts?: CustomResourceOptions);
@overload
def Reservation(resource_name: str,
args: Optional[ReservationInitArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Reservation(resource_name: str,
opts: Optional[ResourceOptions] = None,
aggregate_reservation: Optional[AllocationAggregateReservationArgs] = None,
delete_after_duration: Optional[DurationArgs] = None,
delete_at_time: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
resource_policies: Optional[Mapping[str, str]] = None,
share_settings: Optional[ShareSettingsArgs] = None,
specific_reservation: Optional[AllocationSpecificSKUReservationArgs] = None,
specific_reservation_required: Optional[bool] = None,
zone: Optional[str] = None)
func NewReservation(ctx *Context, name string, args *ReservationArgs, opts ...ResourceOption) (*Reservation, error)
public Reservation(string name, ReservationArgs? args = null, CustomResourceOptions? opts = null)
public Reservation(String name, ReservationArgs args)
public Reservation(String name, ReservationArgs args, CustomResourceOptions options)
type: google-native:compute/beta:Reservation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReservationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReservationInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReservationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReservationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReservationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplereservationResourceResourceFromComputebeta = new GoogleNative.Compute.Beta.Reservation("examplereservationResourceResourceFromComputebeta", new()
{
AggregateReservation = new GoogleNative.Compute.Beta.Inputs.AllocationAggregateReservationArgs
{
ReservedResources = new[]
{
new GoogleNative.Compute.Beta.Inputs.AllocationAggregateReservationReservedResourceInfoArgs
{
Accelerator = new GoogleNative.Compute.Beta.Inputs.AllocationAggregateReservationReservedResourceInfoAcceleratorArgs
{
AcceleratorCount = 0,
AcceleratorType = "string",
},
},
},
VmFamily = GoogleNative.Compute.Beta.AllocationAggregateReservationVmFamily.VmFamilyCloudTpuLiteDeviceCt5l,
WorkloadType = GoogleNative.Compute.Beta.AllocationAggregateReservationWorkloadType.Batch,
},
DeleteAfterDuration = new GoogleNative.Compute.Beta.Inputs.DurationArgs
{
Nanos = 0,
Seconds = "string",
},
DeleteAtTime = "string",
Description = "string",
Name = "string",
Project = "string",
RequestId = "string",
ResourcePolicies =
{
{ "string", "string" },
},
ShareSettings = new GoogleNative.Compute.Beta.Inputs.ShareSettingsArgs
{
ProjectMap =
{
{ "string", "string" },
},
Projects = new[]
{
"string",
},
ShareType = GoogleNative.Compute.Beta.ShareSettingsShareType.Local,
},
SpecificReservation = new GoogleNative.Compute.Beta.Inputs.AllocationSpecificSKUReservationArgs
{
Count = "string",
InstanceProperties = new GoogleNative.Compute.Beta.Inputs.AllocationSpecificSKUAllocationReservedInstancePropertiesArgs
{
GuestAccelerators = new[]
{
new GoogleNative.Compute.Beta.Inputs.AcceleratorConfigArgs
{
AcceleratorCount = 0,
AcceleratorType = "string",
},
},
LocalSsds = new[]
{
new GoogleNative.Compute.Beta.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs
{
DiskSizeGb = "string",
Interface = GoogleNative.Compute.Beta.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.Nvme,
},
},
LocationHint = "string",
MachineType = "string",
MaintenanceFreezeDurationHours = 0,
MaintenanceInterval = GoogleNative.Compute.Beta.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval.AsNeeded,
MinCpuPlatform = "string",
},
SourceInstanceTemplate = "string",
},
SpecificReservationRequired = false,
Zone = "string",
});
example, err := computebeta.NewReservation(ctx, "examplereservationResourceResourceFromComputebeta", &computebeta.ReservationArgs{
AggregateReservation: &compute.AllocationAggregateReservationArgs{
ReservedResources: compute.AllocationAggregateReservationReservedResourceInfoArray{
&compute.AllocationAggregateReservationReservedResourceInfoArgs{
Accelerator: &compute.AllocationAggregateReservationReservedResourceInfoAcceleratorArgs{
AcceleratorCount: pulumi.Int(0),
AcceleratorType: pulumi.String("string"),
},
},
},
VmFamily: computebeta.AllocationAggregateReservationVmFamilyVmFamilyCloudTpuLiteDeviceCt5l,
WorkloadType: computebeta.AllocationAggregateReservationWorkloadTypeBatch,
},
DeleteAfterDuration: &compute.DurationArgs{
Nanos: pulumi.Int(0),
Seconds: pulumi.String("string"),
},
DeleteAtTime: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
ResourcePolicies: pulumi.StringMap{
"string": pulumi.String("string"),
},
ShareSettings: &compute.ShareSettingsArgs{
ProjectMap: pulumi.StringMap{
"string": pulumi.String("string"),
},
Projects: pulumi.StringArray{
pulumi.String("string"),
},
ShareType: computebeta.ShareSettingsShareTypeLocal,
},
SpecificReservation: &compute.AllocationSpecificSKUReservationArgs{
Count: pulumi.String("string"),
InstanceProperties: &compute.AllocationSpecificSKUAllocationReservedInstancePropertiesArgs{
GuestAccelerators: compute.AcceleratorConfigArray{
&compute.AcceleratorConfigArgs{
AcceleratorCount: pulumi.Int(0),
AcceleratorType: pulumi.String("string"),
},
},
LocalSsds: compute.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray{
&compute.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs{
DiskSizeGb: pulumi.String("string"),
Interface: computebeta.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceNvme,
},
},
LocationHint: pulumi.String("string"),
MachineType: pulumi.String("string"),
MaintenanceFreezeDurationHours: pulumi.Int(0),
MaintenanceInterval: computebeta.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalAsNeeded,
MinCpuPlatform: pulumi.String("string"),
},
SourceInstanceTemplate: pulumi.String("string"),
},
SpecificReservationRequired: pulumi.Bool(false),
Zone: pulumi.String("string"),
})
var examplereservationResourceResourceFromComputebeta = new Reservation("examplereservationResourceResourceFromComputebeta", ReservationArgs.builder()
.aggregateReservation(AllocationAggregateReservationArgs.builder()
.reservedResources(AllocationAggregateReservationReservedResourceInfoArgs.builder()
.accelerator(AllocationAggregateReservationReservedResourceInfoAcceleratorArgs.builder()
.acceleratorCount(0)
.acceleratorType("string")
.build())
.build())
.vmFamily("VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L")
.workloadType("BATCH")
.build())
.deleteAfterDuration(DurationArgs.builder()
.nanos(0)
.seconds("string")
.build())
.deleteAtTime("string")
.description("string")
.name("string")
.project("string")
.requestId("string")
.resourcePolicies(Map.of("string", "string"))
.shareSettings(ShareSettingsArgs.builder()
.projectMap(Map.of("string", "string"))
.projects("string")
.shareType("LOCAL")
.build())
.specificReservation(AllocationSpecificSKUReservationArgs.builder()
.count("string")
.instanceProperties(AllocationSpecificSKUAllocationReservedInstancePropertiesArgs.builder()
.guestAccelerators(AcceleratorConfigArgs.builder()
.acceleratorCount(0)
.acceleratorType("string")
.build())
.localSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs.builder()
.diskSizeGb("string")
.interface_("NVME")
.build())
.locationHint("string")
.machineType("string")
.maintenanceFreezeDurationHours(0)
.maintenanceInterval("AS_NEEDED")
.minCpuPlatform("string")
.build())
.sourceInstanceTemplate("string")
.build())
.specificReservationRequired(false)
.zone("string")
.build());
examplereservation_resource_resource_from_computebeta = google_native.compute.beta.Reservation("examplereservationResourceResourceFromComputebeta",
aggregate_reservation={
"reserved_resources": [{
"accelerator": {
"accelerator_count": 0,
"accelerator_type": "string",
},
}],
"vm_family": google_native.compute.beta.AllocationAggregateReservationVmFamily.VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L,
"workload_type": google_native.compute.beta.AllocationAggregateReservationWorkloadType.BATCH,
},
delete_after_duration={
"nanos": 0,
"seconds": "string",
},
delete_at_time="string",
description="string",
name="string",
project="string",
request_id="string",
resource_policies={
"string": "string",
},
share_settings={
"project_map": {
"string": "string",
},
"projects": ["string"],
"share_type": google_native.compute.beta.ShareSettingsShareType.LOCAL,
},
specific_reservation={
"count": "string",
"instance_properties": {
"guest_accelerators": [{
"accelerator_count": 0,
"accelerator_type": "string",
}],
"local_ssds": [{
"disk_size_gb": "string",
"interface": google_native.compute.beta.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.NVME,
}],
"location_hint": "string",
"machine_type": "string",
"maintenance_freeze_duration_hours": 0,
"maintenance_interval": google_native.compute.beta.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval.AS_NEEDED,
"min_cpu_platform": "string",
},
"source_instance_template": "string",
},
specific_reservation_required=False,
zone="string")
const examplereservationResourceResourceFromComputebeta = new google_native.compute.beta.Reservation("examplereservationResourceResourceFromComputebeta", {
aggregateReservation: {
reservedResources: [{
accelerator: {
acceleratorCount: 0,
acceleratorType: "string",
},
}],
vmFamily: google_native.compute.beta.AllocationAggregateReservationVmFamily.VmFamilyCloudTpuLiteDeviceCt5l,
workloadType: google_native.compute.beta.AllocationAggregateReservationWorkloadType.Batch,
},
deleteAfterDuration: {
nanos: 0,
seconds: "string",
},
deleteAtTime: "string",
description: "string",
name: "string",
project: "string",
requestId: "string",
resourcePolicies: {
string: "string",
},
shareSettings: {
projectMap: {
string: "string",
},
projects: ["string"],
shareType: google_native.compute.beta.ShareSettingsShareType.Local,
},
specificReservation: {
count: "string",
instanceProperties: {
guestAccelerators: [{
acceleratorCount: 0,
acceleratorType: "string",
}],
localSsds: [{
diskSizeGb: "string",
"interface": google_native.compute.beta.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.Nvme,
}],
locationHint: "string",
machineType: "string",
maintenanceFreezeDurationHours: 0,
maintenanceInterval: google_native.compute.beta.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval.AsNeeded,
minCpuPlatform: "string",
},
sourceInstanceTemplate: "string",
},
specificReservationRequired: false,
zone: "string",
});
type: google-native:compute/beta:Reservation
properties:
aggregateReservation:
reservedResources:
- accelerator:
acceleratorCount: 0
acceleratorType: string
vmFamily: VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
workloadType: BATCH
deleteAfterDuration:
nanos: 0
seconds: string
deleteAtTime: string
description: string
name: string
project: string
requestId: string
resourcePolicies:
string: string
shareSettings:
projectMap:
string: string
projects:
- string
shareType: LOCAL
specificReservation:
count: string
instanceProperties:
guestAccelerators:
- acceleratorCount: 0
acceleratorType: string
localSsds:
- diskSizeGb: string
interface: NVME
locationHint: string
machineType: string
maintenanceFreezeDurationHours: 0
maintenanceInterval: AS_NEEDED
minCpuPlatform: string
sourceInstanceTemplate: string
specificReservationRequired: false
zone: string
Reservation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Reservation resource accepts the following input properties:
- Aggregate
Reservation Pulumi.Google Native. Compute. Beta. Inputs. Allocation Aggregate Reservation - Reservation for aggregated resources, providing shape flexibility.
- Delete
After Pulumi.Duration Google Native. Compute. Beta. Inputs. Duration - 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.
- 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. - Project string
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- Pulumi.
Google Native. Compute. Beta. Inputs. Share Settings - 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. Beta. Inputs. Allocation Specific SKUReservation - 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.
- 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 Args - Reservation for aggregated resources, providing shape flexibility.
- Delete
After DurationDuration Args - 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.
- 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. - Project string
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- Share
Settings Args - 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 Args - 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.
- 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 - Reservation for aggregated resources, providing shape flexibility.
- delete
After DurationDuration - 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.
- 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. - project String
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- Share
Settings - 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 - 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.
- 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 - Reservation for aggregated resources, providing shape flexibility.
- delete
After DurationDuration - 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.
- 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. - project string
- request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- Share
Settings - 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 - 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.
- 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 Args - Reservation for aggregated resources, providing shape flexibility.
- delete_
after_ Durationduration Args - 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.
- 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. - project str
- request_
id str - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- Share
Settings Args - 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 Args - 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.
- 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.
- 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.
- 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. - project String
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- 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.
- 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.
- zone String
- Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
Outputs
All input properties are implicitly available as output properties. Additionally, the Reservation resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of the resource. Always compute#reservations for reservations.
- Resource
Status Pulumi.Google Native. Compute. Beta. 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.
- Status string
- The status of the reservation.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of the resource. Always compute#reservations for reservations.
- 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.
- Status string
- The status of the reservation.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of the resource. Always compute#reservations for reservations.
- 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.
- status String
- The status of the reservation.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- Type of the resource. Always compute#reservations for reservations.
- 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.
- status string
- The status of the reservation.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- Type of the resource. Always compute#reservations for reservations.
- 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.
- status str
- The status of the reservation.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of the resource. Always compute#reservations for reservations.
- 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.
- status String
- The status of the reservation.
Supporting Types
AcceleratorConfig, AcceleratorConfigArgs
- 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.
AcceleratorConfigResponse, AcceleratorConfigResponseArgs
- 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.
AllocationAggregateReservation, AllocationAggregateReservationArgs
- Reserved
Resources List<Pulumi.Google Native. Compute. Beta. Inputs. Allocation Aggregate Reservation Reserved Resource Info> - List of reserved resources (CPUs, memory, accelerators).
- Vm
Family Pulumi.Google Native. Compute. Beta. Allocation Aggregate Reservation Vm Family - The VM family that all instances scheduled against this reservation must belong to.
- Workload
Type Pulumi.Google Native. Compute. Beta. Allocation Aggregate Reservation Workload Type - The workload type of the instances that will target this reservation.
- Reserved
Resources []AllocationAggregate Reservation Reserved Resource Info - List of reserved resources (CPUs, memory, accelerators).
- Vm
Family AllocationAggregate Reservation Vm Family - The VM family that all instances scheduled against this reservation must belong to.
- Workload
Type AllocationAggregate Reservation Workload Type - The workload type of the instances that will target this reservation.
- reserved
Resources List<AllocationAggregate Reservation Reserved Resource Info> - List of reserved resources (CPUs, memory, accelerators).
- vm
Family AllocationAggregate Reservation Vm Family - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type AllocationAggregate Reservation Workload Type - The workload type of the instances that will target this reservation.
- reserved
Resources AllocationAggregate Reservation Reserved Resource Info[] - List of reserved resources (CPUs, memory, accelerators).
- vm
Family AllocationAggregate Reservation Vm Family - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type AllocationAggregate Reservation Workload Type - The workload type of the instances that will target this reservation.
- reserved_
resources Sequence[AllocationAggregate Reservation Reserved Resource Info] - List of reserved resources (CPUs, memory, accelerators).
- vm_
family AllocationAggregate Reservation Vm Family - The VM family that all instances scheduled against this reservation must belong to.
- workload_
type AllocationAggregate Reservation Workload Type - The workload type of the instances that will target this reservation.
- reserved
Resources List<Property Map> - List of reserved resources (CPUs, memory, accelerators).
- vm
Family "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L" | "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP" | "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" - The VM family that all instances scheduled against this reservation must belong to.
- workload
Type "BATCH" | "SERVING" | "UNSPECIFIED" - The workload type of the instances that will target this reservation.
AllocationAggregateReservationReservedResourceInfo, AllocationAggregateReservationReservedResourceInfoArgs
- Accelerator
Pulumi.
Google Native. Compute. Beta. Inputs. Allocation Aggregate Reservation Reserved Resource Info Accelerator - Properties of accelerator resources in this reservation.
- Accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator - Properties of accelerator resources in this reservation.
- accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator - Properties of accelerator resources in this reservation.
- accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator - Properties of accelerator resources in this reservation.
- accelerator
Allocation
Aggregate Reservation Reserved Resource Info Accelerator - Properties of accelerator resources in this reservation.
- accelerator Property Map
- Properties of accelerator resources in this reservation.
AllocationAggregateReservationReservedResourceInfoAccelerator, AllocationAggregateReservationReservedResourceInfoAcceleratorArgs
- 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"
AllocationAggregateReservationReservedResourceInfoAcceleratorResponse, AllocationAggregateReservationReservedResourceInfoAcceleratorResponseArgs
- 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, AllocationAggregateReservationReservedResourceInfoResponseArgs
- Accelerator
Pulumi.
Google Native. Compute. Beta. 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, AllocationAggregateReservationResponseArgs
- In
Use List<Pulumi.Resources Google Native. Compute. Beta. Inputs. Allocation Aggregate Reservation Reserved Resource Info Response> - [Output only] List of resources currently in use.
- Reserved
Resources List<Pulumi.Google Native. Compute. Beta. 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.
AllocationAggregateReservationVmFamily, AllocationAggregateReservationVmFamilyArgs
- Vm
Family Cloud Tpu Lite Device Ct5l - VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- Vm
Family Cloud Tpu Lite Pod Slice Ct5lp - VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- Vm
Family Cloud Tpu Pod Slice Ct4p - VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
- Allocation
Aggregate Reservation Vm Family Vm Family Cloud Tpu Lite Device Ct5l - VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- Allocation
Aggregate Reservation Vm Family Vm Family Cloud Tpu Lite Pod Slice Ct5lp - VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- Allocation
Aggregate Reservation Vm Family Vm Family Cloud Tpu Pod Slice Ct4p - VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
- Vm
Family Cloud Tpu Lite Device Ct5l - VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- Vm
Family Cloud Tpu Lite Pod Slice Ct5lp - VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- Vm
Family Cloud Tpu Pod Slice Ct4p - VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
- Vm
Family Cloud Tpu Lite Device Ct5l - VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- Vm
Family Cloud Tpu Lite Pod Slice Ct5lp - VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- Vm
Family Cloud Tpu Pod Slice Ct4p - VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
- VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
- VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
- "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L"
- VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
- "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP"
- VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
- "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P"
- VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
AllocationAggregateReservationWorkloadType, AllocationAggregateReservationWorkloadTypeArgs
- Batch
- BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
- Serving
- SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
- Unspecified
- UNSPECIFIED
- Allocation
Aggregate Reservation Workload Type Batch - BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
- Allocation
Aggregate Reservation Workload Type Serving - SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
- Allocation
Aggregate Reservation Workload Type Unspecified - UNSPECIFIED
- Batch
- BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
- Serving
- SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
- Unspecified
- UNSPECIFIED
- Batch
- BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
- Serving
- SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
- Unspecified
- UNSPECIFIED
- BATCH
- BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
- SERVING
- SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
- UNSPECIFIED
- UNSPECIFIED
- "BATCH"
- BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
- "SERVING"
- SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
- "UNSPECIFIED"
- UNSPECIFIED
AllocationResourceStatusResponse, AllocationResourceStatusResponseArgs
- Specific
Sku Pulumi.Allocation Google Native. Compute. Beta. 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, AllocationResourceStatusSpecificSKUAllocationResponseArgs
- 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.
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs
- Disk
Size stringGb - Specifies the size of the disk in base-2 GB.
- Interface
Pulumi.
Google Native. Compute. Beta. Allocation Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface - 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
Allocation
Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface - 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_
Allocation
Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface - 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
Allocation
Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface - 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
Allocation
Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface - 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 "NVME" | "SCSI"
- 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.
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceArgs
- Nvme
- NVME
- Scsi
- SCSI
- Allocation
Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface Nvme - NVME
- Allocation
Specific SKUAllocation Allocated Instance Properties Reserved Disk Interface Scsi - SCSI
- Nvme
- NVME
- Scsi
- SCSI
- Nvme
- NVME
- Scsi
- SCSI
- NVME
- NVME
- SCSI
- SCSI
- "NVME"
- NVME
- "SCSI"
- SCSI
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArgs
- 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.
AllocationSpecificSKUAllocationReservedInstanceProperties, AllocationSpecificSKUAllocationReservedInstancePropertiesArgs
- Guest
Accelerators List<Pulumi.Google Native. Compute. Beta. Inputs. Accelerator Config> - Specifies accelerator type and count.
- Local
Ssds List<Pulumi.Google Native. Compute. Beta. Inputs. Allocation Specific SKUAllocation Allocated Instance Properties Reserved Disk> - 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 Pulumi.Google Native. Compute. Beta. Allocation Specific SKUAllocation Reserved Instance Properties Maintenance Interval - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - Min
Cpu stringPlatform - Minimum cpu platform the reservation.
- Guest
Accelerators []AcceleratorConfig - Specifies accelerator type and count.
- Local
Ssds []AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk - 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 AllocationSpecific SKUAllocation Reserved Instance Properties Maintenance Interval - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - Min
Cpu stringPlatform - Minimum cpu platform the reservation.
- guest
Accelerators List<AcceleratorConfig> - Specifies accelerator type and count.
- local
Ssds List<AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk> - 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 AllocationSpecific SKUAllocation Reserved Instance Properties Maintenance Interval - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu StringPlatform - Minimum cpu platform the reservation.
- guest
Accelerators AcceleratorConfig[] - Specifies accelerator type and count.
- local
Ssds AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk[] - 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 AllocationSpecific SKUAllocation Reserved Instance Properties Maintenance Interval - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu stringPlatform - Minimum cpu platform the reservation.
- guest_
accelerators Sequence[AcceleratorConfig] - Specifies accelerator type and count.
- local_
ssds Sequence[AllocationSpecific SKUAllocation Allocated Instance Properties Reserved Disk] - 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 AllocationSpecific SKUAllocation Reserved Instance Properties Maintenance Interval - 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 "AS_NEEDED" | "PERIODIC" | "RECURRENT" - Specifies the frequency of planned maintenance events. The accepted values are:
PERIODIC
. - min
Cpu StringPlatform - Minimum cpu platform the reservation.
AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval, AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalArgs
- As
Needed - AS_NEEDEDVMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
- Periodic
- PERIODICVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
- Recurrent
- RECURRENTVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
- Allocation
Specific SKUAllocation Reserved Instance Properties Maintenance Interval As Needed - AS_NEEDEDVMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
- Allocation
Specific SKUAllocation Reserved Instance Properties Maintenance Interval Periodic - PERIODICVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
- Allocation
Specific SKUAllocation Reserved Instance Properties Maintenance Interval Recurrent - RECURRENTVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
- As
Needed - AS_NEEDEDVMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
- Periodic
- PERIODICVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
- Recurrent
- RECURRENTVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
- As
Needed - AS_NEEDEDVMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
- Periodic
- PERIODICVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
- Recurrent
- RECURRENTVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
- AS_NEEDED
- AS_NEEDEDVMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
- PERIODIC
- PERIODICVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
- RECURRENT
- RECURRENTVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
- "AS_NEEDED"
- AS_NEEDEDVMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
- "PERIODIC"
- PERIODICVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available.
- "RECURRENT"
- RECURRENTVMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
AllocationSpecificSKUAllocationReservedInstancePropertiesResponse, AllocationSpecificSKUAllocationReservedInstancePropertiesResponseArgs
- Guest
Accelerators List<Pulumi.Google Native. Compute. Beta. Inputs. Accelerator Config Response> - Specifies accelerator type and count.
- Local
Ssds List<Pulumi.Google Native. Compute. Beta. 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.
AllocationSpecificSKUReservation, AllocationSpecificSKUReservationArgs
- Count string
- Specifies the number of resources that are allocated.
- Instance
Properties Pulumi.Google Native. Compute. Beta. Inputs. Allocation Specific SKUAllocation Reserved Instance Properties - 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
- Count string
- Specifies the number of resources that are allocated.
- Instance
Properties AllocationSpecific SKUAllocation Reserved Instance Properties - 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
- count String
- Specifies the number of resources that are allocated.
- instance
Properties AllocationSpecific SKUAllocation Reserved Instance Properties - 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
- count string
- Specifies the number of resources that are allocated.
- instance
Properties AllocationSpecific SKUAllocation Reserved Instance Properties - 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
- count str
- Specifies the number of resources that are allocated.
- instance_
properties AllocationSpecific SKUAllocation Reserved Instance Properties - 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
- count String
- Specifies the number of resources that are allocated.
- 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
AllocationSpecificSKUReservationResponse, AllocationSpecificSKUReservationResponseArgs
- 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. Beta. 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
Duration, DurationArgs
- 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
DurationResponse, DurationResponseArgs
- 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
ShareSettings, ShareSettingsArgs
- 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.
- Pulumi.
Google Native. Compute. Beta. Share Settings Share Type - Type of sharing for this shared-reservation
- 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.
- Share
Settings Share Type - Type of sharing for this shared-reservation
- 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.
- Share
Settings Share Type - Type of sharing for this shared-reservation
- 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.
- Share
Settings Share Type - Type of sharing for this shared-reservation
- project_
map Mapping[str, str] - A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
- 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.
- Share
Settings Share Type - Type of sharing for this shared-reservation
- 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.
- "LOCAL" | "ORGANIZATION" | "SHARE_TYPE_UNSPECIFIED" | "SPECIFIC_PROJECTS"
- Type of sharing for this shared-reservation
ShareSettingsResponse, ShareSettingsResponseArgs
- 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
- 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
- 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
- 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
- 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
- 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
ShareSettingsShareType, ShareSettingsShareTypeArgs
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- Share
Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Specific
Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Share
Settings Share Type Local - LOCALDefault value.
- Share
Settings Share Type Organization - ORGANIZATIONShared-reservation is open to entire Organization
- Share
Settings Share Type Share Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Share
Settings Share Type Specific Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- Share
Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Specific
Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- Local
- LOCALDefault value.
- Organization
- ORGANIZATIONShared-reservation is open to entire Organization
- Share
Type Unspecified - SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Specific
Projects - SPECIFIC_PROJECTSShared-reservation is open to specific projects
- LOCAL
- LOCALDefault value.
- ORGANIZATION
- ORGANIZATIONShared-reservation is open to entire Organization
- SHARE_TYPE_UNSPECIFIED
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- SPECIFIC_PROJECTS
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
- "LOCAL"
- LOCALDefault value.
- "ORGANIZATION"
- ORGANIZATIONShared-reservation is open to entire Organization
- "SHARE_TYPE_UNSPECIFIED"
- SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
- "SPECIFIC_PROJECTS"
- SPECIFIC_PROJECTSShared-reservation is open to specific projects
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.