1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  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/v1.Reservation

Explore with Pulumi AI

google-native logo

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

    Parameters

    name string
    The unique name of the resource.
    args ReservationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ReservationInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ReservationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReservationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReservationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var examplereservationResourceResourceFromComputev1 = new GoogleNative.Compute.V1.Reservation("examplereservationResourceResourceFromComputev1", new()
    {
        Description = "string",
        Name = "string",
        Project = "string",
        RequestId = "string",
        ResourcePolicies = 
        {
            { "string", "string" },
        },
        ShareSettings = new GoogleNative.Compute.V1.Inputs.ShareSettingsArgs
        {
            ProjectMap = 
            {
                { "string", "string" },
            },
            ShareType = GoogleNative.Compute.V1.ShareSettingsShareType.Local,
        },
        SpecificReservation = new GoogleNative.Compute.V1.Inputs.AllocationSpecificSKUReservationArgs
        {
            Count = "string",
            InstanceProperties = new GoogleNative.Compute.V1.Inputs.AllocationSpecificSKUAllocationReservedInstancePropertiesArgs
            {
                GuestAccelerators = new[]
                {
                    new GoogleNative.Compute.V1.Inputs.AcceleratorConfigArgs
                    {
                        AcceleratorCount = 0,
                        AcceleratorType = "string",
                    },
                },
                LocalSsds = new[]
                {
                    new GoogleNative.Compute.V1.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs
                    {
                        DiskSizeGb = "string",
                        Interface = GoogleNative.Compute.V1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.Nvme,
                    },
                },
                LocationHint = "string",
                MachineType = "string",
                MinCpuPlatform = "string",
            },
            SourceInstanceTemplate = "string",
        },
        SpecificReservationRequired = false,
        Zone = "string",
    });
    
    example, err := computev1.NewReservation(ctx, "examplereservationResourceResourceFromComputev1", &computev1.ReservationArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    RequestId: pulumi.String("string"),
    ResourcePolicies: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    ShareSettings: &compute.ShareSettingsArgs{
    ProjectMap: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    ShareType: computev1.ShareSettingsShareTypeLocal,
    },
    SpecificReservation: &compute.AllocationSpecificSKUReservationArgs{
    Count: pulumi.String("string"),
    InstanceProperties: &compute.AllocationSpecificSKUAllocationReservedInstancePropertiesArgs{
    GuestAccelerators: compute.AcceleratorConfigArray{
    &compute.AcceleratorConfigArgs{
    AcceleratorCount: pulumi.Int(0),
    AcceleratorType: pulumi.String("string"),
    },
    },
    LocalSsds: compute.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray{
    &compute.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs{
    DiskSizeGb: pulumi.String("string"),
    Interface: computev1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceNvme,
    },
    },
    LocationHint: pulumi.String("string"),
    MachineType: pulumi.String("string"),
    MinCpuPlatform: pulumi.String("string"),
    },
    SourceInstanceTemplate: pulumi.String("string"),
    },
    SpecificReservationRequired: pulumi.Bool(false),
    Zone: pulumi.String("string"),
    })
    
    var examplereservationResourceResourceFromComputev1 = new Reservation("examplereservationResourceResourceFromComputev1", ReservationArgs.builder()
        .description("string")
        .name("string")
        .project("string")
        .requestId("string")
        .resourcePolicies(Map.of("string", "string"))
        .shareSettings(ShareSettingsArgs.builder()
            .projectMap(Map.of("string", "string"))
            .shareType("LOCAL")
            .build())
        .specificReservation(AllocationSpecificSKUReservationArgs.builder()
            .count("string")
            .instanceProperties(AllocationSpecificSKUAllocationReservedInstancePropertiesArgs.builder()
                .guestAccelerators(AcceleratorConfigArgs.builder()
                    .acceleratorCount(0)
                    .acceleratorType("string")
                    .build())
                .localSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs.builder()
                    .diskSizeGb("string")
                    .interface_("NVME")
                    .build())
                .locationHint("string")
                .machineType("string")
                .minCpuPlatform("string")
                .build())
            .sourceInstanceTemplate("string")
            .build())
        .specificReservationRequired(false)
        .zone("string")
        .build());
    
    examplereservation_resource_resource_from_computev1 = google_native.compute.v1.Reservation("examplereservationResourceResourceFromComputev1",
        description="string",
        name="string",
        project="string",
        request_id="string",
        resource_policies={
            "string": "string",
        },
        share_settings=google_native.compute.v1.ShareSettingsArgs(
            project_map={
                "string": "string",
            },
            share_type=google_native.compute.v1.ShareSettingsShareType.LOCAL,
        ),
        specific_reservation=google_native.compute.v1.AllocationSpecificSKUReservationArgs(
            count="string",
            instance_properties=google_native.compute.v1.AllocationSpecificSKUAllocationReservedInstancePropertiesArgs(
                guest_accelerators=[google_native.compute.v1.AcceleratorConfigArgs(
                    accelerator_count=0,
                    accelerator_type="string",
                )],
                local_ssds=[google_native.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs(
                    disk_size_gb="string",
                    interface=google_native.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.NVME,
                )],
                location_hint="string",
                machine_type="string",
                min_cpu_platform="string",
            ),
            source_instance_template="string",
        ),
        specific_reservation_required=False,
        zone="string")
    
    const examplereservationResourceResourceFromComputev1 = new google_native.compute.v1.Reservation("examplereservationResourceResourceFromComputev1", {
        description: "string",
        name: "string",
        project: "string",
        requestId: "string",
        resourcePolicies: {
            string: "string",
        },
        shareSettings: {
            projectMap: {
                string: "string",
            },
            shareType: google_native.compute.v1.ShareSettingsShareType.Local,
        },
        specificReservation: {
            count: "string",
            instanceProperties: {
                guestAccelerators: [{
                    acceleratorCount: 0,
                    acceleratorType: "string",
                }],
                localSsds: [{
                    diskSizeGb: "string",
                    "interface": google_native.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface.Nvme,
                }],
                locationHint: "string",
                machineType: "string",
                minCpuPlatform: "string",
            },
            sourceInstanceTemplate: "string",
        },
        specificReservationRequired: false,
        zone: "string",
    });
    
    type: google-native:compute/v1:Reservation
    properties:
        description: string
        name: string
        project: string
        requestId: string
        resourcePolicies:
            string: string
        shareSettings:
            projectMap:
                string: string
            shareType: LOCAL
        specificReservation:
            count: string
            instanceProperties:
                guestAccelerators:
                    - acceleratorCount: 0
                      acceleratorType: string
                localSsds:
                    - diskSizeGb: string
                      interface: NVME
                locationHint: string
                machineType: string
                minCpuPlatform: string
            sourceInstanceTemplate: string
        specificReservationRequired: false
        zone: string
    

    Reservation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Reservation resource accepts the following input properties:

    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Name string
    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    Project string
    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.V1.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.V1.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.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Name string
    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    Project string
    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.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    name String
    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project String
    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.
    description string
    An optional description of this resource. Provide this property when you create the resource.
    name string
    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project string
    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.
    description str
    An optional description of this resource. Provide this property when you create the resource.
    name str
    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project str
    request_id str
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    resource_policies Mapping[str, str]
    Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
    share_settings 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.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    name String
    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project String
    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.V1.Outputs.AllocationResourceStatusResponse
    Status information for Reservation resource.
    SatisfiesPzs bool
    Reserved for future use.
    SelfLink string
    Server-defined fully-qualified URL for this resource.
    Status string
    The status of the reservation.
    Commitment string
    Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
    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.
    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.
    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.
    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.
    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.
    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 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.

    AllocationResourceStatusResponse, AllocationResourceStatusResponseArgs

    specificSkuAllocation Property Map
    Allocation Properties of this reservation.

    AllocationResourceStatusSpecificSKUAllocationResponse, AllocationResourceStatusSpecificSKUAllocationResponseArgs

    SourceInstanceTemplateId string
    ID of the instance template used to populate reservation properties.
    SourceInstanceTemplateId string
    ID of the instance template used to populate reservation properties.
    sourceInstanceTemplateId String
    ID of the instance template used to populate reservation properties.
    sourceInstanceTemplateId string
    ID of the instance template used to populate reservation properties.
    source_instance_template_id str
    ID of the instance template used to populate reservation properties.
    sourceInstanceTemplateId 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.V1.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 "NVME" | "SCSI"
    Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.

    AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceArgs

    Nvme
    NVME
    Scsi
    SCSI
    AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceNvme
    NVME
    AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceScsi
    SCSI
    Nvme
    NVME
    Scsi
    SCSI
    Nvme
    NVME
    Scsi
    SCSI
    NVME
    NVME
    SCSI
    SCSI
    "NVME"
    NVME
    "SCSI"
    SCSI

    AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArgs

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

    AllocationSpecificSKUAllocationReservedInstanceProperties, AllocationSpecificSKUAllocationReservedInstancePropertiesArgs

    GuestAccelerators List<Pulumi.GoogleNative.Compute.V1.Inputs.AcceleratorConfig>
    Specifies accelerator type and count.
    LocalSsds List<Pulumi.GoogleNative.Compute.V1.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.
    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.
    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.
    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.
    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.
    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.
    minCpuPlatform String
    Minimum cpu platform the reservation.

    AllocationSpecificSKUAllocationReservedInstancePropertiesResponse, AllocationSpecificSKUAllocationReservedInstancePropertiesResponseArgs

    GuestAccelerators List<Pulumi.GoogleNative.Compute.V1.Inputs.AcceleratorConfigResponse>
    Specifies accelerator type and count.
    LocalSsds List<Pulumi.GoogleNative.Compute.V1.Inputs.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>
    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.
    MinCpuPlatform string
    Minimum cpu platform the reservation.
    GuestAccelerators []AcceleratorConfigResponse
    Specifies accelerator type and count.
    LocalSsds []AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse
    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.
    MinCpuPlatform string
    Minimum cpu platform the reservation.
    guestAccelerators List<AcceleratorConfigResponse>
    Specifies accelerator type and count.
    localSsds List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse>
    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.
    minCpuPlatform String
    Minimum cpu platform the reservation.
    guestAccelerators AcceleratorConfigResponse[]
    Specifies accelerator type and count.
    localSsds AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse[]
    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.
    minCpuPlatform string
    Minimum cpu platform the reservation.
    guest_accelerators Sequence[AcceleratorConfigResponse]
    Specifies accelerator type and count.
    local_ssds Sequence[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]
    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.
    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.
    minCpuPlatform String
    Minimum cpu platform the reservation.

    AllocationSpecificSKUReservation, AllocationSpecificSKUReservationArgs

    Count string
    Specifies the number of resources that are allocated.
    InstanceProperties Pulumi.GoogleNative.Compute.V1.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 string
    Indicates how many instances are actually usable currently.
    Count string
    Specifies the number of resources that are allocated.
    InUseCount string
    Indicates how many instances are in use.
    InstanceProperties Pulumi.GoogleNative.Compute.V1.Inputs.AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
    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
    AssuredCount string
    Indicates how many instances are actually usable currently.
    Count string
    Specifies the number of resources that are allocated.
    InUseCount string
    Indicates how many instances are in use.
    InstanceProperties AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
    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
    assuredCount String
    Indicates how many instances are actually usable currently.
    count String
    Specifies the number of resources that are allocated.
    inUseCount String
    Indicates how many instances are in use.
    instanceProperties AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
    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
    assuredCount string
    Indicates how many instances are actually usable currently.
    count string
    Specifies the number of resources that are allocated.
    inUseCount string
    Indicates how many instances are in use.
    instanceProperties AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
    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
    assured_count str
    Indicates how many instances are actually usable currently.
    count str
    Specifies the number of resources that are allocated.
    in_use_count str
    Indicates how many instances are in use.
    instance_properties AllocationSpecificSKUAllocationReservedInstancePropertiesResponse
    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
    assuredCount String
    Indicates how many instances are actually usable currently.
    count String
    Specifies the number of resources that are allocated.
    inUseCount String
    Indicates how many instances are in use.
    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

    ShareSettings, ShareSettingsArgs

    ProjectMap Dictionary<string, string>
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    ShareType Pulumi.GoogleNative.Compute.V1.ShareSettingsShareType
    Type of sharing for this shared-reservation
    ProjectMap map[string]string
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    ShareType ShareSettingsShareType
    Type of sharing for this shared-reservation
    projectMap Map<String,String>
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    shareType ShareSettingsShareType
    Type of sharing for this shared-reservation
    projectMap {[key: string]: string}
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    shareType ShareSettingsShareType
    Type of sharing for this shared-reservation
    project_map Mapping[str, str]
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    share_type ShareSettingsShareType
    Type of sharing for this shared-reservation
    projectMap Map<String>
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    shareType "LOCAL" | "ORGANIZATION" | "SHARE_TYPE_UNSPECIFIED" | "SPECIFIC_PROJECTS"
    Type of sharing for this shared-reservation

    ShareSettingsResponse, ShareSettingsResponseArgs

    ProjectMap Dictionary<string, string>
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    ShareType string
    Type of sharing for this shared-reservation
    ProjectMap map[string]string
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    ShareType string
    Type of sharing for this shared-reservation
    projectMap Map<String,String>
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    shareType String
    Type of sharing for this shared-reservation
    projectMap {[key: string]: string}
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    shareType string
    Type of sharing for this shared-reservation
    project_map Mapping[str, str]
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    share_type str
    Type of sharing for this shared-reservation
    projectMap Map<String>
    A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
    shareType String
    Type of sharing for this shared-reservation

    ShareSettingsShareType, ShareSettingsShareTypeArgs

    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
    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
    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
    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
    LOCAL
    LOCALDefault value.
    ORGANIZATION
    ORGANIZATIONShared-reservation is open to entire Organization
    SHARE_TYPE_UNSPECIFIED
    SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
    SPECIFIC_PROJECTS
    SPECIFIC_PROJECTSShared-reservation is open to specific projects
    "LOCAL"
    LOCALDefault value.
    "ORGANIZATION"
    ORGANIZATIONShared-reservation is open to entire Organization
    "SHARE_TYPE_UNSPECIFIED"
    SHARE_TYPE_UNSPECIFIEDDefault value. This value is unused.
    "SPECIFIC_PROJECTS"
    SPECIFIC_PROJECTSShared-reservation is open to specific projects

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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