1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. Reservation

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.Reservation

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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/alpha:Reservation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. 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 examplereservationResourceResourceFromComputealpha = new GoogleNative.Compute.Alpha.Reservation("examplereservationResourceResourceFromComputealpha", new()
{
    AggregateReservation = new GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationArgs
    {
        ReservedResources = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoArgs
            {
                Accelerator = new GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoAcceleratorArgs
                {
                    AcceleratorCount = 0,
                    AcceleratorType = "string",
                },
            },
        },
        VmFamily = GoogleNative.Compute.Alpha.AllocationAggregateReservationVmFamily.VmFamilyCloudTpuLiteDeviceCt5l,
        WorkloadType = GoogleNative.Compute.Alpha.AllocationAggregateReservationWorkloadType.Batch,
    },
    DeleteAfterDuration = new GoogleNative.Compute.Alpha.Inputs.DurationArgs
    {
        Nanos = 0,
        Seconds = "string",
    },
    DeleteAtTime = "string",
    Description = "string",
    Name = "string",
    Project = "string",
    RequestId = "string",
    ResourcePolicies = 
    {
        { "string", "string" },
    },
    ShareSettings = new GoogleNative.Compute.Alpha.Inputs.ShareSettingsArgs
    {
        FolderMap = 
        {
            { "string", "string" },
        },
        ProjectMap = 
        {
            { "string", "string" },
        },
        Projects = new[]
        {
            "string",
        },
        ShareType = GoogleNative.Compute.Alpha.ShareSettingsShareType.DirectProjectsUnderSpecificFolders,
    },
    SpecificReservation = new GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUReservationArgs
    {
        Count = "string",
        InstanceProperties = new GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationReservedInstancePropertiesArgs
        {
            GuestAccelerators = new[]
            {
                new GoogleNative.Compute.Alpha.Inputs.AcceleratorConfigArgs
                {
                    AcceleratorCount = 0,
                    AcceleratorType = "string",
                },
            },
            LocalSsds = new[]
            {
                new GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs
                {
                    DiskSizeGb = "string",
                    Interface = GoogleNative.Compute.Alpha.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.Nvdimm,
                },
            },
            LocationHint = "string",
            MachineType = "string",
            MaintenanceFreezeDurationHours = 0,
            MaintenanceInterval = GoogleNative.Compute.Alpha.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval.AsNeeded,
            MinCpuPlatform = "string",
        },
        SourceInstanceTemplate = "string",
    },
    SpecificReservationRequired = false,
    Zone = "string",
});
Copy
example, err := compute.NewReservation(ctx, "examplereservationResourceResourceFromComputealpha", &compute.ReservationArgs{
	AggregateReservation: &compute.AllocationAggregateReservationArgs{
		ReservedResources: compute.AllocationAggregateReservationReservedResourceInfoArray{
			&compute.AllocationAggregateReservationReservedResourceInfoArgs{
				Accelerator: &compute.AllocationAggregateReservationReservedResourceInfoAcceleratorArgs{
					AcceleratorCount: pulumi.Int(0),
					AcceleratorType:  pulumi.String("string"),
				},
			},
		},
		VmFamily:     compute.AllocationAggregateReservationVmFamilyVmFamilyCloudTpuLiteDeviceCt5l,
		WorkloadType: compute.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{
		FolderMap: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		ProjectMap: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Projects: pulumi.StringArray{
			pulumi.String("string"),
		},
		ShareType: compute.ShareSettingsShareTypeDirectProjectsUnderSpecificFolders,
	},
	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:  compute.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceNvdimm,
				},
			},
			LocationHint:                   pulumi.String("string"),
			MachineType:                    pulumi.String("string"),
			MaintenanceFreezeDurationHours: pulumi.Int(0),
			MaintenanceInterval:            compute.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalAsNeeded,
			MinCpuPlatform:                 pulumi.String("string"),
		},
		SourceInstanceTemplate: pulumi.String("string"),
	},
	SpecificReservationRequired: pulumi.Bool(false),
	Zone:                        pulumi.String("string"),
})
Copy
var examplereservationResourceResourceFromComputealpha = new com.pulumi.googlenative.compute.Reservation("examplereservationResourceResourceFromComputealpha", com.pulumi.googlenative.compute.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()
        .folderMap(Map.of("string", "string"))
        .projectMap(Map.of("string", "string"))
        .projects("string")
        .shareType("DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS")
        .build())
    .specificReservation(AllocationSpecificSKUReservationArgs.builder()
        .count("string")
        .instanceProperties(AllocationSpecificSKUAllocationReservedInstancePropertiesArgs.builder()
            .guestAccelerators(AcceleratorConfigArgs.builder()
                .acceleratorCount(0)
                .acceleratorType("string")
                .build())
            .localSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs.builder()
                .diskSizeGb("string")
                .interface_("NVDIMM")
                .build())
            .locationHint("string")
            .machineType("string")
            .maintenanceFreezeDurationHours(0)
            .maintenanceInterval("AS_NEEDED")
            .minCpuPlatform("string")
            .build())
        .sourceInstanceTemplate("string")
        .build())
    .specificReservationRequired(false)
    .zone("string")
    .build());
