Integrations/AzureCompute_v2/AzureCompute_v2.py
def delete_vm_command():
    """
    Delete a specified Virtual Machine

    demisto parameter: (string) resource_group
        Resource Group to which the virtual machine belongs

    demisto parameter: (string) virtual_machine_name
        Name of the virtual machine to delete

    returns:
        Success message to the war room
    """
    args = demisto.args()
    delete_vm(args)
    success_msg = '"{}" VM Deletion Successfully Initiated'.format(args.get('virtual_machine_name'))
    demisto.results(success_msg)

    Delete a specified Virtual Machine

    demisto parameter: (string) resource_group
        Resource Group to which the virtual machine belongs

    demisto parameter: (string) virtual_machine_name
        Name of the virtual machine to delete

    returns:
        Success message to the war room
    
Delete a specified Virtual Machine
demisto parameter: (string) resource_group
Resource Group to which the virtual machine belongs

demisto parameter: (string) virtual_machine_name
Name of the virtual machine to delete

Success message to the war room
Delete a specified Virtual Machine demisto parameter : ( string ) resource_group Resource Group to which the virtual machine belongs demisto parameter : ( string ) virtual_machine_name Name of the virtual machine to delete Success message to the war room
def delete_vm_command():
    args = demisto.args()
    delete_vm(args)
    success_msg = '"{}" VM Deletion Successfully Initiated'.format(args.get('virtual_machine_name'))
    demisto.results(success_msg)
def delete_vm_command ( ) : args = demisto . args ( ) delete_vm ( args ) success_msg = '"{}" VM Deletion Successfully Initiated' . format ( args . get ( 'virtual_machine_name' ) ) demisto . results ( success_msg )
Delete a specified Virtual Machine
demisto parameter: (string) resource_group
Resource Group to which the virtual machine belongs
Delete a specified Virtual Machine demisto parameter : ( string ) resource_group Resource Group to which the virtual machine belongs
"""
    Delete a specified Virtual Machine

    demisto parameter: (string) resource_group
        Resource Group to which the virtual machine belongs

    demisto parameter: (string) virtual_machine_name
        Name of the virtual machine to delete

    returns:
        Success message to the war room
    """