Method: Inspec::Resources::AzureVirtualMachineDataDisk#initialize
- Defined in:
- lib/resources/azure/azure_virtual_machine_data_disk.rb
#initialize(opts = {}) ⇒ AzureVirtualMachineDataDisk
Constructor for the resource. This calls the parent constructor to get the generic resource for the specified machine. This will provide static methods that are documented
39 40 41 42 43 44 45 46 |
# File 'lib/resources/azure/azure_virtual_machine_data_disk.rb', line 39 def initialize(opts = {}) # The generic resource needs to pass back a Microsoft.Compute/virtualMachines object so force it opts[:type] = 'Microsoft.Compute/virtualMachines' super(opts) # Get the data disks resources end |