Copy
examplereservation_resource_resource_from_computealpha = google_native.compute.alpha.Reservation("examplereservationResourceResourceFromComputealpha",
    aggregate_reservation={
        "reserved_resources": [{
            "accelerator": {
                "accelerator_count": 0,
                "accelerator_type": "string",
            },
        }],
        "vm_family": google_native.compute.alpha.AllocationAggregateReservationVmFamily.VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L,
        "workload_type": google_native.compute.alpha.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={
        "folder_map": {
            "string": "string",
        },
        "project_map": {
            "string": "string",
        },
        "projects": ["string"],
        "share_type": google_native.compute.alpha.ShareSettingsShareType.DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS,
    },
    specific_reservation={
        "count": "string",
        "instance_properties": {
            "guest_accelerators": [{
                "accelerator_count": 0,
                "accelerator_type": "string",
            }],
            "local_ssds": [{
                "disk_size_gb": "string",
                "interface": google_native.compute.alpha.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.NVDIMM,
            }],
            "location_hint": "string",
            "machine_type": "string",
            "maintenance_freeze_duration_hours": 0,
            "maintenance_interval": google_native.compute.alpha.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval.AS_NEEDED,
            "min_cpu_platform": "string",
        },
        "source_instance_template": "string",
    },
    specific_reservation_required=False,
    zone="string")
Copy
const examplereservationResourceResourceFromComputealpha = new google_native.compute.alpha.Reservation("examplereservationResourceResourceFromComputealpha", {
    aggregateReservation: {
        reservedResources: [{
            accelerator: {
                acceleratorCount: 0,
                acceleratorType: "string",
            },
        }],
        vmFamily: google_native.compute.alpha.AllocationAggregateReservationVmFamily.VmFamilyCloudTpuLiteDeviceCt5l,
        workloadType: google_native.compute.alpha.AllocationAggregateReservationWorkloadType.Batch,
    },
    deleteAfterDuration: {
        nanos: 0,
        seconds: "string",
    },
    deleteAtTime: "string",
    description: "string",
    name: "string",
    project: "string",
    requestId: "string",
    resourcePolicies: {
        string: "string",
    },
    shareSettings: {
        folderMap: {
            string: "string",
        },
        projectMap: {
            string: "string",
        },
        projects: ["string"],
        shareType: google_native.compute.alpha.ShareSettingsShareType.DirectProjectsUnderSpecificFolders,
    },
    specificReservation: {
        count: "string",
        instanceProperties: {
            guestAccelerators: [{
                acceleratorCount: 0,
                acceleratorType: "string",
            }],
            localSsds: [{
                diskSizeGb: "string",
                "interface": google_native.compute.alpha.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.Nvdimm,
            }],
            locationHint: "string",
            machineType: "string",
            maintenanceFreezeDurationHours: 0,
            maintenanceInterval: google_native.compute.alpha.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval.AsNeeded,
            minCpuPlatform: "string",
        },
        sourceInstanceTemplate: "string",
    },
    specificReservationRequired: false,
    zone: "string",
});
Copy
type: google-native:compute/alpha: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:
        folderMap:
            string: string
        projectMap:
            string: string
        projects:
            - string
        shareType: DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS
    specificReservation:
        count: string
        instanceProperties:
            guestAccelerators:
                - acceleratorCount: 0
                  acceleratorType: string
            localSsds:
                - diskSizeGb: string
                  interface: NVDIMM
            locationHint: string
            machineType: string
            maintenanceFreezeDurationHours: 0
            maintenanceInterval: AS_NEEDED
            minCpuPlatform: string
        sourceInstanceTemplate: string
    specificReservationRequired: false
    zone: string
Copy

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:

AggregateReservation Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservation
Reservation for aggregated resources, providing shape flexibility.
DeleteAfterDuration Pulumi.GoogleNative.Compute.Alpha.Inputs.Duration
Duration time relative to reservation creation when GCE will automatically delete this resource.
DeleteAtTime string
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 Changes to this property will trigger replacement. string
RequestId 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).
ResourcePolicies Dictionary<string, string>
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
ShareSettings Pulumi.GoogleNative.Compute.Alpha.Inputs.ShareSettings
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
SpecificReservation Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUReservation
Reservation for instances with specific machine shapes.
SpecificReservationRequired bool
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.
AggregateReservation AllocationAggregateReservationArgs
Reservation for aggregated resources, providing shape flexibility.
DeleteAfterDuration DurationArgs
Duration time relative to reservation creation when GCE will automatically delete this resource.
DeleteAtTime string
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 Changes to this property will trigger replacement. string
RequestId 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).
ResourcePolicies map[string]string
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
ShareSettings ShareSettingsArgs
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
SpecificReservation AllocationSpecificSKUReservationArgs
Reservation for instances with specific machine shapes.
SpecificReservationRequired bool
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.
aggregateReservation AllocationAggregateReservation
Reservation for aggregated resources, providing shape flexibility.
deleteAfterDuration Duration
Duration time relative to reservation creation when GCE will automatically delete this resource.
deleteAtTime String
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 Changes to this property will trigger replacement. String
requestId 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).
resourcePolicies Map<String,String>
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
shareSettings ShareSettings
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specificReservation AllocationSpecificSKUReservation
Reservation for instances with specific machine shapes.
specificReservationRequired Boolean
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.
aggregateReservation AllocationAggregateReservation
Reservation for aggregated resources, providing shape flexibility.
deleteAfterDuration Duration
Duration time relative to reservation creation when GCE will automatically delete this resource.
deleteAtTime string
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 Changes to this property will trigger replacement. string
requestId 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).
resourcePolicies {[key: string]: string}
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
shareSettings ShareSettings
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specificReservation AllocationSpecificSKUReservation
Reservation for instances with specific machine shapes.
specificReservationRequired boolean
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 AllocationAggregateReservationArgs
Reservation for aggregated resources, providing shape flexibility.
delete_after_duration DurationArgs
Duration time relative to reservation creation when GCE will automatically delete this resource.
delete_at_time str
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 Changes to this property will trigger replacement. 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 ShareSettingsArgs
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 AllocationSpecificSKUReservationArgs
Reservation for instances with specific machine shapes.
specific_reservation_required bool
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.
aggregateReservation Property Map
Reservation for aggregated resources, providing shape flexibility.
deleteAfterDuration Property Map
Duration time relative to reservation creation when GCE will automatically delete this resource.
deleteAtTime String
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 Changes to this property will trigger replacement. String
requestId 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).
resourcePolicies Map<String>
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
shareSettings Property Map
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specificReservation Property Map
Reservation for instances with specific machine shapes.
specificReservationRequired Boolean
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.
CreationTimestamp 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.
ResourceStatus Pulumi.GoogleNative.Compute.Alpha.Outputs.AllocationResourceStatusResponse
Status information for Reservation resource.
SatisfiesPzs bool
Reserved for future use.
SelfLink string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
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.
CreationTimestamp 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.
ResourceStatus AllocationResourceStatusResponse
Status information for Reservation resource.
SatisfiesPzs bool
Reserved for future use.
SelfLink string
Server-defined fully-qualified URL for this resource.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
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.
creationTimestamp 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.
resourceStatus AllocationResourceStatusResponse
Status information for Reservation resource.
satisfiesPzs Boolean
Reserved for future use.
selfLink String
Server-defined fully-qualified URL for this resource.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
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.
creationTimestamp 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.
resourceStatus AllocationResourceStatusResponse
Status information for Reservation resource.
satisfiesPzs boolean
Reserved for future use.
selfLink string
Server-defined fully-qualified URL for this resource.
selfLinkWithId string
Server-defined URL for this resource with the resource id.
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 AllocationResourceStatusResponse
Status information for Reservation resource.
satisfies_pzs bool
Reserved for future use.
self_link str
Server-defined fully-qualified URL for this resource.
self_link_with_id str
Server-defined URL for this resource with the resource id.
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.
creationTimestamp 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.
resourceStatus Property Map
Status information for Reservation resource.
satisfiesPzs Boolean
Reserved for future use.
selfLink String
Server-defined fully-qualified URL for this resource.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
status String
The status of the reservation.

