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.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.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.setReservationAffinity(ReservationAffinity reservationAffinity)
Specifies the reservations that this instance can consume from.
|
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.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–2019 Google. All rights reserved.