Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.clone() |
AttachedDiskInitializeParams |
AttachedDisk.getInitializeParams()
[Input Only] Specifies the parameters for a new disk that will be created alongside the new
instance.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.set(String fieldName,
Object value) |
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setArchitecture(String architecture)
The architecture of the attached disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setDescription(String description)
An optional description.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setDiskName(String diskName)
Specifies the disk name.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setDiskSizeGb(Long diskSizeGb)
Specifies the size of the disk in base-2 GB.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setDiskType(String diskType)
Specifies the disk type to use to create the instance.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
A list of features to enable on the guest operating system.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setInterface(String interface__)
[Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI
or NVME.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setLabels(Map<String,String> labels)
Labels to apply to this disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setLicenseCodes(List<Long> licenseCodes)
Integer license codes indicating which licenses are attached to this disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setLicenses(List<String> licenses)
A list of publicly visible licenses.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setMultiWriter(Boolean multiWriter)
Indicates whether or not the disk can be read/write attached to more than one instance.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setOnUpdateAction(String onUpdateAction)
Specifies which action to take on instance update with this disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setProvisionedIops(Long provisionedIops)
Indicates how many IOPS to provision for the disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setReplicaZones(List<String> replicaZones)
URLs of the zones where the disk should be replicated to.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setResourcePolicies(List<String> resourcePolicies)
Resource policies applied to this disk for automatic snapshot creations.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setSourceImage(String sourceImage)
The source image to create this disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey)
The customer-supplied encryption key of the source image.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setSourceInstantSnapshot(String sourceInstantSnapshot)
The source instant-snapshot to create this disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setSourceSnapshot(String sourceSnapshot)
The source snapshot to create this disk.
|
AttachedDiskInitializeParams |
AttachedDiskInitializeParams.setSourceSnapshotEncryptionKey(CustomerEncryptionKey sourceSnapshotEncryptionKey)
The customer-supplied encryption key of the source snapshot.
|
Modifier and Type | Method and Description |
---|---|
AttachedDisk |
AttachedDisk.setInitializeParams(AttachedDiskInitializeParams initializeParams)
[Input Only] Specifies the parameters for a new disk that will be created alongside the new
instance.
|
Copyright © 2011–2022 Google. All rights reserved.