Supporting Types

AcceleratorConfig
, AcceleratorConfigArgs

AcceleratorCount int
The number of the guest accelerator cards exposed to this instance.
AcceleratorType string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
AcceleratorCount int
The number of the guest accelerator cards exposed to this instance.
AcceleratorType string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount Integer
The number of the guest accelerator cards exposed to this instance.
acceleratorType String
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount number
The number of the guest accelerator cards exposed to this instance.
acceleratorType string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
accelerator_count int
The number of the guest accelerator cards exposed to this instance.
accelerator_type str
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount Number
The number of the guest accelerator cards exposed to this instance.
acceleratorType String
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.

AcceleratorConfigResponse
, AcceleratorConfigResponseArgs

AcceleratorCount This property is required. int
The number of the guest accelerator cards exposed to this instance.
AcceleratorType This property is required. string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
AcceleratorCount This property is required. int
The number of the guest accelerator cards exposed to this instance.
AcceleratorType This property is required. string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount This property is required. Integer
The number of the guest accelerator cards exposed to this instance.
acceleratorType This property is required. String
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount This property is required. number
The number of the guest accelerator cards exposed to this instance.
acceleratorType This property is required. string
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
accelerator_count This property is required. int
The number of the guest accelerator cards exposed to this instance.
accelerator_type This property is required. str
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
acceleratorCount This property is required. Number
The number of the guest accelerator cards exposed to this instance.
acceleratorType This property is required. String
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.

