Azure Compute Deprecated
Deprecated. Create and Manage Azure Virtual Machines
IT Services · Deprecated Content (Deprecated)
Details
| ID | Azure Compute |
|---|---|
| Provider | Microsoft |
| Category | IT Services |
| From Version | 5.0.0 |
| Docker Image | demisto/python:2.7.18.20958 |
Configuration parameters
host— Host URL (e.g. https://management.azure.com) (required)tenant_id— Tenant ID (received from the admin consent - see Detailed Instructions (?) section) (required)token— Token (received from the admin consent - see detailed instructions (?)) (required)proxy— Use system proxy settingsunsecure— Trust any certificate (not secure)
Commands (7)
-
azure-list-resource-groupsDeprecatedLists all resource groups that belong to your Azure subscription.
-
azure-vm-create-instanceDeprecatedCreates a virtual machine instance with the specified OS image.
-
azure-vm-delete-instanceDeprecatedDeletes a specified virtual machine.
-
azure-vm-get-instance-detailsDeprecatedGets the properties of a given virtual machine.
-
azure-vm-list-instancesDeprecatedLists the virtual machine instances in the given resource group.
-
azure-vm-poweroff-instanceDeprecatedPowers off a given virtual machine.
-
azure-vm-start-instanceDeprecatedPowers on a given virtual machine.
category: IT Services provider: Microsoft commonfields: id: Azure Compute version: -1 configuration: - defaultvalue: https://management.azure.com display: Host URL (e.g. https://management.azure.com) name: host required: true type: 0 - display: Tenant ID (received from the admin consent - see Detailed Instructions (?) section) name: tenant_id required: true type: 4 - display: Token (received from the admin consent - see detailed instructions (?)) name: token required: true type: 4 - display: Use system proxy settings name: proxy type: 8 required: false - defaultvalue: '' display: Trust any certificate (not secure) name: unsecure type: 8 required: false description: Deprecated. Create and Manage Azure Virtual Machines display: Azure Compute (Deprecated) name: Azure Compute script: commands: - arguments: - description: The resource group of the virtual machines. To see all the resource groups associated with your subscription, run the `azure-list-resource-groups` command. If none are present, navigate to the Azure Web Portal to create resource groups. name: resource_group required: true deprecated: true description: Lists the virtual machine instances in the given resource group. name: azure-vm-list-instances outputs: - contextPath: Azure.Compute.Name description: The name of the virtual machine. type: string - contextPath: Azure.Compute.Location description: The location of the virtual machine. type: string - contextPath: Azure.Compute.ProvisioningState description: The provisioning state of the virtual machine. type: string - contextPath: Azure.Compute.ResourceGroup description: The resource group in which the virtual machine resides. type: string - contextPath: Azure.Compute.ID description: The ID of the virtual machine. type: string - contextPath: Azure.Compute.Size description: The size of the deployed virtual machine (in gigabytes). type: number - contextPath: Azure.Compute.OS description: The OS running on the virtual machine. type: string - arguments: - description: Resource Group to which the virtual machine belongs. To see all the resource groups associated with your subscription, run the `azure-list-resource-groups` command. If none are present, navigate to the Azure Web Portal to create resource groups. name: resource_group required: true - description: Name of the virtual machine to power on. To see all virtual machines and their associated names for a specific resource group, run the `azure-vm-list-instances` command. name: virtual_machine_name required: true deprecated: true description: Powers on a given virtual machine. execution: true name: azure-vm-start-instance outputs: - contextPath: Azure.Compute.Name description: Name of the VM that was started type: string - contextPath: Azure.Compute.ResourceGroup description: Resource group the VM resides in type: string - contextPath: Azure.Compute.PowerState description: Whether the VM instance is powered on or off type: string - arguments: - description: The resource group to which the virtual machine belongs. To see all the resource groups associated with your subscription, run the `azure-list-resource-groups` command. If none are present, navigate to the Azure Web Portal to create resource groups. name: resource_group required: true - description: The name of the virtual machine to power off. To see all virtual machines with their associated names for a specific resource group, run the `azure-vm-list-instances` command. name: virtual_machine_name required: true deprecated: true description: Powers off a given virtual machine. execution: true name: azure-vm-poweroff-instance outputs: - contextPath: Azure.Compute.Name description: The name of the virtual machine that was powered off. type: string - contextPath: Azure.Compute.ResourceGroup description: The resource group in which the virtual machine resides. type: string - contextPath: Azure.Compute.PowerState description: Whether the virtual machine instance is powered on or off. type: string - arguments: - description: The resource group to which the virtual machine belongs. To see all the resource groups associated with your subscription, run the `azure-list-resource-groups` command. If none are present, navigate to the Azure Web Portal to create resource groups. name: resource_group required: true - description: The name of the virtual machine you want to view the details of. To see all the virtual machines with their associated names for a specific resource group, run the `azure-vm-list-instances` command. name: virtual_machine_name required: true deprecated: true description: Gets the properties of a given virtual machine. name: azure-vm-get-instance-details outputs: - contextPath: Azure.Compute.Name description: The name of the virtual machine you want to get details of. type: string - contextPath: Azure.Compute.ID description: The ID of the virtual machine. type: string - contextPath: Azure.Compute.Size description: The size of the deployed virtual machine (in gigabytes). type: number - contextPath: Azure.Compute.OS description: The OS running on the given virtual machine. type: string - contextPath: Azure.Compute.ProvisioningState description: The provisioning state of the deployed virtual machine. type: string - contextPath: Azure.Compute.Location description: The region in which the virtual machine is hosted. type: string - contextPath: Azure.Compute.PowerState description: Whether the virtual machine instance is powered on or off. type: string - contextPath: Azure.Compute.ResourceGroup description: The resource group to which the virtual machine belongs. type: string - arguments: - description: The resource group to which the new virtual machine will belong. To see all the resource groups associated with your subscription, run the `azure-list-resource-groups` command. If none are present, navigate to the Azure Web Portal to create resource groups. name: resource_group required: true - description: The name of the virtual machine to create. name: virtual_machine_name required: true - auto: PREDEFINED description: The location in which to create the virtual machine. name: virtual_machine_location predefined: - westus2 - westus - westindia - westeurope - westcentralus - uksouth - ukwest - southeastasia - northcentralus - northeurope - southcentralus - southindia - francesouth - francecentral - japaneast - japanwest - koreacentral - koreasouth - brazilsouth - canadacentral - canadaeast - centralindia - eastus2 - eastasia - westus - centralus - eastus - australiacentral - australiacentral2 - australiaeast - australiasoutheast required: true - description: The name of the Network Interface to link the virtual machine with. A Network Interface has to be created in the Azure Portal. Note that the virtual machine's location property must match that of the Network Interface you choose to link it to. To see a list of available Network Interfaces visit the Azure Web Portal, navigate to the search bar at the top of the page, type "network interfaces", and in the dynamic drop-down menu that appears, click the 'Network interfaces' option that appears under the 'Services' category. If none are present, you will need to create a new Network Interface which you can do by clicking the '+Add' button towards the top left of the page and following the instructions. For more information regarding Network Interfaces, see the [Azure documentation](https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface). name: nic_name required: true - auto: PREDEFINED description: The name of a VirtualMachineSize, which determines the size of the deployed virtual machine. For more information, see the [Azure documentation](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/listavailablesizes#virtualmachinesize). name: vm_size predefined: - Standard_D1_v2 - Standard_D2_v2 - Standard_D2s_v3 - Standard_B1ms - Standard_B1s - Standard_B2s - Standard_B4ms - Standard_D4s_v3 - Standard_DS1_v2 - Standard_DS2_v2 - Standard_DS3_v2 - Promo_DS2_v2 - Promo_DS3_v2 required: true - auto: PREDEFINED description: The base operating system image of the virtual machine. name: os_image predefined: - Ubuntu Server 14.04 LTS - Ubuntu Server 16.04 LTS - Ubuntu Server 18.04 LTS - Red Hat Enterprise Linux 7.6 - CentOS-based 7.5 - Windows Server 2012 R2 Datacenter - Windows Server 2016 Datacenter - Windows 10 Pro Version 1803 - Windows 10 Pro Version 1809 - defaultValue: 2016-Datacenter description: SKU of the OS image to be used. To see a list of available SKUs, visit your Azure Web Portal, click the symbol that looks similar to a '>' on the top bar of the page. This should open a cloud shell, make sure it is a bash shell. At the command prompt enter `az vm image list-skus` along with the appropriate arguments that it will prompt you with to display the list of VM image SKUs available in the Azure Marketplace. name: sku - defaultValue: MicrosoftWindowsServer description: Name of the publisher of the OS image. To see a list of available publishers, visit your Azure Web Portal, click the symbol that looks similar to a '>' on the top bar of the page which should open a cloud shell, make sure it is a bash shell. At the command prompt enter `az vm image list-publishers` along with the appropriate arguments that it will prompt you with to display the list of VM image publishers available in the Azure Marketplace. name: publisher - defaultValue: latest description: Version of the image to use. The supported formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. name: version - defaultValue: WindowsServer description: Specifies the offer of the platform image or marketplace image used to create the virtual machine. To see a list of available offers, visit your Azure Web Portal, click the symbol that looks similar to a '>' on the top bar of the page which should open a cloud shell, make sure it is a bash shell. At the command prompt enter `az vm image list-offers` along with the appropriate arguments that it will prompt you with to display the list of VM image offers available in the Azure Marketplace. name: offer - defaultValue: DemistoUser description: The admin username to use when creating the virtual machine. name: admin_username - defaultValue: Passw0rd@123 description: The admin password to use when creating the virtual machine. name: admin_password deprecated: true description: Creates a virtual machine instance with the specified OS image. execution: true name: azure-vm-create-instance outputs: - contextPath: Azure.Compute.Name description: The name of the created virtual machine instance. type: string - contextPath: Azure.Compute.ResourceGroup description: The resource group in which the virtual machine resides. type: string - contextPath: Azure.Compute.ID description: The ID of the virtual machine. type: string - contextPath: Azure.Compute.Size description: The size of the deployed virtual machine (in gigabytes). type: number - contextPath: Azure.Compute.OS description: The OS running on the specified virtual machine. type: string - contextPath: Azure.Compute.ProvisioningState description: The provisioning state of the deployed virtual machine. type: string - contextPath: Azure.Compute.Location description: The region in which the virtual machine is hosted. type: string - deprecated: true description: Lists all resource groups that belong to your Azure subscription. name: azure-list-resource-groups outputs: - contextPath: Azure.ResourceGroup.Name description: The name of the resource group. type: string - contextPath: Azure.ResourceGroup.ID description: The ID of the resource group. type: string - contextPath: Azure.ResourceGroup.Location description: The location of the resource group. type: string - contextPath: Azure.ResourceGroup.ProvisioningState description: The provisioning state of the resource group. type: string - arguments: - description: The resource group to which the virtual machine belongs. To see all the resource groups associated with your subscription, run the `azure-list-resource-groups` command. If none are present, navigate to the Azure Web Portal to create resource groups. name: resource_group required: true - description: The name of the virtual machine to delete. To see all the virtual machines with their associated names for a specific resource group, run the `azure-vm-list-instances` command. name: virtual_machine_name deprecated: true description: Deletes a specified virtual machine. name: azure-vm-delete-instance runonce: false script: '-' type: python subtype: python2 dockerimage: demisto/python:2.7.18.20958 tests: - No test deprecated: true fromversion: 5.0.0