Method: Inspec::Resources::AzureGenericResource#initialize

Defined in:
lib/resources/azure/azure_generic_resource.rb

#initialize(opts = {}) ⇒ AzureGenericResource

Returns a new instance of AzureGenericResource.



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/resources/azure/azure_generic_resource.rb', line 16

def initialize(opts = {})
  Inspec.deprecate(:resource_azure_generic_resource)

  # Call the parent class constructor
  super(opts)

  # Get the resource group
  resource_group

  # Get the resources
  resources

  # Create the tag methods
  create_tag_methods
end