AllocationAggregateReservation
, AllocationAggregateReservationArgs

ReservedResources List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfo>
List of reserved resources (CPUs, memory, accelerators).
VmFamily Pulumi.GoogleNative.Compute.Alpha.AllocationAggregateReservationVmFamily
The VM family that all instances scheduled against this reservation must belong to.
WorkloadType Pulumi.GoogleNative.Compute.Alpha.AllocationAggregateReservationWorkloadType
The workload type of the instances that will target this reservation.
ReservedResources []AllocationAggregateReservationReservedResourceInfo
List of reserved resources (CPUs, memory, accelerators).
VmFamily AllocationAggregateReservationVmFamily
The VM family that all instances scheduled against this reservation must belong to.
WorkloadType AllocationAggregateReservationWorkloadType
The workload type of the instances that will target this reservation.
reservedResources List<AllocationAggregateReservationReservedResourceInfo>
List of reserved resources (CPUs, memory, accelerators).
vmFamily AllocationAggregateReservationVmFamily
The VM family that all instances scheduled against this reservation must belong to.
workloadType AllocationAggregateReservationWorkloadType
The workload type of the instances that will target this reservation.
reservedResources AllocationAggregateReservationReservedResourceInfo[]
List of reserved resources (CPUs, memory, accelerators).
vmFamily AllocationAggregateReservationVmFamily
The VM family that all instances scheduled against this reservation must belong to.
workloadType AllocationAggregateReservationWorkloadType
The workload type of the instances that will target this reservation.
reserved_resources Sequence[AllocationAggregateReservationReservedResourceInfo]
List of reserved resources (CPUs, memory, accelerators).
vm_family AllocationAggregateReservationVmFamily
The VM family that all instances scheduled against this reservation must belong to.
workload_type AllocationAggregateReservationWorkloadType
The workload type of the instances that will target this reservation.
reservedResources List<Property Map>
List of reserved resources (CPUs, memory, accelerators).
vmFamily "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.
workloadType "BATCH" | "SERVING" | "UNSPECIFIED"
The workload type of the instances that will target this reservation.

AllocationAggregateReservationReservedResourceInfo
, AllocationAggregateReservationReservedResourceInfoArgs

Accelerator AllocationAggregateReservationReservedResourceInfoAccelerator
Properties of accelerator resources in this reservation.
accelerator AllocationAggregateReservationReservedResourceInfoAccelerator
Properties of accelerator resources in this reservation.
accelerator AllocationAggregateReservationReservedResourceInfoAccelerator
Properties of accelerator resources in this reservation.
accelerator AllocationAggregateReservationReservedResourceInfoAccelerator
Properties of accelerator resources in this reservation.
accelerator Property Map
Properties of accelerator resources in this reservation.

AllocationAggregateReservationReservedResourceInfoAccelerator
, AllocationAggregateReservationReservedResourceInfoAcceleratorArgs

AcceleratorCount int
Number of accelerators of specified type.
AcceleratorType string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
AcceleratorCount int
Number of accelerators of specified type.
AcceleratorType string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount Integer
Number of accelerators of specified type.
acceleratorType String
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount number
Number of accelerators of specified type.
acceleratorType string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
accelerator_count int
Number of accelerators of specified type.
accelerator_type str
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount Number
Number of accelerators of specified type.
acceleratorType String
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
, AllocationAggregateReservationReservedResourceInfoAcceleratorResponseArgs

