Disk function

Disk Object

Disk Object

Disk(name = NULL, sourceImage = NULL, sizeGb = NULL, description = NULL, diskEncryptionKey = NULL, licenses = NULL, sourceImageEncryptionKey = NULL, sourceSnapshot = NULL, sourceSnapshotEncryptionKey = NULL, type = NULL)

Arguments

  • name: Name of the resource
  • sourceImage: The source image used to create this disk
  • sizeGb: Size of the persistent disk, specified in GB
  • description: An optional description of this resource
  • diskEncryptionKey: Encrypts the disk using a customer-supplied encryption key
  • licenses: Any applicable publicly visible licenses
  • sourceImageEncryptionKey: The customer-supplied encryption key of the source image
  • sourceSnapshot: The source snapshot used to create this disk
  • sourceSnapshotEncryptionKey: The customer-supplied encryption key of the source snapshot
  • type: URL of the disk type resource describing which disk type to use to create the disk

Returns

Disk object

Details

A Disk resource.