def METHOD_NAME(self, rg, vnet_name, subnet_name, ip_pre):
    self.cmd("az network vnet create -n %s --resource-group %s -l eastus2 --address-prefix %s/16" % (vnet_name, rg, ip_pre))
    self.cmd("az network vnet subnet create -n %s -g %s --vnet-name %s --address-prefixes '%s/24' --delegations 'Microsoft.Netapp/volumes'" % (subnet_name, rg, vnet_name, ip_pre))