AcceleratorCount This property is required. int
Number of accelerators of specified type.
AcceleratorType This property is required. string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
AcceleratorCount This property is required. int
Number of accelerators of specified type.
AcceleratorType This property is required. string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount This property is required. Integer
Number of accelerators of specified type.
acceleratorType This property is required. String
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount This property is required. number
Number of accelerators of specified type.
acceleratorType This property is required. string
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
accelerator_count This property is required. int
Number of accelerators of specified type.
accelerator_type This property is required. str
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
acceleratorCount This property is required. Number
Number of accelerators of specified type.
acceleratorType This property is required. String
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"

AllocationAggregateReservationReservedResourceInfoResponse
, AllocationAggregateReservationReservedResourceInfoResponseArgs

Accelerator This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
Accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. AllocationAggregateReservationReservedResourceInfoAcceleratorResponse
Properties of accelerator resources in this reservation.
accelerator This property is required. Property Map
Properties of accelerator resources in this reservation.

AllocationAggregateReservationResponse
, AllocationAggregateReservationResponseArgs

InUseResources This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoResponse>
[Output only] List of resources currently in use.
ReservedResources This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationAggregateReservationReservedResourceInfoResponse>
List of reserved resources (CPUs, memory, accelerators).
VmFamily This property is required. string
The VM family that all instances scheduled against this reservation must belong to.
WorkloadType This property is required. string
The workload type of the instances that will target this reservation.
InUseResources This property is required. []AllocationAggregateReservationReservedResourceInfoResponse
[Output only] List of resources currently in use.
ReservedResources This property is required. []AllocationAggregateReservationReservedResourceInfoResponse
List of reserved resources (CPUs, memory, accelerators).
VmFamily This property is required. string
The VM family that all instances scheduled against this reservation must belong to.
WorkloadType This property is required. string
The workload type of the instances that will target this reservation.
inUseResources This property is required. List<AllocationAggregateReservationReservedResourceInfoResponse>
[Output only] List of resources currently in use.
reservedResources This property is required. List<AllocationAggregateReservationReservedResourceInfoResponse>
List of reserved resources (CPUs, memory, accelerators).
vmFamily This property is required. String
The VM family that all instances scheduled against this reservation must belong to.
workloadType This property is required. String
The workload type of the instances that will target this reservation.
inUseResources This property is required. AllocationAggregateReservationReservedResourceInfoResponse[]
[Output only] List of resources currently in use.
reservedResources This property is required. AllocationAggregateReservationReservedResourceInfoResponse[]
List of reserved resources (CPUs, memory, accelerators).
vmFamily This property is required. string
The VM family that all instances scheduled against this reservation must belong to.
workloadType This property is required. string
The workload type of the instances that will target this reservation.
in_use_resources This property is required. Sequence[AllocationAggregateReservationReservedResourceInfoResponse]
[Output only] List of resources currently in use.
reserved_resources This property is required. Sequence[AllocationAggregateReservationReservedResourceInfoResponse]
List of reserved resources (CPUs, memory, accelerators).
vm_family This property is required. str
The VM family that all instances scheduled against this reservation must belong to.
workload_type This property is required. str
The workload type of the instances that will target this reservation.
inUseResources This property is required. List<Property Map>
[Output only] List of resources currently in use.
reservedResources This property is required. List<Property Map>
List of reserved resources (CPUs, memory, accelerators).
vmFamily This property is required. String
The VM family that all instances scheduled against this reservation must belong to.
workloadType This property is required. String
The workload type of the instances that will target this reservation.

AllocationAggregateReservationVmFamily
, AllocationAggregateReservationVmFamilyArgs

VmFamilyCloudTpuLiteDeviceCt5l
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
VmFamilyCloudTpuLitePodSliceCt5lp
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
VmFamilyCloudTpuPodSliceCt4p
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
AllocationAggregateReservationVmFamilyVmFamilyCloudTpuLiteDeviceCt5l
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
AllocationAggregateReservationVmFamilyVmFamilyCloudTpuLitePodSliceCt5lp
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
AllocationAggregateReservationVmFamilyVmFamilyCloudTpuPodSliceCt4p
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
VmFamilyCloudTpuLiteDeviceCt5l
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
VmFamilyCloudTpuLitePodSliceCt5lp
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
VmFamilyCloudTpuPodSliceCt4p
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P
VmFamilyCloudTpuLiteDeviceCt5l
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L
VmFamilyCloudTpuLitePodSliceCt5lp
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP
VmFamilyCloudTpuPodSliceCt4p
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
AllocationAggregateReservationWorkloadTypeBatch
BATCHReserved resources will be optimized for BATCH workloads, such as ML training.
AllocationAggregateReservationWorkloadTypeServing
SERVINGReserved resources will be optimized for SERVING workloads, such as ML inference.
AllocationAggregateReservationWorkloadTypeUnspecified
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

SpecificSkuAllocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specificSkuAllocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specificSkuAllocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specific_sku_allocation This property is required. AllocationResourceStatusSpecificSKUAllocationResponse
Allocation Properties of this reservation.
specificSkuAllocation This property is required. Property Map
Allocation Properties of this reservation.

AllocationResourceStatusSpecificSKUAllocationResponse
, AllocationResourceStatusSpecificSKUAllocationResponseArgs

SourceInstanceTemplateId This property is required. string
ID of the instance template used to populate reservation properties.
SourceInstanceTemplateId This property is required. string
ID of the instance template used to populate reservation properties.
sourceInstanceTemplateId This property is required. String
ID of the instance template used to populate reservation properties.
sourceInstanceTemplateId This property is required. string
ID of the instance template used to populate reservation properties.
source_instance_template_id This property is required. str
ID of the instance template used to populate reservation properties.
sourceInstanceTemplateId This property is required. String
ID of the instance template used to populate reservation properties.

AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs

DiskSizeGb string
Specifies the size of the disk in base-2 GB.
Interface Pulumi.GoogleNative.Compute.Alpha.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface
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.
DiskSizeGb string
Specifies the size of the disk in base-2 GB.
Interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface
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.
diskSizeGb String
Specifies the size of the disk in base-2 GB.
interface_ AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface
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.
diskSizeGb string
Specifies the size of the disk in base-2 GB.
interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
disk_size_gb str
Specifies the size of the disk in base-2 GB.
interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface
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.
diskSizeGb String
Specifies the size of the disk in base-2 GB.
interface "NVDIMM" | "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

Nvdimm
NVDIMM
Nvme
NVME
Scsi
SCSI
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceNvdimm
NVDIMM
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceNvme
NVME
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceScsi
SCSI
Nvdimm
NVDIMM
Nvme
NVME
Scsi
SCSI
Nvdimm
NVDIMM
Nvme
NVME
Scsi
SCSI
NVDIMM
NVDIMM
NVME
NVME
SCSI
SCSI
"NVDIMM"
NVDIMM
"NVME"
NVME
"SCSI"
SCSI

AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse
, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArgs

DiskSizeGb This property is required. string
Specifies the size of the disk in base-2 GB.
Interface This property is required. string
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
DiskSizeGb This property is required. string
Specifies the size of the disk in base-2 GB.
Interface This property is required. string
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
diskSizeGb This property is required. String
Specifies the size of the disk in base-2 GB.
interface_ This property is required. String
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
diskSizeGb This property is required. string
Specifies the size of the disk in base-2 GB.
interface This property is required. string
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
disk_size_gb This property is required. str
Specifies the size of the disk in base-2 GB.
interface This property is required. str
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
diskSizeGb This property is required. String
Specifies the size of the disk in base-2 GB.
interface This property is required. String
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.

AllocationSpecificSKUAllocationReservedInstanceProperties
, AllocationSpecificSKUAllocationReservedInstancePropertiesArgs

GuestAccelerators List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AcceleratorConfig>
Specifies accelerator type and count.
LocalSsds List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
LocationHint string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
MachineType string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
MaintenanceFreezeDurationHours int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
MaintenanceInterval Pulumi.GoogleNative.Compute.Alpha.AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
MinCpuPlatform string
Minimum cpu platform the reservation.
GuestAccelerators []AcceleratorConfig
Specifies accelerator type and count.
LocalSsds []AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
LocationHint string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
MachineType string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
MaintenanceFreezeDurationHours int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
MaintenanceInterval AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
MinCpuPlatform string
Minimum cpu platform the reservation.
guestAccelerators List<AcceleratorConfig>
Specifies accelerator type and count.
localSsds List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint String
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType String
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours Integer
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform String
Minimum cpu platform the reservation.
guestAccelerators AcceleratorConfig[]
Specifies accelerator type and count.
localSsds AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk[]
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours number
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform string
Minimum cpu platform the reservation.
guest_accelerators Sequence[AcceleratorConfig]
Specifies accelerator type and count.
local_ssds Sequence[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]
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_duration_hours int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenance_interval AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
min_cpu_platform str
Minimum cpu platform the reservation.
guestAccelerators List<Property Map>
Specifies accelerator type and count.
localSsds List<Property Map>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint String
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType String
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours Number
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval "AS_NEEDED" | "PERIODIC" | "RECURRENT"
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform String
Minimum cpu platform the reservation.

AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval
, AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalArgs

AsNeeded
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.
AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalAsNeeded
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.
AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPeriodic
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.
AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalRecurrent
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.
AsNeeded
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.
AsNeeded
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

