Class: Ansible::Ruby::Modules::Azure_rm_image
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_image
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb
Overview
Create, delete an image from virtual machine, blob uri, managed disk or snapshot.
Instance Method Summary collapse
-
#data_disk_sources ⇒ Array<String>, ...
List of data disk sources, including unmanaged blob uri, managed disk id or name, or snapshot id or name.
-
#location ⇒ Object?
Location of the image.
-
#name ⇒ String
Name of the image.
-
#os_type ⇒ :Windows, ...
The OS type of image.
-
#resource_group ⇒ String
Name of resource group.
-
#source ⇒ String
OS disk source from the same region, including a virtual machine id or name, OS disk blob uri, managed OS disk id or name, or OS snapshot id or name.
-
#state ⇒ :absent, ...
Assert the state of the image.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#data_disk_sources ⇒ Array<String>, ...
Returns List of data disk sources, including unmanaged blob uri, managed disk id or name, or snapshot id or name.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 24 attribute :data_disk_sources |
#location ⇒ Object?
Returns Location of the image. Derived from I(resource_group) if not specified.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 28 attribute :location |
#name ⇒ String
Returns Name of the image.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 16 attribute :name |
#os_type ⇒ :Windows, ...
Returns The OS type of image.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 31 attribute :os_type |
#resource_group ⇒ String
Returns Name of resource group.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 12 attribute :resource_group |
#source ⇒ String
Returns OS disk source from the same region, including a virtual machine id or name, OS disk blob uri, managed OS disk id or name, or OS snapshot id or name.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 20 attribute :source |
#state ⇒ :absent, ...
Returns Assert the state of the image. Use C(present) to create or update a image and C(absent) to delete an image.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_image.rb', line 35 attribute :state |