Skip to content

Commit

Permalink
ansible only should have different disk description
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor committed Oct 23, 2018
1 parent e14cb1d commit 83734c2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions products/compute/ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ overrides: !ruby/object:Provider::ResourceOverrides
Disk: !ruby/object:Provider::Ansible::ResourceOverride
editable: false
properties:
sourceSnapshot: !ruby/object:Provider::Ansible::PropertyOverride
description: |
The source snapshot used to create this disk. You can provide this as
a partial or full URL to the resource.
labels: !ruby/object:Provider::Ansible::PropertyOverride
version_added: '2.7'
type: !ruby/object:Provider::Ansible::PropertyOverride
Expand Down Expand Up @@ -276,6 +280,11 @@ overrides: !ruby/object:Provider::ResourceOverrides
version_added: '2.8'
RegionDisk: !ruby/object:Provider::Ansible::ResourceOverride
version_added: '2.8'
properties:
sourceSnapshot: !ruby/object:Provider::Ansible::PropertyOverride
description: |
The source snapshot used to create this disk. You can provide this as
a partial or full URL to the resource.
Route: !ruby/object:Provider::Ansible::ResourceOverride
properties:
description: !ruby/object:Provider::Ansible::PropertyOverride
Expand Down
7 changes: 6 additions & 1 deletion products/compute/disk_parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
imports: 'selfLink'
description: |
The source snapshot used to create this disk. You can provide this as
a partial or full URL to the resource.
a partial or full URL to the resource. For example, the following are
valid values:
* `https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot`
* `projects/project/global/snapshots/snapshot`
* `global/snapshots/snapshot`
- !ruby/object:Api::Type::NestedObject
name: 'sourceSnapshotEncryptionKey'
description: |
Expand Down

0 comments on commit 83734c2

Please sign in to comment.