GuestAccelerators This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AcceleratorConfigResponse>
Specifies accelerator type and count.
LocalSsds This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
LocationHint This property is required. string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
MachineType This property is required. string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
MaintenanceFreezeDurationHours This property is required. int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
MaintenanceInterval This property is required. string
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
MinCpuPlatform This property is required. string
Minimum cpu platform the reservation.
GuestAccelerators This property is required. []AcceleratorConfigResponse
Specifies accelerator type and count.
LocalSsds This property is required. []AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
LocationHint This property is required. string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
MachineType This property is required. string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
MaintenanceFreezeDurationHours This property is required. int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
MaintenanceInterval This property is required. string
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
MinCpuPlatform This property is required. string
Minimum cpu platform the reservation.
guestAccelerators This property is required. List<AcceleratorConfigResponse>
Specifies accelerator type and count.
localSsds This property is required. List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint This property is required. String
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType This property is required. String
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours This property is required. Integer
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval This property is required. String
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform This property is required. String
Minimum cpu platform the reservation.
guestAccelerators This property is required. AcceleratorConfigResponse[]
Specifies accelerator type and count.
localSsds This property is required. AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse[]
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint This property is required. string
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType This property is required. string
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours This property is required. number
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval This property is required. string
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform This property is required. string
Minimum cpu platform the reservation.
guest_accelerators This property is required. Sequence[AcceleratorConfigResponse]
Specifies accelerator type and count.
local_ssds This property is required. Sequence[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
location_hint This property is required. str
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machine_type This property is required. str
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenance_freeze_duration_hours This property is required. int
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenance_interval This property is required. str
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
min_cpu_platform This property is required. str
Minimum cpu platform the reservation.
guestAccelerators This property is required. List<Property Map>
Specifies accelerator type and count.
localSsds This property is required. List<Property Map>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
locationHint This property is required. String
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machineType This property is required. String
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
maintenanceFreezeDurationHours This property is required. Number
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.
maintenanceInterval This property is required. String
Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC.
minCpuPlatform This property is required. String
Minimum cpu platform the reservation.

AllocationSpecificSKUReservation
, AllocationSpecificSKUReservationArgs

Count string
Specifies the number of resources that are allocated.
InstanceProperties Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationReservedInstanceProperties
The instance properties for the reservation.
SourceInstanceTemplate string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
Count string
Specifies the number of resources that are allocated.
InstanceProperties AllocationSpecificSKUAllocationReservedInstanceProperties
The instance properties for the reservation.
SourceInstanceTemplate string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
count String
Specifies the number of resources that are allocated.
instanceProperties AllocationSpecificSKUAllocationReservedInstanceProperties
The instance properties for the reservation.
sourceInstanceTemplate String
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
count string
Specifies the number of resources that are allocated.
instanceProperties AllocationSpecificSKUAllocationReservedInstanceProperties
The instance properties for the reservation.
sourceInstanceTemplate string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
count str
Specifies the number of resources that are allocated.
instance_properties AllocationSpecificSKUAllocationReservedInstanceProperties
The instance properties for the reservation.
source_instance_template str
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
count String
Specifies the number of resources that are allocated.
instanceProperties Property Map
The instance properties for the reservation.
sourceInstanceTemplate String
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate

AllocationSpecificSKUReservationResponse
, AllocationSpecificSKUReservationResponseArgs

AssuredCount This property is required. string
Indicates how many instances are actually usable currently.
Count This property is required. string
Specifies the number of resources that are allocated.
InUseCount This property is required. string
Indicates how many instances are in use.
InstanceProperties This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
SourceInstanceTemplate This property is required. string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
AssuredCount This property is required. string
Indicates how many instances are actually usable currently.
Count This property is required. string
Specifies the number of resources that are allocated.
InUseCount This property is required. string
Indicates how many instances are in use.
InstanceProperties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
SourceInstanceTemplate This property is required. string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assuredCount This property is required. String
Indicates how many instances are actually usable currently.
count This property is required. String
Specifies the number of resources that are allocated.
inUseCount This property is required. String
Indicates how many instances are in use.
instanceProperties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
sourceInstanceTemplate This property is required. String
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assuredCount This property is required. string
Indicates how many instances are actually usable currently.
count This property is required. string
Specifies the number of resources that are allocated.
inUseCount This property is required. string
Indicates how many instances are in use.
instanceProperties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
sourceInstanceTemplate This property is required. string
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assured_count This property is required. str
Indicates how many instances are actually usable currently.
count This property is required. str
Specifies the number of resources that are allocated.
in_use_count This property is required. str
Indicates how many instances are in use.
instance_properties This property is required. AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
The instance properties for the reservation.
source_instance_template This property is required. str
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
assuredCount This property is required. String
Indicates how many instances are actually usable currently.
count This property is required. String
Specifies the number of resources that are allocated.
inUseCount This property is required. String
Indicates how many instances are in use.
instanceProperties This property is required. Property Map
The instance properties for the reservation.
sourceInstanceTemplate This property is required. String
Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate

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 positive nanos 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 positive nanos 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 positive nanos 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 positive nanos 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 positive nanos 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 positive nanos 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 This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Integer
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. str
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

ShareSettings
, ShareSettingsArgs

FolderMap Dictionary<string, string>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
ProjectMap Dictionary<string, string>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Projects List<string>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
ShareType Pulumi.GoogleNative.Compute.Alpha.ShareSettingsShareType
Type of sharing for this shared-reservation
FolderMap map[string]string
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
ProjectMap map[string]string
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Projects []string
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
ShareType ShareSettingsShareType
Type of sharing for this shared-reservation
folderMap Map<String,String>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap Map<String,String>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects List<String>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType ShareSettingsShareType
Type of sharing for this shared-reservation
folderMap {[key: string]: string}
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap {[key: string]: string}
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects string[]
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType ShareSettingsShareType
Type of sharing for this shared-reservation
folder_map Mapping[str, str]
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
project_map Mapping[str, str]
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects Sequence[str]
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
share_type ShareSettingsShareType
Type of sharing for this shared-reservation
folderMap Map<String>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap Map<String>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects List<String>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType "DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS" | "LOCAL" | "ORGANIZATION" | "SHARE_TYPE_UNSPECIFIED" | "SPECIFIC_PROJECTS"
Type of sharing for this shared-reservation

ShareSettingsResponse
, ShareSettingsResponseArgs

FolderMap This property is required. Dictionary<string, string>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
ProjectMap This property is required. Dictionary<string, string>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Projects This property is required. List<string>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
ShareType This property is required. string
Type of sharing for this shared-reservation
FolderMap This property is required. map[string]string
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
ProjectMap This property is required. map[string]string
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Projects This property is required. []string
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
ShareType This property is required. string
Type of sharing for this shared-reservation
folderMap This property is required. Map<String,String>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap This property is required. Map<String,String>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. List<String>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType This property is required. String
Type of sharing for this shared-reservation
folderMap This property is required. {[key: string]: string}
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap This property is required. {[key: string]: string}
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. string[]
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType This property is required. string
Type of sharing for this shared-reservation
folder_map This property is required. Mapping[str, str]
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
project_map This property is required. Mapping[str, str]
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. Sequence[str]
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
share_type This property is required. str
Type of sharing for this shared-reservation
folderMap This property is required. Map<String>
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
projectMap This property is required. Map<String>
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
projects This property is required. List<String>
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
shareType This property is required. String
Type of sharing for this shared-reservation

ShareSettingsShareType
, ShareSettingsShareTypeArgs

DirectProjectsUnderSpecificFolders
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERSShared-reservation is open to direct child projects of specific folders.
Local
LOCALDefault value.
Organization
ORGANIZATIONShared-reservation is open to entire Organization
ShareTypeUnspecified
SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
SpecificProjects
SPECIFIC_PROJECTSShared-reservation is open to specific projects
ShareSettingsShareTypeDirectProjectsUnderSpecificFolders
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERSShared-reservation is open to direct child projects of specific folders.
ShareSettingsShareTypeLocal
LOCALDefault value.
ShareSettingsShareTypeOrganization
ORGANIZATIONShared-reservation is open to entire Organization
ShareSettingsShareTypeShareTypeUnspecified
SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
ShareSettingsShareTypeSpecificProjects
SPECIFIC_PROJECTSShared-reservation is open to specific projects
DirectProjectsUnderSpecificFolders
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERSShared-reservation is open to direct child projects of specific folders.
Local
LOCALDefault value.
Organization
ORGANIZATIONShared-reservation is open to entire Organization
ShareTypeUnspecified
SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
SpecificProjects
SPECIFIC_PROJECTSShared-reservation is open to specific projects
DirectProjectsUnderSpecificFolders
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERSShared-reservation is open to direct child projects of specific folders.
Local
LOCALDefault value.
Organization
ORGANIZATIONShared-reservation is open to entire Organization
ShareTypeUnspecified
SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
SpecificProjects
SPECIFIC_PROJECTSShared-reservation is open to specific projects
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERSShared-reservation is open to direct child projects of specific folders.
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
"DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS"
DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERSShared-reservation is open to direct child projects of specific folders.
"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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi