mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-20 09:51:21 -07:00
Terraform: Support for (Regional)Disk physicalBlockSizeBytes (#211)
<!-- This change is generated by MagicModules. --> /cc @drebes
This commit is contained in:
parent
6e02269e5b
commit
7ce560f452
4 changed files with 57 additions and 0 deletions
|
@ -89,6 +89,15 @@ options:
|
|||
of sizeGb must not be less than the size of the sourceImage or the size of the
|
||||
snapshot.
|
||||
required: false
|
||||
physical_block_size_bytes:
|
||||
description:
|
||||
- Physical block size of the persistent disk, in bytes. If not present in a request,
|
||||
a default value is used. Currently supported sizes are 4096 and 16384, other
|
||||
sizes may be added in the future.
|
||||
- If an unsupported value is requested, the error message will list the supported
|
||||
values for the caller's project.
|
||||
required: false
|
||||
version_added: 2.8
|
||||
type:
|
||||
description:
|
||||
- URL of the disk type resource describing which disk type to use to create the
|
||||
|
@ -262,6 +271,15 @@ users:
|
|||
.'
|
||||
returned: success
|
||||
type: list
|
||||
physicalBlockSizeBytes:
|
||||
description:
|
||||
- Physical block size of the persistent disk, in bytes. If not present in a request,
|
||||
a default value is used. Currently supported sizes are 4096 and 16384, other sizes
|
||||
may be added in the future.
|
||||
- If an unsupported value is requested, the error message will list the supported
|
||||
values for the caller's project.
|
||||
returned: success
|
||||
type: int
|
||||
type:
|
||||
description:
|
||||
- URL of the disk type resource describing which disk type to use to create the
|
||||
|
@ -587,6 +605,7 @@ def response_to_hash(module, response):
|
|||
u'name': module.params.get('name'),
|
||||
u'sizeGb': response.get(u'sizeGb'),
|
||||
u'users': response.get(u'users'),
|
||||
u'physicalBlockSizeBytes': response.get(u'physicalBlockSizeBytes'),
|
||||
u'type': response.get(u'type'),
|
||||
u'sourceImage': module.params.get('source_image'),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue