lib/azure/armrest/virtual_machine_extension_service.rb
# Retrieves a list of extensions on the VM in the provided resource group.
# If the +instance_view+ option is true, it will retrieve a list of instance
# view information instead.
#
Retrieves a list of extensions on the VM in the provided resource group.
If the +instance_view+ option is true, it will retrieve a list of instance
view information instead.
Retrieves a list of extensions on the VM in the provided resource group . If the + instance_view + option is true it will retrieve a list of instance view information instead .
def list(vm_name, rgroup = configuration.resource_group, instance_view = false)
        raise ArgumentError, "no resource group provided" unless rgroup
        url = build_url(rgroup, vm_name)
        url << "&expand=instanceView" if instance_view
        response = rest_get(url)
        Azure::Armrest::ArmrestCollection.create_from_response(response, model_class)
      end
def list ( vm_name , rgroup = configuration . resource_group , instance_view = false ) raise ArgumentError , "no resource group provided" unless rgroup url = build_url ( rgroup , vm_name ) url << "&expand=instanceView" if instance_view response = rest_get ( url ) Azure :: Armrest :: ArmrestCollection . create_from_response ( response , model_class ) end
Retrieves a list of extensions on the VM in the provided resource group.
Retrieves a list of extensions on the VM in the provided resource group .
vm_name
<not_specific>
rgroup
<not_specific>
configuration
<not_specific>
resource_group
<not_specific>
instance_view
<not_specific>