Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
InstanceProperties |
InstanceProperties.clone() |
InstanceProperties |
InstanceTemplate.getProperties()
The instance properties for this instance template.
|
InstanceProperties |
InstanceProperties.set(String fieldName,
Object value) |
InstanceProperties |
InstanceProperties.setCanIpForward(Boolean canIpForward)
Enables instances created based on this template to send packets with source IP addresses other
than their own and receive packets with destination IP addresses other than their own.
|
InstanceProperties |
InstanceProperties.setConfidentialInstanceConfig(ConfidentialInstanceConfig confidentialInstanceConfig)
Specifies the Confidential Instance options.
|
InstanceProperties |
InstanceProperties.setDescription(String description)
An optional text description for the instances that are created from this instance template.
|
InstanceProperties |
InstanceProperties.setDisks(List<AttachedDisk> disks)
An array of disks that are associated with the instances that are created from this template.
|
InstanceProperties |
InstanceProperties.setDisplayDevice(DisplayDevice displayDevice)
Display Device properties to enable support for remote display products like: Teradici, VNC and
TeamViewer
|
InstanceProperties |
InstanceProperties.setGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
A list of guest accelerator cards' type and count to use for instances created from the
instance template.
|
InstanceProperties |
InstanceProperties.setLabels(Map<String,String> labels)
Labels to apply to instances that are created from this template.
|
InstanceProperties |
InstanceProperties.setMachineType(String machineType)
The machine type to use for instances that are created from this template.
|
InstanceProperties |
InstanceProperties.setMetadata(Metadata metadata)
The metadata key/value pairs to assign to instances that are created from this template.
|
InstanceProperties |
InstanceProperties.setMinCpuPlatform(String minCpuPlatform)
Minimum cpu/platform to be used by this instance.
|
InstanceProperties |
InstanceProperties.setNetworkInterfaces(List<NetworkInterface> networkInterfaces)
An array of network access configurations for this interface.
|
InstanceProperties |
InstanceProperties.setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)
The private IPv6 google access type for the VM.
|
InstanceProperties |
InstanceProperties.setReservationAffinity(ReservationAffinity reservationAffinity)
Specifies the reservations that this instance can consume from.
|
InstanceProperties |
InstanceProperties.setResourcePolicies(List<String> resourcePolicies)
Resource policies (names, not ULRs) applied to instances created from this template.
|
InstanceProperties |
InstanceProperties.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from this template.
|
InstanceProperties |
InstanceProperties.setServiceAccounts(List<ServiceAccount> serviceAccounts)
A list of service accounts with specified scopes.
|
InstanceProperties |
InstanceProperties.setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig) |
InstanceProperties |
InstanceProperties.setShieldedVmConfig(ShieldedVmConfig shieldedVmConfig)
Specifies the Shielded VM options for the instances that are created from this template.
|
InstanceProperties |
InstanceProperties.setTags(Tags tags)
A list of tags to apply to the instances that are created from this template.
|
Modifier and Type | Method and Description |
---|---|
InstanceTemplate |
InstanceTemplate.setProperties(InstanceProperties properties)
The instance properties for this instance template.
|
Copyright © 2011–2020 Google. All rights reserved.